2 * FILE : src/msw/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlc
56 #define SWIG_name "htmlc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/htmprint.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 #if PYTHON_API_VERSION >= 1009
96 static char* wxStringErrorMsg
= "String or Unicode type required";
98 static char* wxStringErrorMsg
= "String type required";
101 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
102 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
104 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
106 wxHtmlParser
* GetParser() { return m_Parser
; }
107 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
109 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
110 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
115 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
117 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
118 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
120 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
121 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
123 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
125 wxHtmlWinParser
* GetParser() { return m_WParser
; }
126 void ParseInner(const wxHtmlTag
& tag
)
127 { wxHtmlWinTagHandler::ParseInner(tag
); }
129 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
130 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
135 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
137 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
138 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
141 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
143 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
144 m_tagHandlerClass
= thc
;
145 Py_INCREF(m_tagHandlerClass
);
146 RegisterModule(this);
147 wxHtmlWinParser::AddModule(this);
151 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
) {};
204 wxPyHtmlWindow() : wxHtmlWindow() {};
206 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
207 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
209 DEC_PYCALLBACK__STRING(OnSetTitle
);
210 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
211 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
215 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
216 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
217 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
218 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
221 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
223 wxPyTState
* state
= wxPyBeginBlockThreads();
224 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
225 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
226 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
229 wxPyEndBlockThreads(state
);
231 wxHtmlWindow::OnLinkClicked(link
);
233 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
234 wxHtmlWindow::OnLinkClicked(link
);
238 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
239 wxHtmlWindow::AddFilter(filter
);
242 extern "C" SWIGEXPORT(void) inithtmlhelpc();
246 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
249 PyObject
* _obj0
= 0;
250 char *_kwnames
[] = { "tagHandlerClass", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
259 wxPy_BEGIN_ALLOW_THREADS
;
260 wxHtmlWinParser_AddTagHandler(_arg0
);
262 wxPy_END_ALLOW_THREADS
;
263 } Py_INCREF(Py_None
);
264 _resultobj
= Py_None
;
268 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
270 wxHtmlFilter
* _arg0
;
271 PyObject
* _argo0
= 0;
272 char *_kwnames
[] = { "filter", NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
285 wxPy_BEGIN_ALLOW_THREADS
;
286 wxHtmlWindow_AddFilter(_arg0
);
288 wxPy_END_ALLOW_THREADS
;
289 } Py_INCREF(Py_None
);
290 _resultobj
= Py_None
;
294 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
297 src
= (wxHtmlLinkInfo
*) ptr
;
298 dest
= (wxObject
*) src
;
299 return (void *) dest
;
302 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
303 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
305 wxHtmlLinkInfo
* _result
;
307 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
308 PyObject
* _obj0
= 0;
309 PyObject
* _obj1
= 0;
310 char *_kwnames
[] = { "href","target", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
317 #if PYTHON_API_VERSION >= 1009
318 char* tmpPtr
; int tmpSize
;
319 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
323 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
325 _arg0
= new wxString(tmpPtr
, tmpSize
);
327 if (!PyString_Check(_obj0
)) {
328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
331 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
336 #if PYTHON_API_VERSION >= 1009
337 char* tmpPtr
; int tmpSize
;
338 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
342 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
344 _arg1
= new wxString(tmpPtr
, tmpSize
);
346 if (!PyString_Check(_obj1
)) {
347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
350 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
354 wxPy_BEGIN_ALLOW_THREADS
;
355 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
357 wxPy_END_ALLOW_THREADS
;
359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
360 _resultobj
= Py_BuildValue("s",_ptemp
);
363 _resultobj
= Py_None
;
376 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
377 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
380 wxHtmlLinkInfo
* _arg0
;
381 PyObject
* _argo0
= 0;
382 char *_kwnames
[] = { "self", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
395 wxPy_BEGIN_ALLOW_THREADS
;
396 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
398 wxPy_END_ALLOW_THREADS
;
400 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
408 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
409 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 PyObject
* _resultobj
;
412 wxHtmlLinkInfo
* _arg0
;
413 PyObject
* _argo0
= 0;
414 char *_kwnames
[] = { "self", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
427 wxPy_BEGIN_ALLOW_THREADS
;
428 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
430 wxPy_END_ALLOW_THREADS
;
432 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
440 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
441 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
443 wxMouseEvent
* _result
;
444 wxHtmlLinkInfo
* _arg0
;
445 PyObject
* _argo0
= 0;
446 char *_kwnames
[] = { "self", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
459 wxPy_BEGIN_ALLOW_THREADS
;
460 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
462 wxPy_END_ALLOW_THREADS
;
463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
467 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
468 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
469 PyObject
* _resultobj
;
470 wxHtmlCell
* _result
;
471 wxHtmlLinkInfo
* _arg0
;
472 PyObject
* _argo0
= 0;
473 char *_kwnames
[] = { "self", NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
487 wxPy_BEGIN_ALLOW_THREADS
;
488 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
490 wxPy_END_ALLOW_THREADS
;
492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
493 _resultobj
= Py_BuildValue("s",_ptemp
);
496 _resultobj
= Py_None
;
501 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
502 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
504 wxHtmlLinkInfo
* _arg0
;
505 wxMouseEvent
* _arg1
;
506 PyObject
* _argo0
= 0;
507 PyObject
* _argo1
= 0;
508 char *_kwnames
[] = { "self","e", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
528 wxPy_BEGIN_ALLOW_THREADS
;
529 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
531 wxPy_END_ALLOW_THREADS
;
532 } Py_INCREF(Py_None
);
533 _resultobj
= Py_None
;
537 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
538 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
540 wxHtmlLinkInfo
* _arg0
;
542 PyObject
* _argo0
= 0;
543 PyObject
* _argo1
= 0;
544 char *_kwnames
[] = { "self","e", NULL
};
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
567 wxPy_END_ALLOW_THREADS
;
568 } Py_INCREF(Py_None
);
569 _resultobj
= Py_None
;
573 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
576 src
= (wxHtmlTag
*) ptr
;
577 dest
= (wxObject
*) src
;
578 return (void *) dest
;
581 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
582 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
583 PyObject
* _resultobj
;
586 PyObject
* _argo0
= 0;
587 char *_kwnames
[] = { "self", NULL
};
590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
603 wxPy_END_ALLOW_THREADS
;
605 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
613 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
614 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 PyObject
* _obj1
= 0;
621 char *_kwnames
[] = { "self","par", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
634 #if PYTHON_API_VERSION >= 1009
635 char* tmpPtr
; int tmpSize
;
636 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
640 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
642 _arg1
= new wxString(tmpPtr
, tmpSize
);
644 if (!PyString_Check(_obj1
)) {
645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
648 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
652 wxPy_BEGIN_ALLOW_THREADS
;
653 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
655 wxPy_END_ALLOW_THREADS
;
656 } _resultobj
= Py_BuildValue("i",_result
);
664 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
665 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
670 int _arg2
= (int ) FALSE
;
671 PyObject
* _argo0
= 0;
672 PyObject
* _obj1
= 0;
673 char *_kwnames
[] = { "self","par","with_commas", NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
686 #if PYTHON_API_VERSION >= 1009
687 char* tmpPtr
; int tmpSize
;
688 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
692 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
694 _arg1
= new wxString(tmpPtr
, tmpSize
);
696 if (!PyString_Check(_obj1
)) {
697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
700 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
704 wxPy_BEGIN_ALLOW_THREADS
;
705 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
707 wxPy_END_ALLOW_THREADS
;
709 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
721 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
722 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
726 PyObject
* _argo0
= 0;
727 char *_kwnames
[] = { "self", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
740 wxPy_BEGIN_ALLOW_THREADS
;
741 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
743 wxPy_END_ALLOW_THREADS
;
745 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
753 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
754 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
758 PyObject
* _argo0
= 0;
759 char *_kwnames
[] = { "self", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
775 wxPy_END_ALLOW_THREADS
;
776 } _resultobj
= Py_BuildValue("i",_result
);
780 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
781 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 PyObject
* _resultobj
;
785 PyObject
* _argo0
= 0;
786 char *_kwnames
[] = { "self", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
799 wxPy_BEGIN_ALLOW_THREADS
;
800 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
802 wxPy_END_ALLOW_THREADS
;
803 } _resultobj
= Py_BuildValue("i",_result
);
807 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
808 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
835 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
839 PyObject
* _argo0
= 0;
840 char *_kwnames
[] = { "self", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
853 wxPy_BEGIN_ALLOW_THREADS
;
854 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
856 wxPy_END_ALLOW_THREADS
;
857 } _resultobj
= Py_BuildValue("i",_result
);
861 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
864 src
= (wxHtmlParser
*) ptr
;
865 dest
= (wxObject
*) src
;
866 return (void *) dest
;
869 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
870 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
872 wxHtmlParser
* _arg0
;
873 wxFileSystem
* _arg1
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _argo1
= 0;
876 char *_kwnames
[] = { "self","fs", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 wxHtmlParser_SetFS(_arg0
,_arg1
);
899 wxPy_END_ALLOW_THREADS
;
900 } Py_INCREF(Py_None
);
901 _resultobj
= Py_None
;
905 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
906 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxFileSystem
* _result
;
909 wxHtmlParser
* _arg0
;
910 PyObject
* _argo0
= 0;
911 char *_kwnames
[] = { "self", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
924 wxPy_BEGIN_ALLOW_THREADS
;
925 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
927 wxPy_END_ALLOW_THREADS
;
928 }{ _resultobj
= wxPyMake_wxObject(_result
); }
932 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
933 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
936 wxHtmlParser
* _arg0
;
938 PyObject
* _argo0
= 0;
939 PyObject
* _obj1
= 0;
940 char *_kwnames
[] = { "self","source", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
953 #if PYTHON_API_VERSION >= 1009
954 char* tmpPtr
; int tmpSize
;
955 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
959 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
961 _arg1
= new wxString(tmpPtr
, tmpSize
);
963 if (!PyString_Check(_obj1
)) {
964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
967 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
974 wxPy_END_ALLOW_THREADS
;
975 }{ _resultobj
= wxPyMake_wxObject(_result
); }
983 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
984 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
986 wxHtmlParser
* _arg0
;
988 PyObject
* _argo0
= 0;
989 PyObject
* _obj1
= 0;
990 char *_kwnames
[] = { "self","source", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1003 #if PYTHON_API_VERSION >= 1009
1004 char* tmpPtr
; int tmpSize
;
1005 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1009 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1011 _arg1
= new wxString(tmpPtr
, tmpSize
);
1013 if (!PyString_Check(_obj1
)) {
1014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1017 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } Py_INCREF(Py_None
);
1026 _resultobj
= Py_None
;
1034 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1035 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1037 wxHtmlParser
* _arg0
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 wxHtmlParser_DoneParser(_arg0
);
1055 wxPy_END_ALLOW_THREADS
;
1056 } Py_INCREF(Py_None
);
1057 _resultobj
= Py_None
;
1061 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1062 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1064 wxHtmlParser
* _arg0
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1090 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1091 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1093 wxHtmlParser
* _arg0
;
1094 wxHtmlTagHandler
* _arg1
;
1095 PyObject
* _argo0
= 0;
1096 PyObject
* _argo1
= 0;
1097 char *_kwnames
[] = { "self","handler", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1120 wxPy_END_ALLOW_THREADS
;
1121 } Py_INCREF(Py_None
);
1122 _resultobj
= Py_None
;
1126 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1127 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1130 wxHtmlParser
* _arg0
;
1131 PyObject
* _argo0
= 0;
1132 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1148 wxPy_END_ALLOW_THREADS
;
1150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1155 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1156 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1158 wxHtmlParser
* _arg0
;
1159 wxHtmlTagHandler
* _arg1
;
1161 PyObject
* _argo0
= 0;
1162 PyObject
* _argo1
= 0;
1163 PyObject
* _obj2
= 0;
1164 char *_kwnames
[] = { "self","handler","tags", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1184 #if PYTHON_API_VERSION >= 1009
1185 char* tmpPtr
; int tmpSize
;
1186 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1187 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1190 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1192 _arg2
= new wxString(tmpPtr
, tmpSize
);
1194 if (!PyString_Check(_obj2
)) {
1195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1198 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1205 wxPy_END_ALLOW_THREADS
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1215 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1216 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1218 wxHtmlParser
* _arg0
;
1219 PyObject
* _argo0
= 0;
1220 char *_kwnames
[] = { "self", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 wxHtmlParser_PopTagHandler(_arg0
);
1236 wxPy_END_ALLOW_THREADS
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1242 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1243 wxHtmlWinParser
*src
;
1245 src
= (wxHtmlWinParser
*) ptr
;
1246 dest
= (wxHtmlParser
*) src
;
1247 return (void *) dest
;
1250 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1251 wxHtmlWinParser
*src
;
1253 src
= (wxHtmlWinParser
*) ptr
;
1254 dest
= (wxObject
*) src
;
1255 return (void *) dest
;
1258 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1259 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1261 wxHtmlWinParser
* _result
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "wnd", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1281 wxPy_END_ALLOW_THREADS
;
1283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1284 _resultobj
= Py_BuildValue("s",_ptemp
);
1287 _resultobj
= Py_None
;
1292 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1293 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1295 wxHtmlWinParser
* _arg0
;
1297 PyObject
* _argo0
= 0;
1298 PyObject
* _argo1
= 0;
1299 char *_kwnames
[] = { "self","dc", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1328 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1329 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1332 wxHtmlWinParser
* _arg0
;
1333 PyObject
* _argo0
= 0;
1334 char *_kwnames
[] = { "self", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1350 wxPy_END_ALLOW_THREADS
;
1351 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1355 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1356 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 wxHtmlWinParser
* _arg0
;
1360 PyObject
* _argo0
= 0;
1361 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1377 wxPy_END_ALLOW_THREADS
;
1378 } _resultobj
= Py_BuildValue("i",_result
);
1382 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1383 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1386 wxHtmlWinParser
* _arg0
;
1387 PyObject
* _argo0
= 0;
1388 char *_kwnames
[] = { "self", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1404 wxPy_END_ALLOW_THREADS
;
1405 } _resultobj
= Py_BuildValue("i",_result
);
1409 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1410 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1413 wxHtmlWinParser
* _arg0
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1431 wxPy_END_ALLOW_THREADS
;
1432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1436 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1437 int* temp
= int_LIST_helper(sizes
);
1439 self
->SetFonts(normal_face
, fixed_face
, temp
);
1443 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1445 wxHtmlWinParser
* _arg0
;
1449 PyObject
* _argo0
= 0;
1450 PyObject
* _obj1
= 0;
1451 PyObject
* _obj2
= 0;
1452 PyObject
* _obj3
= 0;
1453 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1466 #if PYTHON_API_VERSION >= 1009
1467 char* tmpPtr
; int tmpSize
;
1468 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1472 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1474 _arg1
= new wxString(tmpPtr
, tmpSize
);
1476 if (!PyString_Check(_obj1
)) {
1477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1480 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1484 #if PYTHON_API_VERSION >= 1009
1485 char* tmpPtr
; int tmpSize
;
1486 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1490 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1492 _arg2
= new wxString(tmpPtr
, tmpSize
);
1494 if (!PyString_Check(_obj2
)) {
1495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1498 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1508 wxPy_END_ALLOW_THREADS
;
1509 } Py_INCREF(Py_None
);
1510 _resultobj
= Py_None
;
1522 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1523 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1525 wxHtmlContainerCell
* _result
;
1526 wxHtmlWinParser
* _arg0
;
1527 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1545 wxPy_END_ALLOW_THREADS
;
1547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1548 _resultobj
= Py_BuildValue("s",_ptemp
);
1551 _resultobj
= Py_None
;
1556 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1557 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxHtmlContainerCell
* _result
;
1560 wxHtmlWinParser
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1579 wxPy_END_ALLOW_THREADS
;
1581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1582 _resultobj
= Py_BuildValue("s",_ptemp
);
1585 _resultobj
= Py_None
;
1590 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1591 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1593 wxHtmlContainerCell
* _result
;
1594 wxHtmlWinParser
* _arg0
;
1595 wxHtmlContainerCell
* _arg1
;
1596 PyObject
* _argo0
= 0;
1597 PyObject
* _argo1
= 0;
1598 char *_kwnames
[] = { "self","c", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1622 wxPy_END_ALLOW_THREADS
;
1624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1625 _resultobj
= Py_BuildValue("s",_ptemp
);
1628 _resultobj
= Py_None
;
1633 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1634 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1636 wxHtmlContainerCell
* _result
;
1637 wxHtmlWinParser
* _arg0
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1656 wxPy_END_ALLOW_THREADS
;
1658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1659 _resultobj
= Py_BuildValue("s",_ptemp
);
1662 _resultobj
= Py_None
;
1667 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1668 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1671 wxHtmlWinParser
* _arg0
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1686 wxPy_BEGIN_ALLOW_THREADS
;
1687 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1689 wxPy_END_ALLOW_THREADS
;
1690 } _resultobj
= Py_BuildValue("i",_result
);
1694 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1695 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1697 wxHtmlWinParser
* _arg0
;
1699 PyObject
* _argo0
= 0;
1700 char *_kwnames
[] = { "self","s", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1713 wxPy_BEGIN_ALLOW_THREADS
;
1714 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1716 wxPy_END_ALLOW_THREADS
;
1717 } Py_INCREF(Py_None
);
1718 _resultobj
= Py_None
;
1722 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1723 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 wxHtmlWinParser
* _arg0
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1744 wxPy_END_ALLOW_THREADS
;
1745 } _resultobj
= Py_BuildValue("i",_result
);
1749 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1750 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 wxHtmlWinParser
* _arg0
;
1754 PyObject
* _argo0
= 0;
1755 char *_kwnames
[] = { "self","x", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1771 wxPy_END_ALLOW_THREADS
;
1772 } Py_INCREF(Py_None
);
1773 _resultobj
= Py_None
;
1777 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1778 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 wxHtmlWinParser
* _arg0
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1796 wxPy_BEGIN_ALLOW_THREADS
;
1797 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1799 wxPy_END_ALLOW_THREADS
;
1800 } _resultobj
= Py_BuildValue("i",_result
);
1804 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1805 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1807 wxHtmlWinParser
* _arg0
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self","x", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1826 wxPy_END_ALLOW_THREADS
;
1827 } Py_INCREF(Py_None
);
1828 _resultobj
= Py_None
;
1832 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1833 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1836 wxHtmlWinParser
* _arg0
;
1837 PyObject
* _argo0
= 0;
1838 char *_kwnames
[] = { "self", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } _resultobj
= Py_BuildValue("i",_result
);
1859 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1860 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1862 wxHtmlWinParser
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self","x", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1881 wxPy_END_ALLOW_THREADS
;
1882 } Py_INCREF(Py_None
);
1883 _resultobj
= Py_None
;
1887 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1888 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1891 wxHtmlWinParser
* _arg0
;
1892 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } _resultobj
= Py_BuildValue("i",_result
);
1914 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1915 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1917 wxHtmlWinParser
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self","x", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } Py_INCREF(Py_None
);
1938 _resultobj
= Py_None
;
1942 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1943 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 wxHtmlWinParser
* _arg0
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1970 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1972 wxHtmlWinParser
* _arg0
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self","a", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } Py_INCREF(Py_None
);
1993 _resultobj
= Py_None
;
1997 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1998 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2001 wxHtmlWinParser
* _arg0
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2020 wxPy_END_ALLOW_THREADS
;
2021 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2022 _resultobj
= Py_BuildValue("s",_ptemp
);
2026 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2027 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2029 wxHtmlWinParser
* _arg0
;
2031 PyObject
* _argo0
= 0;
2033 PyObject
* _obj1
= 0;
2034 char *_kwnames
[] = { "self","clr", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2048 if (! wxColour_helper(_obj1
, &_arg1
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2053 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2055 wxPy_END_ALLOW_THREADS
;
2056 } Py_INCREF(Py_None
);
2057 _resultobj
= Py_None
;
2061 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2062 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 wxHtmlWinParser
* _arg0
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2084 wxPy_END_ALLOW_THREADS
;
2085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2086 _resultobj
= Py_BuildValue("s",_ptemp
);
2090 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2091 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2093 wxHtmlWinParser
* _arg0
;
2095 PyObject
* _argo0
= 0;
2097 PyObject
* _obj1
= 0;
2098 char *_kwnames
[] = { "self","clr", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2112 if (! wxColour_helper(_obj1
, &_arg1
))
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2126 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2128 wxHtmlWinParser
* _arg0
;
2130 PyObject
* _argo0
= 0;
2131 PyObject
* _obj1
= 0;
2132 char *_kwnames
[] = { "self","link", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2145 #if PYTHON_API_VERSION >= 1009
2146 char* tmpPtr
; int tmpSize
;
2147 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2151 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2153 _arg1
= new wxString(tmpPtr
, tmpSize
);
2155 if (!PyString_Check(_obj1
)) {
2156 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2159 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2166 wxPy_END_ALLOW_THREADS
;
2167 } Py_INCREF(Py_None
);
2168 _resultobj
= Py_None
;
2176 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2177 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 wxHtmlWinParser
* _arg0
;
2181 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2199 wxPy_END_ALLOW_THREADS
;
2201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2202 _resultobj
= Py_BuildValue("s",_ptemp
);
2205 _resultobj
= Py_None
;
2210 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2211 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2213 wxHtmlLinkInfo
* _result
;
2214 wxHtmlWinParser
* _arg0
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2233 wxPy_END_ALLOW_THREADS
;
2234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2235 _resultobj
= Py_BuildValue("s",_ptemp
);
2239 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2240 wxPyHtmlTagHandler
*src
;
2242 src
= (wxPyHtmlTagHandler
*) ptr
;
2243 dest
= (wxObject
*) src
;
2244 return (void *) dest
;
2247 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2248 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxPyHtmlTagHandler
* _result
;
2251 char *_kwnames
[] = { NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2261 wxPy_END_ALLOW_THREADS
;
2263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2264 _resultobj
= Py_BuildValue("s",_ptemp
);
2267 _resultobj
= Py_None
;
2272 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2273 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2275 wxPyHtmlTagHandler
* _arg0
;
2278 PyObject
* _argo0
= 0;
2279 PyObject
* _obj1
= 0;
2280 PyObject
* _obj2
= 0;
2281 char *_kwnames
[] = { "self","self","_class", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } Py_INCREF(Py_None
);
2305 _resultobj
= Py_None
;
2309 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2310 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2312 wxPyHtmlTagHandler
* _arg0
;
2313 wxHtmlParser
* _arg1
;
2314 PyObject
* _argo0
= 0;
2315 PyObject
* _argo1
= 0;
2316 char *_kwnames
[] = { "self","parser", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2346 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2348 wxHtmlParser
* _result
;
2349 wxPyHtmlTagHandler
* _arg0
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2368 wxPy_END_ALLOW_THREADS
;
2370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2371 _resultobj
= Py_BuildValue("s",_ptemp
);
2374 _resultobj
= Py_None
;
2379 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2380 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2382 wxPyHtmlTagHandler
* _arg0
;
2384 PyObject
* _argo0
= 0;
2385 PyObject
* _argo1
= 0;
2386 char *_kwnames
[] = { "self","tag", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2416 wxPyHtmlWinTagHandler
*src
;
2417 wxPyHtmlTagHandler
*dest
;
2418 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2419 dest
= (wxPyHtmlTagHandler
*) src
;
2420 return (void *) dest
;
2423 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2424 wxPyHtmlWinTagHandler
*src
;
2426 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2427 dest
= (wxObject
*) src
;
2428 return (void *) dest
;
2431 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2432 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2434 wxPyHtmlWinTagHandler
* _result
;
2435 char *_kwnames
[] = { NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2445 wxPy_END_ALLOW_THREADS
;
2447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2448 _resultobj
= Py_BuildValue("s",_ptemp
);
2451 _resultobj
= Py_None
;
2456 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2457 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2459 wxPyHtmlWinTagHandler
* _arg0
;
2462 PyObject
* _argo0
= 0;
2463 PyObject
* _obj1
= 0;
2464 PyObject
* _obj2
= 0;
2465 char *_kwnames
[] = { "self","self","_class", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2484 wxPy_BEGIN_ALLOW_THREADS
;
2485 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2487 wxPy_END_ALLOW_THREADS
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2494 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2496 wxPyHtmlWinTagHandler
* _arg0
;
2497 wxHtmlParser
* _arg1
;
2498 PyObject
* _argo0
= 0;
2499 PyObject
* _argo1
= 0;
2500 char *_kwnames
[] = { "self","parser", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2520 wxPy_BEGIN_ALLOW_THREADS
;
2521 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2523 wxPy_END_ALLOW_THREADS
;
2524 } Py_INCREF(Py_None
);
2525 _resultobj
= Py_None
;
2529 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2530 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2532 wxHtmlWinParser
* _result
;
2533 wxPyHtmlWinTagHandler
* _arg0
;
2534 PyObject
* _argo0
= 0;
2535 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2552 wxPy_END_ALLOW_THREADS
;
2554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2555 _resultobj
= Py_BuildValue("s",_ptemp
);
2558 _resultobj
= Py_None
;
2563 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2564 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
* _resultobj
;
2566 wxPyHtmlWinTagHandler
* _arg0
;
2568 PyObject
* _argo0
= 0;
2569 PyObject
* _argo1
= 0;
2570 char *_kwnames
[] = { "self","tag", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2602 src
= (wxHtmlCell
*) ptr
;
2603 dest
= (wxObject
*) src
;
2604 return (void *) dest
;
2607 #define new_wxHtmlCell() (new wxHtmlCell())
2608 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2610 wxHtmlCell
* _result
;
2611 char *_kwnames
[] = { NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2621 wxPy_END_ALLOW_THREADS
;
2623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2624 _resultobj
= Py_BuildValue("s",_ptemp
);
2627 _resultobj
= Py_None
;
2632 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2633 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2637 PyObject
* _argo0
= 0;
2638 char *_kwnames
[] = { "self", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2654 wxPy_END_ALLOW_THREADS
;
2655 } _resultobj
= Py_BuildValue("i",_result
);
2659 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2660 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2681 wxPy_END_ALLOW_THREADS
;
2682 } _resultobj
= Py_BuildValue("i",_result
);
2686 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2687 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2691 PyObject
* _argo0
= 0;
2692 char *_kwnames
[] = { "self", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2705 wxPy_BEGIN_ALLOW_THREADS
;
2706 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2708 wxPy_END_ALLOW_THREADS
;
2709 } _resultobj
= Py_BuildValue("i",_result
);
2713 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2714 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2718 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "self", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } _resultobj
= Py_BuildValue("i",_result
);
2740 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2741 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2745 PyObject
* _argo0
= 0;
2746 char *_kwnames
[] = { "self", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2768 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2770 wxHtmlLinkInfo
* _result
;
2772 int _arg1
= (int ) 0;
2773 int _arg2
= (int ) 0;
2774 PyObject
* _argo0
= 0;
2775 char *_kwnames
[] = { "self","x","y", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2792 wxPy_END_ALLOW_THREADS
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2804 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2806 wxHtmlCell
* _result
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2826 wxPy_END_ALLOW_THREADS
;
2828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2829 _resultobj
= Py_BuildValue("s",_ptemp
);
2832 _resultobj
= Py_None
;
2837 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2838 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2840 wxHtmlContainerCell
* _result
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2860 wxPy_END_ALLOW_THREADS
;
2862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2863 _resultobj
= Py_BuildValue("s",_ptemp
);
2866 _resultobj
= Py_None
;
2871 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2872 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2875 wxHtmlLinkInfo
* _arg1
;
2876 PyObject
* _argo0
= 0;
2877 PyObject
* _argo1
= 0;
2878 char *_kwnames
[] = { "self","link", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2901 wxPy_END_ALLOW_THREADS
;
2902 } Py_INCREF(Py_None
);
2903 _resultobj
= Py_None
;
2907 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2908 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2913 PyObject
* _argo1
= 0;
2914 char *_kwnames
[] = { "self","cell", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2934 wxPy_BEGIN_ALLOW_THREADS
;
2935 wxHtmlCell_SetNext(_arg0
,_arg1
);
2937 wxPy_END_ALLOW_THREADS
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2944 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 wxHtmlContainerCell
* _arg1
;
2948 PyObject
* _argo0
= 0;
2949 PyObject
* _argo1
= 0;
2950 char *_kwnames
[] = { "self","p", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 wxHtmlCell_SetParent(_arg0
,_arg1
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2980 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self","x","y", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3008 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3009 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self","w", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 wxHtmlCell_Layout(_arg0
,_arg1
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3037 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3045 PyObject
* _argo0
= 0;
3046 PyObject
* _argo1
= 0;
3047 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3070 wxPy_END_ALLOW_THREADS
;
3071 } Py_INCREF(Py_None
);
3072 _resultobj
= Py_None
;
3076 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3077 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3083 PyObject
* _argo0
= 0;
3084 PyObject
* _argo1
= 0;
3085 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3098 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3108 wxPy_END_ALLOW_THREADS
;
3109 } Py_INCREF(Py_None
);
3110 _resultobj
= Py_None
;
3114 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3115 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3117 wxHtmlCell
* _result
;
3121 PyObject
* _argo0
= 0;
3122 PyObject
* _argo2
= 0;
3123 char *_kwnames
[] = { "self","condition","param", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3137 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3144 wxPy_BEGIN_ALLOW_THREADS
;
3145 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3147 wxPy_END_ALLOW_THREADS
;
3149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3150 _resultobj
= Py_BuildValue("s",_ptemp
);
3153 _resultobj
= Py_None
;
3158 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3159 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3164 PyObject
* _argo0
= 0;
3165 PyObject
* _argo1
= 0;
3166 char *_kwnames
[] = { "self","pagebreak", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3186 wxPy_BEGIN_ALLOW_THREADS
;
3187 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3189 wxPy_END_ALLOW_THREADS
;
3190 } _resultobj
= Py_BuildValue("i",_result
);
3194 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3195 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3199 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "self","can", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3213 _arg1
= (bool ) tempbool1
;
3215 wxPy_BEGIN_ALLOW_THREADS
;
3216 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3218 wxPy_END_ALLOW_THREADS
;
3219 } Py_INCREF(Py_None
);
3220 _resultobj
= Py_None
;
3224 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3225 wxHtmlWordCell
*src
;
3227 src
= (wxHtmlWordCell
*) ptr
;
3228 dest
= (wxHtmlCell
*) src
;
3229 return (void *) dest
;
3232 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3233 wxHtmlWordCell
*src
;
3235 src
= (wxHtmlWordCell
*) ptr
;
3236 dest
= (wxObject
*) src
;
3237 return (void *) dest
;
3240 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3241 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3243 wxHtmlWordCell
* _result
;
3246 PyObject
* _obj0
= 0;
3247 PyObject
* _argo1
= 0;
3248 char *_kwnames
[] = { "word","dc", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3255 #if PYTHON_API_VERSION >= 1009
3256 char* tmpPtr
; int tmpSize
;
3257 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3261 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3263 _arg0
= new wxString(tmpPtr
, tmpSize
);
3265 if (!PyString_Check(_obj0
)) {
3266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3269 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3280 wxPy_BEGIN_ALLOW_THREADS
;
3281 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3283 wxPy_END_ALLOW_THREADS
;
3285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3286 _resultobj
= Py_BuildValue("s",_ptemp
);
3289 _resultobj
= Py_None
;
3298 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3299 wxHtmlContainerCell
*src
;
3301 src
= (wxHtmlContainerCell
*) ptr
;
3302 dest
= (wxHtmlCell
*) src
;
3303 return (void *) dest
;
3306 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3307 wxHtmlContainerCell
*src
;
3309 src
= (wxHtmlContainerCell
*) ptr
;
3310 dest
= (wxObject
*) src
;
3311 return (void *) dest
;
3314 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3315 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3317 wxHtmlContainerCell
* _result
;
3318 wxHtmlContainerCell
* _arg0
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "parent", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3337 wxPy_END_ALLOW_THREADS
;
3339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3340 _resultobj
= Py_BuildValue("s",_ptemp
);
3343 _resultobj
= Py_None
;
3348 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3349 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3351 wxHtmlContainerCell
* _arg0
;
3353 PyObject
* _argo0
= 0;
3354 PyObject
* _argo1
= 0;
3355 char *_kwnames
[] = { "self","cell", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3385 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3387 wxHtmlContainerCell
* _arg0
;
3389 PyObject
* _argo0
= 0;
3390 char *_kwnames
[] = { "self","al", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3403 wxPy_BEGIN_ALLOW_THREADS
;
3404 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3406 wxPy_END_ALLOW_THREADS
;
3407 } Py_INCREF(Py_None
);
3408 _resultobj
= Py_None
;
3412 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3413 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3416 wxHtmlContainerCell
* _arg0
;
3417 PyObject
* _argo0
= 0;
3418 char *_kwnames
[] = { "self", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3434 wxPy_END_ALLOW_THREADS
;
3435 } _resultobj
= Py_BuildValue("i",_result
);
3439 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3440 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxHtmlContainerCell
* _arg0
;
3444 PyObject
* _argo0
= 0;
3445 char *_kwnames
[] = { "self","al", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3458 wxPy_BEGIN_ALLOW_THREADS
;
3459 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3461 wxPy_END_ALLOW_THREADS
;
3462 } Py_INCREF(Py_None
);
3463 _resultobj
= Py_None
;
3467 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3468 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3471 wxHtmlContainerCell
* _arg0
;
3472 PyObject
* _argo0
= 0;
3473 char *_kwnames
[] = { "self", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3489 wxPy_END_ALLOW_THREADS
;
3490 } _resultobj
= Py_BuildValue("i",_result
);
3494 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3495 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3497 wxHtmlContainerCell
* _arg0
;
3500 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3501 PyObject
* _argo0
= 0;
3502 char *_kwnames
[] = { "self","i","what","units", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3518 wxPy_END_ALLOW_THREADS
;
3519 } Py_INCREF(Py_None
);
3520 _resultobj
= Py_None
;
3524 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3525 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3528 wxHtmlContainerCell
* _arg0
;
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self","ind", NULL
};
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3544 wxPy_BEGIN_ALLOW_THREADS
;
3545 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3547 wxPy_END_ALLOW_THREADS
;
3548 } _resultobj
= Py_BuildValue("i",_result
);
3552 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3553 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxHtmlContainerCell
* _arg0
;
3558 PyObject
* _argo0
= 0;
3559 char *_kwnames
[] = { "self","ind", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3575 wxPy_END_ALLOW_THREADS
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3581 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxHtmlContainerCell
* _arg0
;
3585 PyObject
* _argo0
= 0;
3586 PyObject
* _argo1
= 0;
3587 char *_kwnames
[] = { "self","tag", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3607 wxPy_BEGIN_ALLOW_THREADS
;
3608 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3610 wxPy_END_ALLOW_THREADS
;
3611 } Py_INCREF(Py_None
);
3612 _resultobj
= Py_None
;
3616 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3617 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3619 wxHtmlContainerCell
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self","w","units", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3636 wxPy_BEGIN_ALLOW_THREADS
;
3637 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3639 wxPy_END_ALLOW_THREADS
;
3640 } Py_INCREF(Py_None
);
3641 _resultobj
= Py_None
;
3645 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3646 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3648 wxHtmlContainerCell
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 PyObject
* _argo1
= 0;
3652 char *_kwnames
[] = { "self","tag", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3682 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3684 wxHtmlContainerCell
* _arg0
;
3686 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self","h","align", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3701 wxPy_BEGIN_ALLOW_THREADS
;
3702 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3704 wxPy_END_ALLOW_THREADS
;
3705 } Py_INCREF(Py_None
);
3706 _resultobj
= Py_None
;
3710 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3711 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3713 wxHtmlContainerCell
* _arg0
;
3715 PyObject
* _argo0
= 0;
3717 PyObject
* _obj1
= 0;
3718 char *_kwnames
[] = { "self","clr", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3732 if (! wxColour_helper(_obj1
, &_arg1
))
3736 wxPy_BEGIN_ALLOW_THREADS
;
3737 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3739 wxPy_END_ALLOW_THREADS
;
3740 } Py_INCREF(Py_None
);
3741 _resultobj
= Py_None
;
3745 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3746 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxHtmlContainerCell
* _arg0
;
3751 PyObject
* _argo0
= 0;
3753 PyObject
* _obj1
= 0;
3755 PyObject
* _obj2
= 0;
3756 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3770 if (! wxColour_helper(_obj1
, &_arg1
))
3775 if (! wxColour_helper(_obj2
, &_arg2
))
3779 wxPy_BEGIN_ALLOW_THREADS
;
3780 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3782 wxPy_END_ALLOW_THREADS
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3789 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxHtmlCell
* _result
;
3792 wxHtmlContainerCell
* _arg0
;
3793 PyObject
* _argo0
= 0;
3794 char *_kwnames
[] = { "self", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3811 wxPy_END_ALLOW_THREADS
;
3813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3814 _resultobj
= Py_BuildValue("s",_ptemp
);
3817 _resultobj
= Py_None
;
3822 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3823 wxHtmlColourCell
*src
;
3825 src
= (wxHtmlColourCell
*) ptr
;
3826 dest
= (wxHtmlCell
*) src
;
3827 return (void *) dest
;
3830 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3831 wxHtmlColourCell
*src
;
3833 src
= (wxHtmlColourCell
*) ptr
;
3834 dest
= (wxObject
*) src
;
3835 return (void *) dest
;
3838 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3839 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3841 wxHtmlColourCell
* _result
;
3843 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3845 PyObject
* _obj0
= 0;
3846 char *_kwnames
[] = { "clr","flags", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3854 if (! wxColour_helper(_obj0
, &_arg0
))
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3861 wxPy_END_ALLOW_THREADS
;
3863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3864 _resultobj
= Py_BuildValue("s",_ptemp
);
3867 _resultobj
= Py_None
;
3872 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3873 wxHtmlFontCell
*src
;
3875 src
= (wxHtmlFontCell
*) ptr
;
3876 dest
= (wxHtmlCell
*) src
;
3877 return (void *) dest
;
3880 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3881 wxHtmlFontCell
*src
;
3883 src
= (wxHtmlFontCell
*) ptr
;
3884 dest
= (wxObject
*) src
;
3885 return (void *) dest
;
3888 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3889 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3891 wxHtmlFontCell
* _result
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "font", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3908 wxPy_BEGIN_ALLOW_THREADS
;
3909 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3911 wxPy_END_ALLOW_THREADS
;
3913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3914 _resultobj
= Py_BuildValue("s",_ptemp
);
3917 _resultobj
= Py_None
;
3922 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3923 wxHtmlWidgetCell
*src
;
3925 src
= (wxHtmlWidgetCell
*) ptr
;
3926 dest
= (wxHtmlCell
*) src
;
3927 return (void *) dest
;
3930 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3931 wxHtmlWidgetCell
*src
;
3933 src
= (wxHtmlWidgetCell
*) ptr
;
3934 dest
= (wxObject
*) src
;
3935 return (void *) dest
;
3938 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3939 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3941 wxHtmlWidgetCell
* _result
;
3943 int _arg1
= (int ) 0;
3944 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "wnd","w", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3962 wxPy_END_ALLOW_THREADS
;
3964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3965 _resultobj
= Py_BuildValue("s",_ptemp
);
3968 _resultobj
= Py_None
;
3973 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3974 wxPyHtmlWindow
*src
;
3975 wxScrolledWindow
*dest
;
3976 src
= (wxPyHtmlWindow
*) ptr
;
3977 dest
= (wxScrolledWindow
*) src
;
3978 return (void *) dest
;
3981 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3982 wxPyHtmlWindow
*src
;
3984 src
= (wxPyHtmlWindow
*) ptr
;
3985 dest
= (wxPanel
*) src
;
3986 return (void *) dest
;
3989 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
3990 wxPyHtmlWindow
*src
;
3992 src
= (wxPyHtmlWindow
*) ptr
;
3993 dest
= (wxWindow
*) src
;
3994 return (void *) dest
;
3997 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
3998 wxPyHtmlWindow
*src
;
4000 src
= (wxPyHtmlWindow
*) ptr
;
4001 dest
= (wxEvtHandler
*) src
;
4002 return (void *) dest
;
4005 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4006 wxPyHtmlWindow
*src
;
4008 src
= (wxPyHtmlWindow
*) ptr
;
4009 dest
= (wxObject
*) src
;
4010 return (void *) dest
;
4013 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4014 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
* _resultobj
;
4016 wxPyHtmlWindow
* _result
;
4018 int _arg1
= (int ) -1;
4019 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4020 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4021 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4022 char * _arg5
= (char *) "htmlWindow";
4023 PyObject
* _argo0
= 0;
4025 PyObject
* _obj2
= 0;
4027 PyObject
* _obj3
= 0;
4028 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4044 if (! wxPoint_helper(_obj2
, &_arg2
))
4050 if (! wxSize_helper(_obj3
, &_arg3
))
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4057 wxPy_END_ALLOW_THREADS
;
4059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4060 _resultobj
= Py_BuildValue("s",_ptemp
);
4063 _resultobj
= Py_None
;
4068 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4069 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4071 wxPyHtmlWindow
* _result
;
4072 char *_kwnames
[] = { NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4082 wxPy_END_ALLOW_THREADS
;
4084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4085 _resultobj
= Py_BuildValue("s",_ptemp
);
4088 _resultobj
= Py_None
;
4093 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4094 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4097 wxPyHtmlWindow
* _arg0
;
4099 int _arg2
= (int ) -1;
4100 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4101 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4102 int _arg5
= (int ) wxHW_SCROLLBAR_AUTO
;
4103 char * _arg6
= (char *) "htmlWindow";
4104 PyObject
* _argo0
= 0;
4105 PyObject
* _argo1
= 0;
4107 PyObject
* _obj3
= 0;
4109 PyObject
* _obj4
= 0;
4110 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4132 if (! wxPoint_helper(_obj3
, &_arg3
))
4138 if (! wxSize_helper(_obj4
, &_arg4
))
4142 wxPy_BEGIN_ALLOW_THREADS
;
4143 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4145 wxPy_END_ALLOW_THREADS
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4151 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4153 wxPyHtmlWindow
* _arg0
;
4156 PyObject
* _argo0
= 0;
4157 PyObject
* _obj1
= 0;
4158 PyObject
* _obj2
= 0;
4159 char *_kwnames
[] = { "self","self","_class", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4188 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4191 wxPyHtmlWindow
* _arg0
;
4193 PyObject
* _argo0
= 0;
4194 PyObject
* _obj1
= 0;
4195 char *_kwnames
[] = { "self","source", NULL
};
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4208 #if PYTHON_API_VERSION >= 1009
4209 char* tmpPtr
; int tmpSize
;
4210 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4214 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4216 _arg1
= new wxString(tmpPtr
, tmpSize
);
4218 if (!PyString_Check(_obj1
)) {
4219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4222 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4239 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4242 wxPyHtmlWindow
* _arg0
;
4244 PyObject
* _argo0
= 0;
4245 PyObject
* _obj1
= 0;
4246 char *_kwnames
[] = { "self","location", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4259 #if PYTHON_API_VERSION >= 1009
4260 char* tmpPtr
; int tmpSize
;
4261 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4265 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4267 _arg1
= new wxString(tmpPtr
, tmpSize
);
4269 if (!PyString_Check(_obj1
)) {
4270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4273 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } _resultobj
= Py_BuildValue("i",_result
);
4289 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4290 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4293 wxPyHtmlWindow
* _arg0
;
4295 PyObject
* _argo0
= 0;
4296 PyObject
* _obj1
= 0;
4297 char *_kwnames
[] = { "self","source", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4310 #if PYTHON_API_VERSION >= 1009
4311 char* tmpPtr
; int tmpSize
;
4312 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4316 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4318 _arg1
= new wxString(tmpPtr
, tmpSize
);
4320 if (!PyString_Check(_obj1
)) {
4321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4324 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4328 wxPy_BEGIN_ALLOW_THREADS
;
4329 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4331 wxPy_END_ALLOW_THREADS
;
4332 } _resultobj
= Py_BuildValue("i",_result
);
4340 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4341 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
* _resultobj
;
4344 wxPyHtmlWindow
* _arg0
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4362 wxPy_END_ALLOW_THREADS
;
4364 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4372 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4373 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4376 wxPyHtmlWindow
* _arg0
;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "self", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
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_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4394 wxPy_END_ALLOW_THREADS
;
4396 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4404 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4405 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4408 wxPyHtmlWindow
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4424 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4426 wxPy_END_ALLOW_THREADS
;
4428 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4436 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4437 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxPyHtmlWindow
* _arg0
;
4442 PyObject
* _argo0
= 0;
4443 PyObject
* _argo1
= 0;
4444 char *_kwnames
[] = { "self","frame","format", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4464 wxPy_BEGIN_ALLOW_THREADS
;
4465 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4467 wxPy_END_ALLOW_THREADS
;
4468 } Py_INCREF(Py_None
);
4469 _resultobj
= Py_None
;
4473 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4474 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
* _resultobj
;
4477 wxPyHtmlWindow
* _arg0
;
4478 PyObject
* _argo0
= 0;
4479 char *_kwnames
[] = { "self", NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4495 wxPy_END_ALLOW_THREADS
;
4496 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4500 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4501 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4503 wxPyHtmlWindow
* _arg0
;
4505 PyObject
* _argo0
= 0;
4506 char *_kwnames
[] = { "self","bar", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4522 wxPy_END_ALLOW_THREADS
;
4523 } Py_INCREF(Py_None
);
4524 _resultobj
= Py_None
;
4528 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4529 int* temp
= int_LIST_helper(sizes
);
4531 self
->SetFonts(normal_face
, fixed_face
, temp
);
4535 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4537 wxPyHtmlWindow
* _arg0
;
4541 PyObject
* _argo0
= 0;
4542 PyObject
* _obj1
= 0;
4543 PyObject
* _obj2
= 0;
4544 PyObject
* _obj3
= 0;
4545 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4558 #if PYTHON_API_VERSION >= 1009
4559 char* tmpPtr
; int tmpSize
;
4560 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4564 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4566 _arg1
= new wxString(tmpPtr
, tmpSize
);
4568 if (!PyString_Check(_obj1
)) {
4569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4572 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4576 #if PYTHON_API_VERSION >= 1009
4577 char* tmpPtr
; int tmpSize
;
4578 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4582 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4584 _arg2
= new wxString(tmpPtr
, tmpSize
);
4586 if (!PyString_Check(_obj2
)) {
4587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4590 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4597 wxPy_BEGIN_ALLOW_THREADS
;
4598 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4600 wxPy_END_ALLOW_THREADS
;
4601 } Py_INCREF(Py_None
);
4602 _resultobj
= Py_None
;
4614 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4615 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4617 wxPyHtmlWindow
* _arg0
;
4619 PyObject
* _argo0
= 0;
4620 PyObject
* _obj1
= 0;
4621 char *_kwnames
[] = { "self","title", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4634 #if PYTHON_API_VERSION >= 1009
4635 char* tmpPtr
; int tmpSize
;
4636 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4640 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4642 _arg1
= new wxString(tmpPtr
, tmpSize
);
4644 if (!PyString_Check(_obj1
)) {
4645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4648 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4655 wxPy_END_ALLOW_THREADS
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4665 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4666 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4668 wxPyHtmlWindow
* _arg0
;
4670 PyObject
* _argo0
= 0;
4671 char *_kwnames
[] = { "self","b", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4684 wxPy_BEGIN_ALLOW_THREADS
;
4685 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4687 wxPy_END_ALLOW_THREADS
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4694 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxPyHtmlWindow
* _arg0
;
4697 wxConfigBase
* _arg1
;
4698 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4699 PyObject
* _argo0
= 0;
4700 PyObject
* _argo1
= 0;
4701 PyObject
* _obj2
= 0;
4702 char *_kwnames
[] = { "self","cfg","path", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4723 #if PYTHON_API_VERSION >= 1009
4724 char* tmpPtr
; int tmpSize
;
4725 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4729 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4731 _arg2
= new wxString(tmpPtr
, tmpSize
);
4733 if (!PyString_Check(_obj2
)) {
4734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4737 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4741 wxPy_BEGIN_ALLOW_THREADS
;
4742 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4744 wxPy_END_ALLOW_THREADS
;
4745 } Py_INCREF(Py_None
);
4746 _resultobj
= Py_None
;
4754 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4755 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4757 wxPyHtmlWindow
* _arg0
;
4758 wxConfigBase
* _arg1
;
4759 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4760 PyObject
* _argo0
= 0;
4761 PyObject
* _argo1
= 0;
4762 PyObject
* _obj2
= 0;
4763 char *_kwnames
[] = { "self","cfg","path", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4784 #if PYTHON_API_VERSION >= 1009
4785 char* tmpPtr
; int tmpSize
;
4786 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4790 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4792 _arg2
= new wxString(tmpPtr
, tmpSize
);
4794 if (!PyString_Check(_obj2
)) {
4795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4798 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4802 wxPy_BEGIN_ALLOW_THREADS
;
4803 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4805 wxPy_END_ALLOW_THREADS
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4815 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4816 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4819 wxPyHtmlWindow
* _arg0
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4837 wxPy_END_ALLOW_THREADS
;
4838 } _resultobj
= Py_BuildValue("i",_result
);
4842 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4843 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4846 wxPyHtmlWindow
* _arg0
;
4847 PyObject
* _argo0
= 0;
4848 char *_kwnames
[] = { "self", NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4864 wxPy_END_ALLOW_THREADS
;
4865 } _resultobj
= Py_BuildValue("i",_result
);
4869 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4870 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4873 wxPyHtmlWindow
* _arg0
;
4874 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4888 wxPy_BEGIN_ALLOW_THREADS
;
4889 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4891 wxPy_END_ALLOW_THREADS
;
4892 } _resultobj
= Py_BuildValue("i",_result
);
4896 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4897 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4900 wxPyHtmlWindow
* _arg0
;
4901 PyObject
* _argo0
= 0;
4902 char *_kwnames
[] = { "self", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4915 wxPy_BEGIN_ALLOW_THREADS
;
4916 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4918 wxPy_END_ALLOW_THREADS
;
4919 } _resultobj
= Py_BuildValue("i",_result
);
4923 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4924 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4926 wxPyHtmlWindow
* _arg0
;
4927 PyObject
* _argo0
= 0;
4928 char *_kwnames
[] = { "self", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 wxHtmlWindow_HistoryClear(_arg0
);
4944 wxPy_END_ALLOW_THREADS
;
4945 } Py_INCREF(Py_None
);
4946 _resultobj
= Py_None
;
4950 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4951 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4953 wxHtmlContainerCell
* _result
;
4954 wxPyHtmlWindow
* _arg0
;
4955 PyObject
* _argo0
= 0;
4956 char *_kwnames
[] = { "self", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4970 wxPy_BEGIN_ALLOW_THREADS
;
4971 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4973 wxPy_END_ALLOW_THREADS
;
4975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4976 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 _resultobj
= Py_None
;
4984 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4985 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4987 wxHtmlWinParser
* _result
;
4988 wxPyHtmlWindow
* _arg0
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5007 wxPy_END_ALLOW_THREADS
;
5009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5010 _resultobj
= Py_BuildValue("s",_ptemp
);
5013 _resultobj
= Py_None
;
5018 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5019 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5021 wxPyHtmlWindow
* _arg0
;
5022 wxHtmlLinkInfo
* _arg1
;
5023 PyObject
* _argo0
= 0;
5024 PyObject
* _argo1
= 0;
5025 char *_kwnames
[] = { "self","link", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5048 wxPy_END_ALLOW_THREADS
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5054 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5055 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
* _resultobj
;
5057 wxPyHtmlWindow
* _arg0
;
5059 PyObject
* _argo0
= 0;
5060 char *_kwnames
[] = { "self","title", NULL
};
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5073 wxPy_BEGIN_ALLOW_THREADS
;
5074 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5076 wxPy_END_ALLOW_THREADS
;
5077 } Py_INCREF(Py_None
);
5078 _resultobj
= Py_None
;
5082 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5083 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5085 wxPyHtmlWindow
* _arg0
;
5089 PyObject
* _argo0
= 0;
5090 PyObject
* _argo1
= 0;
5091 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5111 wxPy_BEGIN_ALLOW_THREADS
;
5112 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5114 wxPy_END_ALLOW_THREADS
;
5115 } Py_INCREF(Py_None
);
5116 _resultobj
= Py_None
;
5120 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5121 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5123 wxPyHtmlWindow
* _arg0
;
5127 wxMouseEvent
* _arg4
;
5128 PyObject
* _argo0
= 0;
5129 PyObject
* _argo1
= 0;
5130 PyObject
* _argo4
= 0;
5131 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5151 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5161 wxPy_END_ALLOW_THREADS
;
5162 } Py_INCREF(Py_None
);
5163 _resultobj
= Py_None
;
5167 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5168 wxHtmlDCRenderer
*src
;
5170 src
= (wxHtmlDCRenderer
*) ptr
;
5171 dest
= (wxObject
*) src
;
5172 return (void *) dest
;
5175 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5176 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5178 wxHtmlDCRenderer
* _result
;
5179 char *_kwnames
[] = { NULL
};
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5186 wxPy_BEGIN_ALLOW_THREADS
;
5187 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5189 wxPy_END_ALLOW_THREADS
;
5191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5192 _resultobj
= Py_BuildValue("s",_ptemp
);
5195 _resultobj
= Py_None
;
5200 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5201 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5203 wxHtmlDCRenderer
* _arg0
;
5204 PyObject
* _argo0
= 0;
5205 char *_kwnames
[] = { "self", NULL
};
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5218 wxPy_BEGIN_ALLOW_THREADS
;
5219 delete_wxHtmlDCRenderer(_arg0
);
5221 wxPy_END_ALLOW_THREADS
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5227 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5228 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5230 wxHtmlDCRenderer
* _arg0
;
5233 PyObject
* _argo0
= 0;
5234 PyObject
* _argo1
= 0;
5235 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5258 wxPy_END_ALLOW_THREADS
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5264 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5265 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5267 wxHtmlDCRenderer
* _arg0
;
5270 PyObject
* _argo0
= 0;
5271 char *_kwnames
[] = { "self","width","height", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5287 wxPy_END_ALLOW_THREADS
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5293 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5294 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5296 wxHtmlDCRenderer
* _arg0
;
5298 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5299 bool _arg3
= (bool ) TRUE
;
5300 PyObject
* _argo0
= 0;
5301 PyObject
* _obj1
= 0;
5302 PyObject
* _obj2
= 0;
5303 int tempbool3
= (int) TRUE
;
5304 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5317 #if PYTHON_API_VERSION >= 1009
5318 char* tmpPtr
; int tmpSize
;
5319 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5323 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5325 _arg1
= new wxString(tmpPtr
, tmpSize
);
5327 if (!PyString_Check(_obj1
)) {
5328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5331 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5336 #if PYTHON_API_VERSION >= 1009
5337 char* tmpPtr
; int tmpSize
;
5338 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5342 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5344 _arg2
= new wxString(tmpPtr
, tmpSize
);
5346 if (!PyString_Check(_obj2
)) {
5347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5350 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5353 _arg3
= (bool ) tempbool3
;
5355 wxPy_BEGIN_ALLOW_THREADS
;
5356 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5358 wxPy_END_ALLOW_THREADS
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5372 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5373 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
* _resultobj
;
5376 wxHtmlDCRenderer
* _arg0
;
5379 int _arg3
= (int ) 0;
5380 int _arg4
= (int ) FALSE
;
5381 PyObject
* _argo0
= 0;
5382 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5395 wxPy_BEGIN_ALLOW_THREADS
;
5396 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5398 wxPy_END_ALLOW_THREADS
;
5399 } _resultobj
= Py_BuildValue("i",_result
);
5403 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5404 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5407 wxHtmlDCRenderer
* _arg0
;
5408 PyObject
* _argo0
= 0;
5409 char *_kwnames
[] = { "self", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5422 wxPy_BEGIN_ALLOW_THREADS
;
5423 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5425 wxPy_END_ALLOW_THREADS
;
5426 } _resultobj
= Py_BuildValue("i",_result
);
5430 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5431 wxHtmlPrintout
*src
;
5433 src
= (wxHtmlPrintout
*) ptr
;
5434 dest
= (wxPyPrintout
*) src
;
5435 return (void *) dest
;
5438 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5439 wxHtmlPrintout
*src
;
5441 src
= (wxHtmlPrintout
*) ptr
;
5442 dest
= (wxObject
*) src
;
5443 return (void *) dest
;
5446 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5447 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5449 wxHtmlPrintout
* _result
;
5450 char * _arg0
= (char *) "Printout";
5451 char *_kwnames
[] = { "title", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5461 wxPy_END_ALLOW_THREADS
;
5463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5464 _resultobj
= Py_BuildValue("s",_ptemp
);
5467 _resultobj
= Py_None
;
5472 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5473 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxHtmlPrintout
* _arg0
;
5477 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5478 bool _arg3
= (bool ) TRUE
;
5479 PyObject
* _argo0
= 0;
5480 PyObject
* _obj1
= 0;
5481 PyObject
* _obj2
= 0;
5482 int tempbool3
= (int) TRUE
;
5483 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5496 #if PYTHON_API_VERSION >= 1009
5497 char* tmpPtr
; int tmpSize
;
5498 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5502 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5504 _arg1
= new wxString(tmpPtr
, tmpSize
);
5506 if (!PyString_Check(_obj1
)) {
5507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5510 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5515 #if PYTHON_API_VERSION >= 1009
5516 char* tmpPtr
; int tmpSize
;
5517 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5521 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5523 _arg2
= new wxString(tmpPtr
, tmpSize
);
5525 if (!PyString_Check(_obj2
)) {
5526 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5529 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5532 _arg3
= (bool ) tempbool3
;
5534 wxPy_BEGIN_ALLOW_THREADS
;
5535 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5537 wxPy_END_ALLOW_THREADS
;
5538 } Py_INCREF(Py_None
);
5539 _resultobj
= Py_None
;
5551 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5552 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5554 wxHtmlPrintout
* _arg0
;
5556 PyObject
* _argo0
= 0;
5557 PyObject
* _obj1
= 0;
5558 char *_kwnames
[] = { "self","htmlfile", NULL
};
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5571 #if PYTHON_API_VERSION >= 1009
5572 char* tmpPtr
; int tmpSize
;
5573 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5577 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5579 _arg1
= new wxString(tmpPtr
, tmpSize
);
5581 if (!PyString_Check(_obj1
)) {
5582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5585 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5592 wxPy_END_ALLOW_THREADS
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5602 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5603 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxHtmlPrintout
* _arg0
;
5607 int _arg2
= (int ) (wxPAGE_ALL
);
5608 PyObject
* _argo0
= 0;
5609 PyObject
* _obj1
= 0;
5610 char *_kwnames
[] = { "self","header","pg", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5623 #if PYTHON_API_VERSION >= 1009
5624 char* tmpPtr
; int tmpSize
;
5625 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5626 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5629 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5631 _arg1
= new wxString(tmpPtr
, tmpSize
);
5633 if (!PyString_Check(_obj1
)) {
5634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5637 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5641 wxPy_BEGIN_ALLOW_THREADS
;
5642 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5644 wxPy_END_ALLOW_THREADS
;
5645 } Py_INCREF(Py_None
);
5646 _resultobj
= Py_None
;
5654 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5655 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5657 wxHtmlPrintout
* _arg0
;
5659 int _arg2
= (int ) (wxPAGE_ALL
);
5660 PyObject
* _argo0
= 0;
5661 PyObject
* _obj1
= 0;
5662 char *_kwnames
[] = { "self","footer","pg", NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5675 #if PYTHON_API_VERSION >= 1009
5676 char* tmpPtr
; int tmpSize
;
5677 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5681 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5683 _arg1
= new wxString(tmpPtr
, tmpSize
);
5685 if (!PyString_Check(_obj1
)) {
5686 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5689 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5693 wxPy_BEGIN_ALLOW_THREADS
;
5694 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5696 wxPy_END_ALLOW_THREADS
;
5697 } Py_INCREF(Py_None
);
5698 _resultobj
= Py_None
;
5706 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5707 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5709 wxHtmlPrintout
* _arg0
;
5710 float _arg1
= (float ) 25.2;
5711 float _arg2
= (float ) 25.2;
5712 float _arg3
= (float ) 25.2;
5713 float _arg4
= (float ) 25.2;
5714 float _arg5
= (float ) 5;
5715 PyObject
* _argo0
= 0;
5716 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5729 wxPy_BEGIN_ALLOW_THREADS
;
5730 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5732 wxPy_END_ALLOW_THREADS
;
5733 } Py_INCREF(Py_None
);
5734 _resultobj
= Py_None
;
5738 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5739 wxHtmlEasyPrinting
*src
;
5741 src
= (wxHtmlEasyPrinting
*) ptr
;
5742 dest
= (wxObject
*) src
;
5743 return (void *) dest
;
5746 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5747 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5749 wxHtmlEasyPrinting
* _result
;
5750 char * _arg0
= (char *) "Printing";
5751 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5752 PyObject
* _argo1
= 0;
5753 char *_kwnames
[] = { "name","parent_frame", NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5767 wxPy_BEGIN_ALLOW_THREADS
;
5768 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5770 wxPy_END_ALLOW_THREADS
;
5772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5773 _resultobj
= Py_BuildValue("s",_ptemp
);
5776 _resultobj
= Py_None
;
5781 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5782 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5784 wxHtmlEasyPrinting
* _arg0
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 delete_wxHtmlEasyPrinting(_arg0
);
5802 wxPy_END_ALLOW_THREADS
;
5803 } Py_INCREF(Py_None
);
5804 _resultobj
= Py_None
;
5808 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5809 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5811 wxHtmlEasyPrinting
* _arg0
;
5813 PyObject
* _argo0
= 0;
5814 PyObject
* _obj1
= 0;
5815 char *_kwnames
[] = { "self","htmlfile", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5828 #if PYTHON_API_VERSION >= 1009
5829 char* tmpPtr
; int tmpSize
;
5830 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5834 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5836 _arg1
= new wxString(tmpPtr
, tmpSize
);
5838 if (!PyString_Check(_obj1
)) {
5839 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5842 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5846 wxPy_BEGIN_ALLOW_THREADS
;
5847 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5849 wxPy_END_ALLOW_THREADS
;
5850 } Py_INCREF(Py_None
);
5851 _resultobj
= Py_None
;
5859 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5860 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5862 wxHtmlEasyPrinting
* _arg0
;
5864 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5865 PyObject
* _argo0
= 0;
5866 PyObject
* _obj1
= 0;
5867 PyObject
* _obj2
= 0;
5868 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5881 #if PYTHON_API_VERSION >= 1009
5882 char* tmpPtr
; int tmpSize
;
5883 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5887 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5889 _arg1
= new wxString(tmpPtr
, tmpSize
);
5891 if (!PyString_Check(_obj1
)) {
5892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5895 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5900 #if PYTHON_API_VERSION >= 1009
5901 char* tmpPtr
; int tmpSize
;
5902 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5906 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5908 _arg2
= new wxString(tmpPtr
, tmpSize
);
5910 if (!PyString_Check(_obj2
)) {
5911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5914 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5921 wxPy_END_ALLOW_THREADS
;
5922 } Py_INCREF(Py_None
);
5923 _resultobj
= Py_None
;
5935 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5936 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
* _resultobj
;
5938 wxHtmlEasyPrinting
* _arg0
;
5940 PyObject
* _argo0
= 0;
5941 PyObject
* _obj1
= 0;
5942 char *_kwnames
[] = { "self","htmlfile", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5955 #if PYTHON_API_VERSION >= 1009
5956 char* tmpPtr
; int tmpSize
;
5957 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5961 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5963 _arg1
= new wxString(tmpPtr
, tmpSize
);
5965 if (!PyString_Check(_obj1
)) {
5966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5969 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5973 wxPy_BEGIN_ALLOW_THREADS
;
5974 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5976 wxPy_END_ALLOW_THREADS
;
5977 } Py_INCREF(Py_None
);
5978 _resultobj
= Py_None
;
5986 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5987 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5989 wxHtmlEasyPrinting
* _arg0
;
5991 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5992 PyObject
* _argo0
= 0;
5993 PyObject
* _obj1
= 0;
5994 PyObject
* _obj2
= 0;
5995 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6008 #if PYTHON_API_VERSION >= 1009
6009 char* tmpPtr
; int tmpSize
;
6010 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6014 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6016 _arg1
= new wxString(tmpPtr
, tmpSize
);
6018 if (!PyString_Check(_obj1
)) {
6019 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6022 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6027 #if PYTHON_API_VERSION >= 1009
6028 char* tmpPtr
; int tmpSize
;
6029 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6033 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6035 _arg2
= new wxString(tmpPtr
, tmpSize
);
6037 if (!PyString_Check(_obj2
)) {
6038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6041 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6048 wxPy_END_ALLOW_THREADS
;
6049 } Py_INCREF(Py_None
);
6050 _resultobj
= Py_None
;
6062 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6063 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6065 wxHtmlEasyPrinting
* _arg0
;
6066 PyObject
* _argo0
= 0;
6067 char *_kwnames
[] = { "self", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6080 wxPy_BEGIN_ALLOW_THREADS
;
6081 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6083 wxPy_END_ALLOW_THREADS
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6089 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6090 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6092 wxHtmlEasyPrinting
* _arg0
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 wxHtmlEasyPrinting_PageSetup(_arg0
);
6110 wxPy_END_ALLOW_THREADS
;
6111 } Py_INCREF(Py_None
);
6112 _resultobj
= Py_None
;
6116 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6117 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6119 wxHtmlEasyPrinting
* _arg0
;
6121 int _arg2
= (int ) (wxPAGE_ALL
);
6122 PyObject
* _argo0
= 0;
6123 PyObject
* _obj1
= 0;
6124 char *_kwnames
[] = { "self","header","pg", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6137 #if PYTHON_API_VERSION >= 1009
6138 char* tmpPtr
; int tmpSize
;
6139 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6143 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6145 _arg1
= new wxString(tmpPtr
, tmpSize
);
6147 if (!PyString_Check(_obj1
)) {
6148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6151 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6155 wxPy_BEGIN_ALLOW_THREADS
;
6156 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6158 wxPy_END_ALLOW_THREADS
;
6159 } Py_INCREF(Py_None
);
6160 _resultobj
= Py_None
;
6168 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6169 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
* _resultobj
;
6171 wxHtmlEasyPrinting
* _arg0
;
6173 int _arg2
= (int ) (wxPAGE_ALL
);
6174 PyObject
* _argo0
= 0;
6175 PyObject
* _obj1
= 0;
6176 char *_kwnames
[] = { "self","footer","pg", NULL
};
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6189 #if PYTHON_API_VERSION >= 1009
6190 char* tmpPtr
; int tmpSize
;
6191 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6195 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6197 _arg1
= new wxString(tmpPtr
, tmpSize
);
6199 if (!PyString_Check(_obj1
)) {
6200 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6203 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6207 wxPy_BEGIN_ALLOW_THREADS
;
6208 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6210 wxPy_END_ALLOW_THREADS
;
6211 } Py_INCREF(Py_None
);
6212 _resultobj
= Py_None
;
6220 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6221 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6223 wxPrintData
* _result
;
6224 wxHtmlEasyPrinting
* _arg0
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6243 wxPy_END_ALLOW_THREADS
;
6245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6246 _resultobj
= Py_BuildValue("s",_ptemp
);
6249 _resultobj
= Py_None
;
6254 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6255 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6257 wxPageSetupDialogData
* _result
;
6258 wxHtmlEasyPrinting
* _arg0
;
6259 PyObject
* _argo0
= 0;
6260 char *_kwnames
[] = { "self", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6277 wxPy_END_ALLOW_THREADS
;
6279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6280 _resultobj
= Py_BuildValue("s",_ptemp
);
6283 _resultobj
= Py_None
;
6288 static PyMethodDef htmlcMethods
[] = {
6289 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6376 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6377 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6378 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6379 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6380 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6381 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6382 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6383 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6384 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6385 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6386 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6387 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6388 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6389 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6390 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6391 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6392 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6393 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6394 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6395 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6396 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6397 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6398 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6399 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6400 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6401 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6402 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6403 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6404 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6405 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6406 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6407 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6408 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6409 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6410 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6411 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6412 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6413 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6414 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6415 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6416 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6417 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6418 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6419 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6420 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6421 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6422 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6423 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6424 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6425 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6426 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6427 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6428 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6429 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6430 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6431 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6432 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6433 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6434 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6435 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6436 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6437 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6438 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6439 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6440 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6441 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6442 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6443 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6444 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6445 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6446 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6447 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6448 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6455 * This table is used by the pointer type-checker
6457 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6458 { "_signed_long","_long",0},
6459 { "_wxPrintQuality","_wxCoord",0},
6460 { "_wxPrintQuality","_int",0},
6461 { "_wxPrintQuality","_signed_int",0},
6462 { "_wxPrintQuality","_unsigned_int",0},
6463 { "_wxPrintQuality","_wxWindowID",0},
6464 { "_wxPrintQuality","_uint",0},
6465 { "_wxPrintQuality","_EBool",0},
6466 { "_wxPrintQuality","_size_t",0},
6467 { "_wxPrintQuality","_time_t",0},
6468 { "_byte","_unsigned_char",0},
6469 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6470 { "_long","_unsigned_long",0},
6471 { "_long","_signed_long",0},
6472 { "_size_t","_wxCoord",0},
6473 { "_size_t","_wxPrintQuality",0},
6474 { "_size_t","_time_t",0},
6475 { "_size_t","_unsigned_int",0},
6476 { "_size_t","_int",0},
6477 { "_size_t","_wxWindowID",0},
6478 { "_size_t","_uint",0},
6479 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6480 { "_uint","_wxCoord",0},
6481 { "_uint","_wxPrintQuality",0},
6482 { "_uint","_time_t",0},
6483 { "_uint","_size_t",0},
6484 { "_uint","_unsigned_int",0},
6485 { "_uint","_int",0},
6486 { "_uint","_wxWindowID",0},
6487 { "_wxChar","_char",0},
6488 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6489 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6490 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6491 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6492 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6493 { "_char","_wxChar",0},
6494 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6495 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6496 { "_EBool","_wxCoord",0},
6497 { "_EBool","_wxPrintQuality",0},
6498 { "_EBool","_signed_int",0},
6499 { "_EBool","_int",0},
6500 { "_EBool","_wxWindowID",0},
6501 { "_unsigned_long","_long",0},
6502 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6503 { "_signed_int","_wxCoord",0},
6504 { "_signed_int","_wxPrintQuality",0},
6505 { "_signed_int","_EBool",0},
6506 { "_signed_int","_wxWindowID",0},
6507 { "_signed_int","_int",0},
6508 { "_WXTYPE","_wxDateTime_t",0},
6509 { "_WXTYPE","_short",0},
6510 { "_WXTYPE","_signed_short",0},
6511 { "_WXTYPE","_unsigned_short",0},
6512 { "_unsigned_short","_wxDateTime_t",0},
6513 { "_unsigned_short","_WXTYPE",0},
6514 { "_unsigned_short","_short",0},
6515 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6516 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6517 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6518 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6519 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6520 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6521 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6522 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6523 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6524 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6525 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6526 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6527 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6528 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6529 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6530 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6531 { "_signed_short","_WXTYPE",0},
6532 { "_signed_short","_short",0},
6533 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6534 { "_unsigned_char","_byte",0},
6535 { "_unsigned_int","_wxCoord",0},
6536 { "_unsigned_int","_wxPrintQuality",0},
6537 { "_unsigned_int","_time_t",0},
6538 { "_unsigned_int","_size_t",0},
6539 { "_unsigned_int","_uint",0},
6540 { "_unsigned_int","_wxWindowID",0},
6541 { "_unsigned_int","_int",0},
6542 { "_short","_wxDateTime_t",0},
6543 { "_short","_WXTYPE",0},
6544 { "_short","_unsigned_short",0},
6545 { "_short","_signed_short",0},
6546 { "_wxWindowID","_wxCoord",0},
6547 { "_wxWindowID","_wxPrintQuality",0},
6548 { "_wxWindowID","_time_t",0},
6549 { "_wxWindowID","_size_t",0},
6550 { "_wxWindowID","_EBool",0},
6551 { "_wxWindowID","_uint",0},
6552 { "_wxWindowID","_int",0},
6553 { "_wxWindowID","_signed_int",0},
6554 { "_wxWindowID","_unsigned_int",0},
6555 { "_int","_wxCoord",0},
6556 { "_int","_wxPrintQuality",0},
6557 { "_int","_time_t",0},
6558 { "_int","_size_t",0},
6559 { "_int","_EBool",0},
6560 { "_int","_uint",0},
6561 { "_int","_wxWindowID",0},
6562 { "_int","_unsigned_int",0},
6563 { "_int","_signed_int",0},
6564 { "_wxDateTime_t","_unsigned_short",0},
6565 { "_wxDateTime_t","_short",0},
6566 { "_wxDateTime_t","_WXTYPE",0},
6567 { "_time_t","_wxCoord",0},
6568 { "_time_t","_wxPrintQuality",0},
6569 { "_time_t","_unsigned_int",0},
6570 { "_time_t","_int",0},
6571 { "_time_t","_wxWindowID",0},
6572 { "_time_t","_uint",0},
6573 { "_time_t","_size_t",0},
6574 { "_wxCoord","_int",0},
6575 { "_wxCoord","_signed_int",0},
6576 { "_wxCoord","_unsigned_int",0},
6577 { "_wxCoord","_wxWindowID",0},
6578 { "_wxCoord","_uint",0},
6579 { "_wxCoord","_EBool",0},
6580 { "_wxCoord","_size_t",0},
6581 { "_wxCoord","_time_t",0},
6582 { "_wxCoord","_wxPrintQuality",0},
6583 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6584 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6585 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6588 static PyObject
*SWIG_globals
;
6592 SWIGEXPORT(void) inithtmlc() {
6594 SWIG_globals
= SWIG_newvarlink();
6595 m
= Py_InitModule("htmlc", htmlcMethods
);
6596 d
= PyModule_GetDict(m
);
6597 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6598 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6599 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6600 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6601 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6602 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6603 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6604 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6605 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6606 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6607 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6608 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6609 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6610 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6611 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6612 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6613 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6614 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6615 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6616 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6617 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6618 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6623 wxClassInfo::CleanUpClasses();
6624 wxClassInfo::InitializeClasses();
6626 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6627 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6628 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6631 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6632 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);