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 wxPyTState
* state
= wxPyBeginBlockThreads();
152 Py_DECREF(m_tagHandlerClass
);
153 m_tagHandlerClass
= NULL
;
154 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
155 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
158 wxPyEndBlockThreads(state
);
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 wxPyTState
* state
= wxPyBeginBlockThreads();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPyEndBlockThreads(state
);
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
) {
217 wxPyTState
* state
= wxPyBeginBlockThreads();
218 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked)"))) {
219 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
220 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
223 wxPyEndBlockThreads(state
);
225 wxHtmlWindow::OnLinkClicked(link
);
227 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
228 wxHtmlWindow::OnLinkClicked(link
);
231 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
232 wxHtmlWindow::AddFilter(filter
);
235 extern "C" SWIGEXPORT(void) inithtmlhelpc();
239 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
240 PyObject
* _resultobj
;
242 PyObject
* _obj0
= 0;
243 char *_kwnames
[] = { "tagHandlerClass", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
252 wxPy_BEGIN_ALLOW_THREADS
;
253 wxHtmlWinParser_AddTagHandler(_arg0
);
255 wxPy_END_ALLOW_THREADS
;
256 } Py_INCREF(Py_None
);
257 _resultobj
= Py_None
;
261 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
263 wxHtmlFilter
* _arg0
;
264 PyObject
* _argo0
= 0;
265 char *_kwnames
[] = { "filter", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
278 wxPy_BEGIN_ALLOW_THREADS
;
279 wxHtmlWindow_AddFilter(_arg0
);
281 wxPy_END_ALLOW_THREADS
;
282 } Py_INCREF(Py_None
);
283 _resultobj
= Py_None
;
287 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
290 src
= (wxHtmlLinkInfo
*) ptr
;
291 dest
= (wxObject
*) src
;
292 return (void *) dest
;
295 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
296 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
297 PyObject
* _resultobj
;
298 wxHtmlLinkInfo
* _result
;
300 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
301 PyObject
* _obj0
= 0;
302 PyObject
* _obj1
= 0;
303 char *_kwnames
[] = { "href","target", NULL
};
307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
310 #if PYTHON_API_VERSION >= 1009
311 char* tmpPtr
; int tmpSize
;
312 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
316 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
318 _arg0
= new wxString(tmpPtr
, tmpSize
);
320 if (!PyString_Check(_obj0
)) {
321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
324 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
329 #if PYTHON_API_VERSION >= 1009
330 char* tmpPtr
; int tmpSize
;
331 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
335 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
337 _arg1
= new wxString(tmpPtr
, tmpSize
);
339 if (!PyString_Check(_obj1
)) {
340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
343 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
347 wxPy_BEGIN_ALLOW_THREADS
;
348 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
350 wxPy_END_ALLOW_THREADS
;
352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
353 _resultobj
= Py_BuildValue("s",_ptemp
);
356 _resultobj
= Py_None
;
369 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
370 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
371 PyObject
* _resultobj
;
373 wxHtmlLinkInfo
* _arg0
;
374 PyObject
* _argo0
= 0;
375 char *_kwnames
[] = { "self", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
388 wxPy_BEGIN_ALLOW_THREADS
;
389 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
391 wxPy_END_ALLOW_THREADS
;
393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
401 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
402 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
405 wxHtmlLinkInfo
* _arg0
;
406 PyObject
* _argo0
= 0;
407 char *_kwnames
[] = { "self", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
420 wxPy_BEGIN_ALLOW_THREADS
;
421 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
423 wxPy_END_ALLOW_THREADS
;
425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
433 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
434 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
436 wxMouseEvent
* _result
;
437 wxHtmlLinkInfo
* _arg0
;
438 PyObject
* _argo0
= 0;
439 char *_kwnames
[] = { "self", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
452 wxPy_BEGIN_ALLOW_THREADS
;
453 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
455 wxPy_END_ALLOW_THREADS
;
456 }{ _resultobj
= wxPyMake_wxObject(_result
); }
460 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
461 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
463 wxHtmlCell
* _result
;
464 wxHtmlLinkInfo
* _arg0
;
465 PyObject
* _argo0
= 0;
466 char *_kwnames
[] = { "self", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
483 wxPy_END_ALLOW_THREADS
;
485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
486 _resultobj
= Py_BuildValue("s",_ptemp
);
489 _resultobj
= Py_None
;
494 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
495 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxHtmlLinkInfo
* _arg0
;
498 wxMouseEvent
* _arg1
;
499 PyObject
* _argo0
= 0;
500 PyObject
* _argo1
= 0;
501 char *_kwnames
[] = { "self","e", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
521 wxPy_BEGIN_ALLOW_THREADS
;
522 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
524 wxPy_END_ALLOW_THREADS
;
525 } Py_INCREF(Py_None
);
526 _resultobj
= Py_None
;
530 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
531 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
532 PyObject
* _resultobj
;
533 wxHtmlLinkInfo
* _arg0
;
535 PyObject
* _argo0
= 0;
536 PyObject
* _argo1
= 0;
537 char *_kwnames
[] = { "self","e", NULL
};
540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
557 wxPy_BEGIN_ALLOW_THREADS
;
558 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
560 wxPy_END_ALLOW_THREADS
;
561 } Py_INCREF(Py_None
);
562 _resultobj
= Py_None
;
566 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
569 src
= (wxHtmlTag
*) ptr
;
570 dest
= (wxObject
*) src
;
571 return (void *) dest
;
574 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
575 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
596 wxPy_END_ALLOW_THREADS
;
598 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
606 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
607 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _obj1
= 0;
614 char *_kwnames
[] = { "self","par", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
627 #if PYTHON_API_VERSION >= 1009
628 char* tmpPtr
; int tmpSize
;
629 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
633 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
635 _arg1
= new wxString(tmpPtr
, tmpSize
);
637 if (!PyString_Check(_obj1
)) {
638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
641 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
648 wxPy_END_ALLOW_THREADS
;
649 } _resultobj
= Py_BuildValue("i",_result
);
657 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
658 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
663 int _arg2
= (int ) FALSE
;
664 PyObject
* _argo0
= 0;
665 PyObject
* _obj1
= 0;
666 char *_kwnames
[] = { "self","par","with_commas", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
679 #if PYTHON_API_VERSION >= 1009
680 char* tmpPtr
; int tmpSize
;
681 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
685 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
687 _arg1
= new wxString(tmpPtr
, tmpSize
);
689 if (!PyString_Check(_obj1
)) {
690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
693 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
697 wxPy_BEGIN_ALLOW_THREADS
;
698 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
700 wxPy_END_ALLOW_THREADS
;
702 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
714 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
715 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
719 PyObject
* _argo0
= 0;
720 char *_kwnames
[] = { "self", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
733 wxPy_BEGIN_ALLOW_THREADS
;
734 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
736 wxPy_END_ALLOW_THREADS
;
738 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
746 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
747 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
748 PyObject
* _resultobj
;
751 PyObject
* _argo0
= 0;
752 char *_kwnames
[] = { "self", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
765 wxPy_BEGIN_ALLOW_THREADS
;
766 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
768 wxPy_END_ALLOW_THREADS
;
769 } _resultobj
= Py_BuildValue("i",_result
);
773 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
774 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
795 wxPy_END_ALLOW_THREADS
;
796 } _resultobj
= Py_BuildValue("i",_result
);
800 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
801 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
805 PyObject
* _argo0
= 0;
806 char *_kwnames
[] = { "self", NULL
};
809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
819 wxPy_BEGIN_ALLOW_THREADS
;
820 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
822 wxPy_END_ALLOW_THREADS
;
823 } _resultobj
= Py_BuildValue("i",_result
);
827 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
828 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
832 PyObject
* _argo0
= 0;
833 char *_kwnames
[] = { "self", NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
846 wxPy_BEGIN_ALLOW_THREADS
;
847 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
849 wxPy_END_ALLOW_THREADS
;
850 } _resultobj
= Py_BuildValue("i",_result
);
854 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
857 src
= (wxHtmlParser
*) ptr
;
858 dest
= (wxObject
*) src
;
859 return (void *) dest
;
862 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
863 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
865 wxHtmlParser
* _arg0
;
866 wxFileSystem
* _arg1
;
867 PyObject
* _argo0
= 0;
868 PyObject
* _argo1
= 0;
869 char *_kwnames
[] = { "self","fs", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 wxHtmlParser_SetFS(_arg0
,_arg1
);
892 wxPy_END_ALLOW_THREADS
;
893 } Py_INCREF(Py_None
);
894 _resultobj
= Py_None
;
898 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
899 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 PyObject
* _resultobj
;
901 wxFileSystem
* _result
;
902 wxHtmlParser
* _arg0
;
903 PyObject
* _argo0
= 0;
904 char *_kwnames
[] = { "self", NULL
};
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
917 wxPy_BEGIN_ALLOW_THREADS
;
918 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
920 wxPy_END_ALLOW_THREADS
;
921 }{ _resultobj
= wxPyMake_wxObject(_result
); }
925 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
926 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
929 wxHtmlParser
* _arg0
;
931 PyObject
* _argo0
= 0;
932 PyObject
* _obj1
= 0;
933 char *_kwnames
[] = { "self","source", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
946 #if PYTHON_API_VERSION >= 1009
947 char* tmpPtr
; int tmpSize
;
948 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
952 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
954 _arg1
= new wxString(tmpPtr
, tmpSize
);
956 if (!PyString_Check(_obj1
)) {
957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
960 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 }{ _resultobj
= wxPyMake_wxObject(_result
); }
976 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
977 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
979 wxHtmlParser
* _arg0
;
981 PyObject
* _argo0
= 0;
982 PyObject
* _obj1
= 0;
983 char *_kwnames
[] = { "self","source", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
996 #if PYTHON_API_VERSION >= 1009
997 char* tmpPtr
; int tmpSize
;
998 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1002 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1004 _arg1
= new wxString(tmpPtr
, tmpSize
);
1006 if (!PyString_Check(_obj1
)) {
1007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1010 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1027 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1028 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1030 wxHtmlParser
* _arg0
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1045 wxPy_BEGIN_ALLOW_THREADS
;
1046 wxHtmlParser_DoneParser(_arg0
);
1048 wxPy_END_ALLOW_THREADS
;
1049 } Py_INCREF(Py_None
);
1050 _resultobj
= Py_None
;
1054 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1055 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1057 wxHtmlParser
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1084 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1086 wxHtmlParser
* _arg0
;
1087 wxHtmlTagHandler
* _arg1
;
1088 PyObject
* _argo0
= 0;
1089 PyObject
* _argo1
= 0;
1090 char *_kwnames
[] = { "self","handler", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } Py_INCREF(Py_None
);
1115 _resultobj
= Py_None
;
1119 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1120 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1123 wxHtmlParser
* _arg0
;
1124 PyObject
* _argo0
= 0;
1125 char *_kwnames
[] = { "self", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1138 wxPy_BEGIN_ALLOW_THREADS
;
1139 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1141 wxPy_END_ALLOW_THREADS
;
1143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1148 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1149 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1151 wxHtmlParser
* _arg0
;
1152 wxHtmlTagHandler
* _arg1
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _argo1
= 0;
1156 PyObject
* _obj2
= 0;
1157 char *_kwnames
[] = { "self","handler","tags", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1177 #if PYTHON_API_VERSION >= 1009
1178 char* tmpPtr
; int tmpSize
;
1179 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1183 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1185 _arg2
= new wxString(tmpPtr
, tmpSize
);
1187 if (!PyString_Check(_obj2
)) {
1188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1191 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1198 wxPy_END_ALLOW_THREADS
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1208 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1209 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1211 wxHtmlParser
* _arg0
;
1212 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1226 wxPy_BEGIN_ALLOW_THREADS
;
1227 wxHtmlParser_PopTagHandler(_arg0
);
1229 wxPy_END_ALLOW_THREADS
;
1230 } Py_INCREF(Py_None
);
1231 _resultobj
= Py_None
;
1235 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1236 wxHtmlWinParser
*src
;
1238 src
= (wxHtmlWinParser
*) ptr
;
1239 dest
= (wxHtmlParser
*) src
;
1240 return (void *) dest
;
1243 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1244 wxHtmlWinParser
*src
;
1246 src
= (wxHtmlWinParser
*) ptr
;
1247 dest
= (wxObject
*) src
;
1248 return (void *) dest
;
1251 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1252 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1254 wxHtmlWinParser
* _result
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "wnd", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1271 wxPy_BEGIN_ALLOW_THREADS
;
1272 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1274 wxPy_END_ALLOW_THREADS
;
1276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1277 _resultobj
= Py_BuildValue("s",_ptemp
);
1280 _resultobj
= Py_None
;
1285 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1286 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1288 wxHtmlWinParser
* _arg0
;
1290 PyObject
* _argo0
= 0;
1291 PyObject
* _argo1
= 0;
1292 char *_kwnames
[] = { "self","dc", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1315 wxPy_END_ALLOW_THREADS
;
1316 } Py_INCREF(Py_None
);
1317 _resultobj
= Py_None
;
1321 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1322 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1325 wxHtmlWinParser
* _arg0
;
1326 PyObject
* _argo0
= 0;
1327 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1343 wxPy_END_ALLOW_THREADS
;
1344 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1348 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1349 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1352 wxHtmlWinParser
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1376 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 wxHtmlWinParser
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } _resultobj
= Py_BuildValue("i",_result
);
1402 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1403 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1406 wxHtmlWinParser
* _arg0
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1424 wxPy_END_ALLOW_THREADS
;
1425 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1429 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1430 int* temp
= int_LIST_helper(sizes
);
1432 self
->SetFonts(normal_face
, fixed_face
, temp
);
1436 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 wxHtmlWinParser
* _arg0
;
1442 PyObject
* _argo0
= 0;
1443 PyObject
* _obj1
= 0;
1444 PyObject
* _obj2
= 0;
1445 PyObject
* _obj3
= 0;
1446 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1459 #if PYTHON_API_VERSION >= 1009
1460 char* tmpPtr
; int tmpSize
;
1461 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1465 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1467 _arg1
= new wxString(tmpPtr
, tmpSize
);
1469 if (!PyString_Check(_obj1
)) {
1470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1473 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1477 #if PYTHON_API_VERSION >= 1009
1478 char* tmpPtr
; int tmpSize
;
1479 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1483 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1485 _arg2
= new wxString(tmpPtr
, tmpSize
);
1487 if (!PyString_Check(_obj2
)) {
1488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1491 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } Py_INCREF(Py_None
);
1503 _resultobj
= Py_None
;
1515 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1516 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1518 wxHtmlContainerCell
* _result
;
1519 wxHtmlWinParser
* _arg0
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1538 wxPy_END_ALLOW_THREADS
;
1540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1544 _resultobj
= Py_None
;
1549 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1550 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1552 wxHtmlContainerCell
* _result
;
1553 wxHtmlWinParser
* _arg0
;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1569 wxPy_BEGIN_ALLOW_THREADS
;
1570 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1572 wxPy_END_ALLOW_THREADS
;
1574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1575 _resultobj
= Py_BuildValue("s",_ptemp
);
1578 _resultobj
= Py_None
;
1583 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1584 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1586 wxHtmlContainerCell
* _result
;
1587 wxHtmlWinParser
* _arg0
;
1588 wxHtmlContainerCell
* _arg1
;
1589 PyObject
* _argo0
= 0;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "self","c", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1612 wxPy_BEGIN_ALLOW_THREADS
;
1613 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1615 wxPy_END_ALLOW_THREADS
;
1617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1618 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 _resultobj
= Py_None
;
1626 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1627 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1629 wxHtmlContainerCell
* _result
;
1630 wxHtmlWinParser
* _arg0
;
1631 PyObject
* _argo0
= 0;
1632 char *_kwnames
[] = { "self", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1649 wxPy_END_ALLOW_THREADS
;
1651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1652 _resultobj
= Py_BuildValue("s",_ptemp
);
1655 _resultobj
= Py_None
;
1660 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1661 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxHtmlWinParser
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1688 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxHtmlWinParser
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 char *_kwnames
[] = { "self","s", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1709 wxPy_END_ALLOW_THREADS
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1715 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1716 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1719 wxHtmlWinParser
* _arg0
;
1720 PyObject
* _argo0
= 0;
1721 char *_kwnames
[] = { "self", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1734 wxPy_BEGIN_ALLOW_THREADS
;
1735 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1737 wxPy_END_ALLOW_THREADS
;
1738 } _resultobj
= Py_BuildValue("i",_result
);
1742 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1743 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1745 wxHtmlWinParser
* _arg0
;
1747 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self","x", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1761 wxPy_BEGIN_ALLOW_THREADS
;
1762 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1764 wxPy_END_ALLOW_THREADS
;
1765 } Py_INCREF(Py_None
);
1766 _resultobj
= Py_None
;
1770 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1771 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1774 wxHtmlWinParser
* _arg0
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1798 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxHtmlWinParser
* _arg0
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self","x", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1826 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1829 wxHtmlWinParser
* _arg0
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } _resultobj
= Py_BuildValue("i",_result
);
1852 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1853 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1855 wxHtmlWinParser
* _arg0
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self","x", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1871 wxPy_BEGIN_ALLOW_THREADS
;
1872 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1874 wxPy_END_ALLOW_THREADS
;
1875 } Py_INCREF(Py_None
);
1876 _resultobj
= Py_None
;
1880 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1881 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1884 wxHtmlWinParser
* _arg0
;
1885 PyObject
* _argo0
= 0;
1886 char *_kwnames
[] = { "self", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1902 wxPy_END_ALLOW_THREADS
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1908 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxHtmlWinParser
* _arg0
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self","x", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1936 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxHtmlWinParser
* _arg0
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1957 wxPy_END_ALLOW_THREADS
;
1958 } _resultobj
= Py_BuildValue("i",_result
);
1962 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1963 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1965 wxHtmlWinParser
* _arg0
;
1967 PyObject
* _argo0
= 0;
1968 char *_kwnames
[] = { "self","a", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1984 wxPy_END_ALLOW_THREADS
;
1985 } Py_INCREF(Py_None
);
1986 _resultobj
= Py_None
;
1990 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1991 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 wxHtmlWinParser
* _arg0
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2012 _result
= (wxColour
*) &_result_ref
;
2014 wxPy_END_ALLOW_THREADS
;
2016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2017 _resultobj
= Py_BuildValue("s",_ptemp
);
2020 _resultobj
= Py_None
;
2025 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2026 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 wxHtmlWinParser
* _arg0
;
2030 PyObject
* _argo0
= 0;
2032 PyObject
* _obj1
= 0;
2033 char *_kwnames
[] = { "self","clr", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2047 if (! wxColour_helper(_obj1
, &_arg1
))
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } Py_INCREF(Py_None
);
2056 _resultobj
= Py_None
;
2060 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2061 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2064 wxHtmlWinParser
* _arg0
;
2065 PyObject
* _argo0
= 0;
2066 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2082 _result
= (wxColour
*) &_result_ref
;
2084 wxPy_END_ALLOW_THREADS
;
2086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2087 _resultobj
= Py_BuildValue("s",_ptemp
);
2090 _resultobj
= Py_None
;
2095 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2096 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2098 wxHtmlWinParser
* _arg0
;
2100 PyObject
* _argo0
= 0;
2102 PyObject
* _obj1
= 0;
2103 char *_kwnames
[] = { "self","clr", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2117 if (! wxColour_helper(_obj1
, &_arg1
))
2121 wxPy_BEGIN_ALLOW_THREADS
;
2122 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2124 wxPy_END_ALLOW_THREADS
;
2125 } Py_INCREF(Py_None
);
2126 _resultobj
= Py_None
;
2130 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2131 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2133 wxHtmlWinParser
* _arg0
;
2135 PyObject
* _argo0
= 0;
2136 PyObject
* _obj1
= 0;
2137 char *_kwnames
[] = { "self","link", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2150 #if PYTHON_API_VERSION >= 1009
2151 char* tmpPtr
; int tmpSize
;
2152 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2156 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2158 _arg1
= new wxString(tmpPtr
, tmpSize
);
2160 if (!PyString_Check(_obj1
)) {
2161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2164 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2171 wxPy_END_ALLOW_THREADS
;
2172 } Py_INCREF(Py_None
);
2173 _resultobj
= Py_None
;
2181 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2182 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2185 wxHtmlWinParser
* _arg0
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2204 wxPy_END_ALLOW_THREADS
;
2206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2207 _resultobj
= Py_BuildValue("s",_ptemp
);
2210 _resultobj
= Py_None
;
2215 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2216 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2218 wxHtmlLinkInfo
* _result
;
2219 wxHtmlWinParser
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2235 wxPy_BEGIN_ALLOW_THREADS
;
2236 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2238 wxPy_END_ALLOW_THREADS
;
2239 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2240 _resultobj
= Py_BuildValue("s",_ptemp
);
2244 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2245 wxPyHtmlTagHandler
*src
;
2247 src
= (wxPyHtmlTagHandler
*) ptr
;
2248 dest
= (wxObject
*) src
;
2249 return (void *) dest
;
2252 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2253 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2255 wxPyHtmlTagHandler
* _result
;
2256 char *_kwnames
[] = { NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2266 wxPy_END_ALLOW_THREADS
;
2268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2269 _resultobj
= Py_BuildValue("s",_ptemp
);
2272 _resultobj
= Py_None
;
2277 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2278 static PyObject
*_wrap_wxHtmlTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxPyHtmlTagHandler
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 PyObject
* _obj1
= 0;
2285 PyObject
* _obj2
= 0;
2286 char *_kwnames
[] = { "self","self","_class", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxHtmlTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2314 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2315 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2317 wxPyHtmlTagHandler
* _arg0
;
2318 wxHtmlParser
* _arg1
;
2319 PyObject
* _argo0
= 0;
2320 PyObject
* _argo1
= 0;
2321 char *_kwnames
[] = { "self","parser", NULL
};
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2351 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2353 wxHtmlParser
* _result
;
2354 wxPyHtmlTagHandler
* _arg0
;
2355 PyObject
* _argo0
= 0;
2356 char *_kwnames
[] = { "self", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2370 wxPy_BEGIN_ALLOW_THREADS
;
2371 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2373 wxPy_END_ALLOW_THREADS
;
2375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2376 _resultobj
= Py_BuildValue("s",_ptemp
);
2379 _resultobj
= Py_None
;
2384 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2385 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxPyHtmlTagHandler
* _arg0
;
2389 PyObject
* _argo0
= 0;
2390 PyObject
* _argo1
= 0;
2391 char *_kwnames
[] = { "self","tag", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2411 wxPy_BEGIN_ALLOW_THREADS
;
2412 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2414 wxPy_END_ALLOW_THREADS
;
2415 } Py_INCREF(Py_None
);
2416 _resultobj
= Py_None
;
2420 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2421 wxPyHtmlWinTagHandler
*src
;
2422 wxPyHtmlTagHandler
*dest
;
2423 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2424 dest
= (wxPyHtmlTagHandler
*) src
;
2425 return (void *) dest
;
2428 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2429 wxPyHtmlWinTagHandler
*src
;
2431 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2432 dest
= (wxObject
*) src
;
2433 return (void *) dest
;
2436 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2437 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2439 wxPyHtmlWinTagHandler
* _result
;
2440 char *_kwnames
[] = { NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2447 wxPy_BEGIN_ALLOW_THREADS
;
2448 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2450 wxPy_END_ALLOW_THREADS
;
2452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2453 _resultobj
= Py_BuildValue("s",_ptemp
);
2456 _resultobj
= Py_None
;
2461 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2462 static PyObject
*_wrap_wxHtmlWinTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2464 wxPyHtmlWinTagHandler
* _arg0
;
2467 PyObject
* _argo0
= 0;
2468 PyObject
* _obj1
= 0;
2469 PyObject
* _obj2
= 0;
2470 char *_kwnames
[] = { "self","self","_class", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2489 wxPy_BEGIN_ALLOW_THREADS
;
2490 wxHtmlWinTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2492 wxPy_END_ALLOW_THREADS
;
2493 } Py_INCREF(Py_None
);
2494 _resultobj
= Py_None
;
2498 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2499 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2501 wxPyHtmlWinTagHandler
* _arg0
;
2502 wxHtmlParser
* _arg1
;
2503 PyObject
* _argo0
= 0;
2504 PyObject
* _argo1
= 0;
2505 char *_kwnames
[] = { "self","parser", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2528 wxPy_END_ALLOW_THREADS
;
2529 } Py_INCREF(Py_None
);
2530 _resultobj
= Py_None
;
2534 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2535 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2537 wxHtmlWinParser
* _result
;
2538 wxPyHtmlWinTagHandler
* _arg0
;
2539 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2557 wxPy_END_ALLOW_THREADS
;
2559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2560 _resultobj
= Py_BuildValue("s",_ptemp
);
2563 _resultobj
= Py_None
;
2568 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2569 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2571 wxPyHtmlWinTagHandler
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 PyObject
* _argo1
= 0;
2575 char *_kwnames
[] = { "self","tag", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2607 src
= (wxHtmlCell
*) ptr
;
2608 dest
= (wxObject
*) src
;
2609 return (void *) dest
;
2612 #define new_wxHtmlCell() (new wxHtmlCell())
2613 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2615 wxHtmlCell
* _result
;
2616 char *_kwnames
[] = { NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2626 wxPy_END_ALLOW_THREADS
;
2628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2629 _resultobj
= Py_BuildValue("s",_ptemp
);
2632 _resultobj
= Py_None
;
2637 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2638 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 char *_kwnames
[] = { "self", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2656 wxPy_BEGIN_ALLOW_THREADS
;
2657 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2659 wxPy_END_ALLOW_THREADS
;
2660 } _resultobj
= Py_BuildValue("i",_result
);
2664 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2665 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2669 PyObject
* _argo0
= 0;
2670 char *_kwnames
[] = { "self", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2692 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2697 char *_kwnames
[] = { "self", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } _resultobj
= Py_BuildValue("i",_result
);
2718 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2719 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } _resultobj
= Py_BuildValue("i",_result
);
2745 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2746 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2773 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2775 wxHtmlLinkInfo
* _result
;
2777 int _arg1
= (int ) 0;
2778 int _arg2
= (int ) 0;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self","x","y", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2797 wxPy_END_ALLOW_THREADS
;
2799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2800 _resultobj
= Py_BuildValue("s",_ptemp
);
2803 _resultobj
= Py_None
;
2808 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2809 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
* _resultobj
;
2811 wxHtmlCell
* _result
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2831 wxPy_END_ALLOW_THREADS
;
2833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2834 _resultobj
= Py_BuildValue("s",_ptemp
);
2837 _resultobj
= Py_None
;
2842 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2843 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2845 wxHtmlContainerCell
* _result
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2862 wxPy_BEGIN_ALLOW_THREADS
;
2863 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2865 wxPy_END_ALLOW_THREADS
;
2867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2868 _resultobj
= Py_BuildValue("s",_ptemp
);
2871 _resultobj
= Py_None
;
2876 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2877 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2880 wxHtmlLinkInfo
* _arg1
;
2881 PyObject
* _argo0
= 0;
2882 PyObject
* _argo1
= 0;
2883 char *_kwnames
[] = { "self","link", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2896 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2906 wxPy_END_ALLOW_THREADS
;
2907 } Py_INCREF(Py_None
);
2908 _resultobj
= Py_None
;
2912 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2913 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2917 PyObject
* _argo0
= 0;
2918 PyObject
* _argo1
= 0;
2919 char *_kwnames
[] = { "self","cell", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 wxHtmlCell_SetNext(_arg0
,_arg1
);
2942 wxPy_END_ALLOW_THREADS
;
2943 } Py_INCREF(Py_None
);
2944 _resultobj
= Py_None
;
2948 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2949 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2952 wxHtmlContainerCell
* _arg1
;
2953 PyObject
* _argo0
= 0;
2954 PyObject
* _argo1
= 0;
2955 char *_kwnames
[] = { "self","p", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 wxHtmlCell_SetParent(_arg0
,_arg1
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2985 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self","x","y", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3014 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self","w", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3032 wxPy_BEGIN_ALLOW_THREADS
;
3033 wxHtmlCell_Layout(_arg0
,_arg1
);
3035 wxPy_END_ALLOW_THREADS
;
3036 } Py_INCREF(Py_None
);
3037 _resultobj
= Py_None
;
3041 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3042 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 PyObject
* _argo1
= 0;
3052 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } Py_INCREF(Py_None
);
3077 _resultobj
= Py_None
;
3081 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3082 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3088 PyObject
* _argo0
= 0;
3089 PyObject
* _argo1
= 0;
3090 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } Py_INCREF(Py_None
);
3115 _resultobj
= Py_None
;
3119 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3120 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3122 wxHtmlCell
* _result
;
3126 PyObject
* _argo0
= 0;
3127 PyObject
* _argo2
= 0;
3128 char *_kwnames
[] = { "self","condition","param", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3142 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3149 wxPy_BEGIN_ALLOW_THREADS
;
3150 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3152 wxPy_END_ALLOW_THREADS
;
3154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3155 _resultobj
= Py_BuildValue("s",_ptemp
);
3158 _resultobj
= Py_None
;
3163 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3164 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3169 PyObject
* _argo0
= 0;
3170 PyObject
* _argo1
= 0;
3171 char *_kwnames
[] = { "self","pagebreak", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } _resultobj
= Py_BuildValue("i",_result
);
3199 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3200 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3204 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","can", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3218 _arg1
= (bool ) tempbool1
;
3220 wxPy_BEGIN_ALLOW_THREADS
;
3221 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3223 wxPy_END_ALLOW_THREADS
;
3224 } Py_INCREF(Py_None
);
3225 _resultobj
= Py_None
;
3229 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3230 wxHtmlWordCell
*src
;
3232 src
= (wxHtmlWordCell
*) ptr
;
3233 dest
= (wxHtmlCell
*) src
;
3234 return (void *) dest
;
3237 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3238 wxHtmlWordCell
*src
;
3240 src
= (wxHtmlWordCell
*) ptr
;
3241 dest
= (wxObject
*) src
;
3242 return (void *) dest
;
3245 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3246 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxHtmlWordCell
* _result
;
3251 PyObject
* _obj0
= 0;
3252 PyObject
* _argo1
= 0;
3253 char *_kwnames
[] = { "word","dc", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3260 #if PYTHON_API_VERSION >= 1009
3261 char* tmpPtr
; int tmpSize
;
3262 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3266 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3268 _arg0
= new wxString(tmpPtr
, tmpSize
);
3270 if (!PyString_Check(_obj0
)) {
3271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3274 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3288 wxPy_END_ALLOW_THREADS
;
3290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3291 _resultobj
= Py_BuildValue("s",_ptemp
);
3294 _resultobj
= Py_None
;
3303 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3304 wxHtmlContainerCell
*src
;
3306 src
= (wxHtmlContainerCell
*) ptr
;
3307 dest
= (wxHtmlCell
*) src
;
3308 return (void *) dest
;
3311 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3312 wxHtmlContainerCell
*src
;
3314 src
= (wxHtmlContainerCell
*) ptr
;
3315 dest
= (wxObject
*) src
;
3316 return (void *) dest
;
3319 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3320 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3322 wxHtmlContainerCell
* _result
;
3323 wxHtmlContainerCell
* _arg0
;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "parent", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3342 wxPy_END_ALLOW_THREADS
;
3344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3345 _resultobj
= Py_BuildValue("s",_ptemp
);
3348 _resultobj
= Py_None
;
3353 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3354 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3356 wxHtmlContainerCell
* _arg0
;
3358 PyObject
* _argo0
= 0;
3359 PyObject
* _argo1
= 0;
3360 char *_kwnames
[] = { "self","cell", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3383 wxPy_END_ALLOW_THREADS
;
3384 } Py_INCREF(Py_None
);
3385 _resultobj
= Py_None
;
3389 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3390 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3392 wxHtmlContainerCell
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self","al", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } Py_INCREF(Py_None
);
3413 _resultobj
= Py_None
;
3417 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3418 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3421 wxHtmlContainerCell
* _arg0
;
3422 PyObject
* _argo0
= 0;
3423 char *_kwnames
[] = { "self", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3439 wxPy_END_ALLOW_THREADS
;
3440 } _resultobj
= Py_BuildValue("i",_result
);
3444 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3445 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxHtmlContainerCell
* _arg0
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self","al", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3466 wxPy_END_ALLOW_THREADS
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3472 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3473 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3476 wxHtmlContainerCell
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3491 wxPy_BEGIN_ALLOW_THREADS
;
3492 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3494 wxPy_END_ALLOW_THREADS
;
3495 } _resultobj
= Py_BuildValue("i",_result
);
3499 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3500 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3502 wxHtmlContainerCell
* _arg0
;
3505 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self","i","what","units", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3529 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3530 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3533 wxHtmlContainerCell
* _arg0
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "self","ind", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3552 wxPy_END_ALLOW_THREADS
;
3553 } _resultobj
= Py_BuildValue("i",_result
);
3557 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3558 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3561 wxHtmlContainerCell
* _arg0
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self","ind", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } _resultobj
= Py_BuildValue("i",_result
);
3585 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3586 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3588 wxHtmlContainerCell
* _arg0
;
3590 PyObject
* _argo0
= 0;
3591 PyObject
* _argo1
= 0;
3592 char *_kwnames
[] = { "self","tag", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3612 wxPy_BEGIN_ALLOW_THREADS
;
3613 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3615 wxPy_END_ALLOW_THREADS
;
3616 } Py_INCREF(Py_None
);
3617 _resultobj
= Py_None
;
3621 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3622 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
* _resultobj
;
3624 wxHtmlContainerCell
* _arg0
;
3627 PyObject
* _argo0
= 0;
3628 char *_kwnames
[] = { "self","w","units", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3641 wxPy_BEGIN_ALLOW_THREADS
;
3642 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3644 wxPy_END_ALLOW_THREADS
;
3645 } Py_INCREF(Py_None
);
3646 _resultobj
= Py_None
;
3650 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3651 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3653 wxHtmlContainerCell
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 PyObject
* _argo1
= 0;
3657 char *_kwnames
[] = { "self","tag", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3687 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxHtmlContainerCell
* _arg0
;
3691 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self","h","align", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3709 wxPy_END_ALLOW_THREADS
;
3710 } Py_INCREF(Py_None
);
3711 _resultobj
= Py_None
;
3715 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3716 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3718 wxHtmlContainerCell
* _arg0
;
3720 PyObject
* _argo0
= 0;
3722 PyObject
* _obj1
= 0;
3723 char *_kwnames
[] = { "self","clr", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3737 if (! wxColour_helper(_obj1
, &_arg1
))
3741 wxPy_BEGIN_ALLOW_THREADS
;
3742 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3744 wxPy_END_ALLOW_THREADS
;
3745 } Py_INCREF(Py_None
);
3746 _resultobj
= Py_None
;
3750 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3751 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
* _resultobj
;
3753 wxHtmlContainerCell
* _arg0
;
3756 PyObject
* _argo0
= 0;
3758 PyObject
* _obj1
= 0;
3760 PyObject
* _obj2
= 0;
3761 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3775 if (! wxColour_helper(_obj1
, &_arg1
))
3780 if (! wxColour_helper(_obj2
, &_arg2
))
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } Py_INCREF(Py_None
);
3789 _resultobj
= Py_None
;
3793 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3794 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3796 wxHtmlCell
* _result
;
3797 wxHtmlContainerCell
* _arg0
;
3798 PyObject
* _argo0
= 0;
3799 char *_kwnames
[] = { "self", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3816 wxPy_END_ALLOW_THREADS
;
3818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3819 _resultobj
= Py_BuildValue("s",_ptemp
);
3822 _resultobj
= Py_None
;
3827 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3828 wxHtmlColourCell
*src
;
3830 src
= (wxHtmlColourCell
*) ptr
;
3831 dest
= (wxHtmlCell
*) src
;
3832 return (void *) dest
;
3835 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3836 wxHtmlColourCell
*src
;
3838 src
= (wxHtmlColourCell
*) ptr
;
3839 dest
= (wxObject
*) src
;
3840 return (void *) dest
;
3843 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3844 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3846 wxHtmlColourCell
* _result
;
3848 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3850 PyObject
* _obj0
= 0;
3851 char *_kwnames
[] = { "clr","flags", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3859 if (! wxColour_helper(_obj0
, &_arg0
))
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3866 wxPy_END_ALLOW_THREADS
;
3868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3869 _resultobj
= Py_BuildValue("s",_ptemp
);
3872 _resultobj
= Py_None
;
3877 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3878 wxHtmlFontCell
*src
;
3880 src
= (wxHtmlFontCell
*) ptr
;
3881 dest
= (wxHtmlCell
*) src
;
3882 return (void *) dest
;
3885 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3886 wxHtmlFontCell
*src
;
3888 src
= (wxHtmlFontCell
*) ptr
;
3889 dest
= (wxObject
*) src
;
3890 return (void *) dest
;
3893 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3894 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3896 wxHtmlFontCell
* _result
;
3898 PyObject
* _argo0
= 0;
3899 char *_kwnames
[] = { "font", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3916 wxPy_END_ALLOW_THREADS
;
3918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3919 _resultobj
= Py_BuildValue("s",_ptemp
);
3922 _resultobj
= Py_None
;
3927 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3928 wxHtmlWidgetCell
*src
;
3930 src
= (wxHtmlWidgetCell
*) ptr
;
3931 dest
= (wxHtmlCell
*) src
;
3932 return (void *) dest
;
3935 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3936 wxHtmlWidgetCell
*src
;
3938 src
= (wxHtmlWidgetCell
*) ptr
;
3939 dest
= (wxObject
*) src
;
3940 return (void *) dest
;
3943 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3944 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3946 wxHtmlWidgetCell
* _result
;
3948 int _arg1
= (int ) 0;
3949 PyObject
* _argo0
= 0;
3950 char *_kwnames
[] = { "wnd","w", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3964 wxPy_BEGIN_ALLOW_THREADS
;
3965 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3967 wxPy_END_ALLOW_THREADS
;
3969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3970 _resultobj
= Py_BuildValue("s",_ptemp
);
3973 _resultobj
= Py_None
;
3978 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3979 wxPyHtmlWindow
*src
;
3980 wxScrolledWindow
*dest
;
3981 src
= (wxPyHtmlWindow
*) ptr
;
3982 dest
= (wxScrolledWindow
*) src
;
3983 return (void *) dest
;
3986 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3987 wxPyHtmlWindow
*src
;
3989 src
= (wxPyHtmlWindow
*) ptr
;
3990 dest
= (wxPanel
*) src
;
3991 return (void *) dest
;
3994 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
3995 wxPyHtmlWindow
*src
;
3997 src
= (wxPyHtmlWindow
*) ptr
;
3998 dest
= (wxWindow
*) src
;
3999 return (void *) dest
;
4002 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4003 wxPyHtmlWindow
*src
;
4005 src
= (wxPyHtmlWindow
*) ptr
;
4006 dest
= (wxEvtHandler
*) src
;
4007 return (void *) dest
;
4010 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4011 wxPyHtmlWindow
*src
;
4013 src
= (wxPyHtmlWindow
*) ptr
;
4014 dest
= (wxObject
*) src
;
4015 return (void *) dest
;
4018 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4019 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4021 wxPyHtmlWindow
* _result
;
4023 int _arg1
= (int ) -1;
4024 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4025 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4026 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4027 char * _arg5
= (char *) "htmlWindow";
4028 PyObject
* _argo0
= 0;
4030 PyObject
* _obj2
= 0;
4032 PyObject
* _obj3
= 0;
4033 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4049 if (! wxPoint_helper(_obj2
, &_arg2
))
4055 if (! wxSize_helper(_obj3
, &_arg3
))
4059 wxPy_BEGIN_ALLOW_THREADS
;
4060 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4062 wxPy_END_ALLOW_THREADS
;
4064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4065 _resultobj
= Py_BuildValue("s",_ptemp
);
4068 _resultobj
= Py_None
;
4073 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4074 static PyObject
*_wrap_wxHtmlWindow__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4076 wxPyHtmlWindow
* _arg0
;
4079 PyObject
* _argo0
= 0;
4080 PyObject
* _obj1
= 0;
4081 PyObject
* _obj2
= 0;
4082 char *_kwnames
[] = { "self","self","_class", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 wxHtmlWindow__setSelf(_arg0
,_arg1
,_arg2
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4111 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4114 wxPyHtmlWindow
* _arg0
;
4116 PyObject
* _argo0
= 0;
4117 PyObject
* _obj1
= 0;
4118 char *_kwnames
[] = { "self","source", NULL
};
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4131 #if PYTHON_API_VERSION >= 1009
4132 char* tmpPtr
; int tmpSize
;
4133 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4137 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4139 _arg1
= new wxString(tmpPtr
, tmpSize
);
4141 if (!PyString_Check(_obj1
)) {
4142 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4145 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4149 wxPy_BEGIN_ALLOW_THREADS
;
4150 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4152 wxPy_END_ALLOW_THREADS
;
4153 } _resultobj
= Py_BuildValue("i",_result
);
4161 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4162 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
* _resultobj
;
4165 wxPyHtmlWindow
* _arg0
;
4167 PyObject
* _argo0
= 0;
4168 PyObject
* _obj1
= 0;
4169 char *_kwnames
[] = { "self","location", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4182 #if PYTHON_API_VERSION >= 1009
4183 char* tmpPtr
; int tmpSize
;
4184 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4188 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4190 _arg1
= new wxString(tmpPtr
, tmpSize
);
4192 if (!PyString_Check(_obj1
)) {
4193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4196 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4203 wxPy_END_ALLOW_THREADS
;
4204 } _resultobj
= Py_BuildValue("i",_result
);
4212 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4213 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4216 wxPyHtmlWindow
* _arg0
;
4217 PyObject
* _argo0
= 0;
4218 char *_kwnames
[] = { "self", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4231 wxPy_BEGIN_ALLOW_THREADS
;
4232 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4234 wxPy_END_ALLOW_THREADS
;
4236 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4244 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4245 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4248 wxPyHtmlWindow
* _arg0
;
4249 PyObject
* _argo0
= 0;
4250 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4266 wxPy_END_ALLOW_THREADS
;
4268 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4276 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4277 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4280 wxPyHtmlWindow
* _arg0
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4298 wxPy_END_ALLOW_THREADS
;
4300 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4308 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4309 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4311 wxPyHtmlWindow
* _arg0
;
4314 PyObject
* _argo0
= 0;
4315 PyObject
* _argo1
= 0;
4316 char *_kwnames
[] = { "self","frame","format", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4336 wxPy_BEGIN_ALLOW_THREADS
;
4337 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4339 wxPy_END_ALLOW_THREADS
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4346 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4349 wxPyHtmlWindow
* _arg0
;
4350 PyObject
* _argo0
= 0;
4351 char *_kwnames
[] = { "self", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4367 wxPy_END_ALLOW_THREADS
;
4368 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4372 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4373 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4375 wxPyHtmlWindow
* _arg0
;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "self","bar", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4394 wxPy_END_ALLOW_THREADS
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4401 int* temp
= int_LIST_helper(sizes
);
4403 self
->SetFonts(normal_face
, fixed_face
, temp
);
4407 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
* _resultobj
;
4409 wxPyHtmlWindow
* _arg0
;
4413 PyObject
* _argo0
= 0;
4414 PyObject
* _obj1
= 0;
4415 PyObject
* _obj2
= 0;
4416 PyObject
* _obj3
= 0;
4417 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4430 #if PYTHON_API_VERSION >= 1009
4431 char* tmpPtr
; int tmpSize
;
4432 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4436 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4438 _arg1
= new wxString(tmpPtr
, tmpSize
);
4440 if (!PyString_Check(_obj1
)) {
4441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4444 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4448 #if PYTHON_API_VERSION >= 1009
4449 char* tmpPtr
; int tmpSize
;
4450 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4454 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4456 _arg2
= new wxString(tmpPtr
, tmpSize
);
4458 if (!PyString_Check(_obj2
)) {
4459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4462 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4472 wxPy_END_ALLOW_THREADS
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4486 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4487 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxPyHtmlWindow
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 PyObject
* _obj1
= 0;
4493 char *_kwnames
[] = { "self","title", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4506 #if PYTHON_API_VERSION >= 1009
4507 char* tmpPtr
; int tmpSize
;
4508 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4512 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4514 _arg1
= new wxString(tmpPtr
, tmpSize
);
4516 if (!PyString_Check(_obj1
)) {
4517 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4520 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } Py_INCREF(Py_None
);
4529 _resultobj
= Py_None
;
4537 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4538 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4540 wxPyHtmlWindow
* _arg0
;
4542 PyObject
* _argo0
= 0;
4543 char *_kwnames
[] = { "self","b", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4559 wxPy_END_ALLOW_THREADS
;
4560 } Py_INCREF(Py_None
);
4561 _resultobj
= Py_None
;
4565 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4566 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4568 wxPyHtmlWindow
* _arg0
;
4569 wxConfigBase
* _arg1
;
4570 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4571 PyObject
* _argo0
= 0;
4572 PyObject
* _argo1
= 0;
4573 PyObject
* _obj2
= 0;
4574 char *_kwnames
[] = { "self","cfg","path", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4595 #if PYTHON_API_VERSION >= 1009
4596 char* tmpPtr
; int tmpSize
;
4597 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4598 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4601 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4603 _arg2
= new wxString(tmpPtr
, tmpSize
);
4605 if (!PyString_Check(_obj2
)) {
4606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4609 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4626 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4627 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4629 wxPyHtmlWindow
* _arg0
;
4630 wxConfigBase
* _arg1
;
4631 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4632 PyObject
* _argo0
= 0;
4633 PyObject
* _argo1
= 0;
4634 PyObject
* _obj2
= 0;
4635 char *_kwnames
[] = { "self","cfg","path", NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4656 #if PYTHON_API_VERSION >= 1009
4657 char* tmpPtr
; int tmpSize
;
4658 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4662 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4664 _arg2
= new wxString(tmpPtr
, tmpSize
);
4666 if (!PyString_Check(_obj2
)) {
4667 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4670 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4674 wxPy_BEGIN_ALLOW_THREADS
;
4675 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4677 wxPy_END_ALLOW_THREADS
;
4678 } Py_INCREF(Py_None
);
4679 _resultobj
= Py_None
;
4687 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4688 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4691 wxPyHtmlWindow
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4709 wxPy_END_ALLOW_THREADS
;
4710 } _resultobj
= Py_BuildValue("i",_result
);
4714 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4715 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4718 wxPyHtmlWindow
* _arg0
;
4719 PyObject
* _argo0
= 0;
4720 char *_kwnames
[] = { "self", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4736 wxPy_END_ALLOW_THREADS
;
4737 } _resultobj
= Py_BuildValue("i",_result
);
4741 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4742 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4745 wxPyHtmlWindow
* _arg0
;
4746 PyObject
* _argo0
= 0;
4747 char *_kwnames
[] = { "self", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4763 wxPy_END_ALLOW_THREADS
;
4764 } _resultobj
= Py_BuildValue("i",_result
);
4768 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4769 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4772 wxPyHtmlWindow
* _arg0
;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4790 wxPy_END_ALLOW_THREADS
;
4791 } _resultobj
= Py_BuildValue("i",_result
);
4795 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4796 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4798 wxPyHtmlWindow
* _arg0
;
4799 PyObject
* _argo0
= 0;
4800 char *_kwnames
[] = { "self", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4813 wxPy_BEGIN_ALLOW_THREADS
;
4814 wxHtmlWindow_HistoryClear(_arg0
);
4816 wxPy_END_ALLOW_THREADS
;
4817 } Py_INCREF(Py_None
);
4818 _resultobj
= Py_None
;
4822 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4823 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxHtmlContainerCell
* _result
;
4826 wxPyHtmlWindow
* _arg0
;
4827 PyObject
* _argo0
= 0;
4828 char *_kwnames
[] = { "self", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4845 wxPy_END_ALLOW_THREADS
;
4847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4848 _resultobj
= Py_BuildValue("s",_ptemp
);
4851 _resultobj
= Py_None
;
4856 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4857 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4859 wxHtmlWinParser
* _result
;
4860 wxPyHtmlWindow
* _arg0
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4879 wxPy_END_ALLOW_THREADS
;
4881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4882 _resultobj
= Py_BuildValue("s",_ptemp
);
4885 _resultobj
= Py_None
;
4890 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4891 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4893 wxPyHtmlWindow
* _arg0
;
4894 wxHtmlLinkInfo
* _arg1
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _argo1
= 0;
4897 char *_kwnames
[] = { "self","link", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
4920 wxPy_END_ALLOW_THREADS
;
4921 } Py_INCREF(Py_None
);
4922 _resultobj
= Py_None
;
4926 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4927 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 wxPyHtmlWindow
* _arg0
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self","title", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } Py_INCREF(Py_None
);
4950 _resultobj
= Py_None
;
4954 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
4955 wxHtmlDCRenderer
*src
;
4957 src
= (wxHtmlDCRenderer
*) ptr
;
4958 dest
= (wxObject
*) src
;
4959 return (void *) dest
;
4962 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
4963 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4965 wxHtmlDCRenderer
* _result
;
4966 char *_kwnames
[] = { NULL
};
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
4976 wxPy_END_ALLOW_THREADS
;
4978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
4979 _resultobj
= Py_BuildValue("s",_ptemp
);
4982 _resultobj
= Py_None
;
4987 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
4988 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4990 wxHtmlDCRenderer
* _arg0
;
4991 PyObject
* _argo0
= 0;
4992 char *_kwnames
[] = { "self", NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
4998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5005 wxPy_BEGIN_ALLOW_THREADS
;
5006 delete_wxHtmlDCRenderer(_arg0
);
5008 wxPy_END_ALLOW_THREADS
;
5009 } Py_INCREF(Py_None
);
5010 _resultobj
= Py_None
;
5014 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5015 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5017 wxHtmlDCRenderer
* _arg0
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _argo1
= 0;
5022 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5042 wxPy_BEGIN_ALLOW_THREADS
;
5043 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5045 wxPy_END_ALLOW_THREADS
;
5046 } Py_INCREF(Py_None
);
5047 _resultobj
= Py_None
;
5051 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5052 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 wxHtmlDCRenderer
* _arg0
;
5057 PyObject
* _argo0
= 0;
5058 char *_kwnames
[] = { "self","width","height", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5071 wxPy_BEGIN_ALLOW_THREADS
;
5072 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5074 wxPy_END_ALLOW_THREADS
;
5075 } Py_INCREF(Py_None
);
5076 _resultobj
= Py_None
;
5080 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5081 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5083 wxHtmlDCRenderer
* _arg0
;
5085 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5086 bool _arg3
= (bool ) TRUE
;
5087 PyObject
* _argo0
= 0;
5088 PyObject
* _obj1
= 0;
5089 PyObject
* _obj2
= 0;
5090 int tempbool3
= (int) TRUE
;
5091 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5104 #if PYTHON_API_VERSION >= 1009
5105 char* tmpPtr
; int tmpSize
;
5106 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5107 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5110 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5112 _arg1
= new wxString(tmpPtr
, tmpSize
);
5114 if (!PyString_Check(_obj1
)) {
5115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5118 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5123 #if PYTHON_API_VERSION >= 1009
5124 char* tmpPtr
; int tmpSize
;
5125 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5129 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5131 _arg2
= new wxString(tmpPtr
, tmpSize
);
5133 if (!PyString_Check(_obj2
)) {
5134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5137 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5140 _arg3
= (bool ) tempbool3
;
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5145 wxPy_END_ALLOW_THREADS
;
5146 } Py_INCREF(Py_None
);
5147 _resultobj
= Py_None
;
5159 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5160 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5163 wxHtmlDCRenderer
* _arg0
;
5166 int _arg3
= (int ) 0;
5167 int _arg4
= (int ) FALSE
;
5168 PyObject
* _argo0
= 0;
5169 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5182 wxPy_BEGIN_ALLOW_THREADS
;
5183 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5185 wxPy_END_ALLOW_THREADS
;
5186 } _resultobj
= Py_BuildValue("i",_result
);
5190 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5191 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5194 wxHtmlDCRenderer
* _arg0
;
5195 PyObject
* _argo0
= 0;
5196 char *_kwnames
[] = { "self", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5209 wxPy_BEGIN_ALLOW_THREADS
;
5210 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5212 wxPy_END_ALLOW_THREADS
;
5213 } _resultobj
= Py_BuildValue("i",_result
);
5217 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5218 wxHtmlPrintout
*src
;
5220 src
= (wxHtmlPrintout
*) ptr
;
5221 dest
= (wxPyPrintout
*) src
;
5222 return (void *) dest
;
5225 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5226 wxHtmlPrintout
*src
;
5228 src
= (wxHtmlPrintout
*) ptr
;
5229 dest
= (wxObject
*) src
;
5230 return (void *) dest
;
5233 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5234 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5236 wxHtmlPrintout
* _result
;
5237 char * _arg0
= (char *) "Printout";
5238 char *_kwnames
[] = { "title", NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5245 wxPy_BEGIN_ALLOW_THREADS
;
5246 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5248 wxPy_END_ALLOW_THREADS
;
5250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5251 _resultobj
= Py_BuildValue("s",_ptemp
);
5254 _resultobj
= Py_None
;
5259 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5260 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5262 wxHtmlPrintout
* _arg0
;
5264 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5265 bool _arg3
= (bool ) TRUE
;
5266 PyObject
* _argo0
= 0;
5267 PyObject
* _obj1
= 0;
5268 PyObject
* _obj2
= 0;
5269 int tempbool3
= (int) TRUE
;
5270 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5283 #if PYTHON_API_VERSION >= 1009
5284 char* tmpPtr
; int tmpSize
;
5285 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5289 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5291 _arg1
= new wxString(tmpPtr
, tmpSize
);
5293 if (!PyString_Check(_obj1
)) {
5294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5297 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5302 #if PYTHON_API_VERSION >= 1009
5303 char* tmpPtr
; int tmpSize
;
5304 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5308 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5310 _arg2
= new wxString(tmpPtr
, tmpSize
);
5312 if (!PyString_Check(_obj2
)) {
5313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5316 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5319 _arg3
= (bool ) tempbool3
;
5321 wxPy_BEGIN_ALLOW_THREADS
;
5322 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5324 wxPy_END_ALLOW_THREADS
;
5325 } Py_INCREF(Py_None
);
5326 _resultobj
= Py_None
;
5338 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5339 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5341 wxHtmlPrintout
* _arg0
;
5343 PyObject
* _argo0
= 0;
5344 PyObject
* _obj1
= 0;
5345 char *_kwnames
[] = { "self","htmlfile", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5358 #if PYTHON_API_VERSION >= 1009
5359 char* tmpPtr
; int tmpSize
;
5360 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5361 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5364 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5366 _arg1
= new wxString(tmpPtr
, tmpSize
);
5368 if (!PyString_Check(_obj1
)) {
5369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5372 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5376 wxPy_BEGIN_ALLOW_THREADS
;
5377 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5379 wxPy_END_ALLOW_THREADS
;
5380 } Py_INCREF(Py_None
);
5381 _resultobj
= Py_None
;
5389 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5390 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5392 wxHtmlPrintout
* _arg0
;
5394 int _arg2
= (int ) (wxPAGE_ALL
);
5395 PyObject
* _argo0
= 0;
5396 PyObject
* _obj1
= 0;
5397 char *_kwnames
[] = { "self","header","pg", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5410 #if PYTHON_API_VERSION >= 1009
5411 char* tmpPtr
; int tmpSize
;
5412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5418 _arg1
= new wxString(tmpPtr
, tmpSize
);
5420 if (!PyString_Check(_obj1
)) {
5421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5441 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5442 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
* _resultobj
;
5444 wxHtmlPrintout
* _arg0
;
5446 int _arg2
= (int ) (wxPAGE_ALL
);
5447 PyObject
* _argo0
= 0;
5448 PyObject
* _obj1
= 0;
5449 char *_kwnames
[] = { "self","footer","pg", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5462 #if PYTHON_API_VERSION >= 1009
5463 char* tmpPtr
; int tmpSize
;
5464 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5468 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5470 _arg1
= new wxString(tmpPtr
, tmpSize
);
5472 if (!PyString_Check(_obj1
)) {
5473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5476 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5480 wxPy_BEGIN_ALLOW_THREADS
;
5481 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5483 wxPy_END_ALLOW_THREADS
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5493 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5494 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5496 wxHtmlPrintout
* _arg0
;
5497 float _arg1
= (float ) 25.2;
5498 float _arg2
= (float ) 25.2;
5499 float _arg3
= (float ) 25.2;
5500 float _arg4
= (float ) 25.2;
5501 float _arg5
= (float ) 5;
5502 PyObject
* _argo0
= 0;
5503 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5516 wxPy_BEGIN_ALLOW_THREADS
;
5517 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5519 wxPy_END_ALLOW_THREADS
;
5520 } Py_INCREF(Py_None
);
5521 _resultobj
= Py_None
;
5525 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5526 wxHtmlEasyPrinting
*src
;
5528 src
= (wxHtmlEasyPrinting
*) ptr
;
5529 dest
= (wxObject
*) src
;
5530 return (void *) dest
;
5533 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5534 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5536 wxHtmlEasyPrinting
* _result
;
5537 char * _arg0
= (char *) "Printing";
5538 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5539 PyObject
* _argo1
= 0;
5540 char *_kwnames
[] = { "name","parent_frame", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5557 wxPy_END_ALLOW_THREADS
;
5559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5560 _resultobj
= Py_BuildValue("s",_ptemp
);
5563 _resultobj
= Py_None
;
5568 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5569 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5571 wxHtmlEasyPrinting
* _arg0
;
5572 PyObject
* _argo0
= 0;
5573 char *_kwnames
[] = { "self", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5586 wxPy_BEGIN_ALLOW_THREADS
;
5587 delete_wxHtmlEasyPrinting(_arg0
);
5589 wxPy_END_ALLOW_THREADS
;
5590 } Py_INCREF(Py_None
);
5591 _resultobj
= Py_None
;
5595 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5596 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
* _resultobj
;
5598 wxHtmlEasyPrinting
* _arg0
;
5600 PyObject
* _argo0
= 0;
5601 PyObject
* _obj1
= 0;
5602 char *_kwnames
[] = { "self","htmlfile", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5615 #if PYTHON_API_VERSION >= 1009
5616 char* tmpPtr
; int tmpSize
;
5617 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5621 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5623 _arg1
= new wxString(tmpPtr
, tmpSize
);
5625 if (!PyString_Check(_obj1
)) {
5626 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5629 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5633 wxPy_BEGIN_ALLOW_THREADS
;
5634 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5636 wxPy_END_ALLOW_THREADS
;
5637 } Py_INCREF(Py_None
);
5638 _resultobj
= Py_None
;
5646 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5647 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
* _resultobj
;
5649 wxHtmlEasyPrinting
* _arg0
;
5651 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5652 PyObject
* _argo0
= 0;
5653 PyObject
* _obj1
= 0;
5654 PyObject
* _obj2
= 0;
5655 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5668 #if PYTHON_API_VERSION >= 1009
5669 char* tmpPtr
; int tmpSize
;
5670 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5674 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5676 _arg1
= new wxString(tmpPtr
, tmpSize
);
5678 if (!PyString_Check(_obj1
)) {
5679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5682 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5687 #if PYTHON_API_VERSION >= 1009
5688 char* tmpPtr
; int tmpSize
;
5689 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5693 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5695 _arg2
= new wxString(tmpPtr
, tmpSize
);
5697 if (!PyString_Check(_obj2
)) {
5698 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5701 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5705 wxPy_BEGIN_ALLOW_THREADS
;
5706 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5708 wxPy_END_ALLOW_THREADS
;
5709 } Py_INCREF(Py_None
);
5710 _resultobj
= Py_None
;
5722 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5723 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5725 wxHtmlEasyPrinting
* _arg0
;
5727 PyObject
* _argo0
= 0;
5728 PyObject
* _obj1
= 0;
5729 char *_kwnames
[] = { "self","htmlfile", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5742 #if PYTHON_API_VERSION >= 1009
5743 char* tmpPtr
; int tmpSize
;
5744 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5748 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5750 _arg1
= new wxString(tmpPtr
, tmpSize
);
5752 if (!PyString_Check(_obj1
)) {
5753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5756 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5763 wxPy_END_ALLOW_THREADS
;
5764 } Py_INCREF(Py_None
);
5765 _resultobj
= Py_None
;
5773 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5774 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5776 wxHtmlEasyPrinting
* _arg0
;
5778 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5779 PyObject
* _argo0
= 0;
5780 PyObject
* _obj1
= 0;
5781 PyObject
* _obj2
= 0;
5782 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5795 #if PYTHON_API_VERSION >= 1009
5796 char* tmpPtr
; int tmpSize
;
5797 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5801 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5803 _arg1
= new wxString(tmpPtr
, tmpSize
);
5805 if (!PyString_Check(_obj1
)) {
5806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5809 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5814 #if PYTHON_API_VERSION >= 1009
5815 char* tmpPtr
; int tmpSize
;
5816 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5820 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5822 _arg2
= new wxString(tmpPtr
, tmpSize
);
5824 if (!PyString_Check(_obj2
)) {
5825 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5828 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5835 wxPy_END_ALLOW_THREADS
;
5836 } Py_INCREF(Py_None
);
5837 _resultobj
= Py_None
;
5849 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5850 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5852 wxHtmlEasyPrinting
* _arg0
;
5853 PyObject
* _argo0
= 0;
5854 char *_kwnames
[] = { "self", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5867 wxPy_BEGIN_ALLOW_THREADS
;
5868 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5870 wxPy_END_ALLOW_THREADS
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5876 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5877 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
* _resultobj
;
5879 wxHtmlEasyPrinting
* _arg0
;
5880 PyObject
* _argo0
= 0;
5881 char *_kwnames
[] = { "self", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
5894 wxPy_BEGIN_ALLOW_THREADS
;
5895 wxHtmlEasyPrinting_PageSetup(_arg0
);
5897 wxPy_END_ALLOW_THREADS
;
5898 } Py_INCREF(Py_None
);
5899 _resultobj
= Py_None
;
5903 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5904 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5906 wxHtmlEasyPrinting
* _arg0
;
5908 int _arg2
= (int ) (wxPAGE_ALL
);
5909 PyObject
* _argo0
= 0;
5910 PyObject
* _obj1
= 0;
5911 char *_kwnames
[] = { "self","header","pg", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
5924 #if PYTHON_API_VERSION >= 1009
5925 char* tmpPtr
; int tmpSize
;
5926 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5930 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5932 _arg1
= new wxString(tmpPtr
, tmpSize
);
5934 if (!PyString_Check(_obj1
)) {
5935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5938 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5942 wxPy_BEGIN_ALLOW_THREADS
;
5943 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
5945 wxPy_END_ALLOW_THREADS
;
5946 } Py_INCREF(Py_None
);
5947 _resultobj
= Py_None
;
5955 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5956 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxHtmlEasyPrinting
* _arg0
;
5960 int _arg2
= (int ) (wxPAGE_ALL
);
5961 PyObject
* _argo0
= 0;
5962 PyObject
* _obj1
= 0;
5963 char *_kwnames
[] = { "self","footer","pg", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
5976 #if PYTHON_API_VERSION >= 1009
5977 char* tmpPtr
; int tmpSize
;
5978 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5979 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5982 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5984 _arg1
= new wxString(tmpPtr
, tmpSize
);
5986 if (!PyString_Check(_obj1
)) {
5987 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5990 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5994 wxPy_BEGIN_ALLOW_THREADS
;
5995 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
5997 wxPy_END_ALLOW_THREADS
;
5998 } Py_INCREF(Py_None
);
5999 _resultobj
= Py_None
;
6007 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6008 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6010 wxPrintData
* _result
;
6011 wxHtmlEasyPrinting
* _arg0
;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6027 wxPy_BEGIN_ALLOW_THREADS
;
6028 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6030 wxPy_END_ALLOW_THREADS
;
6032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6033 _resultobj
= Py_BuildValue("s",_ptemp
);
6036 _resultobj
= Py_None
;
6041 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6042 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
* _resultobj
;
6044 wxPageSetupDialogData
* _result
;
6045 wxHtmlEasyPrinting
* _arg0
;
6046 PyObject
* _argo0
= 0;
6047 char *_kwnames
[] = { "self", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6061 wxPy_BEGIN_ALLOW_THREADS
;
6062 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6064 wxPy_END_ALLOW_THREADS
;
6066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6067 _resultobj
= Py_BuildValue("s",_ptemp
);
6070 _resultobj
= Py_None
;
6075 static PyMethodDef htmlcMethods
[] = {
6076 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6077 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6078 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6079 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6080 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6081 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6082 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6083 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6084 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6085 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6086 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6087 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6088 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6089 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6090 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6091 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6092 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6093 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6094 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6095 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6096 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6097 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6098 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6099 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6100 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6101 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "wxHtmlWindow__setSelf", (PyCFunction
) _wrap_wxHtmlWindow__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxHtmlWinTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxHtmlTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6237 * This table is used by the pointer type-checker
6239 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6240 { "_signed_long","_long",0},
6241 { "_wxPrintQuality","_wxCoord",0},
6242 { "_wxPrintQuality","_int",0},
6243 { "_wxPrintQuality","_signed_int",0},
6244 { "_wxPrintQuality","_unsigned_int",0},
6245 { "_wxPrintQuality","_wxWindowID",0},
6246 { "_wxPrintQuality","_uint",0},
6247 { "_wxPrintQuality","_EBool",0},
6248 { "_wxPrintQuality","_size_t",0},
6249 { "_wxPrintQuality","_time_t",0},
6250 { "_byte","_unsigned_char",0},
6251 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6252 { "_long","_unsigned_long",0},
6253 { "_long","_signed_long",0},
6254 { "_size_t","_wxCoord",0},
6255 { "_size_t","_wxPrintQuality",0},
6256 { "_size_t","_time_t",0},
6257 { "_size_t","_unsigned_int",0},
6258 { "_size_t","_int",0},
6259 { "_size_t","_wxWindowID",0},
6260 { "_size_t","_uint",0},
6261 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6262 { "_uint","_wxCoord",0},
6263 { "_uint","_wxPrintQuality",0},
6264 { "_uint","_time_t",0},
6265 { "_uint","_size_t",0},
6266 { "_uint","_unsigned_int",0},
6267 { "_uint","_int",0},
6268 { "_uint","_wxWindowID",0},
6269 { "_wxChar","_char",0},
6270 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6271 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6272 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6273 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6274 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6275 { "_char","_wxChar",0},
6276 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6277 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6278 { "_EBool","_wxCoord",0},
6279 { "_EBool","_wxPrintQuality",0},
6280 { "_EBool","_signed_int",0},
6281 { "_EBool","_int",0},
6282 { "_EBool","_wxWindowID",0},
6283 { "_unsigned_long","_long",0},
6284 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6285 { "_signed_int","_wxCoord",0},
6286 { "_signed_int","_wxPrintQuality",0},
6287 { "_signed_int","_EBool",0},
6288 { "_signed_int","_wxWindowID",0},
6289 { "_signed_int","_int",0},
6290 { "_WXTYPE","_wxDateTime_t",0},
6291 { "_WXTYPE","_short",0},
6292 { "_WXTYPE","_signed_short",0},
6293 { "_WXTYPE","_unsigned_short",0},
6294 { "_unsigned_short","_wxDateTime_t",0},
6295 { "_unsigned_short","_WXTYPE",0},
6296 { "_unsigned_short","_short",0},
6297 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6298 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6299 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6300 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6301 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6302 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6303 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6304 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6305 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6306 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6307 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6308 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6309 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6310 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6311 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6312 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6313 { "_signed_short","_WXTYPE",0},
6314 { "_signed_short","_short",0},
6315 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6316 { "_unsigned_char","_byte",0},
6317 { "_unsigned_int","_wxCoord",0},
6318 { "_unsigned_int","_wxPrintQuality",0},
6319 { "_unsigned_int","_time_t",0},
6320 { "_unsigned_int","_size_t",0},
6321 { "_unsigned_int","_uint",0},
6322 { "_unsigned_int","_wxWindowID",0},
6323 { "_unsigned_int","_int",0},
6324 { "_short","_wxDateTime_t",0},
6325 { "_short","_WXTYPE",0},
6326 { "_short","_unsigned_short",0},
6327 { "_short","_signed_short",0},
6328 { "_wxWindowID","_wxCoord",0},
6329 { "_wxWindowID","_wxPrintQuality",0},
6330 { "_wxWindowID","_time_t",0},
6331 { "_wxWindowID","_size_t",0},
6332 { "_wxWindowID","_EBool",0},
6333 { "_wxWindowID","_uint",0},
6334 { "_wxWindowID","_int",0},
6335 { "_wxWindowID","_signed_int",0},
6336 { "_wxWindowID","_unsigned_int",0},
6337 { "_int","_wxCoord",0},
6338 { "_int","_wxPrintQuality",0},
6339 { "_int","_time_t",0},
6340 { "_int","_size_t",0},
6341 { "_int","_EBool",0},
6342 { "_int","_uint",0},
6343 { "_int","_wxWindowID",0},
6344 { "_int","_unsigned_int",0},
6345 { "_int","_signed_int",0},
6346 { "_wxDateTime_t","_unsigned_short",0},
6347 { "_wxDateTime_t","_short",0},
6348 { "_wxDateTime_t","_WXTYPE",0},
6349 { "_time_t","_wxCoord",0},
6350 { "_time_t","_wxPrintQuality",0},
6351 { "_time_t","_unsigned_int",0},
6352 { "_time_t","_int",0},
6353 { "_time_t","_wxWindowID",0},
6354 { "_time_t","_uint",0},
6355 { "_time_t","_size_t",0},
6356 { "_wxCoord","_int",0},
6357 { "_wxCoord","_signed_int",0},
6358 { "_wxCoord","_unsigned_int",0},
6359 { "_wxCoord","_wxWindowID",0},
6360 { "_wxCoord","_uint",0},
6361 { "_wxCoord","_EBool",0},
6362 { "_wxCoord","_size_t",0},
6363 { "_wxCoord","_time_t",0},
6364 { "_wxCoord","_wxPrintQuality",0},
6365 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6366 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6367 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6370 static PyObject
*SWIG_globals
;
6374 SWIGEXPORT(void) inithtmlc() {
6376 SWIG_globals
= SWIG_newvarlink();
6377 m
= Py_InitModule("htmlc", htmlcMethods
);
6378 d
= PyModule_GetDict(m
);
6379 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6380 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6381 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6382 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6383 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6384 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6385 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6386 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6387 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6388 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6389 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6390 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6391 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6392 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6393 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6394 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6395 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6396 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6397 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6398 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6399 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6400 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6405 wxClassInfo::CleanUpClasses();
6406 wxClassInfo::InitializeClasses();
6408 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6409 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6410 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6413 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6414 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);