2 * FILE : src/msw/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
);
212 DEC_PYCALLBACK_BOOL_STRING(OnOpeningURL
);
216 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
217 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
218 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
219 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
220 IMP_PYCALLBACK_BOOL_STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnOpeningURL
);
223 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
225 wxPyBeginBlockThreads();
226 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
227 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
228 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
231 wxPyEndBlockThreads();
233 wxHtmlWindow::OnLinkClicked(link
);
235 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
236 wxHtmlWindow::OnLinkClicked(link
);
240 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
241 wxHtmlWindow::AddFilter(filter
);
244 extern "C" SWIGEXPORT(void) inithtmlhelpc();
248 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
251 PyObject
* _obj0
= 0;
252 char *_kwnames
[] = { "tagHandlerClass", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
262 wxHtmlWinParser_AddTagHandler(_arg0
);
264 wxPyEndAllowThreads(__tstate
);
265 if (PyErr_Occurred()) return NULL
;
266 } Py_INCREF(Py_None
);
267 _resultobj
= Py_None
;
271 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
273 wxHtmlFilter
* _arg0
;
274 PyObject
* _argo0
= 0;
275 char *_kwnames
[] = { "filter", NULL
};
278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
289 wxHtmlWindow_AddFilter(_arg0
);
291 wxPyEndAllowThreads(__tstate
);
292 if (PyErr_Occurred()) return NULL
;
293 } Py_INCREF(Py_None
);
294 _resultobj
= Py_None
;
298 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
301 src
= (wxHtmlLinkInfo
*) ptr
;
302 dest
= (wxObject
*) src
;
303 return (void *) dest
;
306 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
307 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
309 wxHtmlLinkInfo
* _result
;
311 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
312 PyObject
* _obj0
= 0;
313 PyObject
* _obj1
= 0;
314 char *_kwnames
[] = { "href","target", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
321 #if PYTHON_API_VERSION >= 1009
322 char* tmpPtr
; int tmpSize
;
323 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
327 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
329 _arg0
= new wxString(tmpPtr
, tmpSize
);
331 if (!PyString_Check(_obj0
)) {
332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
335 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
340 #if PYTHON_API_VERSION >= 1009
341 char* tmpPtr
; int tmpSize
;
342 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
346 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
348 _arg1
= new wxString(tmpPtr
, tmpSize
);
350 if (!PyString_Check(_obj1
)) {
351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
354 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
365 _resultobj
= Py_BuildValue("s",_ptemp
);
368 _resultobj
= Py_None
;
381 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
382 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
385 wxHtmlLinkInfo
* _arg0
;
386 PyObject
* _argo0
= 0;
387 char *_kwnames
[] = { "self", NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
401 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
403 wxPyEndAllowThreads(__tstate
);
404 if (PyErr_Occurred()) return NULL
;
406 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
414 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
415 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
418 wxHtmlLinkInfo
* _arg0
;
419 PyObject
* _argo0
= 0;
420 char *_kwnames
[] = { "self", NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
434 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
436 wxPyEndAllowThreads(__tstate
);
437 if (PyErr_Occurred()) return NULL
;
439 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
447 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
448 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
450 wxMouseEvent
* _result
;
451 wxHtmlLinkInfo
* _arg0
;
452 PyObject
* _argo0
= 0;
453 char *_kwnames
[] = { "self", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
467 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 }{ _resultobj
= wxPyMake_wxObject(_result
); }
475 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
476 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
478 wxHtmlCell
* _result
;
479 wxHtmlLinkInfo
* _arg0
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
502 _resultobj
= Py_BuildValue("s",_ptemp
);
505 _resultobj
= Py_None
;
510 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
511 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
513 wxHtmlLinkInfo
* _arg0
;
514 wxMouseEvent
* _arg1
;
515 PyObject
* _argo0
= 0;
516 PyObject
* _argo1
= 0;
517 char *_kwnames
[] = { "self","e", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
538 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
548 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
550 wxHtmlLinkInfo
* _arg0
;
552 PyObject
* _argo0
= 0;
553 PyObject
* _argo1
= 0;
554 char *_kwnames
[] = { "self","e", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
575 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
577 wxPyEndAllowThreads(__tstate
);
578 if (PyErr_Occurred()) return NULL
;
579 } Py_INCREF(Py_None
);
580 _resultobj
= Py_None
;
584 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
587 src
= (wxHtmlTag
*) ptr
;
588 dest
= (wxObject
*) src
;
589 return (void *) dest
;
592 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
593 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
612 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
614 wxPyEndAllowThreads(__tstate
);
615 if (PyErr_Occurred()) return NULL
;
617 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
625 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
626 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
631 PyObject
* _argo0
= 0;
632 PyObject
* _obj1
= 0;
633 char *_kwnames
[] = { "self","par", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
646 #if PYTHON_API_VERSION >= 1009
647 char* tmpPtr
; int tmpSize
;
648 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
652 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
654 _arg1
= new wxString(tmpPtr
, tmpSize
);
656 if (!PyString_Check(_obj1
)) {
657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
660 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) return NULL
;
669 } _resultobj
= Py_BuildValue("i",_result
);
677 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
678 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
683 int _arg2
= (int ) FALSE
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _obj1
= 0;
686 char *_kwnames
[] = { "self","par","with_commas", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
699 #if PYTHON_API_VERSION >= 1009
700 char* tmpPtr
; int tmpSize
;
701 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
705 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
707 _arg1
= new wxString(tmpPtr
, tmpSize
);
709 if (!PyString_Check(_obj1
)) {
710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
713 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
718 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
720 wxPyEndAllowThreads(__tstate
);
721 if (PyErr_Occurred()) return NULL
;
723 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
735 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
736 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
755 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
757 wxPyEndAllowThreads(__tstate
);
758 if (PyErr_Occurred()) return NULL
;
760 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
768 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
769 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
792 } _resultobj
= Py_BuildValue("i",_result
);
796 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
797 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
802 char *_kwnames
[] = { "self", NULL
};
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
816 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
818 wxPyEndAllowThreads(__tstate
);
819 if (PyErr_Occurred()) return NULL
;
820 } _resultobj
= Py_BuildValue("i",_result
);
824 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
825 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
844 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
846 wxPyEndAllowThreads(__tstate
);
847 if (PyErr_Occurred()) return NULL
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
853 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
857 PyObject
* _argo0
= 0;
858 char *_kwnames
[] = { "self", NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
872 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
874 wxPyEndAllowThreads(__tstate
);
875 if (PyErr_Occurred()) return NULL
;
876 } _resultobj
= Py_BuildValue("i",_result
);
880 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
883 src
= (wxHtmlParser
*) ptr
;
884 dest
= (wxObject
*) src
;
885 return (void *) dest
;
888 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
889 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
891 wxHtmlParser
* _arg0
;
892 wxFileSystem
* _arg1
;
893 PyObject
* _argo0
= 0;
894 PyObject
* _argo1
= 0;
895 char *_kwnames
[] = { "self","fs", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
916 wxHtmlParser_SetFS(_arg0
,_arg1
);
918 wxPyEndAllowThreads(__tstate
);
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
926 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxFileSystem
* _result
;
929 wxHtmlParser
* _arg0
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
949 }{ _resultobj
= wxPyMake_wxObject(_result
); }
953 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
954 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 wxHtmlParser
* _arg0
;
959 PyObject
* _argo0
= 0;
960 PyObject
* _obj1
= 0;
961 char *_kwnames
[] = { "self","source", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
974 #if PYTHON_API_VERSION >= 1009
975 char* tmpPtr
; int tmpSize
;
976 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
980 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
982 _arg1
= new wxString(tmpPtr
, tmpSize
);
984 if (!PyString_Check(_obj1
)) {
985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
988 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) return NULL
;
997 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1005 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1006 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1008 wxHtmlParser
* _arg0
;
1010 PyObject
* _argo0
= 0;
1011 PyObject
* _obj1
= 0;
1012 char *_kwnames
[] = { "self","source", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1025 #if PYTHON_API_VERSION >= 1009
1026 char* tmpPtr
; int tmpSize
;
1027 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1031 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1033 _arg1
= new wxString(tmpPtr
, tmpSize
);
1035 if (!PyString_Check(_obj1
)) {
1036 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1039 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1044 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1046 wxPyEndAllowThreads(__tstate
);
1047 if (PyErr_Occurred()) return NULL
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1057 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1058 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1060 wxHtmlParser
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 wxHtmlParser_DoneParser(_arg0
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1086 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1088 wxHtmlParser
* _arg0
;
1091 PyObject
* _argo0
= 0;
1092 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) return NULL
;
1110 } Py_INCREF(Py_None
);
1111 _resultobj
= Py_None
;
1115 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1116 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1118 wxHtmlParser
* _arg0
;
1119 wxHtmlTagHandler
* _arg1
;
1120 PyObject
* _argo0
= 0;
1121 PyObject
* _argo1
= 0;
1122 char *_kwnames
[] = { "self","handler", NULL
};
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1152 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1153 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1156 wxHtmlParser
* _arg0
;
1157 PyObject
* _argo0
= 0;
1158 char *_kwnames
[] = { "self", NULL
};
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) return NULL
;
1177 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1182 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1183 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1185 wxHtmlParser
* _arg0
;
1186 wxHtmlTagHandler
* _arg1
;
1188 PyObject
* _argo0
= 0;
1189 PyObject
* _argo1
= 0;
1190 PyObject
* _obj2
= 0;
1191 char *_kwnames
[] = { "self","handler","tags", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1211 #if PYTHON_API_VERSION >= 1009
1212 char* tmpPtr
; int tmpSize
;
1213 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1217 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1219 _arg2
= new wxString(tmpPtr
, tmpSize
);
1221 if (!PyString_Check(_obj2
)) {
1222 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1225 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) return NULL
;
1234 } Py_INCREF(Py_None
);
1235 _resultobj
= Py_None
;
1243 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1244 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1246 wxHtmlParser
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 wxHtmlParser_PopTagHandler(_arg0
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } Py_INCREF(Py_None
);
1267 _resultobj
= Py_None
;
1271 #define wxHtmlParser_CanOpenURL(_swigobj,_swigarg0) (_swigobj->CanOpenURL(_swigarg0))
1272 static PyObject
*_wrap_wxHtmlParser_CanOpenURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1275 wxHtmlParser
* _arg0
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _obj1
= 0;
1279 char *_kwnames
[] = { "self","url", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_CanOpenURL",_kwnames
,&_argo0
,&_obj1
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_CanOpenURL. Expected _wxHtmlParser_p.");
1292 #if PYTHON_API_VERSION >= 1009
1293 char* tmpPtr
; int tmpSize
;
1294 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1298 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1300 _arg1
= new wxString(tmpPtr
, tmpSize
);
1302 if (!PyString_Check(_obj1
)) {
1303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1306 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 _result
= (bool )wxHtmlParser_CanOpenURL(_arg0
,*_arg1
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } _resultobj
= Py_BuildValue("i",_result
);
1323 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1324 wxHtmlWinParser
*src
;
1326 src
= (wxHtmlWinParser
*) ptr
;
1327 dest
= (wxHtmlParser
*) src
;
1328 return (void *) dest
;
1331 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1332 wxHtmlWinParser
*src
;
1334 src
= (wxHtmlWinParser
*) ptr
;
1335 dest
= (wxObject
*) src
;
1336 return (void *) dest
;
1339 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1340 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxHtmlWinParser
* _result
;
1343 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "wnd", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1366 _resultobj
= Py_BuildValue("s",_ptemp
);
1369 _resultobj
= Py_None
;
1374 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1375 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1377 wxHtmlWinParser
* _arg0
;
1379 PyObject
* _argo0
= 0;
1380 PyObject
* _argo1
= 0;
1381 char *_kwnames
[] = { "self","dc", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1412 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1415 wxHtmlWinParser
* _arg0
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1439 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1440 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1443 wxHtmlWinParser
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1463 } _resultobj
= Py_BuildValue("i",_result
);
1467 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1468 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1471 wxHtmlWinParser
* _arg0
;
1472 PyObject
* _argo0
= 0;
1473 char *_kwnames
[] = { "self", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) return NULL
;
1491 } _resultobj
= Py_BuildValue("i",_result
);
1495 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1496 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1498 wxHtmlWindow
* _result
;
1499 wxHtmlWinParser
* _arg0
;
1500 PyObject
* _argo0
= 0;
1501 char *_kwnames
[] = { "self", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) return NULL
;
1519 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1523 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1524 int* temp
= int_LIST_helper(sizes
);
1526 self
->SetFonts(normal_face
, fixed_face
, temp
);
1530 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1532 wxHtmlWinParser
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 PyObject
* _obj1
= 0;
1538 PyObject
* _obj2
= 0;
1539 PyObject
* _obj3
= 0;
1540 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1553 #if PYTHON_API_VERSION >= 1009
1554 char* tmpPtr
; int tmpSize
;
1555 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1559 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1561 _arg1
= new wxString(tmpPtr
, tmpSize
);
1563 if (!PyString_Check(_obj1
)) {
1564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1567 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1571 #if PYTHON_API_VERSION >= 1009
1572 char* tmpPtr
; int tmpSize
;
1573 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1577 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1579 _arg2
= new wxString(tmpPtr
, tmpSize
);
1581 if (!PyString_Check(_obj2
)) {
1582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1585 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1610 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1611 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1613 wxHtmlContainerCell
* _result
;
1614 wxHtmlWinParser
* _arg0
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) return NULL
;
1636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1637 _resultobj
= Py_BuildValue("s",_ptemp
);
1640 _resultobj
= Py_None
;
1645 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1646 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 wxHtmlContainerCell
* _result
;
1649 wxHtmlWinParser
* _arg0
;
1650 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) return NULL
;
1671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1672 _resultobj
= Py_BuildValue("s",_ptemp
);
1675 _resultobj
= Py_None
;
1680 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1681 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 wxHtmlContainerCell
* _result
;
1684 wxHtmlWinParser
* _arg0
;
1685 wxHtmlContainerCell
* _arg1
;
1686 PyObject
* _argo0
= 0;
1687 PyObject
* _argo1
= 0;
1688 char *_kwnames
[] = { "self","c", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) return NULL
;
1715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1716 _resultobj
= Py_BuildValue("s",_ptemp
);
1719 _resultobj
= Py_None
;
1724 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1725 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1727 wxHtmlContainerCell
* _result
;
1728 wxHtmlWinParser
* _arg0
;
1729 PyObject
* _argo0
= 0;
1730 char *_kwnames
[] = { "self", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) return NULL
;
1750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1751 _resultobj
= Py_BuildValue("s",_ptemp
);
1754 _resultobj
= Py_None
;
1759 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1760 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxHtmlWinParser
* _arg0
;
1764 PyObject
* _argo0
= 0;
1765 char *_kwnames
[] = { "self", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) return NULL
;
1783 } _resultobj
= Py_BuildValue("i",_result
);
1787 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1788 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
* _resultobj
;
1790 wxHtmlWinParser
* _arg0
;
1792 PyObject
* _argo0
= 0;
1793 char *_kwnames
[] = { "self","s", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) return NULL
;
1811 } Py_INCREF(Py_None
);
1812 _resultobj
= Py_None
;
1816 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1817 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1820 wxHtmlWinParser
* _arg0
;
1821 PyObject
* _argo0
= 0;
1822 char *_kwnames
[] = { "self", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1840 } _resultobj
= Py_BuildValue("i",_result
);
1844 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1845 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1847 wxHtmlWinParser
* _arg0
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self","x", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1868 } Py_INCREF(Py_None
);
1869 _resultobj
= Py_None
;
1873 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1874 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 wxHtmlWinParser
* _arg0
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1897 } _resultobj
= Py_BuildValue("i",_result
);
1901 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1902 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxHtmlWinParser
* _arg0
;
1906 PyObject
* _argo0
= 0;
1907 char *_kwnames
[] = { "self","x", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1925 } Py_INCREF(Py_None
);
1926 _resultobj
= Py_None
;
1930 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1931 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 wxHtmlWinParser
* _arg0
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1954 } _resultobj
= Py_BuildValue("i",_result
);
1958 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1959 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1961 wxHtmlWinParser
* _arg0
;
1963 PyObject
* _argo0
= 0;
1964 char *_kwnames
[] = { "self","x", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) return NULL
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1987 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1988 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1991 wxHtmlWinParser
* _arg0
;
1992 PyObject
* _argo0
= 0;
1993 char *_kwnames
[] = { "self", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } _resultobj
= Py_BuildValue("i",_result
);
2015 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
2016 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2018 wxHtmlWinParser
* _arg0
;
2020 PyObject
* _argo0
= 0;
2021 char *_kwnames
[] = { "self","x", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
2027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) return NULL
;
2039 } Py_INCREF(Py_None
);
2040 _resultobj
= Py_None
;
2044 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
2045 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 wxHtmlWinParser
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) return NULL
;
2068 } _resultobj
= Py_BuildValue("i",_result
);
2072 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2073 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2075 wxHtmlWinParser
* _arg0
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self","a", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2102 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 wxHtmlWinParser
* _arg0
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2127 _resultobj
= Py_BuildValue("s",_ptemp
);
2131 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2132 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxHtmlWinParser
* _arg0
;
2136 PyObject
* _argo0
= 0;
2138 PyObject
* _obj1
= 0;
2139 char *_kwnames
[] = { "self","clr", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2153 if (! wxColour_helper(_obj1
, &_arg1
))
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) return NULL
;
2162 } Py_INCREF(Py_None
);
2163 _resultobj
= Py_None
;
2167 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2168 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2171 wxHtmlWinParser
* _arg0
;
2172 PyObject
* _argo0
= 0;
2173 char *_kwnames
[] = { "self", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) return NULL
;
2192 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2193 _resultobj
= Py_BuildValue("s",_ptemp
);
2197 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2198 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2200 wxHtmlWinParser
* _arg0
;
2202 PyObject
* _argo0
= 0;
2204 PyObject
* _obj1
= 0;
2205 char *_kwnames
[] = { "self","clr", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2219 if (! wxColour_helper(_obj1
, &_arg1
))
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2233 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2234 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2236 wxHtmlWinParser
* _arg0
;
2238 PyObject
* _argo0
= 0;
2239 PyObject
* _obj1
= 0;
2240 char *_kwnames
[] = { "self","link", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2253 #if PYTHON_API_VERSION >= 1009
2254 char* tmpPtr
; int tmpSize
;
2255 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2259 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2261 _arg1
= new wxString(tmpPtr
, tmpSize
);
2263 if (!PyString_Check(_obj1
)) {
2264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2267 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) return NULL
;
2276 } Py_INCREF(Py_None
);
2277 _resultobj
= Py_None
;
2285 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2286 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2289 wxHtmlWinParser
* _arg0
;
2290 PyObject
* _argo0
= 0;
2291 char *_kwnames
[] = { "self", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2312 _resultobj
= Py_BuildValue("s",_ptemp
);
2315 _resultobj
= Py_None
;
2320 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2321 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxHtmlLinkInfo
* _result
;
2324 wxHtmlWinParser
* _arg0
;
2325 PyObject
* _argo0
= 0;
2326 char *_kwnames
[] = { "self", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2346 _resultobj
= Py_BuildValue("s",_ptemp
);
2350 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2351 wxPyHtmlTagHandler
*src
;
2353 src
= (wxPyHtmlTagHandler
*) ptr
;
2354 dest
= (wxObject
*) src
;
2355 return (void *) dest
;
2358 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2359 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2361 wxPyHtmlTagHandler
* _result
;
2362 char *_kwnames
[] = { NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) return NULL
;
2375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2376 _resultobj
= Py_BuildValue("s",_ptemp
);
2379 _resultobj
= Py_None
;
2384 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2385 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxPyHtmlTagHandler
* _arg0
;
2390 PyObject
* _argo0
= 0;
2391 PyObject
* _obj1
= 0;
2392 PyObject
* _obj2
= 0;
2393 char *_kwnames
[] = { "self","self","_class", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) return NULL
;
2417 } Py_INCREF(Py_None
);
2418 _resultobj
= Py_None
;
2422 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2423 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2425 wxPyHtmlTagHandler
* _arg0
;
2426 wxHtmlParser
* _arg1
;
2427 PyObject
* _argo0
= 0;
2428 PyObject
* _argo1
= 0;
2429 char *_kwnames
[] = { "self","parser", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) return NULL
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2460 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2462 wxHtmlParser
* _result
;
2463 wxPyHtmlTagHandler
* _arg0
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2486 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 _resultobj
= Py_None
;
2494 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2495 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2497 wxPyHtmlTagHandler
* _arg0
;
2499 PyObject
* _argo0
= 0;
2500 PyObject
* _argo1
= 0;
2501 char *_kwnames
[] = { "self","tag", NULL
};
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 } Py_INCREF(Py_None
);
2527 _resultobj
= Py_None
;
2531 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2532 wxPyHtmlWinTagHandler
*src
;
2533 wxPyHtmlTagHandler
*dest
;
2534 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2535 dest
= (wxPyHtmlTagHandler
*) src
;
2536 return (void *) dest
;
2539 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2540 wxPyHtmlWinTagHandler
*src
;
2542 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2543 dest
= (wxObject
*) src
;
2544 return (void *) dest
;
2547 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2548 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2550 wxPyHtmlWinTagHandler
* _result
;
2551 char *_kwnames
[] = { NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) return NULL
;
2564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2565 _resultobj
= Py_BuildValue("s",_ptemp
);
2568 _resultobj
= Py_None
;
2573 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2574 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxPyHtmlWinTagHandler
* _arg0
;
2579 PyObject
* _argo0
= 0;
2580 PyObject
* _obj1
= 0;
2581 PyObject
* _obj2
= 0;
2582 char *_kwnames
[] = { "self","self","_class", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2606 } Py_INCREF(Py_None
);
2607 _resultobj
= Py_None
;
2611 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2612 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxPyHtmlWinTagHandler
* _arg0
;
2615 wxHtmlParser
* _arg1
;
2616 PyObject
* _argo0
= 0;
2617 PyObject
* _argo1
= 0;
2618 char *_kwnames
[] = { "self","parser", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) return NULL
;
2643 } Py_INCREF(Py_None
);
2644 _resultobj
= Py_None
;
2648 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2649 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2651 wxHtmlWinParser
* _result
;
2652 wxPyHtmlWinTagHandler
* _arg0
;
2653 PyObject
* _argo0
= 0;
2654 char *_kwnames
[] = { "self", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) return NULL
;
2674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2675 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 _resultobj
= Py_None
;
2683 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2684 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2686 wxPyHtmlWinTagHandler
* _arg0
;
2688 PyObject
* _argo0
= 0;
2689 PyObject
* _argo1
= 0;
2690 char *_kwnames
[] = { "self","tag", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2703 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) return NULL
;
2715 } Py_INCREF(Py_None
);
2716 _resultobj
= Py_None
;
2720 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2723 src
= (wxHtmlCell
*) ptr
;
2724 dest
= (wxObject
*) src
;
2725 return (void *) dest
;
2728 #define new_wxHtmlCell() (new wxHtmlCell())
2729 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2731 wxHtmlCell
* _result
;
2732 char *_kwnames
[] = { NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) return NULL
;
2745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2746 _resultobj
= Py_BuildValue("s",_ptemp
);
2749 _resultobj
= Py_None
;
2754 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2755 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
* _resultobj
;
2759 PyObject
* _argo0
= 0;
2760 char *_kwnames
[] = { "self", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) return NULL
;
2778 } _resultobj
= Py_BuildValue("i",_result
);
2782 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2783 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) return NULL
;
2806 } _resultobj
= Py_BuildValue("i",_result
);
2810 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2811 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) return NULL
;
2834 } _resultobj
= Py_BuildValue("i",_result
);
2838 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2839 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) return NULL
;
2862 } _resultobj
= Py_BuildValue("i",_result
);
2866 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2867 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) return NULL
;
2890 } _resultobj
= Py_BuildValue("i",_result
);
2894 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2895 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2897 wxHtmlLinkInfo
* _result
;
2899 int _arg1
= (int ) 0;
2900 int _arg2
= (int ) 0;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self","x","y", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) return NULL
;
2922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2923 _resultobj
= Py_BuildValue("s",_ptemp
);
2926 _resultobj
= Py_None
;
2931 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2932 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxHtmlCell
* _result
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) return NULL
;
2957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2958 _resultobj
= Py_BuildValue("s",_ptemp
);
2961 _resultobj
= Py_None
;
2966 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2967 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2969 wxHtmlContainerCell
* _result
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2993 _resultobj
= Py_BuildValue("s",_ptemp
);
2996 _resultobj
= Py_None
;
3001 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
3002 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3005 wxHtmlLinkInfo
* _arg1
;
3006 PyObject
* _argo0
= 0;
3007 PyObject
* _argo1
= 0;
3008 char *_kwnames
[] = { "self","link", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
3021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 wxHtmlCell_SetLink(_arg0
,*_arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3033 } Py_INCREF(Py_None
);
3034 _resultobj
= Py_None
;
3038 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
3039 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3043 PyObject
* _argo0
= 0;
3044 PyObject
* _argo1
= 0;
3045 char *_kwnames
[] = { "self","cell", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 wxHtmlCell_SetNext(_arg0
,_arg1
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3070 } Py_INCREF(Py_None
);
3071 _resultobj
= Py_None
;
3075 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3076 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3079 wxHtmlContainerCell
* _arg1
;
3080 PyObject
* _argo0
= 0;
3081 PyObject
* _argo1
= 0;
3082 char *_kwnames
[] = { "self","p", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
3095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 wxHtmlCell_SetParent(_arg0
,_arg1
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) return NULL
;
3107 } Py_INCREF(Py_None
);
3108 _resultobj
= Py_None
;
3112 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3113 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","x","y", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3143 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self","w", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 wxHtmlCell_Layout(_arg0
,_arg1
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3166 } Py_INCREF(Py_None
);
3167 _resultobj
= Py_None
;
3171 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3172 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3180 PyObject
* _argo0
= 0;
3181 PyObject
* _argo1
= 0;
3182 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3213 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3219 PyObject
* _argo0
= 0;
3220 PyObject
* _argo1
= 0;
3221 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3252 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxHtmlCell
* _result
;
3258 PyObject
* _argo0
= 0;
3259 PyObject
* _argo2
= 0;
3260 char *_kwnames
[] = { "self","condition","param", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3274 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3288 _resultobj
= Py_BuildValue("s",_ptemp
);
3291 _resultobj
= Py_None
;
3296 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3297 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3302 PyObject
* _argo0
= 0;
3303 PyObject
* _argo1
= 0;
3304 char *_kwnames
[] = { "self","pagebreak", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3329 } _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3334 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3338 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self","can", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3352 _arg1
= (bool ) tempbool1
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) return NULL
;
3359 } Py_INCREF(Py_None
);
3360 _resultobj
= Py_None
;
3364 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3365 wxHtmlWordCell
*src
;
3367 src
= (wxHtmlWordCell
*) ptr
;
3368 dest
= (wxHtmlCell
*) src
;
3369 return (void *) dest
;
3372 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3373 wxHtmlWordCell
*src
;
3375 src
= (wxHtmlWordCell
*) ptr
;
3376 dest
= (wxObject
*) src
;
3377 return (void *) dest
;
3380 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3381 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3383 wxHtmlWordCell
* _result
;
3386 PyObject
* _obj0
= 0;
3387 PyObject
* _argo1
= 0;
3388 char *_kwnames
[] = { "word","dc", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3395 #if PYTHON_API_VERSION >= 1009
3396 char* tmpPtr
; int tmpSize
;
3397 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3401 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3403 _arg0
= new wxString(tmpPtr
, tmpSize
);
3405 if (!PyString_Check(_obj0
)) {
3406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3409 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) return NULL
;
3426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3427 _resultobj
= Py_BuildValue("s",_ptemp
);
3430 _resultobj
= Py_None
;
3439 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3440 wxHtmlContainerCell
*src
;
3442 src
= (wxHtmlContainerCell
*) ptr
;
3443 dest
= (wxHtmlCell
*) src
;
3444 return (void *) dest
;
3447 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3448 wxHtmlContainerCell
*src
;
3450 src
= (wxHtmlContainerCell
*) ptr
;
3451 dest
= (wxObject
*) src
;
3452 return (void *) dest
;
3455 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3456 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxHtmlContainerCell
* _result
;
3459 wxHtmlContainerCell
* _arg0
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "parent", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3491 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3493 wxHtmlContainerCell
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 PyObject
* _argo1
= 0;
3497 char *_kwnames
[] = { "self","cell", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) return NULL
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3528 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3530 wxHtmlContainerCell
* _arg0
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self","al", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } Py_INCREF(Py_None
);
3552 _resultobj
= Py_None
;
3556 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3557 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3560 wxHtmlContainerCell
* _arg0
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) return NULL
;
3580 } _resultobj
= Py_BuildValue("i",_result
);
3584 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3585 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3587 wxHtmlContainerCell
* _arg0
;
3589 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self","al", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3614 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3617 wxHtmlContainerCell
* _arg0
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) return NULL
;
3637 } _resultobj
= Py_BuildValue("i",_result
);
3641 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3642 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3644 wxHtmlContainerCell
* _arg0
;
3647 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3648 PyObject
* _argo0
= 0;
3649 char *_kwnames
[] = { "self","i","what","units", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) return NULL
;
3667 } Py_INCREF(Py_None
);
3668 _resultobj
= Py_None
;
3672 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3673 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3676 wxHtmlContainerCell
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 char *_kwnames
[] = { "self","ind", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3702 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3705 wxHtmlContainerCell
* _arg0
;
3707 PyObject
* _argo0
= 0;
3708 char *_kwnames
[] = { "self","ind", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) return NULL
;
3726 } _resultobj
= Py_BuildValue("i",_result
);
3730 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3731 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3733 wxHtmlContainerCell
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 PyObject
* _argo1
= 0;
3737 char *_kwnames
[] = { "self","tag", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3768 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3770 wxHtmlContainerCell
* _arg0
;
3773 PyObject
* _argo0
= 0;
3774 char *_kwnames
[] = { "self","w","units", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3792 } Py_INCREF(Py_None
);
3793 _resultobj
= Py_None
;
3797 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3798 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3800 wxHtmlContainerCell
* _arg0
;
3802 PyObject
* _argo0
= 0;
3803 PyObject
* _argo1
= 0;
3804 char *_kwnames
[] = { "self","tag", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3829 } Py_INCREF(Py_None
);
3830 _resultobj
= Py_None
;
3834 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3835 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3837 wxHtmlContainerCell
* _arg0
;
3839 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3840 PyObject
* _argo0
= 0;
3841 char *_kwnames
[] = { "self","h","align", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) return NULL
;
3859 } Py_INCREF(Py_None
);
3860 _resultobj
= Py_None
;
3864 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3865 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
* _resultobj
;
3867 wxHtmlContainerCell
* _arg0
;
3869 PyObject
* _argo0
= 0;
3871 PyObject
* _obj1
= 0;
3872 char *_kwnames
[] = { "self","clr", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3886 if (! wxColour_helper(_obj1
, &_arg1
))
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } Py_INCREF(Py_None
);
3896 _resultobj
= Py_None
;
3900 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3901 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3903 wxHtmlContainerCell
* _arg0
;
3906 PyObject
* _argo0
= 0;
3908 PyObject
* _obj1
= 0;
3910 PyObject
* _obj2
= 0;
3911 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3925 if (! wxColour_helper(_obj1
, &_arg1
))
3930 if (! wxColour_helper(_obj2
, &_arg2
))
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3939 } Py_INCREF(Py_None
);
3940 _resultobj
= Py_None
;
3944 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3945 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3947 wxHtmlCell
* _result
;
3948 wxHtmlContainerCell
* _arg0
;
3949 PyObject
* _argo0
= 0;
3950 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3971 _resultobj
= Py_BuildValue("s",_ptemp
);
3974 _resultobj
= Py_None
;
3979 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3980 wxHtmlColourCell
*src
;
3982 src
= (wxHtmlColourCell
*) ptr
;
3983 dest
= (wxHtmlCell
*) src
;
3984 return (void *) dest
;
3987 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3988 wxHtmlColourCell
*src
;
3990 src
= (wxHtmlColourCell
*) ptr
;
3991 dest
= (wxObject
*) src
;
3992 return (void *) dest
;
3995 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3996 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3998 wxHtmlColourCell
* _result
;
4000 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
4002 PyObject
* _obj0
= 0;
4003 char *_kwnames
[] = { "clr","flags", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
4011 if (! wxColour_helper(_obj0
, &_arg0
))
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) return NULL
;
4021 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
4022 _resultobj
= Py_BuildValue("s",_ptemp
);
4025 _resultobj
= Py_None
;
4030 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
4031 wxHtmlFontCell
*src
;
4033 src
= (wxHtmlFontCell
*) ptr
;
4034 dest
= (wxHtmlCell
*) src
;
4035 return (void *) dest
;
4038 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
4039 wxHtmlFontCell
*src
;
4041 src
= (wxHtmlFontCell
*) ptr
;
4042 dest
= (wxObject
*) src
;
4043 return (void *) dest
;
4046 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
4047 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxHtmlFontCell
* _result
;
4051 PyObject
* _argo0
= 0;
4052 char *_kwnames
[] = { "font", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4073 _resultobj
= Py_BuildValue("s",_ptemp
);
4076 _resultobj
= Py_None
;
4081 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4082 wxHtmlWidgetCell
*src
;
4084 src
= (wxHtmlWidgetCell
*) ptr
;
4085 dest
= (wxHtmlCell
*) src
;
4086 return (void *) dest
;
4089 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4090 wxHtmlWidgetCell
*src
;
4092 src
= (wxHtmlWidgetCell
*) ptr
;
4093 dest
= (wxObject
*) src
;
4094 return (void *) dest
;
4097 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4098 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxHtmlWidgetCell
* _result
;
4102 int _arg1
= (int ) 0;
4103 PyObject
* _argo0
= 0;
4104 char *_kwnames
[] = { "wnd","w", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4125 _resultobj
= Py_BuildValue("s",_ptemp
);
4128 _resultobj
= Py_None
;
4133 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4134 wxPyHtmlWindow
*src
;
4135 wxScrolledWindow
*dest
;
4136 src
= (wxPyHtmlWindow
*) ptr
;
4137 dest
= (wxScrolledWindow
*) src
;
4138 return (void *) dest
;
4141 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4142 wxPyHtmlWindow
*src
;
4144 src
= (wxPyHtmlWindow
*) ptr
;
4145 dest
= (wxPanel
*) src
;
4146 return (void *) dest
;
4149 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4150 wxPyHtmlWindow
*src
;
4152 src
= (wxPyHtmlWindow
*) ptr
;
4153 dest
= (wxWindow
*) src
;
4154 return (void *) dest
;
4157 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4158 wxPyHtmlWindow
*src
;
4160 src
= (wxPyHtmlWindow
*) ptr
;
4161 dest
= (wxEvtHandler
*) src
;
4162 return (void *) dest
;
4165 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4166 wxPyHtmlWindow
*src
;
4168 src
= (wxPyHtmlWindow
*) ptr
;
4169 dest
= (wxObject
*) src
;
4170 return (void *) dest
;
4173 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4174 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4176 wxPyHtmlWindow
* _result
;
4178 int _arg1
= (int ) -1;
4179 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4180 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4181 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4182 char * _arg5
= (char *) "htmlWindow";
4183 PyObject
* _argo0
= 0;
4185 PyObject
* _obj2
= 0;
4187 PyObject
* _obj3
= 0;
4188 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4204 if (! wxPoint_helper(_obj2
, &_arg2
))
4210 if (! wxSize_helper(_obj3
, &_arg3
))
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) return NULL
;
4220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4221 _resultobj
= Py_BuildValue("s",_ptemp
);
4224 _resultobj
= Py_None
;
4229 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4230 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4232 wxPyHtmlWindow
* _result
;
4233 char *_kwnames
[] = { NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) return NULL
;
4246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4247 _resultobj
= Py_BuildValue("s",_ptemp
);
4250 _resultobj
= Py_None
;
4255 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4256 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 wxPyHtmlWindow
* _arg0
;
4261 int _arg2
= (int ) -1;
4262 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4263 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4264 int _arg5
= (int ) wxHW_SCROLLBAR_AUTO
;
4265 char * _arg6
= (char *) "htmlWindow";
4266 PyObject
* _argo0
= 0;
4267 PyObject
* _argo1
= 0;
4269 PyObject
* _obj3
= 0;
4271 PyObject
* _obj4
= 0;
4272 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4294 if (! wxPoint_helper(_obj3
, &_arg3
))
4300 if (! wxSize_helper(_obj4
, &_arg4
))
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) return NULL
;
4309 } _resultobj
= Py_BuildValue("i",_result
);
4313 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4314 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4316 wxPyHtmlWindow
* _arg0
;
4319 PyObject
* _argo0
= 0;
4320 PyObject
* _obj1
= 0;
4321 PyObject
* _obj2
= 0;
4322 char *_kwnames
[] = { "self","self","_class", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 } Py_INCREF(Py_None
);
4347 _resultobj
= Py_None
;
4351 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4352 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4355 wxPyHtmlWindow
* _arg0
;
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _obj1
= 0;
4359 char *_kwnames
[] = { "self","source", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4372 #if PYTHON_API_VERSION >= 1009
4373 char* tmpPtr
; int tmpSize
;
4374 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4378 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4380 _arg1
= new wxString(tmpPtr
, tmpSize
);
4382 if (!PyString_Check(_obj1
)) {
4383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4386 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) return NULL
;
4395 } _resultobj
= Py_BuildValue("i",_result
);
4403 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4404 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4407 wxPyHtmlWindow
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 PyObject
* _obj1
= 0;
4411 char *_kwnames
[] = { "self","location", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4424 #if PYTHON_API_VERSION >= 1009
4425 char* tmpPtr
; int tmpSize
;
4426 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4430 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4432 _arg1
= new wxString(tmpPtr
, tmpSize
);
4434 if (!PyString_Check(_obj1
)) {
4435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4438 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) return NULL
;
4447 } _resultobj
= Py_BuildValue("i",_result
);
4455 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4456 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
* _resultobj
;
4459 wxPyHtmlWindow
* _arg0
;
4461 PyObject
* _argo0
= 0;
4462 PyObject
* _obj1
= 0;
4463 char *_kwnames
[] = { "self","source", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4476 #if PYTHON_API_VERSION >= 1009
4477 char* tmpPtr
; int tmpSize
;
4478 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4482 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4484 _arg1
= new wxString(tmpPtr
, tmpSize
);
4486 if (!PyString_Check(_obj1
)) {
4487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4490 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) return NULL
;
4499 } _resultobj
= Py_BuildValue("i",_result
);
4507 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4508 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxPyHtmlWindow
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4532 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4540 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4541 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxPyHtmlWindow
* _arg0
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) return NULL
;
4565 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4573 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4574 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 wxPyHtmlWindow
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) return NULL
;
4598 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4606 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4607 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4609 wxPyHtmlWindow
* _arg0
;
4612 PyObject
* _argo0
= 0;
4613 PyObject
* _argo1
= 0;
4614 char *_kwnames
[] = { "self","frame","format", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) return NULL
;
4639 } Py_INCREF(Py_None
);
4640 _resultobj
= Py_None
;
4644 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4645 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4648 wxPyHtmlWindow
* _arg0
;
4649 PyObject
* _argo0
= 0;
4650 char *_kwnames
[] = { "self", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4672 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4673 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
* _resultobj
;
4675 wxPyHtmlWindow
* _arg0
;
4677 PyObject
* _argo0
= 0;
4678 char *_kwnames
[] = { "self","bar", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4701 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4702 int* temp
= int_LIST_helper(sizes
);
4704 self
->SetFonts(normal_face
, fixed_face
, temp
);
4708 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4710 wxPyHtmlWindow
* _arg0
;
4714 PyObject
* _argo0
= 0;
4715 PyObject
* _obj1
= 0;
4716 PyObject
* _obj2
= 0;
4717 PyObject
* _obj3
= 0;
4718 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4731 #if PYTHON_API_VERSION >= 1009
4732 char* tmpPtr
; int tmpSize
;
4733 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4737 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4739 _arg1
= new wxString(tmpPtr
, tmpSize
);
4741 if (!PyString_Check(_obj1
)) {
4742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4745 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4749 #if PYTHON_API_VERSION >= 1009
4750 char* tmpPtr
; int tmpSize
;
4751 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4755 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4757 _arg2
= new wxString(tmpPtr
, tmpSize
);
4759 if (!PyString_Check(_obj2
)) {
4760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4763 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) return NULL
;
4775 } Py_INCREF(Py_None
);
4776 _resultobj
= Py_None
;
4788 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4789 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4791 wxPyHtmlWindow
* _arg0
;
4793 PyObject
* _argo0
= 0;
4794 PyObject
* _obj1
= 0;
4795 char *_kwnames
[] = { "self","title", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4808 #if PYTHON_API_VERSION >= 1009
4809 char* tmpPtr
; int tmpSize
;
4810 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4814 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4816 _arg1
= new wxString(tmpPtr
, tmpSize
);
4818 if (!PyString_Check(_obj1
)) {
4819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4822 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) return NULL
;
4831 } Py_INCREF(Py_None
);
4832 _resultobj
= Py_None
;
4840 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4841 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4843 wxPyHtmlWindow
* _arg0
;
4845 PyObject
* _argo0
= 0;
4846 char *_kwnames
[] = { "self","b", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4870 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4872 wxPyHtmlWindow
* _arg0
;
4873 wxConfigBase
* _arg1
;
4874 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4875 PyObject
* _argo0
= 0;
4876 PyObject
* _argo1
= 0;
4877 PyObject
* _obj2
= 0;
4878 char *_kwnames
[] = { "self","cfg","path", NULL
};
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4899 #if PYTHON_API_VERSION >= 1009
4900 char* tmpPtr
; int tmpSize
;
4901 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4905 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4907 _arg2
= new wxString(tmpPtr
, tmpSize
);
4909 if (!PyString_Check(_obj2
)) {
4910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4913 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } Py_INCREF(Py_None
);
4923 _resultobj
= Py_None
;
4931 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4932 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4934 wxPyHtmlWindow
* _arg0
;
4935 wxConfigBase
* _arg1
;
4936 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4937 PyObject
* _argo0
= 0;
4938 PyObject
* _argo1
= 0;
4939 PyObject
* _obj2
= 0;
4940 char *_kwnames
[] = { "self","cfg","path", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4961 #if PYTHON_API_VERSION >= 1009
4962 char* tmpPtr
; int tmpSize
;
4963 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4967 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4969 _arg2
= new wxString(tmpPtr
, tmpSize
);
4971 if (!PyString_Check(_obj2
)) {
4972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4975 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) return NULL
;
4984 } Py_INCREF(Py_None
);
4985 _resultobj
= Py_None
;
4993 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4994 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 wxPyHtmlWindow
* _arg0
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } _resultobj
= Py_BuildValue("i",_result
);
5021 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
5022 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5025 wxPyHtmlWindow
* _arg0
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } _resultobj
= Py_BuildValue("i",_result
);
5049 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
5050 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5053 wxPyHtmlWindow
* _arg0
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } _resultobj
= Py_BuildValue("i",_result
);
5077 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5078 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5081 wxPyHtmlWindow
* _arg0
;
5082 PyObject
* _argo0
= 0;
5083 char *_kwnames
[] = { "self", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) return NULL
;
5101 } _resultobj
= Py_BuildValue("i",_result
);
5105 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5106 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5108 wxPyHtmlWindow
* _arg0
;
5109 PyObject
* _argo0
= 0;
5110 char *_kwnames
[] = { "self", NULL
};
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxHtmlWindow_HistoryClear(_arg0
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) return NULL
;
5128 } Py_INCREF(Py_None
);
5129 _resultobj
= Py_None
;
5133 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5134 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
* _resultobj
;
5136 wxHtmlContainerCell
* _result
;
5137 wxPyHtmlWindow
* _arg0
;
5138 PyObject
* _argo0
= 0;
5139 char *_kwnames
[] = { "self", NULL
};
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) return NULL
;
5159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5160 _resultobj
= Py_BuildValue("s",_ptemp
);
5163 _resultobj
= Py_None
;
5168 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5169 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5171 wxHtmlWinParser
* _result
;
5172 wxPyHtmlWindow
* _arg0
;
5173 PyObject
* _argo0
= 0;
5174 char *_kwnames
[] = { "self", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) return NULL
;
5194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5195 _resultobj
= Py_BuildValue("s",_ptemp
);
5198 _resultobj
= Py_None
;
5203 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5204 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5206 wxPyHtmlWindow
* _arg0
;
5207 wxHtmlLinkInfo
* _arg1
;
5208 PyObject
* _argo0
= 0;
5209 PyObject
* _argo1
= 0;
5210 char *_kwnames
[] = { "self","link", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) return NULL
;
5235 } Py_INCREF(Py_None
);
5236 _resultobj
= Py_None
;
5240 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5241 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5243 wxPyHtmlWindow
* _arg0
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self","title", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) return NULL
;
5264 } Py_INCREF(Py_None
);
5265 _resultobj
= Py_None
;
5269 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5270 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5272 wxPyHtmlWindow
* _arg0
;
5276 PyObject
* _argo0
= 0;
5277 PyObject
* _argo1
= 0;
5278 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) return NULL
;
5303 } Py_INCREF(Py_None
);
5304 _resultobj
= Py_None
;
5308 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5309 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5311 wxPyHtmlWindow
* _arg0
;
5315 wxMouseEvent
* _arg4
;
5316 PyObject
* _argo0
= 0;
5317 PyObject
* _argo1
= 0;
5318 PyObject
* _argo4
= 0;
5319 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5339 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) return NULL
;
5351 } Py_INCREF(Py_None
);
5352 _resultobj
= Py_None
;
5356 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5357 wxHtmlDCRenderer
*src
;
5359 src
= (wxHtmlDCRenderer
*) ptr
;
5360 dest
= (wxObject
*) src
;
5361 return (void *) dest
;
5364 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5365 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5367 wxHtmlDCRenderer
* _result
;
5368 char *_kwnames
[] = { NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) return NULL
;
5381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5382 _resultobj
= Py_BuildValue("s",_ptemp
);
5385 _resultobj
= Py_None
;
5390 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5391 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5393 wxHtmlDCRenderer
* _arg0
;
5394 PyObject
* _argo0
= 0;
5395 char *_kwnames
[] = { "self", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 delete_wxHtmlDCRenderer(_arg0
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) return NULL
;
5413 } Py_INCREF(Py_None
);
5414 _resultobj
= Py_None
;
5418 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5419 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
* _resultobj
;
5421 wxHtmlDCRenderer
* _arg0
;
5424 PyObject
* _argo0
= 0;
5425 PyObject
* _argo1
= 0;
5426 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5451 } Py_INCREF(Py_None
);
5452 _resultobj
= Py_None
;
5456 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5457 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
* _resultobj
;
5459 wxHtmlDCRenderer
* _arg0
;
5462 PyObject
* _argo0
= 0;
5463 char *_kwnames
[] = { "self","width","height", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) return NULL
;
5481 } Py_INCREF(Py_None
);
5482 _resultobj
= Py_None
;
5486 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5487 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5489 wxHtmlDCRenderer
* _arg0
;
5491 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5492 bool _arg3
= (bool ) TRUE
;
5493 PyObject
* _argo0
= 0;
5494 PyObject
* _obj1
= 0;
5495 PyObject
* _obj2
= 0;
5496 int tempbool3
= (int) TRUE
;
5497 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5510 #if PYTHON_API_VERSION >= 1009
5511 char* tmpPtr
; int tmpSize
;
5512 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5513 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5516 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5518 _arg1
= new wxString(tmpPtr
, tmpSize
);
5520 if (!PyString_Check(_obj1
)) {
5521 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5524 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5529 #if PYTHON_API_VERSION >= 1009
5530 char* tmpPtr
; int tmpSize
;
5531 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5535 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5537 _arg2
= new wxString(tmpPtr
, tmpSize
);
5539 if (!PyString_Check(_obj2
)) {
5540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5543 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5546 _arg3
= (bool ) tempbool3
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) return NULL
;
5553 } Py_INCREF(Py_None
);
5554 _resultobj
= Py_None
;
5566 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5567 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5570 wxHtmlDCRenderer
* _arg0
;
5573 int _arg3
= (int ) 0;
5574 int _arg4
= (int ) FALSE
;
5575 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 } _resultobj
= Py_BuildValue("i",_result
);
5598 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5599 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5602 wxHtmlDCRenderer
* _arg0
;
5603 PyObject
* _argo0
= 0;
5604 char *_kwnames
[] = { "self", NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) return NULL
;
5622 } _resultobj
= Py_BuildValue("i",_result
);
5626 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5627 wxHtmlPrintout
*src
;
5629 src
= (wxHtmlPrintout
*) ptr
;
5630 dest
= (wxPyPrintout
*) src
;
5631 return (void *) dest
;
5634 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5635 wxHtmlPrintout
*src
;
5637 src
= (wxHtmlPrintout
*) ptr
;
5638 dest
= (wxObject
*) src
;
5639 return (void *) dest
;
5642 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5643 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5645 wxHtmlPrintout
* _result
;
5646 char * _arg0
= (char *) "Printout";
5647 char *_kwnames
[] = { "title", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) return NULL
;
5660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5661 _resultobj
= Py_BuildValue("s",_ptemp
);
5664 _resultobj
= Py_None
;
5669 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5670 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5672 wxHtmlPrintout
* _arg0
;
5674 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5675 bool _arg3
= (bool ) TRUE
;
5676 PyObject
* _argo0
= 0;
5677 PyObject
* _obj1
= 0;
5678 PyObject
* _obj2
= 0;
5679 int tempbool3
= (int) TRUE
;
5680 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5693 #if PYTHON_API_VERSION >= 1009
5694 char* tmpPtr
; int tmpSize
;
5695 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5699 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5701 _arg1
= new wxString(tmpPtr
, tmpSize
);
5703 if (!PyString_Check(_obj1
)) {
5704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5707 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5712 #if PYTHON_API_VERSION >= 1009
5713 char* tmpPtr
; int tmpSize
;
5714 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5718 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5720 _arg2
= new wxString(tmpPtr
, tmpSize
);
5722 if (!PyString_Check(_obj2
)) {
5723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5726 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5729 _arg3
= (bool ) tempbool3
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5736 } Py_INCREF(Py_None
);
5737 _resultobj
= Py_None
;
5749 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5750 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxHtmlPrintout
* _arg0
;
5754 PyObject
* _argo0
= 0;
5755 PyObject
* _obj1
= 0;
5756 char *_kwnames
[] = { "self","htmlfile", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5769 #if PYTHON_API_VERSION >= 1009
5770 char* tmpPtr
; int tmpSize
;
5771 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5775 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5777 _arg1
= new wxString(tmpPtr
, tmpSize
);
5779 if (!PyString_Check(_obj1
)) {
5780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5783 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) return NULL
;
5792 } Py_INCREF(Py_None
);
5793 _resultobj
= Py_None
;
5801 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5802 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5804 wxHtmlPrintout
* _arg0
;
5806 int _arg2
= (int ) (wxPAGE_ALL
);
5807 PyObject
* _argo0
= 0;
5808 PyObject
* _obj1
= 0;
5809 char *_kwnames
[] = { "self","header","pg", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5822 #if PYTHON_API_VERSION >= 1009
5823 char* tmpPtr
; int tmpSize
;
5824 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5825 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5828 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5830 _arg1
= new wxString(tmpPtr
, tmpSize
);
5832 if (!PyString_Check(_obj1
)) {
5833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5836 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) return NULL
;
5845 } Py_INCREF(Py_None
);
5846 _resultobj
= Py_None
;
5854 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5855 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
* _resultobj
;
5857 wxHtmlPrintout
* _arg0
;
5859 int _arg2
= (int ) (wxPAGE_ALL
);
5860 PyObject
* _argo0
= 0;
5861 PyObject
* _obj1
= 0;
5862 char *_kwnames
[] = { "self","footer","pg", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5875 #if PYTHON_API_VERSION >= 1009
5876 char* tmpPtr
; int tmpSize
;
5877 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5881 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5883 _arg1
= new wxString(tmpPtr
, tmpSize
);
5885 if (!PyString_Check(_obj1
)) {
5886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5889 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } Py_INCREF(Py_None
);
5899 _resultobj
= Py_None
;
5907 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5908 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
* _resultobj
;
5910 wxHtmlPrintout
* _arg0
;
5911 float _arg1
= (float ) 25.2;
5912 float _arg2
= (float ) 25.2;
5913 float _arg3
= (float ) 25.2;
5914 float _arg4
= (float ) 25.2;
5915 float _arg5
= (float ) 5;
5916 PyObject
* _argo0
= 0;
5917 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) return NULL
;
5935 } Py_INCREF(Py_None
);
5936 _resultobj
= Py_None
;
5940 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5941 wxHtmlEasyPrinting
*src
;
5943 src
= (wxHtmlEasyPrinting
*) ptr
;
5944 dest
= (wxObject
*) src
;
5945 return (void *) dest
;
5948 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5949 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5951 wxHtmlEasyPrinting
* _result
;
5952 char * _arg0
= (char *) "Printing";
5953 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5954 PyObject
* _argo1
= 0;
5955 char *_kwnames
[] = { "name","parent_frame", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) return NULL
;
5975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5976 _resultobj
= Py_BuildValue("s",_ptemp
);
5979 _resultobj
= Py_None
;
5984 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5985 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxHtmlEasyPrinting
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 delete_wxHtmlEasyPrinting(_arg0
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } Py_INCREF(Py_None
);
6008 _resultobj
= Py_None
;
6012 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
6013 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6015 wxHtmlEasyPrinting
* _arg0
;
6017 PyObject
* _argo0
= 0;
6018 PyObject
* _obj1
= 0;
6019 char *_kwnames
[] = { "self","htmlfile", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
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_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
6032 #if PYTHON_API_VERSION >= 1009
6033 char* tmpPtr
; int tmpSize
;
6034 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6038 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6040 _arg1
= new wxString(tmpPtr
, tmpSize
);
6042 if (!PyString_Check(_obj1
)) {
6043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6046 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) return NULL
;
6055 } Py_INCREF(Py_None
);
6056 _resultobj
= Py_None
;
6064 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6065 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6067 wxHtmlEasyPrinting
* _arg0
;
6069 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6070 PyObject
* _argo0
= 0;
6071 PyObject
* _obj1
= 0;
6072 PyObject
* _obj2
= 0;
6073 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6086 #if PYTHON_API_VERSION >= 1009
6087 char* tmpPtr
; int tmpSize
;
6088 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6092 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6094 _arg1
= new wxString(tmpPtr
, tmpSize
);
6096 if (!PyString_Check(_obj1
)) {
6097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6100 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6105 #if PYTHON_API_VERSION >= 1009
6106 char* tmpPtr
; int tmpSize
;
6107 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6111 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6113 _arg2
= new wxString(tmpPtr
, tmpSize
);
6115 if (!PyString_Check(_obj2
)) {
6116 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6119 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) return NULL
;
6128 } Py_INCREF(Py_None
);
6129 _resultobj
= Py_None
;
6141 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6142 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6144 wxHtmlEasyPrinting
* _arg0
;
6146 PyObject
* _argo0
= 0;
6147 PyObject
* _obj1
= 0;
6148 char *_kwnames
[] = { "self","htmlfile", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
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_PrintFile. 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
));
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) return NULL
;
6184 } Py_INCREF(Py_None
);
6185 _resultobj
= Py_None
;
6193 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6194 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxHtmlEasyPrinting
* _arg0
;
6198 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6199 PyObject
* _argo0
= 0;
6200 PyObject
* _obj1
= 0;
6201 PyObject
* _obj2
= 0;
6202 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6215 #if PYTHON_API_VERSION >= 1009
6216 char* tmpPtr
; int tmpSize
;
6217 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6221 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6223 _arg1
= new wxString(tmpPtr
, tmpSize
);
6225 if (!PyString_Check(_obj1
)) {
6226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6229 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6234 #if PYTHON_API_VERSION >= 1009
6235 char* tmpPtr
; int tmpSize
;
6236 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6240 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6242 _arg2
= new wxString(tmpPtr
, tmpSize
);
6244 if (!PyString_Check(_obj2
)) {
6245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6248 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) return NULL
;
6257 } Py_INCREF(Py_None
);
6258 _resultobj
= Py_None
;
6270 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6271 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
* _resultobj
;
6273 wxHtmlEasyPrinting
* _arg0
;
6274 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) return NULL
;
6293 } Py_INCREF(Py_None
);
6294 _resultobj
= Py_None
;
6298 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6299 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6301 wxHtmlEasyPrinting
* _arg0
;
6302 PyObject
* _argo0
= 0;
6303 char *_kwnames
[] = { "self", NULL
};
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 wxHtmlEasyPrinting_PageSetup(_arg0
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) return NULL
;
6321 } Py_INCREF(Py_None
);
6322 _resultobj
= Py_None
;
6326 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6327 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6329 wxHtmlEasyPrinting
* _arg0
;
6331 int _arg2
= (int ) (wxPAGE_ALL
);
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _obj1
= 0;
6334 char *_kwnames
[] = { "self","header","pg", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6347 #if PYTHON_API_VERSION >= 1009
6348 char* tmpPtr
; int tmpSize
;
6349 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6353 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6355 _arg1
= new wxString(tmpPtr
, tmpSize
);
6357 if (!PyString_Check(_obj1
)) {
6358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6361 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) return NULL
;
6370 } Py_INCREF(Py_None
);
6371 _resultobj
= Py_None
;
6379 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6380 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
* _resultobj
;
6382 wxHtmlEasyPrinting
* _arg0
;
6384 int _arg2
= (int ) (wxPAGE_ALL
);
6385 PyObject
* _argo0
= 0;
6386 PyObject
* _obj1
= 0;
6387 char *_kwnames
[] = { "self","footer","pg", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6400 #if PYTHON_API_VERSION >= 1009
6401 char* tmpPtr
; int tmpSize
;
6402 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6406 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6408 _arg1
= new wxString(tmpPtr
, tmpSize
);
6410 if (!PyString_Check(_obj1
)) {
6411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6414 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6423 } Py_INCREF(Py_None
);
6424 _resultobj
= Py_None
;
6432 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6433 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
* _resultobj
;
6435 wxPrintData
* _result
;
6436 wxHtmlEasyPrinting
* _arg0
;
6437 PyObject
* _argo0
= 0;
6438 char *_kwnames
[] = { "self", NULL
};
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) return NULL
;
6458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6459 _resultobj
= Py_BuildValue("s",_ptemp
);
6462 _resultobj
= Py_None
;
6467 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6468 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6470 wxPageSetupDialogData
* _result
;
6471 wxHtmlEasyPrinting
* _arg0
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6494 _resultobj
= Py_BuildValue("s",_ptemp
);
6497 _resultobj
= Py_None
;
6502 static PyMethodDef htmlcMethods
[] = {
6503 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6565 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6566 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6567 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6568 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6569 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6570 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6571 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6572 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6573 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6574 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6575 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6576 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6577 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6578 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6579 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6580 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6581 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6582 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6583 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6584 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6585 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6586 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6587 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6599 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6600 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6601 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6602 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6609 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6610 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6611 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6612 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6613 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6614 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6615 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6616 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6617 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6618 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6619 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6620 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6621 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6622 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6623 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6624 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6625 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6626 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6627 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxHtmlParser_CanOpenURL", (PyCFunction
) _wrap_wxHtmlParser_CanOpenURL
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6670 * This table is used by the pointer type-checker
6672 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6673 { "_signed_long","_long",0},
6674 { "_wxPrintQuality","_wxCoord",0},
6675 { "_wxPrintQuality","_int",0},
6676 { "_wxPrintQuality","_signed_int",0},
6677 { "_wxPrintQuality","_unsigned_int",0},
6678 { "_wxPrintQuality","_wxWindowID",0},
6679 { "_wxPrintQuality","_uint",0},
6680 { "_wxPrintQuality","_EBool",0},
6681 { "_wxPrintQuality","_size_t",0},
6682 { "_wxPrintQuality","_time_t",0},
6683 { "_byte","_unsigned_char",0},
6684 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6685 { "_long","_unsigned_long",0},
6686 { "_long","_signed_long",0},
6687 { "_size_t","_wxCoord",0},
6688 { "_size_t","_wxPrintQuality",0},
6689 { "_size_t","_time_t",0},
6690 { "_size_t","_unsigned_int",0},
6691 { "_size_t","_int",0},
6692 { "_size_t","_wxWindowID",0},
6693 { "_size_t","_uint",0},
6694 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6695 { "_uint","_wxCoord",0},
6696 { "_uint","_wxPrintQuality",0},
6697 { "_uint","_time_t",0},
6698 { "_uint","_size_t",0},
6699 { "_uint","_unsigned_int",0},
6700 { "_uint","_int",0},
6701 { "_uint","_wxWindowID",0},
6702 { "_wxChar","_char",0},
6703 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6704 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6705 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6706 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6707 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6708 { "_char","_wxChar",0},
6709 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6710 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6711 { "_EBool","_wxCoord",0},
6712 { "_EBool","_wxPrintQuality",0},
6713 { "_EBool","_signed_int",0},
6714 { "_EBool","_int",0},
6715 { "_EBool","_wxWindowID",0},
6716 { "_unsigned_long","_long",0},
6717 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6718 { "_signed_int","_wxCoord",0},
6719 { "_signed_int","_wxPrintQuality",0},
6720 { "_signed_int","_EBool",0},
6721 { "_signed_int","_wxWindowID",0},
6722 { "_signed_int","_int",0},
6723 { "_WXTYPE","_wxDateTime_t",0},
6724 { "_WXTYPE","_short",0},
6725 { "_WXTYPE","_signed_short",0},
6726 { "_WXTYPE","_unsigned_short",0},
6727 { "_unsigned_short","_wxDateTime_t",0},
6728 { "_unsigned_short","_WXTYPE",0},
6729 { "_unsigned_short","_short",0},
6730 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6731 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6732 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6733 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6734 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6735 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6736 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6737 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6738 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6739 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6740 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6741 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6742 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6743 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6744 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6745 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6746 { "_signed_short","_WXTYPE",0},
6747 { "_signed_short","_short",0},
6748 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6749 { "_unsigned_char","_byte",0},
6750 { "_unsigned_int","_wxCoord",0},
6751 { "_unsigned_int","_wxPrintQuality",0},
6752 { "_unsigned_int","_time_t",0},
6753 { "_unsigned_int","_size_t",0},
6754 { "_unsigned_int","_uint",0},
6755 { "_unsigned_int","_wxWindowID",0},
6756 { "_unsigned_int","_int",0},
6757 { "_short","_wxDateTime_t",0},
6758 { "_short","_WXTYPE",0},
6759 { "_short","_unsigned_short",0},
6760 { "_short","_signed_short",0},
6761 { "_wxWindowID","_wxCoord",0},
6762 { "_wxWindowID","_wxPrintQuality",0},
6763 { "_wxWindowID","_time_t",0},
6764 { "_wxWindowID","_size_t",0},
6765 { "_wxWindowID","_EBool",0},
6766 { "_wxWindowID","_uint",0},
6767 { "_wxWindowID","_int",0},
6768 { "_wxWindowID","_signed_int",0},
6769 { "_wxWindowID","_unsigned_int",0},
6770 { "_int","_wxCoord",0},
6771 { "_int","_wxPrintQuality",0},
6772 { "_int","_time_t",0},
6773 { "_int","_size_t",0},
6774 { "_int","_EBool",0},
6775 { "_int","_uint",0},
6776 { "_int","_wxWindowID",0},
6777 { "_int","_unsigned_int",0},
6778 { "_int","_signed_int",0},
6779 { "_wxDateTime_t","_unsigned_short",0},
6780 { "_wxDateTime_t","_short",0},
6781 { "_wxDateTime_t","_WXTYPE",0},
6782 { "_time_t","_wxCoord",0},
6783 { "_time_t","_wxPrintQuality",0},
6784 { "_time_t","_unsigned_int",0},
6785 { "_time_t","_int",0},
6786 { "_time_t","_wxWindowID",0},
6787 { "_time_t","_uint",0},
6788 { "_time_t","_size_t",0},
6789 { "_wxCoord","_int",0},
6790 { "_wxCoord","_signed_int",0},
6791 { "_wxCoord","_unsigned_int",0},
6792 { "_wxCoord","_wxWindowID",0},
6793 { "_wxCoord","_uint",0},
6794 { "_wxCoord","_EBool",0},
6795 { "_wxCoord","_size_t",0},
6796 { "_wxCoord","_time_t",0},
6797 { "_wxCoord","_wxPrintQuality",0},
6798 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6799 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6800 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6803 static PyObject
*SWIG_globals
;
6807 SWIGEXPORT(void) inithtmlc() {
6809 SWIG_globals
= SWIG_newvarlink();
6810 m
= Py_InitModule("htmlc", htmlcMethods
);
6811 d
= PyModule_GetDict(m
);
6812 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6813 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6814 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6815 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6816 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6817 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6818 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6819 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6820 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6821 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6822 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6823 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6824 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6825 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6826 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6827 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6828 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6829 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6830 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6831 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6832 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6833 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6838 wxClassInfo::CleanUpClasses();
6839 wxClassInfo::InitializeClasses();
6841 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6842 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6843 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6846 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6847 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);