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 is required for parameter";
101 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
102 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
104 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
106 wxHtmlParser
* GetParser() { return m_Parser
; }
107 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
109 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
110 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
115 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
117 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
118 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
120 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
121 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
123 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
125 wxHtmlWinParser
* GetParser() { return m_WParser
; }
126 void ParseInner(const wxHtmlTag
& tag
)
127 { wxHtmlWinTagHandler::ParseInner(tag
); }
129 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
130 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
135 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
137 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
138 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
141 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
143 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
144 m_tagHandlerClass
= thc
;
145 Py_INCREF(m_tagHandlerClass
);
146 RegisterModule(this);
147 wxHtmlWinParser::AddModule(this);
151 bool doSave
= wxPyRestoreThread();
152 Py_DECREF(m_tagHandlerClass
);
153 m_tagHandlerClass
= NULL
;
154 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
155 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
158 wxPySaveThread(doSave
);
161 void FillHandlersTable(wxHtmlWinParser
*parser
) {
162 // Wave our magic wand... (if it works it's a miracle! ;-)
164 // First, make a new instance of the tag handler
165 bool doSave
= wxPyRestoreThread();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPySaveThread(doSave
);
171 // now figure out where it's C++ object is...
172 wxPyHtmlWinTagHandler
* thPtr
;
173 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
177 parser
->AddTagHandler(thPtr
);
184 PyObject
* m_tagHandlerClass
;
185 wxArrayPtrVoid m_objArray
;
189 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
190 // Dynamically create a new wxModule. Refcounts tagHandlerClass
191 // and adds itself to the wxModules list and to the wxHtmlWinParser.
192 new wxPyHtmlTagsModule(tagHandlerClass
);
195 class wxPyHtmlWindow
: public wxHtmlWindow
{
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
) {};
205 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
206 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
208 DEC_PYCALLBACK__STRING(OnSetTitle
);
212 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
213 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
215 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
216 bool doSave
= wxPyRestoreThread();
217 if (wxPyCBH_findCallback(m_myInst
, "OnLinkClicked")) {
218 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
219 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
223 wxHtmlWindow::OnLinkClicked(link
);
224 wxPySaveThread(doSave
);
226 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
227 wxHtmlWindow::OnLinkClicked(link
);
230 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
231 wxHtmlWindow::AddFilter(filter
);
234 extern "C" SWIGEXPORT(void) inithtmlhelpc();
238 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
241 PyObject
* _obj0
= 0;
242 char *_kwnames
[] = { "tagHandlerClass", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
251 wxPy_BEGIN_ALLOW_THREADS
;
252 wxHtmlWinParser_AddTagHandler(_arg0
);
254 wxPy_END_ALLOW_THREADS
;
255 } Py_INCREF(Py_None
);
256 _resultobj
= Py_None
;
260 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
262 wxHtmlFilter
* _arg0
;
263 PyObject
* _argo0
= 0;
264 char *_kwnames
[] = { "filter", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
277 wxPy_BEGIN_ALLOW_THREADS
;
278 wxHtmlWindow_AddFilter(_arg0
);
280 wxPy_END_ALLOW_THREADS
;
281 } Py_INCREF(Py_None
);
282 _resultobj
= Py_None
;
286 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
289 src
= (wxHtmlLinkInfo
*) ptr
;
290 dest
= (wxObject
*) src
;
291 return (void *) dest
;
294 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
295 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
297 wxHtmlLinkInfo
* _result
;
299 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
300 PyObject
* _obj0
= 0;
301 PyObject
* _obj1
= 0;
302 char *_kwnames
[] = { "href","target", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
309 #if PYTHON_API_VERSION >= 1009
310 char* tmpPtr
; int tmpSize
;
311 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
315 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
317 _arg0
= new wxString(tmpPtr
, tmpSize
);
319 if (!PyString_Check(_obj0
)) {
320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
323 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
328 #if PYTHON_API_VERSION >= 1009
329 char* tmpPtr
; int tmpSize
;
330 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
334 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
336 _arg1
= new wxString(tmpPtr
, tmpSize
);
338 if (!PyString_Check(_obj1
)) {
339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
342 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
346 wxPy_BEGIN_ALLOW_THREADS
;
347 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
349 wxPy_END_ALLOW_THREADS
;
351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
352 _resultobj
= Py_BuildValue("s",_ptemp
);
355 _resultobj
= Py_None
;
368 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
369 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
372 wxHtmlLinkInfo
* _arg0
;
373 PyObject
* _argo0
= 0;
374 char *_kwnames
[] = { "self", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
387 wxPy_BEGIN_ALLOW_THREADS
;
388 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
390 wxPy_END_ALLOW_THREADS
;
392 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
400 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
401 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 wxHtmlLinkInfo
* _arg0
;
405 PyObject
* _argo0
= 0;
406 char *_kwnames
[] = { "self", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
419 wxPy_BEGIN_ALLOW_THREADS
;
420 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
422 wxPy_END_ALLOW_THREADS
;
424 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
432 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
433 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
435 wxMouseEvent
* _result
;
436 wxHtmlLinkInfo
* _arg0
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
454 wxPy_END_ALLOW_THREADS
;
455 }{ _resultobj
= wxPyMake_wxObject(_result
); }
459 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
460 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
462 wxHtmlCell
* _result
;
463 wxHtmlLinkInfo
* _arg0
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
479 wxPy_BEGIN_ALLOW_THREADS
;
480 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
482 wxPy_END_ALLOW_THREADS
;
484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
485 _resultobj
= Py_BuildValue("s",_ptemp
);
488 _resultobj
= Py_None
;
493 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
494 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
496 wxHtmlLinkInfo
* _arg0
;
497 wxMouseEvent
* _arg1
;
498 PyObject
* _argo0
= 0;
499 PyObject
* _argo1
= 0;
500 char *_kwnames
[] = { "self","e", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
520 wxPy_BEGIN_ALLOW_THREADS
;
521 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
523 wxPy_END_ALLOW_THREADS
;
524 } Py_INCREF(Py_None
);
525 _resultobj
= Py_None
;
529 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
530 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 PyObject
* _resultobj
;
532 wxHtmlLinkInfo
* _arg0
;
534 PyObject
* _argo0
= 0;
535 PyObject
* _argo1
= 0;
536 char *_kwnames
[] = { "self","e", NULL
};
539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
549 if (_argo1
== Py_None
) { _arg1
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
559 wxPy_END_ALLOW_THREADS
;
560 } Py_INCREF(Py_None
);
561 _resultobj
= Py_None
;
565 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
568 src
= (wxHtmlTag
*) ptr
;
569 dest
= (wxObject
*) src
;
570 return (void *) dest
;
573 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
574 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
592 wxPy_BEGIN_ALLOW_THREADS
;
593 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
595 wxPy_END_ALLOW_THREADS
;
597 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
605 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
606 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
611 PyObject
* _argo0
= 0;
612 PyObject
* _obj1
= 0;
613 char *_kwnames
[] = { "self","par", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
626 #if PYTHON_API_VERSION >= 1009
627 char* tmpPtr
; int tmpSize
;
628 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
632 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
634 _arg1
= new wxString(tmpPtr
, tmpSize
);
636 if (!PyString_Check(_obj1
)) {
637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
640 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
644 wxPy_BEGIN_ALLOW_THREADS
;
645 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
647 wxPy_END_ALLOW_THREADS
;
648 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
657 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
662 int _arg2
= (int ) FALSE
;
663 PyObject
* _argo0
= 0;
664 PyObject
* _obj1
= 0;
665 char *_kwnames
[] = { "self","par","with_commas", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
678 #if PYTHON_API_VERSION >= 1009
679 char* tmpPtr
; int tmpSize
;
680 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
684 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
686 _arg1
= new wxString(tmpPtr
, tmpSize
);
688 if (!PyString_Check(_obj1
)) {
689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
692 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
696 wxPy_BEGIN_ALLOW_THREADS
;
697 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
699 wxPy_END_ALLOW_THREADS
;
701 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
713 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
714 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
718 PyObject
* _argo0
= 0;
719 char *_kwnames
[] = { "self", NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
732 wxPy_BEGIN_ALLOW_THREADS
;
733 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
735 wxPy_END_ALLOW_THREADS
;
737 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
745 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
746 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
750 PyObject
* _argo0
= 0;
751 char *_kwnames
[] = { "self", NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
764 wxPy_BEGIN_ALLOW_THREADS
;
765 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
767 wxPy_END_ALLOW_THREADS
;
768 } _resultobj
= Py_BuildValue("i",_result
);
772 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
773 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
791 wxPy_BEGIN_ALLOW_THREADS
;
792 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
794 wxPy_END_ALLOW_THREADS
;
795 } _resultobj
= Py_BuildValue("i",_result
);
799 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
800 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 PyObject
* _resultobj
;
804 PyObject
* _argo0
= 0;
805 char *_kwnames
[] = { "self", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
818 wxPy_BEGIN_ALLOW_THREADS
;
819 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
821 wxPy_END_ALLOW_THREADS
;
822 } _resultobj
= Py_BuildValue("i",_result
);
826 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
827 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 PyObject
* _resultobj
;
831 PyObject
* _argo0
= 0;
832 char *_kwnames
[] = { "self", NULL
};
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
845 wxPy_BEGIN_ALLOW_THREADS
;
846 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
848 wxPy_END_ALLOW_THREADS
;
849 } _resultobj
= Py_BuildValue("i",_result
);
853 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
856 src
= (wxHtmlParser
*) ptr
;
857 dest
= (wxObject
*) src
;
858 return (void *) dest
;
861 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
862 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
864 wxHtmlParser
* _arg0
;
865 wxFileSystem
* _arg1
;
866 PyObject
* _argo0
= 0;
867 PyObject
* _argo1
= 0;
868 char *_kwnames
[] = { "self","fs", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
888 wxPy_BEGIN_ALLOW_THREADS
;
889 wxHtmlParser_SetFS(_arg0
,_arg1
);
891 wxPy_END_ALLOW_THREADS
;
892 } Py_INCREF(Py_None
);
893 _resultobj
= Py_None
;
897 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
898 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
900 wxFileSystem
* _result
;
901 wxHtmlParser
* _arg0
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
919 wxPy_END_ALLOW_THREADS
;
920 }{ _resultobj
= wxPyMake_wxObject(_result
); }
924 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
925 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
928 wxHtmlParser
* _arg0
;
930 PyObject
* _argo0
= 0;
931 PyObject
* _obj1
= 0;
932 char *_kwnames
[] = { "self","source", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
945 #if PYTHON_API_VERSION >= 1009
946 char* tmpPtr
; int tmpSize
;
947 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
951 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
953 _arg1
= new wxString(tmpPtr
, tmpSize
);
955 if (!PyString_Check(_obj1
)) {
956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
959 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
963 wxPy_BEGIN_ALLOW_THREADS
;
964 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
966 wxPy_END_ALLOW_THREADS
;
967 }{ _resultobj
= wxPyMake_wxObject(_result
); }
975 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
976 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
978 wxHtmlParser
* _arg0
;
980 PyObject
* _argo0
= 0;
981 PyObject
* _obj1
= 0;
982 char *_kwnames
[] = { "self","source", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
995 #if PYTHON_API_VERSION >= 1009
996 char* tmpPtr
; int tmpSize
;
997 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1001 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1003 _arg1
= new wxString(tmpPtr
, tmpSize
);
1005 if (!PyString_Check(_obj1
)) {
1006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1009 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1013 wxPy_BEGIN_ALLOW_THREADS
;
1014 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1016 wxPy_END_ALLOW_THREADS
;
1017 } Py_INCREF(Py_None
);
1018 _resultobj
= Py_None
;
1026 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1027 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1029 wxHtmlParser
* _arg0
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxHtmlParser_DoneParser(_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1054 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1056 wxHtmlParser
* _arg0
;
1059 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1076 wxPy_END_ALLOW_THREADS
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1083 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1085 wxHtmlParser
* _arg0
;
1086 wxHtmlTagHandler
* _arg1
;
1087 PyObject
* _argo0
= 0;
1088 PyObject
* _argo1
= 0;
1089 char *_kwnames
[] = { "self","handler", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1112 wxPy_END_ALLOW_THREADS
;
1113 } Py_INCREF(Py_None
);
1114 _resultobj
= Py_None
;
1118 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1119 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1122 wxHtmlParser
* _arg0
;
1123 PyObject
* _argo0
= 0;
1124 char *_kwnames
[] = { "self", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1142 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1147 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1148 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxHtmlParser
* _arg0
;
1151 wxHtmlTagHandler
* _arg1
;
1153 PyObject
* _argo0
= 0;
1154 PyObject
* _argo1
= 0;
1155 PyObject
* _obj2
= 0;
1156 char *_kwnames
[] = { "self","handler","tags", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1176 #if PYTHON_API_VERSION >= 1009
1177 char* tmpPtr
; int tmpSize
;
1178 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1182 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1184 _arg2
= new wxString(tmpPtr
, tmpSize
);
1186 if (!PyString_Check(_obj2
)) {
1187 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1190 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } Py_INCREF(Py_None
);
1199 _resultobj
= Py_None
;
1207 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1208 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1210 wxHtmlParser
* _arg0
;
1211 PyObject
* _argo0
= 0;
1212 char *_kwnames
[] = { "self", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 wxHtmlParser_PopTagHandler(_arg0
);
1228 wxPy_END_ALLOW_THREADS
;
1229 } Py_INCREF(Py_None
);
1230 _resultobj
= Py_None
;
1234 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1235 wxHtmlWinParser
*src
;
1237 src
= (wxHtmlWinParser
*) ptr
;
1238 dest
= (wxHtmlParser
*) src
;
1239 return (void *) dest
;
1242 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1243 wxHtmlWinParser
*src
;
1245 src
= (wxHtmlWinParser
*) ptr
;
1246 dest
= (wxObject
*) src
;
1247 return (void *) dest
;
1250 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1251 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1253 wxHtmlWinParser
* _result
;
1255 PyObject
* _argo0
= 0;
1256 char *_kwnames
[] = { "wnd", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1276 _resultobj
= Py_BuildValue("s",_ptemp
);
1279 _resultobj
= Py_None
;
1284 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1285 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1287 wxHtmlWinParser
* _arg0
;
1289 PyObject
* _argo0
= 0;
1290 PyObject
* _argo1
= 0;
1291 char *_kwnames
[] = { "self","dc", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1314 wxPy_END_ALLOW_THREADS
;
1315 } Py_INCREF(Py_None
);
1316 _resultobj
= Py_None
;
1320 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1321 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1324 wxHtmlWinParser
* _arg0
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1347 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1348 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1351 wxHtmlWinParser
* _arg0
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1366 wxPy_BEGIN_ALLOW_THREADS
;
1367 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1369 wxPy_END_ALLOW_THREADS
;
1370 } _resultobj
= Py_BuildValue("i",_result
);
1374 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1375 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1378 wxHtmlWinParser
* _arg0
;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "self", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1393 wxPy_BEGIN_ALLOW_THREADS
;
1394 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1396 wxPy_END_ALLOW_THREADS
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1402 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1405 wxHtmlWinParser
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1423 wxPy_END_ALLOW_THREADS
;
1424 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1428 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1429 int* temp
= int_LIST_helper(sizes
);
1431 self
->SetFonts(normal_face
, fixed_face
, temp
);
1435 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxHtmlWinParser
* _arg0
;
1441 PyObject
* _argo0
= 0;
1442 PyObject
* _obj1
= 0;
1443 PyObject
* _obj2
= 0;
1444 PyObject
* _obj3
= 0;
1445 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
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_SetFonts. Expected _wxHtmlWinParser_p.");
1458 #if PYTHON_API_VERSION >= 1009
1459 char* tmpPtr
; int tmpSize
;
1460 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1464 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1466 _arg1
= new wxString(tmpPtr
, tmpSize
);
1468 if (!PyString_Check(_obj1
)) {
1469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1472 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1476 #if PYTHON_API_VERSION >= 1009
1477 char* tmpPtr
; int tmpSize
;
1478 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1482 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1484 _arg2
= new wxString(tmpPtr
, tmpSize
);
1486 if (!PyString_Check(_obj2
)) {
1487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1490 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1514 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1515 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxHtmlContainerCell
* _result
;
1518 wxHtmlWinParser
* _arg0
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1537 wxPy_END_ALLOW_THREADS
;
1539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1540 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 _resultobj
= Py_None
;
1548 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1549 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1551 wxHtmlContainerCell
* _result
;
1552 wxHtmlWinParser
* _arg0
;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1571 wxPy_END_ALLOW_THREADS
;
1573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1574 _resultobj
= Py_BuildValue("s",_ptemp
);
1577 _resultobj
= Py_None
;
1582 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1583 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 wxHtmlContainerCell
* _result
;
1586 wxHtmlWinParser
* _arg0
;
1587 wxHtmlContainerCell
* _arg1
;
1588 PyObject
* _argo0
= 0;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "self","c", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1614 wxPy_END_ALLOW_THREADS
;
1616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1617 _resultobj
= Py_BuildValue("s",_ptemp
);
1620 _resultobj
= Py_None
;
1625 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1626 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1628 wxHtmlContainerCell
* _result
;
1629 wxHtmlWinParser
* _arg0
;
1630 PyObject
* _argo0
= 0;
1631 char *_kwnames
[] = { "self", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1645 wxPy_BEGIN_ALLOW_THREADS
;
1646 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1648 wxPy_END_ALLOW_THREADS
;
1650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1651 _resultobj
= Py_BuildValue("s",_ptemp
);
1654 _resultobj
= Py_None
;
1659 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1660 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1663 wxHtmlWinParser
* _arg0
;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1686 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1687 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1689 wxHtmlWinParser
* _arg0
;
1691 PyObject
* _argo0
= 0;
1692 char *_kwnames
[] = { "self","s", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1708 wxPy_END_ALLOW_THREADS
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1715 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1718 wxHtmlWinParser
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1736 wxPy_END_ALLOW_THREADS
;
1737 } _resultobj
= Py_BuildValue("i",_result
);
1741 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1742 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 wxHtmlWinParser
* _arg0
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self","x", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } Py_INCREF(Py_None
);
1765 _resultobj
= Py_None
;
1769 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1770 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1773 wxHtmlWinParser
* _arg0
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1791 wxPy_END_ALLOW_THREADS
;
1792 } _resultobj
= Py_BuildValue("i",_result
);
1796 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1797 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1799 wxHtmlWinParser
* _arg0
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self","x", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1815 wxPy_BEGIN_ALLOW_THREADS
;
1816 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1818 wxPy_END_ALLOW_THREADS
;
1819 } Py_INCREF(Py_None
);
1820 _resultobj
= Py_None
;
1824 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1825 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1828 wxHtmlWinParser
* _arg0
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1846 wxPy_END_ALLOW_THREADS
;
1847 } _resultobj
= Py_BuildValue("i",_result
);
1851 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1852 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1854 wxHtmlWinParser
* _arg0
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self","x", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1880 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1883 wxHtmlWinParser
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } _resultobj
= Py_BuildValue("i",_result
);
1906 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1907 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxHtmlWinParser
* _arg0
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","x", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1934 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1935 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1938 wxHtmlWinParser
* _arg0
;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1956 wxPy_END_ALLOW_THREADS
;
1957 } _resultobj
= Py_BuildValue("i",_result
);
1961 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1962 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1964 wxHtmlWinParser
* _arg0
;
1966 PyObject
* _argo0
= 0;
1967 char *_kwnames
[] = { "self","a", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1983 wxPy_END_ALLOW_THREADS
;
1984 } Py_INCREF(Py_None
);
1985 _resultobj
= Py_None
;
1989 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1990 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1993 wxHtmlWinParser
* _arg0
;
1994 PyObject
* _argo0
= 0;
1995 char *_kwnames
[] = { "self", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2011 _result
= (wxColour
*) &_result_ref
;
2013 wxPy_END_ALLOW_THREADS
;
2015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2016 _resultobj
= Py_BuildValue("s",_ptemp
);
2019 _resultobj
= Py_None
;
2024 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2025 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2027 wxHtmlWinParser
* _arg0
;
2029 PyObject
* _argo0
= 0;
2031 PyObject
* _obj1
= 0;
2032 char *_kwnames
[] = { "self","clr", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2046 if (! wxColour_helper(_obj1
, &_arg1
))
2050 wxPy_BEGIN_ALLOW_THREADS
;
2051 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2053 wxPy_END_ALLOW_THREADS
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2059 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2060 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2063 wxHtmlWinParser
* _arg0
;
2064 PyObject
* _argo0
= 0;
2065 char *_kwnames
[] = { "self", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2079 wxPy_BEGIN_ALLOW_THREADS
;
2080 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2081 _result
= (wxColour
*) &_result_ref
;
2083 wxPy_END_ALLOW_THREADS
;
2085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2086 _resultobj
= Py_BuildValue("s",_ptemp
);
2089 _resultobj
= Py_None
;
2094 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2095 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2097 wxHtmlWinParser
* _arg0
;
2099 PyObject
* _argo0
= 0;
2101 PyObject
* _obj1
= 0;
2102 char *_kwnames
[] = { "self","clr", NULL
};
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2116 if (! wxColour_helper(_obj1
, &_arg1
))
2120 wxPy_BEGIN_ALLOW_THREADS
;
2121 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2123 wxPy_END_ALLOW_THREADS
;
2124 } Py_INCREF(Py_None
);
2125 _resultobj
= Py_None
;
2129 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2130 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2132 wxHtmlWinParser
* _arg0
;
2134 PyObject
* _argo0
= 0;
2135 PyObject
* _obj1
= 0;
2136 char *_kwnames
[] = { "self","link", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2149 #if PYTHON_API_VERSION >= 1009
2150 char* tmpPtr
; int tmpSize
;
2151 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2155 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2157 _arg1
= new wxString(tmpPtr
, tmpSize
);
2159 if (!PyString_Check(_obj1
)) {
2160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2163 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2180 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2181 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2184 wxHtmlWinParser
* _arg0
;
2185 PyObject
* _argo0
= 0;
2186 char *_kwnames
[] = { "self", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2203 wxPy_END_ALLOW_THREADS
;
2205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2206 _resultobj
= Py_BuildValue("s",_ptemp
);
2209 _resultobj
= Py_None
;
2214 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2215 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2217 wxHtmlLinkInfo
* _result
;
2218 wxHtmlWinParser
* _arg0
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2237 wxPy_END_ALLOW_THREADS
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2244 wxPyHtmlTagHandler
*src
;
2246 src
= (wxPyHtmlTagHandler
*) ptr
;
2247 dest
= (wxObject
*) src
;
2248 return (void *) dest
;
2251 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2252 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2254 wxPyHtmlTagHandler
* _result
;
2255 char *_kwnames
[] = { NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2265 wxPy_END_ALLOW_THREADS
;
2267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2268 _resultobj
= Py_BuildValue("s",_ptemp
);
2271 _resultobj
= Py_None
;
2276 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2277 static PyObject
*_wrap_wxHtmlTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2279 wxPyHtmlTagHandler
* _arg0
;
2282 PyObject
* _argo0
= 0;
2283 PyObject
* _obj1
= 0;
2284 PyObject
* _obj2
= 0;
2285 char *_kwnames
[] = { "self","self","_class", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 wxHtmlTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2314 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxPyHtmlTagHandler
* _arg0
;
2317 wxHtmlParser
* _arg1
;
2318 PyObject
* _argo0
= 0;
2319 PyObject
* _argo1
= 0;
2320 char *_kwnames
[] = { "self","parser", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } Py_INCREF(Py_None
);
2345 _resultobj
= Py_None
;
2349 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2350 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2352 wxHtmlParser
* _result
;
2353 wxPyHtmlTagHandler
* _arg0
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2372 wxPy_END_ALLOW_THREADS
;
2374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2375 _resultobj
= Py_BuildValue("s",_ptemp
);
2378 _resultobj
= Py_None
;
2383 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2384 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2386 wxPyHtmlTagHandler
* _arg0
;
2388 PyObject
* _argo0
= 0;
2389 PyObject
* _argo1
= 0;
2390 char *_kwnames
[] = { "self","tag", NULL
};
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2420 wxPyHtmlWinTagHandler
*src
;
2421 wxPyHtmlTagHandler
*dest
;
2422 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2423 dest
= (wxPyHtmlTagHandler
*) src
;
2424 return (void *) dest
;
2427 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2428 wxPyHtmlWinTagHandler
*src
;
2430 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2431 dest
= (wxObject
*) src
;
2432 return (void *) dest
;
2435 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2436 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2438 wxPyHtmlWinTagHandler
* _result
;
2439 char *_kwnames
[] = { NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2449 wxPy_END_ALLOW_THREADS
;
2451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2452 _resultobj
= Py_BuildValue("s",_ptemp
);
2455 _resultobj
= Py_None
;
2460 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2461 static PyObject
*_wrap_wxHtmlWinTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2463 wxPyHtmlWinTagHandler
* _arg0
;
2466 PyObject
* _argo0
= 0;
2467 PyObject
* _obj1
= 0;
2468 PyObject
* _obj2
= 0;
2469 char *_kwnames
[] = { "self","self","_class", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxHtmlWinTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2498 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2500 wxPyHtmlWinTagHandler
* _arg0
;
2501 wxHtmlParser
* _arg1
;
2502 PyObject
* _argo0
= 0;
2503 PyObject
* _argo1
= 0;
2504 char *_kwnames
[] = { "self","parser", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2527 wxPy_END_ALLOW_THREADS
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2534 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxHtmlWinParser
* _result
;
2537 wxPyHtmlWinTagHandler
* _arg0
;
2538 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2556 wxPy_END_ALLOW_THREADS
;
2558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2559 _resultobj
= Py_BuildValue("s",_ptemp
);
2562 _resultobj
= Py_None
;
2567 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2568 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2570 wxPyHtmlWinTagHandler
* _arg0
;
2572 PyObject
* _argo0
= 0;
2573 PyObject
* _argo1
= 0;
2574 char *_kwnames
[] = { "self","tag", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2597 wxPy_END_ALLOW_THREADS
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2603 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2606 src
= (wxHtmlCell
*) ptr
;
2607 dest
= (wxObject
*) src
;
2608 return (void *) dest
;
2611 #define new_wxHtmlCell() (new wxHtmlCell())
2612 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxHtmlCell
* _result
;
2615 char *_kwnames
[] = { NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2625 wxPy_END_ALLOW_THREADS
;
2627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2628 _resultobj
= Py_BuildValue("s",_ptemp
);
2631 _resultobj
= Py_None
;
2636 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2637 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2641 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2655 wxPy_BEGIN_ALLOW_THREADS
;
2656 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2658 wxPy_END_ALLOW_THREADS
;
2659 } _resultobj
= Py_BuildValue("i",_result
);
2663 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2664 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2685 wxPy_END_ALLOW_THREADS
;
2686 } _resultobj
= Py_BuildValue("i",_result
);
2690 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2691 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2712 wxPy_END_ALLOW_THREADS
;
2713 } _resultobj
= Py_BuildValue("i",_result
);
2717 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2718 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2722 PyObject
* _argo0
= 0;
2723 char *_kwnames
[] = { "self", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2739 wxPy_END_ALLOW_THREADS
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2745 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2766 wxPy_END_ALLOW_THREADS
;
2767 } _resultobj
= Py_BuildValue("i",_result
);
2771 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2772 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
* _resultobj
;
2774 wxHtmlLinkInfo
* _result
;
2776 int _arg1
= (int ) 0;
2777 int _arg2
= (int ) 0;
2778 PyObject
* _argo0
= 0;
2779 char *_kwnames
[] = { "self","x","y", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2796 wxPy_END_ALLOW_THREADS
;
2798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 _resultobj
= Py_None
;
2807 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2808 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2810 wxHtmlCell
* _result
;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2830 wxPy_END_ALLOW_THREADS
;
2832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2833 _resultobj
= Py_BuildValue("s",_ptemp
);
2836 _resultobj
= Py_None
;
2841 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2842 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2844 wxHtmlContainerCell
* _result
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2864 wxPy_END_ALLOW_THREADS
;
2866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2867 _resultobj
= Py_BuildValue("s",_ptemp
);
2870 _resultobj
= Py_None
;
2875 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2876 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2879 wxHtmlLinkInfo
* _arg1
;
2880 PyObject
* _argo0
= 0;
2881 PyObject
* _argo1
= 0;
2882 char *_kwnames
[] = { "self","link", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2902 wxPy_BEGIN_ALLOW_THREADS
;
2903 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2905 wxPy_END_ALLOW_THREADS
;
2906 } Py_INCREF(Py_None
);
2907 _resultobj
= Py_None
;
2911 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2912 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2916 PyObject
* _argo0
= 0;
2917 PyObject
* _argo1
= 0;
2918 char *_kwnames
[] = { "self","cell", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 wxHtmlCell_SetNext(_arg0
,_arg1
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2948 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2951 wxHtmlContainerCell
* _arg1
;
2952 PyObject
* _argo0
= 0;
2953 PyObject
* _argo1
= 0;
2954 char *_kwnames
[] = { "self","p", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 wxHtmlCell_SetParent(_arg0
,_arg1
);
2977 wxPy_END_ALLOW_THREADS
;
2978 } Py_INCREF(Py_None
);
2979 _resultobj
= Py_None
;
2983 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2984 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self","x","y", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3003 wxPy_BEGIN_ALLOW_THREADS
;
3004 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3006 wxPy_END_ALLOW_THREADS
;
3007 } Py_INCREF(Py_None
);
3008 _resultobj
= Py_None
;
3012 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3013 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3017 PyObject
* _argo0
= 0;
3018 char *_kwnames
[] = { "self","w", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 wxHtmlCell_Layout(_arg0
,_arg1
);
3034 wxPy_END_ALLOW_THREADS
;
3035 } Py_INCREF(Py_None
);
3036 _resultobj
= Py_None
;
3040 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3041 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3050 PyObject
* _argo1
= 0;
3051 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3074 wxPy_END_ALLOW_THREADS
;
3075 } Py_INCREF(Py_None
);
3076 _resultobj
= Py_None
;
3080 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3081 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3087 PyObject
* _argo0
= 0;
3088 PyObject
* _argo1
= 0;
3089 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3119 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxHtmlCell
* _result
;
3125 PyObject
* _argo0
= 0;
3126 PyObject
* _argo2
= 0;
3127 char *_kwnames
[] = { "self","condition","param", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3141 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3148 wxPy_BEGIN_ALLOW_THREADS
;
3149 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3151 wxPy_END_ALLOW_THREADS
;
3153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3154 _resultobj
= Py_BuildValue("s",_ptemp
);
3157 _resultobj
= Py_None
;
3162 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3163 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3168 PyObject
* _argo0
= 0;
3169 PyObject
* _argo1
= 0;
3170 char *_kwnames
[] = { "self","pagebreak", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3190 wxPy_BEGIN_ALLOW_THREADS
;
3191 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3193 wxPy_END_ALLOW_THREADS
;
3194 } _resultobj
= Py_BuildValue("i",_result
);
3198 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3199 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3203 PyObject
* _argo0
= 0;
3205 char *_kwnames
[] = { "self","can", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3217 _arg1
= (bool ) tempbool1
;
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3222 wxPy_END_ALLOW_THREADS
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3228 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3229 wxHtmlWordCell
*src
;
3231 src
= (wxHtmlWordCell
*) ptr
;
3232 dest
= (wxHtmlCell
*) src
;
3233 return (void *) dest
;
3236 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3237 wxHtmlWordCell
*src
;
3239 src
= (wxHtmlWordCell
*) ptr
;
3240 dest
= (wxObject
*) src
;
3241 return (void *) dest
;
3244 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3245 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3247 wxHtmlWordCell
* _result
;
3250 PyObject
* _obj0
= 0;
3251 PyObject
* _argo1
= 0;
3252 char *_kwnames
[] = { "word","dc", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3259 #if PYTHON_API_VERSION >= 1009
3260 char* tmpPtr
; int tmpSize
;
3261 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3265 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3267 _arg0
= new wxString(tmpPtr
, tmpSize
);
3269 if (!PyString_Check(_obj0
)) {
3270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3273 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3287 wxPy_END_ALLOW_THREADS
;
3289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 _resultobj
= Py_None
;
3302 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3303 wxHtmlContainerCell
*src
;
3305 src
= (wxHtmlContainerCell
*) ptr
;
3306 dest
= (wxHtmlCell
*) src
;
3307 return (void *) dest
;
3310 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3311 wxHtmlContainerCell
*src
;
3313 src
= (wxHtmlContainerCell
*) ptr
;
3314 dest
= (wxObject
*) src
;
3315 return (void *) dest
;
3318 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3319 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3321 wxHtmlContainerCell
* _result
;
3322 wxHtmlContainerCell
* _arg0
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "parent", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3338 wxPy_BEGIN_ALLOW_THREADS
;
3339 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3341 wxPy_END_ALLOW_THREADS
;
3343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3344 _resultobj
= Py_BuildValue("s",_ptemp
);
3347 _resultobj
= Py_None
;
3352 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3353 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3355 wxHtmlContainerCell
* _arg0
;
3357 PyObject
* _argo0
= 0;
3358 PyObject
* _argo1
= 0;
3359 char *_kwnames
[] = { "self","cell", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3379 wxPy_BEGIN_ALLOW_THREADS
;
3380 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3382 wxPy_END_ALLOW_THREADS
;
3383 } Py_INCREF(Py_None
);
3384 _resultobj
= Py_None
;
3388 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3389 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3391 wxHtmlContainerCell
* _arg0
;
3393 PyObject
* _argo0
= 0;
3394 char *_kwnames
[] = { "self","al", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3407 wxPy_BEGIN_ALLOW_THREADS
;
3408 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3410 wxPy_END_ALLOW_THREADS
;
3411 } Py_INCREF(Py_None
);
3412 _resultobj
= Py_None
;
3416 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3417 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3420 wxHtmlContainerCell
* _arg0
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3435 wxPy_BEGIN_ALLOW_THREADS
;
3436 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3438 wxPy_END_ALLOW_THREADS
;
3439 } _resultobj
= Py_BuildValue("i",_result
);
3443 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3444 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3446 wxHtmlContainerCell
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self","al", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3462 wxPy_BEGIN_ALLOW_THREADS
;
3463 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3465 wxPy_END_ALLOW_THREADS
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3472 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 wxHtmlContainerCell
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } _resultobj
= Py_BuildValue("i",_result
);
3498 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3499 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxHtmlContainerCell
* _arg0
;
3504 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self","i","what","units", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3522 wxPy_END_ALLOW_THREADS
;
3523 } Py_INCREF(Py_None
);
3524 _resultobj
= Py_None
;
3528 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3529 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3532 wxHtmlContainerCell
* _arg0
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self","ind", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3551 wxPy_END_ALLOW_THREADS
;
3552 } _resultobj
= Py_BuildValue("i",_result
);
3556 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3557 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3560 wxHtmlContainerCell
* _arg0
;
3562 PyObject
* _argo0
= 0;
3563 char *_kwnames
[] = { "self","ind", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3576 wxPy_BEGIN_ALLOW_THREADS
;
3577 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3579 wxPy_END_ALLOW_THREADS
;
3580 } _resultobj
= Py_BuildValue("i",_result
);
3584 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3585 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3587 wxHtmlContainerCell
* _arg0
;
3589 PyObject
* _argo0
= 0;
3590 PyObject
* _argo1
= 0;
3591 char *_kwnames
[] = { "self","tag", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } Py_INCREF(Py_None
);
3616 _resultobj
= Py_None
;
3620 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3621 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxHtmlContainerCell
* _arg0
;
3626 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self","w","units", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3649 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3650 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3652 wxHtmlContainerCell
* _arg0
;
3654 PyObject
* _argo0
= 0;
3655 PyObject
* _argo1
= 0;
3656 char *_kwnames
[] = { "self","tag", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3676 wxPy_BEGIN_ALLOW_THREADS
;
3677 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3679 wxPy_END_ALLOW_THREADS
;
3680 } Py_INCREF(Py_None
);
3681 _resultobj
= Py_None
;
3685 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3686 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3688 wxHtmlContainerCell
* _arg0
;
3690 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self","h","align", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } Py_INCREF(Py_None
);
3710 _resultobj
= Py_None
;
3714 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3715 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3717 wxHtmlContainerCell
* _arg0
;
3719 PyObject
* _argo0
= 0;
3721 PyObject
* _obj1
= 0;
3722 char *_kwnames
[] = { "self","clr", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3736 if (! wxColour_helper(_obj1
, &_arg1
))
3740 wxPy_BEGIN_ALLOW_THREADS
;
3741 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3743 wxPy_END_ALLOW_THREADS
;
3744 } Py_INCREF(Py_None
);
3745 _resultobj
= Py_None
;
3749 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3750 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
* _resultobj
;
3752 wxHtmlContainerCell
* _arg0
;
3755 PyObject
* _argo0
= 0;
3757 PyObject
* _obj1
= 0;
3759 PyObject
* _obj2
= 0;
3760 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3774 if (! wxColour_helper(_obj1
, &_arg1
))
3779 if (! wxColour_helper(_obj2
, &_arg2
))
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3786 wxPy_END_ALLOW_THREADS
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3792 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3793 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3795 wxHtmlCell
* _result
;
3796 wxHtmlContainerCell
* _arg0
;
3797 PyObject
* _argo0
= 0;
3798 char *_kwnames
[] = { "self", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3812 wxPy_BEGIN_ALLOW_THREADS
;
3813 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3815 wxPy_END_ALLOW_THREADS
;
3817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3818 _resultobj
= Py_BuildValue("s",_ptemp
);
3821 _resultobj
= Py_None
;
3826 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3827 wxHtmlColourCell
*src
;
3829 src
= (wxHtmlColourCell
*) ptr
;
3830 dest
= (wxHtmlCell
*) src
;
3831 return (void *) dest
;
3834 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3835 wxHtmlColourCell
*src
;
3837 src
= (wxHtmlColourCell
*) ptr
;
3838 dest
= (wxObject
*) src
;
3839 return (void *) dest
;
3842 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3843 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3845 wxHtmlColourCell
* _result
;
3847 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3849 PyObject
* _obj0
= 0;
3850 char *_kwnames
[] = { "clr","flags", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3858 if (! wxColour_helper(_obj0
, &_arg0
))
3862 wxPy_BEGIN_ALLOW_THREADS
;
3863 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3865 wxPy_END_ALLOW_THREADS
;
3867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3868 _resultobj
= Py_BuildValue("s",_ptemp
);
3871 _resultobj
= Py_None
;
3876 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3877 wxHtmlFontCell
*src
;
3879 src
= (wxHtmlFontCell
*) ptr
;
3880 dest
= (wxHtmlCell
*) src
;
3881 return (void *) dest
;
3884 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3885 wxHtmlFontCell
*src
;
3887 src
= (wxHtmlFontCell
*) ptr
;
3888 dest
= (wxObject
*) src
;
3889 return (void *) dest
;
3892 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3893 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3895 wxHtmlFontCell
* _result
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "font", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3915 wxPy_END_ALLOW_THREADS
;
3917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3918 _resultobj
= Py_BuildValue("s",_ptemp
);
3921 _resultobj
= Py_None
;
3926 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3927 wxHtmlWidgetCell
*src
;
3929 src
= (wxHtmlWidgetCell
*) ptr
;
3930 dest
= (wxHtmlCell
*) src
;
3931 return (void *) dest
;
3934 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3935 wxHtmlWidgetCell
*src
;
3937 src
= (wxHtmlWidgetCell
*) ptr
;
3938 dest
= (wxObject
*) src
;
3939 return (void *) dest
;
3942 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3943 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3945 wxHtmlWidgetCell
* _result
;
3947 int _arg1
= (int ) 0;
3948 PyObject
* _argo0
= 0;
3949 char *_kwnames
[] = { "wnd","w", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3963 wxPy_BEGIN_ALLOW_THREADS
;
3964 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3966 wxPy_END_ALLOW_THREADS
;
3968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3969 _resultobj
= Py_BuildValue("s",_ptemp
);
3972 _resultobj
= Py_None
;
3977 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3978 wxPyHtmlWindow
*src
;
3979 wxScrolledWindow
*dest
;
3980 src
= (wxPyHtmlWindow
*) ptr
;
3981 dest
= (wxScrolledWindow
*) src
;
3982 return (void *) dest
;
3985 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3986 wxPyHtmlWindow
*src
;
3988 src
= (wxPyHtmlWindow
*) ptr
;
3989 dest
= (wxPanel
*) src
;
3990 return (void *) dest
;
3993 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
3994 wxPyHtmlWindow
*src
;
3996 src
= (wxPyHtmlWindow
*) ptr
;
3997 dest
= (wxWindow
*) src
;
3998 return (void *) dest
;
4001 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4002 wxPyHtmlWindow
*src
;
4004 src
= (wxPyHtmlWindow
*) ptr
;
4005 dest
= (wxEvtHandler
*) src
;
4006 return (void *) dest
;
4009 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4010 wxPyHtmlWindow
*src
;
4012 src
= (wxPyHtmlWindow
*) ptr
;
4013 dest
= (wxObject
*) src
;
4014 return (void *) dest
;
4017 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4018 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4020 wxPyHtmlWindow
* _result
;
4022 int _arg1
= (int ) -1;
4023 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4024 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4025 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4026 char * _arg5
= (char *) "htmlWindow";
4027 PyObject
* _argo0
= 0;
4029 PyObject
* _obj2
= 0;
4031 PyObject
* _obj3
= 0;
4032 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4048 if (! wxPoint_helper(_obj2
, &_arg2
))
4054 if (! wxSize_helper(_obj3
, &_arg3
))
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4061 wxPy_END_ALLOW_THREADS
;
4063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4064 _resultobj
= Py_BuildValue("s",_ptemp
);
4067 _resultobj
= Py_None
;
4072 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4073 static PyObject
*_wrap_wxHtmlWindow__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4075 wxPyHtmlWindow
* _arg0
;
4078 PyObject
* _argo0
= 0;
4079 PyObject
* _obj1
= 0;
4080 PyObject
* _obj2
= 0;
4081 char *_kwnames
[] = { "self","self","_class", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 wxHtmlWindow__setSelf(_arg0
,_arg1
,_arg2
);
4103 wxPy_END_ALLOW_THREADS
;
4104 } Py_INCREF(Py_None
);
4105 _resultobj
= Py_None
;
4109 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4110 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4113 wxPyHtmlWindow
* _arg0
;
4115 PyObject
* _argo0
= 0;
4116 PyObject
* _obj1
= 0;
4117 char *_kwnames
[] = { "self","source", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4130 #if PYTHON_API_VERSION >= 1009
4131 char* tmpPtr
; int tmpSize
;
4132 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4136 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4138 _arg1
= new wxString(tmpPtr
, tmpSize
);
4140 if (!PyString_Check(_obj1
)) {
4141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4144 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4151 wxPy_END_ALLOW_THREADS
;
4152 } _resultobj
= Py_BuildValue("i",_result
);
4160 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4161 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4164 wxPyHtmlWindow
* _arg0
;
4166 PyObject
* _argo0
= 0;
4167 PyObject
* _obj1
= 0;
4168 char *_kwnames
[] = { "self","location", NULL
};
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4181 #if PYTHON_API_VERSION >= 1009
4182 char* tmpPtr
; int tmpSize
;
4183 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4187 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4189 _arg1
= new wxString(tmpPtr
, tmpSize
);
4191 if (!PyString_Check(_obj1
)) {
4192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4195 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4211 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4212 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
* _resultobj
;
4215 wxPyHtmlWindow
* _arg0
;
4216 PyObject
* _argo0
= 0;
4217 char *_kwnames
[] = { "self", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4233 wxPy_END_ALLOW_THREADS
;
4235 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4243 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4244 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4247 wxPyHtmlWindow
* _arg0
;
4248 PyObject
* _argo0
= 0;
4249 char *_kwnames
[] = { "self", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4262 wxPy_BEGIN_ALLOW_THREADS
;
4263 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4265 wxPy_END_ALLOW_THREADS
;
4267 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4275 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4276 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 wxPyHtmlWindow
* _arg0
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4294 wxPy_BEGIN_ALLOW_THREADS
;
4295 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4297 wxPy_END_ALLOW_THREADS
;
4299 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4307 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4308 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
* _resultobj
;
4310 wxPyHtmlWindow
* _arg0
;
4313 PyObject
* _argo0
= 0;
4314 PyObject
* _argo1
= 0;
4315 char *_kwnames
[] = { "self","frame","format", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4335 wxPy_BEGIN_ALLOW_THREADS
;
4336 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4338 wxPy_END_ALLOW_THREADS
;
4339 } Py_INCREF(Py_None
);
4340 _resultobj
= Py_None
;
4344 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4345 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4348 wxPyHtmlWindow
* _arg0
;
4349 PyObject
* _argo0
= 0;
4350 char *_kwnames
[] = { "self", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4366 wxPy_END_ALLOW_THREADS
;
4367 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4371 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4372 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4374 wxPyHtmlWindow
* _arg0
;
4376 PyObject
* _argo0
= 0;
4377 char *_kwnames
[] = { "self","bar", NULL
};
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4390 wxPy_BEGIN_ALLOW_THREADS
;
4391 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4393 wxPy_END_ALLOW_THREADS
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4400 int* temp
= int_LIST_helper(sizes
);
4402 self
->SetFonts(normal_face
, fixed_face
, temp
);
4406 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
* _resultobj
;
4408 wxPyHtmlWindow
* _arg0
;
4412 PyObject
* _argo0
= 0;
4413 PyObject
* _obj1
= 0;
4414 PyObject
* _obj2
= 0;
4415 PyObject
* _obj3
= 0;
4416 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4429 #if PYTHON_API_VERSION >= 1009
4430 char* tmpPtr
; int tmpSize
;
4431 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4435 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4437 _arg1
= new wxString(tmpPtr
, tmpSize
);
4439 if (!PyString_Check(_obj1
)) {
4440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4443 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4447 #if PYTHON_API_VERSION >= 1009
4448 char* tmpPtr
; int tmpSize
;
4449 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4453 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4455 _arg2
= new wxString(tmpPtr
, tmpSize
);
4457 if (!PyString_Check(_obj2
)) {
4458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4461 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4468 wxPy_BEGIN_ALLOW_THREADS
;
4469 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4471 wxPy_END_ALLOW_THREADS
;
4472 } Py_INCREF(Py_None
);
4473 _resultobj
= Py_None
;
4485 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4486 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4488 wxPyHtmlWindow
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 PyObject
* _obj1
= 0;
4492 char *_kwnames
[] = { "self","title", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4505 #if PYTHON_API_VERSION >= 1009
4506 char* tmpPtr
; int tmpSize
;
4507 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4511 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4513 _arg1
= new wxString(tmpPtr
, tmpSize
);
4515 if (!PyString_Check(_obj1
)) {
4516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4519 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4523 wxPy_BEGIN_ALLOW_THREADS
;
4524 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4526 wxPy_END_ALLOW_THREADS
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4536 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4537 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 wxPyHtmlWindow
* _arg0
;
4541 PyObject
* _argo0
= 0;
4542 char *_kwnames
[] = { "self","b", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4565 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4567 wxPyHtmlWindow
* _arg0
;
4568 wxConfigBase
* _arg1
;
4569 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4570 PyObject
* _argo0
= 0;
4571 PyObject
* _argo1
= 0;
4572 PyObject
* _obj2
= 0;
4573 char *_kwnames
[] = { "self","cfg","path", NULL
};
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4594 #if PYTHON_API_VERSION >= 1009
4595 char* tmpPtr
; int tmpSize
;
4596 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4597 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4600 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4602 _arg2
= new wxString(tmpPtr
, tmpSize
);
4604 if (!PyString_Check(_obj2
)) {
4605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4608 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4612 wxPy_BEGIN_ALLOW_THREADS
;
4613 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4615 wxPy_END_ALLOW_THREADS
;
4616 } Py_INCREF(Py_None
);
4617 _resultobj
= Py_None
;
4625 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4626 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4628 wxPyHtmlWindow
* _arg0
;
4629 wxConfigBase
* _arg1
;
4630 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4631 PyObject
* _argo0
= 0;
4632 PyObject
* _argo1
= 0;
4633 PyObject
* _obj2
= 0;
4634 char *_kwnames
[] = { "self","cfg","path", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4655 #if PYTHON_API_VERSION >= 1009
4656 char* tmpPtr
; int tmpSize
;
4657 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4658 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4661 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4663 _arg2
= new wxString(tmpPtr
, tmpSize
);
4665 if (!PyString_Check(_obj2
)) {
4666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4669 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4686 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4687 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4690 wxPyHtmlWindow
* _arg0
;
4691 PyObject
* _argo0
= 0;
4692 char *_kwnames
[] = { "self", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } _resultobj
= Py_BuildValue("i",_result
);
4713 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4714 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4717 wxPyHtmlWindow
* _arg0
;
4718 PyObject
* _argo0
= 0;
4719 char *_kwnames
[] = { "self", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4732 wxPy_BEGIN_ALLOW_THREADS
;
4733 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4735 wxPy_END_ALLOW_THREADS
;
4736 } _resultobj
= Py_BuildValue("i",_result
);
4740 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4741 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4744 wxPyHtmlWindow
* _arg0
;
4745 PyObject
* _argo0
= 0;
4746 char *_kwnames
[] = { "self", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4762 wxPy_END_ALLOW_THREADS
;
4763 } _resultobj
= Py_BuildValue("i",_result
);
4767 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4768 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
* _resultobj
;
4771 wxPyHtmlWindow
* _arg0
;
4772 PyObject
* _argo0
= 0;
4773 char *_kwnames
[] = { "self", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4786 wxPy_BEGIN_ALLOW_THREADS
;
4787 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4789 wxPy_END_ALLOW_THREADS
;
4790 } _resultobj
= Py_BuildValue("i",_result
);
4794 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4795 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4797 wxPyHtmlWindow
* _arg0
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 wxHtmlWindow_HistoryClear(_arg0
);
4815 wxPy_END_ALLOW_THREADS
;
4816 } Py_INCREF(Py_None
);
4817 _resultobj
= Py_None
;
4821 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4822 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4824 wxHtmlContainerCell
* _result
;
4825 wxPyHtmlWindow
* _arg0
;
4826 PyObject
* _argo0
= 0;
4827 char *_kwnames
[] = { "self", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4844 wxPy_END_ALLOW_THREADS
;
4846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4847 _resultobj
= Py_BuildValue("s",_ptemp
);
4850 _resultobj
= Py_None
;
4855 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4856 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxHtmlWinParser
* _result
;
4859 wxPyHtmlWindow
* _arg0
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "self", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4881 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 _resultobj
= Py_None
;
4889 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4890 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4892 wxPyHtmlWindow
* _arg0
;
4893 wxHtmlLinkInfo
* _arg1
;
4894 PyObject
* _argo0
= 0;
4895 PyObject
* _argo1
= 0;
4896 char *_kwnames
[] = { "self","link", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4916 wxPy_BEGIN_ALLOW_THREADS
;
4917 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
4919 wxPy_END_ALLOW_THREADS
;
4920 } Py_INCREF(Py_None
);
4921 _resultobj
= Py_None
;
4925 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4926 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4928 wxPyHtmlWindow
* _arg0
;
4930 PyObject
* _argo0
= 0;
4931 char *_kwnames
[] = { "self","title", NULL
};
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
4937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
4944 wxPy_BEGIN_ALLOW_THREADS
;
4945 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
4947 wxPy_END_ALLOW_THREADS
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4953 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
4954 wxHtmlDCRenderer
*src
;
4956 src
= (wxHtmlDCRenderer
*) ptr
;
4957 dest
= (wxObject
*) src
;
4958 return (void *) dest
;
4961 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
4962 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4964 wxHtmlDCRenderer
* _result
;
4965 char *_kwnames
[] = { NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
4975 wxPy_END_ALLOW_THREADS
;
4977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
4978 _resultobj
= Py_BuildValue("s",_ptemp
);
4981 _resultobj
= Py_None
;
4986 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
4987 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4989 wxHtmlDCRenderer
* _arg0
;
4990 PyObject
* _argo0
= 0;
4991 char *_kwnames
[] = { "self", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 delete_wxHtmlDCRenderer(_arg0
);
5007 wxPy_END_ALLOW_THREADS
;
5008 } Py_INCREF(Py_None
);
5009 _resultobj
= Py_None
;
5013 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5014 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
* _resultobj
;
5016 wxHtmlDCRenderer
* _arg0
;
5019 PyObject
* _argo0
= 0;
5020 PyObject
* _argo1
= 0;
5021 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5041 wxPy_BEGIN_ALLOW_THREADS
;
5042 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5044 wxPy_END_ALLOW_THREADS
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5050 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5051 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5053 wxHtmlDCRenderer
* _arg0
;
5056 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self","width","height", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5070 wxPy_BEGIN_ALLOW_THREADS
;
5071 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5073 wxPy_END_ALLOW_THREADS
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5079 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5080 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5082 wxHtmlDCRenderer
* _arg0
;
5084 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5085 bool _arg3
= (bool ) TRUE
;
5086 PyObject
* _argo0
= 0;
5087 PyObject
* _obj1
= 0;
5088 PyObject
* _obj2
= 0;
5089 int tempbool3
= (int) TRUE
;
5090 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5103 #if PYTHON_API_VERSION >= 1009
5104 char* tmpPtr
; int tmpSize
;
5105 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5106 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5109 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5111 _arg1
= new wxString(tmpPtr
, tmpSize
);
5113 if (!PyString_Check(_obj1
)) {
5114 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5117 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5122 #if PYTHON_API_VERSION >= 1009
5123 char* tmpPtr
; int tmpSize
;
5124 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5125 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5128 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5130 _arg2
= new wxString(tmpPtr
, tmpSize
);
5132 if (!PyString_Check(_obj2
)) {
5133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5136 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5139 _arg3
= (bool ) tempbool3
;
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5144 wxPy_END_ALLOW_THREADS
;
5145 } Py_INCREF(Py_None
);
5146 _resultobj
= Py_None
;
5158 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5159 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5162 wxHtmlDCRenderer
* _arg0
;
5165 int _arg3
= (int ) 0;
5166 int _arg4
= (int ) FALSE
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5181 wxPy_BEGIN_ALLOW_THREADS
;
5182 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5184 wxPy_END_ALLOW_THREADS
;
5185 } _resultobj
= Py_BuildValue("i",_result
);
5189 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5190 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5193 wxHtmlDCRenderer
* _arg0
;
5194 PyObject
* _argo0
= 0;
5195 char *_kwnames
[] = { "self", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5208 wxPy_BEGIN_ALLOW_THREADS
;
5209 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5211 wxPy_END_ALLOW_THREADS
;
5212 } _resultobj
= Py_BuildValue("i",_result
);
5216 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5217 wxHtmlPrintout
*src
;
5219 src
= (wxHtmlPrintout
*) ptr
;
5220 dest
= (wxPyPrintout
*) src
;
5221 return (void *) dest
;
5224 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5225 wxHtmlPrintout
*src
;
5227 src
= (wxHtmlPrintout
*) ptr
;
5228 dest
= (wxObject
*) src
;
5229 return (void *) dest
;
5232 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5233 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5235 wxHtmlPrintout
* _result
;
5236 char * _arg0
= (char *) "Printout";
5237 char *_kwnames
[] = { "title", NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5244 wxPy_BEGIN_ALLOW_THREADS
;
5245 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5247 wxPy_END_ALLOW_THREADS
;
5249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5250 _resultobj
= Py_BuildValue("s",_ptemp
);
5253 _resultobj
= Py_None
;
5258 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5259 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5261 wxHtmlPrintout
* _arg0
;
5263 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5264 bool _arg3
= (bool ) TRUE
;
5265 PyObject
* _argo0
= 0;
5266 PyObject
* _obj1
= 0;
5267 PyObject
* _obj2
= 0;
5268 int tempbool3
= (int) TRUE
;
5269 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5282 #if PYTHON_API_VERSION >= 1009
5283 char* tmpPtr
; int tmpSize
;
5284 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5288 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5290 _arg1
= new wxString(tmpPtr
, tmpSize
);
5292 if (!PyString_Check(_obj1
)) {
5293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5296 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5301 #if PYTHON_API_VERSION >= 1009
5302 char* tmpPtr
; int tmpSize
;
5303 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5307 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5309 _arg2
= new wxString(tmpPtr
, tmpSize
);
5311 if (!PyString_Check(_obj2
)) {
5312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5315 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5318 _arg3
= (bool ) tempbool3
;
5320 wxPy_BEGIN_ALLOW_THREADS
;
5321 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5323 wxPy_END_ALLOW_THREADS
;
5324 } Py_INCREF(Py_None
);
5325 _resultobj
= Py_None
;
5337 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5338 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 wxHtmlPrintout
* _arg0
;
5342 PyObject
* _argo0
= 0;
5343 PyObject
* _obj1
= 0;
5344 char *_kwnames
[] = { "self","htmlfile", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5357 #if PYTHON_API_VERSION >= 1009
5358 char* tmpPtr
; int tmpSize
;
5359 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5363 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5365 _arg1
= new wxString(tmpPtr
, tmpSize
);
5367 if (!PyString_Check(_obj1
)) {
5368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5371 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5378 wxPy_END_ALLOW_THREADS
;
5379 } Py_INCREF(Py_None
);
5380 _resultobj
= Py_None
;
5388 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5389 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5391 wxHtmlPrintout
* _arg0
;
5393 int _arg2
= (int ) (wxPAGE_ALL
);
5394 PyObject
* _argo0
= 0;
5395 PyObject
* _obj1
= 0;
5396 char *_kwnames
[] = { "self","header","pg", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5409 #if PYTHON_API_VERSION >= 1009
5410 char* tmpPtr
; int tmpSize
;
5411 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5415 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5417 _arg1
= new wxString(tmpPtr
, tmpSize
);
5419 if (!PyString_Check(_obj1
)) {
5420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5423 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } Py_INCREF(Py_None
);
5432 _resultobj
= Py_None
;
5440 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5441 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5443 wxHtmlPrintout
* _arg0
;
5445 int _arg2
= (int ) (wxPAGE_ALL
);
5446 PyObject
* _argo0
= 0;
5447 PyObject
* _obj1
= 0;
5448 char *_kwnames
[] = { "self","footer","pg", NULL
};
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5461 #if PYTHON_API_VERSION >= 1009
5462 char* tmpPtr
; int tmpSize
;
5463 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5467 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5469 _arg1
= new wxString(tmpPtr
, tmpSize
);
5471 if (!PyString_Check(_obj1
)) {
5472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5475 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5492 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5493 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5495 wxHtmlPrintout
* _arg0
;
5496 float _arg1
= (float ) 25.2;
5497 float _arg2
= (float ) 25.2;
5498 float _arg3
= (float ) 25.2;
5499 float _arg4
= (float ) 25.2;
5500 float _arg5
= (float ) 5;
5501 PyObject
* _argo0
= 0;
5502 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5524 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5525 wxHtmlEasyPrinting
*src
;
5527 src
= (wxHtmlEasyPrinting
*) ptr
;
5528 dest
= (wxObject
*) src
;
5529 return (void *) dest
;
5532 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5533 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5535 wxHtmlEasyPrinting
* _result
;
5536 char * _arg0
= (char *) "Printing";
5537 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5538 PyObject
* _argo1
= 0;
5539 char *_kwnames
[] = { "name","parent_frame", NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5553 wxPy_BEGIN_ALLOW_THREADS
;
5554 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5556 wxPy_END_ALLOW_THREADS
;
5558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5559 _resultobj
= Py_BuildValue("s",_ptemp
);
5562 _resultobj
= Py_None
;
5567 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5568 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5570 wxHtmlEasyPrinting
* _arg0
;
5571 PyObject
* _argo0
= 0;
5572 char *_kwnames
[] = { "self", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5585 wxPy_BEGIN_ALLOW_THREADS
;
5586 delete_wxHtmlEasyPrinting(_arg0
);
5588 wxPy_END_ALLOW_THREADS
;
5589 } Py_INCREF(Py_None
);
5590 _resultobj
= Py_None
;
5594 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5595 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5597 wxHtmlEasyPrinting
* _arg0
;
5599 PyObject
* _argo0
= 0;
5600 PyObject
* _obj1
= 0;
5601 char *_kwnames
[] = { "self","htmlfile", NULL
};
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5614 #if PYTHON_API_VERSION >= 1009
5615 char* tmpPtr
; int tmpSize
;
5616 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5620 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5622 _arg1
= new wxString(tmpPtr
, tmpSize
);
5624 if (!PyString_Check(_obj1
)) {
5625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5628 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5632 wxPy_BEGIN_ALLOW_THREADS
;
5633 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5635 wxPy_END_ALLOW_THREADS
;
5636 } Py_INCREF(Py_None
);
5637 _resultobj
= Py_None
;
5645 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5646 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5648 wxHtmlEasyPrinting
* _arg0
;
5650 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5651 PyObject
* _argo0
= 0;
5652 PyObject
* _obj1
= 0;
5653 PyObject
* _obj2
= 0;
5654 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5667 #if PYTHON_API_VERSION >= 1009
5668 char* tmpPtr
; int tmpSize
;
5669 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5673 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5675 _arg1
= new wxString(tmpPtr
, tmpSize
);
5677 if (!PyString_Check(_obj1
)) {
5678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5681 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5686 #if PYTHON_API_VERSION >= 1009
5687 char* tmpPtr
; int tmpSize
;
5688 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5692 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5694 _arg2
= new wxString(tmpPtr
, tmpSize
);
5696 if (!PyString_Check(_obj2
)) {
5697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5700 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5704 wxPy_BEGIN_ALLOW_THREADS
;
5705 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5707 wxPy_END_ALLOW_THREADS
;
5708 } Py_INCREF(Py_None
);
5709 _resultobj
= Py_None
;
5721 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5722 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5724 wxHtmlEasyPrinting
* _arg0
;
5726 PyObject
* _argo0
= 0;
5727 PyObject
* _obj1
= 0;
5728 char *_kwnames
[] = { "self","htmlfile", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5741 #if PYTHON_API_VERSION >= 1009
5742 char* tmpPtr
; int tmpSize
;
5743 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5744 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5747 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5749 _arg1
= new wxString(tmpPtr
, tmpSize
);
5751 if (!PyString_Check(_obj1
)) {
5752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5755 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5759 wxPy_BEGIN_ALLOW_THREADS
;
5760 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5762 wxPy_END_ALLOW_THREADS
;
5763 } Py_INCREF(Py_None
);
5764 _resultobj
= Py_None
;
5772 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5773 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5775 wxHtmlEasyPrinting
* _arg0
;
5777 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5778 PyObject
* _argo0
= 0;
5779 PyObject
* _obj1
= 0;
5780 PyObject
* _obj2
= 0;
5781 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5794 #if PYTHON_API_VERSION >= 1009
5795 char* tmpPtr
; int tmpSize
;
5796 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5800 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5802 _arg1
= new wxString(tmpPtr
, tmpSize
);
5804 if (!PyString_Check(_obj1
)) {
5805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5808 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5813 #if PYTHON_API_VERSION >= 1009
5814 char* tmpPtr
; int tmpSize
;
5815 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5819 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5821 _arg2
= new wxString(tmpPtr
, tmpSize
);
5823 if (!PyString_Check(_obj2
)) {
5824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5827 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5831 wxPy_BEGIN_ALLOW_THREADS
;
5832 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5834 wxPy_END_ALLOW_THREADS
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5848 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5849 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5851 wxHtmlEasyPrinting
* _arg0
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5866 wxPy_BEGIN_ALLOW_THREADS
;
5867 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5869 wxPy_END_ALLOW_THREADS
;
5870 } Py_INCREF(Py_None
);
5871 _resultobj
= Py_None
;
5875 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5876 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5878 wxHtmlEasyPrinting
* _arg0
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
5893 wxPy_BEGIN_ALLOW_THREADS
;
5894 wxHtmlEasyPrinting_PageSetup(_arg0
);
5896 wxPy_END_ALLOW_THREADS
;
5897 } Py_INCREF(Py_None
);
5898 _resultobj
= Py_None
;
5902 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5903 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5905 wxHtmlEasyPrinting
* _arg0
;
5907 int _arg2
= (int ) (wxPAGE_ALL
);
5908 PyObject
* _argo0
= 0;
5909 PyObject
* _obj1
= 0;
5910 char *_kwnames
[] = { "self","header","pg", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
5923 #if PYTHON_API_VERSION >= 1009
5924 char* tmpPtr
; int tmpSize
;
5925 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5929 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5931 _arg1
= new wxString(tmpPtr
, tmpSize
);
5933 if (!PyString_Check(_obj1
)) {
5934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5937 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5941 wxPy_BEGIN_ALLOW_THREADS
;
5942 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
5944 wxPy_END_ALLOW_THREADS
;
5945 } Py_INCREF(Py_None
);
5946 _resultobj
= Py_None
;
5954 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5955 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5957 wxHtmlEasyPrinting
* _arg0
;
5959 int _arg2
= (int ) (wxPAGE_ALL
);
5960 PyObject
* _argo0
= 0;
5961 PyObject
* _obj1
= 0;
5962 char *_kwnames
[] = { "self","footer","pg", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
5975 #if PYTHON_API_VERSION >= 1009
5976 char* tmpPtr
; int tmpSize
;
5977 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5981 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5983 _arg1
= new wxString(tmpPtr
, tmpSize
);
5985 if (!PyString_Check(_obj1
)) {
5986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5989 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5993 wxPy_BEGIN_ALLOW_THREADS
;
5994 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
5996 wxPy_END_ALLOW_THREADS
;
5997 } Py_INCREF(Py_None
);
5998 _resultobj
= Py_None
;
6006 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6007 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6009 wxPrintData
* _result
;
6010 wxHtmlEasyPrinting
* _arg0
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6026 wxPy_BEGIN_ALLOW_THREADS
;
6027 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6029 wxPy_END_ALLOW_THREADS
;
6031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6032 _resultobj
= Py_BuildValue("s",_ptemp
);
6035 _resultobj
= Py_None
;
6040 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6041 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6043 wxPageSetupDialogData
* _result
;
6044 wxHtmlEasyPrinting
* _arg0
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6060 wxPy_BEGIN_ALLOW_THREADS
;
6061 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6063 wxPy_END_ALLOW_THREADS
;
6065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6066 _resultobj
= Py_BuildValue("s",_ptemp
);
6069 _resultobj
= Py_None
;
6074 static PyMethodDef htmlcMethods
[] = {
6075 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6076 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6077 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6078 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6079 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6080 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6081 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6082 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6083 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6084 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6085 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6086 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6087 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6088 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6089 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6090 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6091 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6092 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6093 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6094 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6095 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6096 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6097 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6098 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6099 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6100 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6101 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxHtmlWindow__setSelf", (PyCFunction
) _wrap_wxHtmlWindow__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxHtmlWinTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxHtmlTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6236 * This table is used by the pointer type-checker
6238 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6239 { "_signed_long","_long",0},
6240 { "_wxPrintQuality","_wxCoord",0},
6241 { "_wxPrintQuality","_int",0},
6242 { "_wxPrintQuality","_signed_int",0},
6243 { "_wxPrintQuality","_unsigned_int",0},
6244 { "_wxPrintQuality","_wxWindowID",0},
6245 { "_wxPrintQuality","_uint",0},
6246 { "_wxPrintQuality","_EBool",0},
6247 { "_wxPrintQuality","_size_t",0},
6248 { "_wxPrintQuality","_time_t",0},
6249 { "_byte","_unsigned_char",0},
6250 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6251 { "_long","_unsigned_long",0},
6252 { "_long","_signed_long",0},
6253 { "_size_t","_wxCoord",0},
6254 { "_size_t","_wxPrintQuality",0},
6255 { "_size_t","_time_t",0},
6256 { "_size_t","_unsigned_int",0},
6257 { "_size_t","_int",0},
6258 { "_size_t","_wxWindowID",0},
6259 { "_size_t","_uint",0},
6260 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6261 { "_uint","_wxCoord",0},
6262 { "_uint","_wxPrintQuality",0},
6263 { "_uint","_time_t",0},
6264 { "_uint","_size_t",0},
6265 { "_uint","_unsigned_int",0},
6266 { "_uint","_int",0},
6267 { "_uint","_wxWindowID",0},
6268 { "_wxChar","_char",0},
6269 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6270 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6271 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6272 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6273 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6274 { "_char","_wxChar",0},
6275 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6276 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6277 { "_EBool","_wxCoord",0},
6278 { "_EBool","_wxPrintQuality",0},
6279 { "_EBool","_signed_int",0},
6280 { "_EBool","_int",0},
6281 { "_EBool","_wxWindowID",0},
6282 { "_unsigned_long","_long",0},
6283 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6284 { "_signed_int","_wxCoord",0},
6285 { "_signed_int","_wxPrintQuality",0},
6286 { "_signed_int","_EBool",0},
6287 { "_signed_int","_wxWindowID",0},
6288 { "_signed_int","_int",0},
6289 { "_WXTYPE","_wxDateTime_t",0},
6290 { "_WXTYPE","_short",0},
6291 { "_WXTYPE","_signed_short",0},
6292 { "_WXTYPE","_unsigned_short",0},
6293 { "_unsigned_short","_wxDateTime_t",0},
6294 { "_unsigned_short","_WXTYPE",0},
6295 { "_unsigned_short","_short",0},
6296 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6297 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6298 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6299 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6300 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6301 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6302 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6303 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6304 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6305 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6306 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6307 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6308 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6309 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6310 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6311 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6312 { "_signed_short","_WXTYPE",0},
6313 { "_signed_short","_short",0},
6314 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6315 { "_unsigned_char","_byte",0},
6316 { "_unsigned_int","_wxCoord",0},
6317 { "_unsigned_int","_wxPrintQuality",0},
6318 { "_unsigned_int","_time_t",0},
6319 { "_unsigned_int","_size_t",0},
6320 { "_unsigned_int","_uint",0},
6321 { "_unsigned_int","_wxWindowID",0},
6322 { "_unsigned_int","_int",0},
6323 { "_short","_wxDateTime_t",0},
6324 { "_short","_WXTYPE",0},
6325 { "_short","_unsigned_short",0},
6326 { "_short","_signed_short",0},
6327 { "_wxWindowID","_wxCoord",0},
6328 { "_wxWindowID","_wxPrintQuality",0},
6329 { "_wxWindowID","_time_t",0},
6330 { "_wxWindowID","_size_t",0},
6331 { "_wxWindowID","_EBool",0},
6332 { "_wxWindowID","_uint",0},
6333 { "_wxWindowID","_int",0},
6334 { "_wxWindowID","_signed_int",0},
6335 { "_wxWindowID","_unsigned_int",0},
6336 { "_int","_wxCoord",0},
6337 { "_int","_wxPrintQuality",0},
6338 { "_int","_time_t",0},
6339 { "_int","_size_t",0},
6340 { "_int","_EBool",0},
6341 { "_int","_uint",0},
6342 { "_int","_wxWindowID",0},
6343 { "_int","_unsigned_int",0},
6344 { "_int","_signed_int",0},
6345 { "_wxDateTime_t","_unsigned_short",0},
6346 { "_wxDateTime_t","_short",0},
6347 { "_wxDateTime_t","_WXTYPE",0},
6348 { "_time_t","_wxCoord",0},
6349 { "_time_t","_wxPrintQuality",0},
6350 { "_time_t","_unsigned_int",0},
6351 { "_time_t","_int",0},
6352 { "_time_t","_wxWindowID",0},
6353 { "_time_t","_uint",0},
6354 { "_time_t","_size_t",0},
6355 { "_wxCoord","_int",0},
6356 { "_wxCoord","_signed_int",0},
6357 { "_wxCoord","_unsigned_int",0},
6358 { "_wxCoord","_wxWindowID",0},
6359 { "_wxCoord","_uint",0},
6360 { "_wxCoord","_EBool",0},
6361 { "_wxCoord","_size_t",0},
6362 { "_wxCoord","_time_t",0},
6363 { "_wxCoord","_wxPrintQuality",0},
6364 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6365 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6366 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6369 static PyObject
*SWIG_globals
;
6373 SWIGEXPORT(void) inithtmlc() {
6375 SWIG_globals
= SWIG_newvarlink();
6376 m
= Py_InitModule("htmlc", htmlcMethods
);
6377 d
= PyModule_GetDict(m
);
6378 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6379 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6380 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6381 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6382 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6383 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6384 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6385 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6386 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6387 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6388 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6389 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6390 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6391 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6392 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6393 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6394 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6395 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6396 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6397 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6398 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6399 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6404 wxClassInfo::CleanUpClasses();
6405 wxClassInfo::InitializeClasses();
6407 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6408 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6409 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6412 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6413 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);