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 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2019 _result
= (wxColour
*) &_result_ref
;
2021 wxPy_END_ALLOW_THREADS
;
2023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2024 _resultobj
= Py_BuildValue("s",_ptemp
);
2027 _resultobj
= Py_None
;
2032 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2033 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2035 wxHtmlWinParser
* _arg0
;
2037 PyObject
* _argo0
= 0;
2039 PyObject
* _obj1
= 0;
2040 char *_kwnames
[] = { "self","clr", NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2054 if (! wxColour_helper(_obj1
, &_arg1
))
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2068 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2071 wxHtmlWinParser
* _arg0
;
2072 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2089 _result
= (wxColour
*) &_result_ref
;
2091 wxPy_END_ALLOW_THREADS
;
2093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2094 _resultobj
= Py_BuildValue("s",_ptemp
);
2097 _resultobj
= Py_None
;
2102 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2103 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2105 wxHtmlWinParser
* _arg0
;
2107 PyObject
* _argo0
= 0;
2109 PyObject
* _obj1
= 0;
2110 char *_kwnames
[] = { "self","clr", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2124 if (! wxColour_helper(_obj1
, &_arg1
))
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2131 wxPy_END_ALLOW_THREADS
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2137 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2138 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2140 wxHtmlWinParser
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 PyObject
* _obj1
= 0;
2144 char *_kwnames
[] = { "self","link", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2157 #if PYTHON_API_VERSION >= 1009
2158 char* tmpPtr
; int tmpSize
;
2159 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2163 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2165 _arg1
= new wxString(tmpPtr
, tmpSize
);
2167 if (!PyString_Check(_obj1
)) {
2168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2171 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2175 wxPy_BEGIN_ALLOW_THREADS
;
2176 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2178 wxPy_END_ALLOW_THREADS
;
2179 } Py_INCREF(Py_None
);
2180 _resultobj
= Py_None
;
2188 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2189 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2192 wxHtmlWinParser
* _arg0
;
2193 PyObject
* _argo0
= 0;
2194 char *_kwnames
[] = { "self", NULL
};
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2208 wxPy_BEGIN_ALLOW_THREADS
;
2209 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2211 wxPy_END_ALLOW_THREADS
;
2213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2214 _resultobj
= Py_BuildValue("s",_ptemp
);
2217 _resultobj
= Py_None
;
2222 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2223 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2225 wxHtmlLinkInfo
* _result
;
2226 wxHtmlWinParser
* _arg0
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2245 wxPy_END_ALLOW_THREADS
;
2246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2247 _resultobj
= Py_BuildValue("s",_ptemp
);
2251 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2252 wxPyHtmlTagHandler
*src
;
2254 src
= (wxPyHtmlTagHandler
*) ptr
;
2255 dest
= (wxObject
*) src
;
2256 return (void *) dest
;
2259 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2260 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2262 wxPyHtmlTagHandler
* _result
;
2263 char *_kwnames
[] = { NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2273 wxPy_END_ALLOW_THREADS
;
2275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2276 _resultobj
= Py_BuildValue("s",_ptemp
);
2279 _resultobj
= Py_None
;
2284 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2285 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2287 wxPyHtmlTagHandler
* _arg0
;
2290 PyObject
* _argo0
= 0;
2291 PyObject
* _obj1
= 0;
2292 PyObject
* _obj2
= 0;
2293 char *_kwnames
[] = { "self","self","_class", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2321 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2322 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2324 wxPyHtmlTagHandler
* _arg0
;
2325 wxHtmlParser
* _arg1
;
2326 PyObject
* _argo0
= 0;
2327 PyObject
* _argo1
= 0;
2328 char *_kwnames
[] = { "self","parser", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2351 wxPy_END_ALLOW_THREADS
;
2352 } Py_INCREF(Py_None
);
2353 _resultobj
= Py_None
;
2357 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2358 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2360 wxHtmlParser
* _result
;
2361 wxPyHtmlTagHandler
* _arg0
;
2362 PyObject
* _argo0
= 0;
2363 char *_kwnames
[] = { "self", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2377 wxPy_BEGIN_ALLOW_THREADS
;
2378 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2380 wxPy_END_ALLOW_THREADS
;
2382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2383 _resultobj
= Py_BuildValue("s",_ptemp
);
2386 _resultobj
= Py_None
;
2391 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2392 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2394 wxPyHtmlTagHandler
* _arg0
;
2396 PyObject
* _argo0
= 0;
2397 PyObject
* _argo1
= 0;
2398 char *_kwnames
[] = { "self","tag", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2428 wxPyHtmlWinTagHandler
*src
;
2429 wxPyHtmlTagHandler
*dest
;
2430 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2431 dest
= (wxPyHtmlTagHandler
*) src
;
2432 return (void *) dest
;
2435 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2436 wxPyHtmlWinTagHandler
*src
;
2438 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2439 dest
= (wxObject
*) src
;
2440 return (void *) dest
;
2443 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2444 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2446 wxPyHtmlWinTagHandler
* _result
;
2447 char *_kwnames
[] = { NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2457 wxPy_END_ALLOW_THREADS
;
2459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2460 _resultobj
= Py_BuildValue("s",_ptemp
);
2463 _resultobj
= Py_None
;
2468 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2469 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxPyHtmlWinTagHandler
* _arg0
;
2474 PyObject
* _argo0
= 0;
2475 PyObject
* _obj1
= 0;
2476 PyObject
* _obj2
= 0;
2477 char *_kwnames
[] = { "self","self","_class", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2496 wxPy_BEGIN_ALLOW_THREADS
;
2497 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2499 wxPy_END_ALLOW_THREADS
;
2500 } Py_INCREF(Py_None
);
2501 _resultobj
= Py_None
;
2505 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2506 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2508 wxPyHtmlWinTagHandler
* _arg0
;
2509 wxHtmlParser
* _arg1
;
2510 PyObject
* _argo0
= 0;
2511 PyObject
* _argo1
= 0;
2512 char *_kwnames
[] = { "self","parser", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2542 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxHtmlWinParser
* _result
;
2545 wxPyHtmlWinTagHandler
* _arg0
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2564 wxPy_END_ALLOW_THREADS
;
2566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2567 _resultobj
= Py_BuildValue("s",_ptemp
);
2570 _resultobj
= Py_None
;
2575 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2576 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2578 wxPyHtmlWinTagHandler
* _arg0
;
2580 PyObject
* _argo0
= 0;
2581 PyObject
* _argo1
= 0;
2582 char *_kwnames
[] = { "self","tag", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2602 wxPy_BEGIN_ALLOW_THREADS
;
2603 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2605 wxPy_END_ALLOW_THREADS
;
2606 } Py_INCREF(Py_None
);
2607 _resultobj
= Py_None
;
2611 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2614 src
= (wxHtmlCell
*) ptr
;
2615 dest
= (wxObject
*) src
;
2616 return (void *) dest
;
2619 #define new_wxHtmlCell() (new wxHtmlCell())
2620 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2622 wxHtmlCell
* _result
;
2623 char *_kwnames
[] = { NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2633 wxPy_END_ALLOW_THREADS
;
2635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2636 _resultobj
= Py_BuildValue("s",_ptemp
);
2639 _resultobj
= Py_None
;
2644 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2645 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 } _resultobj
= Py_BuildValue("i",_result
);
2671 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2672 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2693 wxPy_END_ALLOW_THREADS
;
2694 } _resultobj
= Py_BuildValue("i",_result
);
2698 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2699 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2720 wxPy_END_ALLOW_THREADS
;
2721 } _resultobj
= Py_BuildValue("i",_result
);
2725 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2726 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } _resultobj
= Py_BuildValue("i",_result
);
2752 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2753 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2774 wxPy_END_ALLOW_THREADS
;
2775 } _resultobj
= Py_BuildValue("i",_result
);
2779 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2780 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2782 wxHtmlLinkInfo
* _result
;
2784 int _arg1
= (int ) 0;
2785 int _arg2
= (int ) 0;
2786 PyObject
* _argo0
= 0;
2787 char *_kwnames
[] = { "self","x","y", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2804 wxPy_END_ALLOW_THREADS
;
2806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2807 _resultobj
= Py_BuildValue("s",_ptemp
);
2810 _resultobj
= Py_None
;
2815 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2816 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2818 wxHtmlCell
* _result
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2838 wxPy_END_ALLOW_THREADS
;
2840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2841 _resultobj
= Py_BuildValue("s",_ptemp
);
2844 _resultobj
= Py_None
;
2849 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2850 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2852 wxHtmlContainerCell
* _result
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2872 wxPy_END_ALLOW_THREADS
;
2874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2875 _resultobj
= Py_BuildValue("s",_ptemp
);
2878 _resultobj
= Py_None
;
2883 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2884 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2887 wxHtmlLinkInfo
* _arg1
;
2888 PyObject
* _argo0
= 0;
2889 PyObject
* _argo1
= 0;
2890 char *_kwnames
[] = { "self","link", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2903 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2910 wxPy_BEGIN_ALLOW_THREADS
;
2911 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2913 wxPy_END_ALLOW_THREADS
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2920 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2924 PyObject
* _argo0
= 0;
2925 PyObject
* _argo1
= 0;
2926 char *_kwnames
[] = { "self","cell", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2946 wxPy_BEGIN_ALLOW_THREADS
;
2947 wxHtmlCell_SetNext(_arg0
,_arg1
);
2949 wxPy_END_ALLOW_THREADS
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2956 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2959 wxHtmlContainerCell
* _arg1
;
2960 PyObject
* _argo0
= 0;
2961 PyObject
* _argo1
= 0;
2962 char *_kwnames
[] = { "self","p", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 wxHtmlCell_SetParent(_arg0
,_arg1
);
2985 wxPy_END_ALLOW_THREADS
;
2986 } Py_INCREF(Py_None
);
2987 _resultobj
= Py_None
;
2991 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2992 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2997 PyObject
* _argo0
= 0;
2998 char *_kwnames
[] = { "self","x","y", NULL
};
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3011 wxPy_BEGIN_ALLOW_THREADS
;
3012 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3014 wxPy_END_ALLOW_THREADS
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3021 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self","w", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3039 wxPy_BEGIN_ALLOW_THREADS
;
3040 wxHtmlCell_Layout(_arg0
,_arg1
);
3042 wxPy_END_ALLOW_THREADS
;
3043 } Py_INCREF(Py_None
);
3044 _resultobj
= Py_None
;
3048 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3049 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3057 PyObject
* _argo0
= 0;
3058 PyObject
* _argo1
= 0;
3059 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3089 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3095 PyObject
* _argo0
= 0;
3096 PyObject
* _argo1
= 0;
3097 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } Py_INCREF(Py_None
);
3122 _resultobj
= Py_None
;
3126 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3127 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3129 wxHtmlCell
* _result
;
3133 PyObject
* _argo0
= 0;
3134 PyObject
* _argo2
= 0;
3135 char *_kwnames
[] = { "self","condition","param", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3149 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3159 wxPy_END_ALLOW_THREADS
;
3161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3162 _resultobj
= Py_BuildValue("s",_ptemp
);
3165 _resultobj
= Py_None
;
3170 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3171 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3176 PyObject
* _argo0
= 0;
3177 PyObject
* _argo1
= 0;
3178 char *_kwnames
[] = { "self","pagebreak", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3201 wxPy_END_ALLOW_THREADS
;
3202 } _resultobj
= Py_BuildValue("i",_result
);
3206 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3207 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3211 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self","can", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3225 _arg1
= (bool ) tempbool1
;
3227 wxPy_BEGIN_ALLOW_THREADS
;
3228 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3230 wxPy_END_ALLOW_THREADS
;
3231 } Py_INCREF(Py_None
);
3232 _resultobj
= Py_None
;
3236 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3237 wxHtmlWordCell
*src
;
3239 src
= (wxHtmlWordCell
*) ptr
;
3240 dest
= (wxHtmlCell
*) src
;
3241 return (void *) dest
;
3244 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3245 wxHtmlWordCell
*src
;
3247 src
= (wxHtmlWordCell
*) ptr
;
3248 dest
= (wxObject
*) src
;
3249 return (void *) dest
;
3252 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3253 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3255 wxHtmlWordCell
* _result
;
3258 PyObject
* _obj0
= 0;
3259 PyObject
* _argo1
= 0;
3260 char *_kwnames
[] = { "word","dc", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3267 #if PYTHON_API_VERSION >= 1009
3268 char* tmpPtr
; int tmpSize
;
3269 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3273 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3275 _arg0
= new wxString(tmpPtr
, tmpSize
);
3277 if (!PyString_Check(_obj0
)) {
3278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3281 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3292 wxPy_BEGIN_ALLOW_THREADS
;
3293 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3295 wxPy_END_ALLOW_THREADS
;
3297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3298 _resultobj
= Py_BuildValue("s",_ptemp
);
3301 _resultobj
= Py_None
;
3310 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3311 wxHtmlContainerCell
*src
;
3313 src
= (wxHtmlContainerCell
*) ptr
;
3314 dest
= (wxHtmlCell
*) src
;
3315 return (void *) dest
;
3318 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3319 wxHtmlContainerCell
*src
;
3321 src
= (wxHtmlContainerCell
*) ptr
;
3322 dest
= (wxObject
*) src
;
3323 return (void *) dest
;
3326 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3327 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxHtmlContainerCell
* _result
;
3330 wxHtmlContainerCell
* _arg0
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "parent", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3349 wxPy_END_ALLOW_THREADS
;
3351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3352 _resultobj
= Py_BuildValue("s",_ptemp
);
3355 _resultobj
= Py_None
;
3360 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3361 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxHtmlContainerCell
* _arg0
;
3365 PyObject
* _argo0
= 0;
3366 PyObject
* _argo1
= 0;
3367 char *_kwnames
[] = { "self","cell", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3397 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3399 wxHtmlContainerCell
* _arg0
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self","al", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3418 wxPy_END_ALLOW_THREADS
;
3419 } Py_INCREF(Py_None
);
3420 _resultobj
= Py_None
;
3424 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3425 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3428 wxHtmlContainerCell
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3446 wxPy_END_ALLOW_THREADS
;
3447 } _resultobj
= Py_BuildValue("i",_result
);
3451 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3452 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxHtmlContainerCell
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","al", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3473 wxPy_END_ALLOW_THREADS
;
3474 } Py_INCREF(Py_None
);
3475 _resultobj
= Py_None
;
3479 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3480 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3483 wxHtmlContainerCell
* _arg0
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3501 wxPy_END_ALLOW_THREADS
;
3502 } _resultobj
= Py_BuildValue("i",_result
);
3506 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3507 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3509 wxHtmlContainerCell
* _arg0
;
3512 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self","i","what","units", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3530 wxPy_END_ALLOW_THREADS
;
3531 } Py_INCREF(Py_None
);
3532 _resultobj
= Py_None
;
3536 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3537 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3540 wxHtmlContainerCell
* _arg0
;
3542 PyObject
* _argo0
= 0;
3543 char *_kwnames
[] = { "self","ind", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3556 wxPy_BEGIN_ALLOW_THREADS
;
3557 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3559 wxPy_END_ALLOW_THREADS
;
3560 } _resultobj
= Py_BuildValue("i",_result
);
3564 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3565 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3568 wxHtmlContainerCell
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self","ind", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3587 wxPy_END_ALLOW_THREADS
;
3588 } _resultobj
= Py_BuildValue("i",_result
);
3592 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3593 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3595 wxHtmlContainerCell
* _arg0
;
3597 PyObject
* _argo0
= 0;
3598 PyObject
* _argo1
= 0;
3599 char *_kwnames
[] = { "self","tag", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3622 wxPy_END_ALLOW_THREADS
;
3623 } Py_INCREF(Py_None
);
3624 _resultobj
= Py_None
;
3628 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3629 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3631 wxHtmlContainerCell
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self","w","units", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3648 wxPy_BEGIN_ALLOW_THREADS
;
3649 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3651 wxPy_END_ALLOW_THREADS
;
3652 } Py_INCREF(Py_None
);
3653 _resultobj
= Py_None
;
3657 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3658 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3660 wxHtmlContainerCell
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 PyObject
* _argo1
= 0;
3664 char *_kwnames
[] = { "self","tag", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3684 wxPy_BEGIN_ALLOW_THREADS
;
3685 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3687 wxPy_END_ALLOW_THREADS
;
3688 } Py_INCREF(Py_None
);
3689 _resultobj
= Py_None
;
3693 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3694 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3696 wxHtmlContainerCell
* _arg0
;
3698 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3699 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self","h","align", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3713 wxPy_BEGIN_ALLOW_THREADS
;
3714 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3716 wxPy_END_ALLOW_THREADS
;
3717 } Py_INCREF(Py_None
);
3718 _resultobj
= Py_None
;
3722 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3723 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3725 wxHtmlContainerCell
* _arg0
;
3727 PyObject
* _argo0
= 0;
3729 PyObject
* _obj1
= 0;
3730 char *_kwnames
[] = { "self","clr", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3744 if (! wxColour_helper(_obj1
, &_arg1
))
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3751 wxPy_END_ALLOW_THREADS
;
3752 } Py_INCREF(Py_None
);
3753 _resultobj
= Py_None
;
3757 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3758 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxHtmlContainerCell
* _arg0
;
3763 PyObject
* _argo0
= 0;
3765 PyObject
* _obj1
= 0;
3767 PyObject
* _obj2
= 0;
3768 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3782 if (! wxColour_helper(_obj1
, &_arg1
))
3787 if (! wxColour_helper(_obj2
, &_arg2
))
3791 wxPy_BEGIN_ALLOW_THREADS
;
3792 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3794 wxPy_END_ALLOW_THREADS
;
3795 } Py_INCREF(Py_None
);
3796 _resultobj
= Py_None
;
3800 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3801 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3803 wxHtmlCell
* _result
;
3804 wxHtmlContainerCell
* _arg0
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "self", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3823 wxPy_END_ALLOW_THREADS
;
3825 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3826 _resultobj
= Py_BuildValue("s",_ptemp
);
3829 _resultobj
= Py_None
;
3834 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3835 wxHtmlColourCell
*src
;
3837 src
= (wxHtmlColourCell
*) ptr
;
3838 dest
= (wxHtmlCell
*) src
;
3839 return (void *) dest
;
3842 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3843 wxHtmlColourCell
*src
;
3845 src
= (wxHtmlColourCell
*) ptr
;
3846 dest
= (wxObject
*) src
;
3847 return (void *) dest
;
3850 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3851 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3853 wxHtmlColourCell
* _result
;
3855 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3857 PyObject
* _obj0
= 0;
3858 char *_kwnames
[] = { "clr","flags", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3866 if (! wxColour_helper(_obj0
, &_arg0
))
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3873 wxPy_END_ALLOW_THREADS
;
3875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3876 _resultobj
= Py_BuildValue("s",_ptemp
);
3879 _resultobj
= Py_None
;
3884 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3885 wxHtmlFontCell
*src
;
3887 src
= (wxHtmlFontCell
*) ptr
;
3888 dest
= (wxHtmlCell
*) src
;
3889 return (void *) dest
;
3892 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3893 wxHtmlFontCell
*src
;
3895 src
= (wxHtmlFontCell
*) ptr
;
3896 dest
= (wxObject
*) src
;
3897 return (void *) dest
;
3900 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3901 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3903 wxHtmlFontCell
* _result
;
3905 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "font", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3920 wxPy_BEGIN_ALLOW_THREADS
;
3921 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3923 wxPy_END_ALLOW_THREADS
;
3925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3926 _resultobj
= Py_BuildValue("s",_ptemp
);
3929 _resultobj
= Py_None
;
3934 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3935 wxHtmlWidgetCell
*src
;
3937 src
= (wxHtmlWidgetCell
*) ptr
;
3938 dest
= (wxHtmlCell
*) src
;
3939 return (void *) dest
;
3942 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3943 wxHtmlWidgetCell
*src
;
3945 src
= (wxHtmlWidgetCell
*) ptr
;
3946 dest
= (wxObject
*) src
;
3947 return (void *) dest
;
3950 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3951 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxHtmlWidgetCell
* _result
;
3955 int _arg1
= (int ) 0;
3956 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "wnd","w", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3971 wxPy_BEGIN_ALLOW_THREADS
;
3972 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3974 wxPy_END_ALLOW_THREADS
;
3976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3977 _resultobj
= Py_BuildValue("s",_ptemp
);
3980 _resultobj
= Py_None
;
3985 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3986 wxPyHtmlWindow
*src
;
3987 wxScrolledWindow
*dest
;
3988 src
= (wxPyHtmlWindow
*) ptr
;
3989 dest
= (wxScrolledWindow
*) src
;
3990 return (void *) dest
;
3993 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3994 wxPyHtmlWindow
*src
;
3996 src
= (wxPyHtmlWindow
*) ptr
;
3997 dest
= (wxPanel
*) src
;
3998 return (void *) dest
;
4001 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4002 wxPyHtmlWindow
*src
;
4004 src
= (wxPyHtmlWindow
*) ptr
;
4005 dest
= (wxWindow
*) src
;
4006 return (void *) dest
;
4009 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4010 wxPyHtmlWindow
*src
;
4012 src
= (wxPyHtmlWindow
*) ptr
;
4013 dest
= (wxEvtHandler
*) src
;
4014 return (void *) dest
;
4017 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4018 wxPyHtmlWindow
*src
;
4020 src
= (wxPyHtmlWindow
*) ptr
;
4021 dest
= (wxObject
*) src
;
4022 return (void *) dest
;
4025 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4026 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxPyHtmlWindow
* _result
;
4030 int _arg1
= (int ) -1;
4031 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4032 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4033 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4034 char * _arg5
= (char *) "htmlWindow";
4035 PyObject
* _argo0
= 0;
4037 PyObject
* _obj2
= 0;
4039 PyObject
* _obj3
= 0;
4040 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4056 if (! wxPoint_helper(_obj2
, &_arg2
))
4062 if (! wxSize_helper(_obj3
, &_arg3
))
4066 wxPy_BEGIN_ALLOW_THREADS
;
4067 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4069 wxPy_END_ALLOW_THREADS
;
4071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4072 _resultobj
= Py_BuildValue("s",_ptemp
);
4075 _resultobj
= Py_None
;
4080 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4081 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 wxPyHtmlWindow
* _result
;
4084 char *_kwnames
[] = { NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4091 wxPy_BEGIN_ALLOW_THREADS
;
4092 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4094 wxPy_END_ALLOW_THREADS
;
4096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4097 _resultobj
= Py_BuildValue("s",_ptemp
);
4100 _resultobj
= Py_None
;
4105 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4106 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
* _resultobj
;
4109 wxPyHtmlWindow
* _arg0
;
4111 int _arg2
= (int ) -1;
4112 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4113 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4114 int _arg5
= (int ) wxHW_SCROLLBAR_AUTO
;
4115 char * _arg6
= (char *) "htmlWindow";
4116 PyObject
* _argo0
= 0;
4117 PyObject
* _argo1
= 0;
4119 PyObject
* _obj3
= 0;
4121 PyObject
* _obj4
= 0;
4122 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4144 if (! wxPoint_helper(_obj3
, &_arg3
))
4150 if (! wxSize_helper(_obj4
, &_arg4
))
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } _resultobj
= Py_BuildValue("i",_result
);
4162 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4163 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4165 wxPyHtmlWindow
* _arg0
;
4168 PyObject
* _argo0
= 0;
4169 PyObject
* _obj1
= 0;
4170 PyObject
* _obj2
= 0;
4171 char *_kwnames
[] = { "self","self","_class", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4190 wxPy_BEGIN_ALLOW_THREADS
;
4191 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4193 wxPy_END_ALLOW_THREADS
;
4194 } Py_INCREF(Py_None
);
4195 _resultobj
= Py_None
;
4199 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4200 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
* _resultobj
;
4203 wxPyHtmlWindow
* _arg0
;
4205 PyObject
* _argo0
= 0;
4206 PyObject
* _obj1
= 0;
4207 char *_kwnames
[] = { "self","source", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4220 #if PYTHON_API_VERSION >= 1009
4221 char* tmpPtr
; int tmpSize
;
4222 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4226 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4228 _arg1
= new wxString(tmpPtr
, tmpSize
);
4230 if (!PyString_Check(_obj1
)) {
4231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4234 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4238 wxPy_BEGIN_ALLOW_THREADS
;
4239 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4241 wxPy_END_ALLOW_THREADS
;
4242 } _resultobj
= Py_BuildValue("i",_result
);
4250 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4251 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4254 wxPyHtmlWindow
* _arg0
;
4256 PyObject
* _argo0
= 0;
4257 PyObject
* _obj1
= 0;
4258 char *_kwnames
[] = { "self","location", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4271 #if PYTHON_API_VERSION >= 1009
4272 char* tmpPtr
; int tmpSize
;
4273 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4277 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4279 _arg1
= new wxString(tmpPtr
, tmpSize
);
4281 if (!PyString_Check(_obj1
)) {
4282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4285 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4292 wxPy_END_ALLOW_THREADS
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4301 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4302 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4305 wxPyHtmlWindow
* _arg0
;
4307 PyObject
* _argo0
= 0;
4308 PyObject
* _obj1
= 0;
4309 char *_kwnames
[] = { "self","source", NULL
};
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4322 #if PYTHON_API_VERSION >= 1009
4323 char* tmpPtr
; int tmpSize
;
4324 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4328 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4330 _arg1
= new wxString(tmpPtr
, tmpSize
);
4332 if (!PyString_Check(_obj1
)) {
4333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4336 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4340 wxPy_BEGIN_ALLOW_THREADS
;
4341 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4343 wxPy_END_ALLOW_THREADS
;
4344 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4353 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4356 wxPyHtmlWindow
* _arg0
;
4357 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4371 wxPy_BEGIN_ALLOW_THREADS
;
4372 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4374 wxPy_END_ALLOW_THREADS
;
4376 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4384 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4385 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4388 wxPyHtmlWindow
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4403 wxPy_BEGIN_ALLOW_THREADS
;
4404 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4406 wxPy_END_ALLOW_THREADS
;
4408 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4416 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4417 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
* _resultobj
;
4420 wxPyHtmlWindow
* _arg0
;
4421 PyObject
* _argo0
= 0;
4422 char *_kwnames
[] = { "self", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4438 wxPy_END_ALLOW_THREADS
;
4440 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4448 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4449 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4451 wxPyHtmlWindow
* _arg0
;
4454 PyObject
* _argo0
= 0;
4455 PyObject
* _argo1
= 0;
4456 char *_kwnames
[] = { "self","frame","format", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4479 wxPy_END_ALLOW_THREADS
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4486 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4489 wxPyHtmlWindow
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4504 wxPy_BEGIN_ALLOW_THREADS
;
4505 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4507 wxPy_END_ALLOW_THREADS
;
4508 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4512 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4513 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4515 wxPyHtmlWindow
* _arg0
;
4517 PyObject
* _argo0
= 0;
4518 char *_kwnames
[] = { "self","bar", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4531 wxPy_BEGIN_ALLOW_THREADS
;
4532 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4534 wxPy_END_ALLOW_THREADS
;
4535 } Py_INCREF(Py_None
);
4536 _resultobj
= Py_None
;
4540 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4541 int* temp
= int_LIST_helper(sizes
);
4543 self
->SetFonts(normal_face
, fixed_face
, temp
);
4547 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4549 wxPyHtmlWindow
* _arg0
;
4553 PyObject
* _argo0
= 0;
4554 PyObject
* _obj1
= 0;
4555 PyObject
* _obj2
= 0;
4556 PyObject
* _obj3
= 0;
4557 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4570 #if PYTHON_API_VERSION >= 1009
4571 char* tmpPtr
; int tmpSize
;
4572 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4576 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4578 _arg1
= new wxString(tmpPtr
, tmpSize
);
4580 if (!PyString_Check(_obj1
)) {
4581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4584 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4588 #if PYTHON_API_VERSION >= 1009
4589 char* tmpPtr
; int tmpSize
;
4590 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4594 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4596 _arg2
= new wxString(tmpPtr
, tmpSize
);
4598 if (!PyString_Check(_obj2
)) {
4599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4602 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4612 wxPy_END_ALLOW_THREADS
;
4613 } Py_INCREF(Py_None
);
4614 _resultobj
= Py_None
;
4626 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4627 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4629 wxPyHtmlWindow
* _arg0
;
4631 PyObject
* _argo0
= 0;
4632 PyObject
* _obj1
= 0;
4633 char *_kwnames
[] = { "self","title", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4646 #if PYTHON_API_VERSION >= 1009
4647 char* tmpPtr
; int tmpSize
;
4648 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4652 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4654 _arg1
= new wxString(tmpPtr
, tmpSize
);
4656 if (!PyString_Check(_obj1
)) {
4657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4660 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4664 wxPy_BEGIN_ALLOW_THREADS
;
4665 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4667 wxPy_END_ALLOW_THREADS
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4677 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4678 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
* _resultobj
;
4680 wxPyHtmlWindow
* _arg0
;
4682 PyObject
* _argo0
= 0;
4683 char *_kwnames
[] = { "self","b", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4699 wxPy_END_ALLOW_THREADS
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4705 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4706 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4708 wxPyHtmlWindow
* _arg0
;
4709 wxConfigBase
* _arg1
;
4710 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4711 PyObject
* _argo0
= 0;
4712 PyObject
* _argo1
= 0;
4713 PyObject
* _obj2
= 0;
4714 char *_kwnames
[] = { "self","cfg","path", NULL
};
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4735 #if PYTHON_API_VERSION >= 1009
4736 char* tmpPtr
; int tmpSize
;
4737 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4741 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4743 _arg2
= new wxString(tmpPtr
, tmpSize
);
4745 if (!PyString_Check(_obj2
)) {
4746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4749 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4753 wxPy_BEGIN_ALLOW_THREADS
;
4754 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4756 wxPy_END_ALLOW_THREADS
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4766 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4767 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4769 wxPyHtmlWindow
* _arg0
;
4770 wxConfigBase
* _arg1
;
4771 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4772 PyObject
* _argo0
= 0;
4773 PyObject
* _argo1
= 0;
4774 PyObject
* _obj2
= 0;
4775 char *_kwnames
[] = { "self","cfg","path", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4796 #if PYTHON_API_VERSION >= 1009
4797 char* tmpPtr
; int tmpSize
;
4798 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4802 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4804 _arg2
= new wxString(tmpPtr
, tmpSize
);
4806 if (!PyString_Check(_obj2
)) {
4807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4810 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4814 wxPy_BEGIN_ALLOW_THREADS
;
4815 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4817 wxPy_END_ALLOW_THREADS
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4827 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4828 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4831 wxPyHtmlWindow
* _arg0
;
4832 PyObject
* _argo0
= 0;
4833 char *_kwnames
[] = { "self", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4846 wxPy_BEGIN_ALLOW_THREADS
;
4847 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4849 wxPy_END_ALLOW_THREADS
;
4850 } _resultobj
= Py_BuildValue("i",_result
);
4854 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4855 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4858 wxPyHtmlWindow
* _arg0
;
4859 PyObject
* _argo0
= 0;
4860 char *_kwnames
[] = { "self", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4873 wxPy_BEGIN_ALLOW_THREADS
;
4874 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4876 wxPy_END_ALLOW_THREADS
;
4877 } _resultobj
= Py_BuildValue("i",_result
);
4881 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4882 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4885 wxPyHtmlWindow
* _arg0
;
4886 PyObject
* _argo0
= 0;
4887 char *_kwnames
[] = { "self", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4900 wxPy_BEGIN_ALLOW_THREADS
;
4901 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4903 wxPy_END_ALLOW_THREADS
;
4904 } _resultobj
= Py_BuildValue("i",_result
);
4908 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4909 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
* _resultobj
;
4912 wxPyHtmlWindow
* _arg0
;
4913 PyObject
* _argo0
= 0;
4914 char *_kwnames
[] = { "self", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4927 wxPy_BEGIN_ALLOW_THREADS
;
4928 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4930 wxPy_END_ALLOW_THREADS
;
4931 } _resultobj
= Py_BuildValue("i",_result
);
4935 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4936 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4938 wxPyHtmlWindow
* _arg0
;
4939 PyObject
* _argo0
= 0;
4940 char *_kwnames
[] = { "self", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 wxHtmlWindow_HistoryClear(_arg0
);
4956 wxPy_END_ALLOW_THREADS
;
4957 } Py_INCREF(Py_None
);
4958 _resultobj
= Py_None
;
4962 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4963 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4965 wxHtmlContainerCell
* _result
;
4966 wxPyHtmlWindow
* _arg0
;
4967 PyObject
* _argo0
= 0;
4968 char *_kwnames
[] = { "self", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4985 wxPy_END_ALLOW_THREADS
;
4987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4988 _resultobj
= Py_BuildValue("s",_ptemp
);
4991 _resultobj
= Py_None
;
4996 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4997 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
4999 wxHtmlWinParser
* _result
;
5000 wxPyHtmlWindow
* _arg0
;
5001 PyObject
* _argo0
= 0;
5002 char *_kwnames
[] = { "self", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5016 wxPy_BEGIN_ALLOW_THREADS
;
5017 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5019 wxPy_END_ALLOW_THREADS
;
5021 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5022 _resultobj
= Py_BuildValue("s",_ptemp
);
5025 _resultobj
= Py_None
;
5030 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5031 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxPyHtmlWindow
* _arg0
;
5034 wxHtmlLinkInfo
* _arg1
;
5035 PyObject
* _argo0
= 0;
5036 PyObject
* _argo1
= 0;
5037 char *_kwnames
[] = { "self","link", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5057 wxPy_BEGIN_ALLOW_THREADS
;
5058 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5060 wxPy_END_ALLOW_THREADS
;
5061 } Py_INCREF(Py_None
);
5062 _resultobj
= Py_None
;
5066 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5067 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
* _resultobj
;
5069 wxPyHtmlWindow
* _arg0
;
5071 PyObject
* _argo0
= 0;
5072 char *_kwnames
[] = { "self","title", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5088 wxPy_END_ALLOW_THREADS
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5095 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5097 wxPyHtmlWindow
* _arg0
;
5101 PyObject
* _argo0
= 0;
5102 PyObject
* _argo1
= 0;
5103 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5123 wxPy_BEGIN_ALLOW_THREADS
;
5124 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5126 wxPy_END_ALLOW_THREADS
;
5127 } Py_INCREF(Py_None
);
5128 _resultobj
= Py_None
;
5132 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5133 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
* _resultobj
;
5135 wxPyHtmlWindow
* _arg0
;
5139 wxMouseEvent
* _arg4
;
5140 PyObject
* _argo0
= 0;
5141 PyObject
* _argo1
= 0;
5142 PyObject
* _argo4
= 0;
5143 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5163 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5180 wxHtmlDCRenderer
*src
;
5182 src
= (wxHtmlDCRenderer
*) ptr
;
5183 dest
= (wxObject
*) src
;
5184 return (void *) dest
;
5187 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5188 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 wxHtmlDCRenderer
* _result
;
5191 char *_kwnames
[] = { NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5201 wxPy_END_ALLOW_THREADS
;
5203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5204 _resultobj
= Py_BuildValue("s",_ptemp
);
5207 _resultobj
= Py_None
;
5212 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5213 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 wxHtmlDCRenderer
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 delete_wxHtmlDCRenderer(_arg0
);
5233 wxPy_END_ALLOW_THREADS
;
5234 } Py_INCREF(Py_None
);
5235 _resultobj
= Py_None
;
5239 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5240 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5242 wxHtmlDCRenderer
* _arg0
;
5245 PyObject
* _argo0
= 0;
5246 PyObject
* _argo1
= 0;
5247 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5267 wxPy_BEGIN_ALLOW_THREADS
;
5268 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5270 wxPy_END_ALLOW_THREADS
;
5271 } Py_INCREF(Py_None
);
5272 _resultobj
= Py_None
;
5276 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5277 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5279 wxHtmlDCRenderer
* _arg0
;
5282 PyObject
* _argo0
= 0;
5283 char *_kwnames
[] = { "self","width","height", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5299 wxPy_END_ALLOW_THREADS
;
5300 } Py_INCREF(Py_None
);
5301 _resultobj
= Py_None
;
5305 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5306 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
* _resultobj
;
5308 wxHtmlDCRenderer
* _arg0
;
5310 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5311 bool _arg3
= (bool ) TRUE
;
5312 PyObject
* _argo0
= 0;
5313 PyObject
* _obj1
= 0;
5314 PyObject
* _obj2
= 0;
5315 int tempbool3
= (int) TRUE
;
5316 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5329 #if PYTHON_API_VERSION >= 1009
5330 char* tmpPtr
; int tmpSize
;
5331 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5335 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5337 _arg1
= new wxString(tmpPtr
, tmpSize
);
5339 if (!PyString_Check(_obj1
)) {
5340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5343 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5348 #if PYTHON_API_VERSION >= 1009
5349 char* tmpPtr
; int tmpSize
;
5350 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5354 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5356 _arg2
= new wxString(tmpPtr
, tmpSize
);
5358 if (!PyString_Check(_obj2
)) {
5359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5362 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5365 _arg3
= (bool ) tempbool3
;
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } Py_INCREF(Py_None
);
5372 _resultobj
= Py_None
;
5384 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5385 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5388 wxHtmlDCRenderer
* _arg0
;
5391 int _arg3
= (int ) 0;
5392 int _arg4
= (int ) FALSE
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } _resultobj
= Py_BuildValue("i",_result
);
5415 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5416 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5419 wxHtmlDCRenderer
* _arg0
;
5420 PyObject
* _argo0
= 0;
5421 char *_kwnames
[] = { "self", NULL
};
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5434 wxPy_BEGIN_ALLOW_THREADS
;
5435 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5437 wxPy_END_ALLOW_THREADS
;
5438 } _resultobj
= Py_BuildValue("i",_result
);
5442 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5443 wxHtmlPrintout
*src
;
5445 src
= (wxHtmlPrintout
*) ptr
;
5446 dest
= (wxPyPrintout
*) src
;
5447 return (void *) dest
;
5450 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5451 wxHtmlPrintout
*src
;
5453 src
= (wxHtmlPrintout
*) ptr
;
5454 dest
= (wxObject
*) src
;
5455 return (void *) dest
;
5458 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5459 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5461 wxHtmlPrintout
* _result
;
5462 char * _arg0
= (char *) "Printout";
5463 char *_kwnames
[] = { "title", NULL
};
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5470 wxPy_BEGIN_ALLOW_THREADS
;
5471 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5473 wxPy_END_ALLOW_THREADS
;
5475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5476 _resultobj
= Py_BuildValue("s",_ptemp
);
5479 _resultobj
= Py_None
;
5484 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5485 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
* _resultobj
;
5487 wxHtmlPrintout
* _arg0
;
5489 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5490 bool _arg3
= (bool ) TRUE
;
5491 PyObject
* _argo0
= 0;
5492 PyObject
* _obj1
= 0;
5493 PyObject
* _obj2
= 0;
5494 int tempbool3
= (int) TRUE
;
5495 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5508 #if PYTHON_API_VERSION >= 1009
5509 char* tmpPtr
; int tmpSize
;
5510 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5514 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5516 _arg1
= new wxString(tmpPtr
, tmpSize
);
5518 if (!PyString_Check(_obj1
)) {
5519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5522 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5527 #if PYTHON_API_VERSION >= 1009
5528 char* tmpPtr
; int tmpSize
;
5529 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5533 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5535 _arg2
= new wxString(tmpPtr
, tmpSize
);
5537 if (!PyString_Check(_obj2
)) {
5538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5541 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5544 _arg3
= (bool ) tempbool3
;
5546 wxPy_BEGIN_ALLOW_THREADS
;
5547 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5549 wxPy_END_ALLOW_THREADS
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5563 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5564 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxHtmlPrintout
* _arg0
;
5568 PyObject
* _argo0
= 0;
5569 PyObject
* _obj1
= 0;
5570 char *_kwnames
[] = { "self","htmlfile", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5583 #if PYTHON_API_VERSION >= 1009
5584 char* tmpPtr
; int tmpSize
;
5585 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5589 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5591 _arg1
= new wxString(tmpPtr
, tmpSize
);
5593 if (!PyString_Check(_obj1
)) {
5594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5597 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5601 wxPy_BEGIN_ALLOW_THREADS
;
5602 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5604 wxPy_END_ALLOW_THREADS
;
5605 } Py_INCREF(Py_None
);
5606 _resultobj
= Py_None
;
5614 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5615 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5617 wxHtmlPrintout
* _arg0
;
5619 int _arg2
= (int ) (wxPAGE_ALL
);
5620 PyObject
* _argo0
= 0;
5621 PyObject
* _obj1
= 0;
5622 char *_kwnames
[] = { "self","header","pg", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5635 #if PYTHON_API_VERSION >= 1009
5636 char* tmpPtr
; int tmpSize
;
5637 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5641 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5643 _arg1
= new wxString(tmpPtr
, tmpSize
);
5645 if (!PyString_Check(_obj1
)) {
5646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5649 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5653 wxPy_BEGIN_ALLOW_THREADS
;
5654 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5656 wxPy_END_ALLOW_THREADS
;
5657 } Py_INCREF(Py_None
);
5658 _resultobj
= Py_None
;
5666 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5667 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5669 wxHtmlPrintout
* _arg0
;
5671 int _arg2
= (int ) (wxPAGE_ALL
);
5672 PyObject
* _argo0
= 0;
5673 PyObject
* _obj1
= 0;
5674 char *_kwnames
[] = { "self","footer","pg", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5687 #if PYTHON_API_VERSION >= 1009
5688 char* tmpPtr
; int tmpSize
;
5689 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5693 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5695 _arg1
= new wxString(tmpPtr
, tmpSize
);
5697 if (!PyString_Check(_obj1
)) {
5698 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5701 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5705 wxPy_BEGIN_ALLOW_THREADS
;
5706 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5708 wxPy_END_ALLOW_THREADS
;
5709 } Py_INCREF(Py_None
);
5710 _resultobj
= Py_None
;
5718 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5719 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5721 wxHtmlPrintout
* _arg0
;
5722 float _arg1
= (float ) 25.2;
5723 float _arg2
= (float ) 25.2;
5724 float _arg3
= (float ) 25.2;
5725 float _arg4
= (float ) 25.2;
5726 float _arg5
= (float ) 5;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5744 wxPy_END_ALLOW_THREADS
;
5745 } Py_INCREF(Py_None
);
5746 _resultobj
= Py_None
;
5750 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5751 wxHtmlEasyPrinting
*src
;
5753 src
= (wxHtmlEasyPrinting
*) ptr
;
5754 dest
= (wxObject
*) src
;
5755 return (void *) dest
;
5758 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5759 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5761 wxHtmlEasyPrinting
* _result
;
5762 char * _arg0
= (char *) "Printing";
5763 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5764 PyObject
* _argo1
= 0;
5765 char *_kwnames
[] = { "name","parent_frame", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5779 wxPy_BEGIN_ALLOW_THREADS
;
5780 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5782 wxPy_END_ALLOW_THREADS
;
5784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5785 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 _resultobj
= Py_None
;
5793 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5794 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5796 wxHtmlEasyPrinting
* _arg0
;
5797 PyObject
* _argo0
= 0;
5798 char *_kwnames
[] = { "self", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5811 wxPy_BEGIN_ALLOW_THREADS
;
5812 delete_wxHtmlEasyPrinting(_arg0
);
5814 wxPy_END_ALLOW_THREADS
;
5815 } Py_INCREF(Py_None
);
5816 _resultobj
= Py_None
;
5820 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5821 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5823 wxHtmlEasyPrinting
* _arg0
;
5825 PyObject
* _argo0
= 0;
5826 PyObject
* _obj1
= 0;
5827 char *_kwnames
[] = { "self","htmlfile", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5840 #if PYTHON_API_VERSION >= 1009
5841 char* tmpPtr
; int tmpSize
;
5842 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5843 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5846 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5848 _arg1
= new wxString(tmpPtr
, tmpSize
);
5850 if (!PyString_Check(_obj1
)) {
5851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5854 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5858 wxPy_BEGIN_ALLOW_THREADS
;
5859 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5861 wxPy_END_ALLOW_THREADS
;
5862 } Py_INCREF(Py_None
);
5863 _resultobj
= Py_None
;
5871 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5872 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxHtmlEasyPrinting
* _arg0
;
5876 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5877 PyObject
* _argo0
= 0;
5878 PyObject
* _obj1
= 0;
5879 PyObject
* _obj2
= 0;
5880 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5893 #if PYTHON_API_VERSION >= 1009
5894 char* tmpPtr
; int tmpSize
;
5895 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5899 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5901 _arg1
= new wxString(tmpPtr
, tmpSize
);
5903 if (!PyString_Check(_obj1
)) {
5904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5907 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5912 #if PYTHON_API_VERSION >= 1009
5913 char* tmpPtr
; int tmpSize
;
5914 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5915 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5918 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5920 _arg2
= new wxString(tmpPtr
, tmpSize
);
5922 if (!PyString_Check(_obj2
)) {
5923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5926 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5930 wxPy_BEGIN_ALLOW_THREADS
;
5931 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5933 wxPy_END_ALLOW_THREADS
;
5934 } Py_INCREF(Py_None
);
5935 _resultobj
= Py_None
;
5947 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5948 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5950 wxHtmlEasyPrinting
* _arg0
;
5952 PyObject
* _argo0
= 0;
5953 PyObject
* _obj1
= 0;
5954 char *_kwnames
[] = { "self","htmlfile", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5967 #if PYTHON_API_VERSION >= 1009
5968 char* tmpPtr
; int tmpSize
;
5969 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5973 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5975 _arg1
= new wxString(tmpPtr
, tmpSize
);
5977 if (!PyString_Check(_obj1
)) {
5978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5981 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5985 wxPy_BEGIN_ALLOW_THREADS
;
5986 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5988 wxPy_END_ALLOW_THREADS
;
5989 } Py_INCREF(Py_None
);
5990 _resultobj
= Py_None
;
5998 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5999 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6001 wxHtmlEasyPrinting
* _arg0
;
6003 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6004 PyObject
* _argo0
= 0;
6005 PyObject
* _obj1
= 0;
6006 PyObject
* _obj2
= 0;
6007 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6020 #if PYTHON_API_VERSION >= 1009
6021 char* tmpPtr
; int tmpSize
;
6022 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6026 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6028 _arg1
= new wxString(tmpPtr
, tmpSize
);
6030 if (!PyString_Check(_obj1
)) {
6031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6034 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6039 #if PYTHON_API_VERSION >= 1009
6040 char* tmpPtr
; int tmpSize
;
6041 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6045 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6047 _arg2
= new wxString(tmpPtr
, tmpSize
);
6049 if (!PyString_Check(_obj2
)) {
6050 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6053 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6057 wxPy_BEGIN_ALLOW_THREADS
;
6058 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6060 wxPy_END_ALLOW_THREADS
;
6061 } Py_INCREF(Py_None
);
6062 _resultobj
= Py_None
;
6074 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6075 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6077 wxHtmlEasyPrinting
* _arg0
;
6078 PyObject
* _argo0
= 0;
6079 char *_kwnames
[] = { "self", NULL
};
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6092 wxPy_BEGIN_ALLOW_THREADS
;
6093 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6095 wxPy_END_ALLOW_THREADS
;
6096 } Py_INCREF(Py_None
);
6097 _resultobj
= Py_None
;
6101 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6102 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
* _resultobj
;
6104 wxHtmlEasyPrinting
* _arg0
;
6105 PyObject
* _argo0
= 0;
6106 char *_kwnames
[] = { "self", NULL
};
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6119 wxPy_BEGIN_ALLOW_THREADS
;
6120 wxHtmlEasyPrinting_PageSetup(_arg0
);
6122 wxPy_END_ALLOW_THREADS
;
6123 } Py_INCREF(Py_None
);
6124 _resultobj
= Py_None
;
6128 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6129 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6131 wxHtmlEasyPrinting
* _arg0
;
6133 int _arg2
= (int ) (wxPAGE_ALL
);
6134 PyObject
* _argo0
= 0;
6135 PyObject
* _obj1
= 0;
6136 char *_kwnames
[] = { "self","header","pg", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6149 #if PYTHON_API_VERSION >= 1009
6150 char* tmpPtr
; int tmpSize
;
6151 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6155 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6157 _arg1
= new wxString(tmpPtr
, tmpSize
);
6159 if (!PyString_Check(_obj1
)) {
6160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6163 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6167 wxPy_BEGIN_ALLOW_THREADS
;
6168 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6170 wxPy_END_ALLOW_THREADS
;
6171 } Py_INCREF(Py_None
);
6172 _resultobj
= Py_None
;
6180 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6181 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6183 wxHtmlEasyPrinting
* _arg0
;
6185 int _arg2
= (int ) (wxPAGE_ALL
);
6186 PyObject
* _argo0
= 0;
6187 PyObject
* _obj1
= 0;
6188 char *_kwnames
[] = { "self","footer","pg", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6201 #if PYTHON_API_VERSION >= 1009
6202 char* tmpPtr
; int tmpSize
;
6203 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6207 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6209 _arg1
= new wxString(tmpPtr
, tmpSize
);
6211 if (!PyString_Check(_obj1
)) {
6212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6215 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6219 wxPy_BEGIN_ALLOW_THREADS
;
6220 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6222 wxPy_END_ALLOW_THREADS
;
6223 } Py_INCREF(Py_None
);
6224 _resultobj
= Py_None
;
6232 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6233 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6235 wxPrintData
* _result
;
6236 wxHtmlEasyPrinting
* _arg0
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self", NULL
};
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6252 wxPy_BEGIN_ALLOW_THREADS
;
6253 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6255 wxPy_END_ALLOW_THREADS
;
6257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6258 _resultobj
= Py_BuildValue("s",_ptemp
);
6261 _resultobj
= Py_None
;
6266 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6267 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
* _resultobj
;
6269 wxPageSetupDialogData
* _result
;
6270 wxHtmlEasyPrinting
* _arg0
;
6271 PyObject
* _argo0
= 0;
6272 char *_kwnames
[] = { "self", NULL
};
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6286 wxPy_BEGIN_ALLOW_THREADS
;
6287 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6289 wxPy_END_ALLOW_THREADS
;
6291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6292 _resultobj
= Py_BuildValue("s",_ptemp
);
6295 _resultobj
= Py_None
;
6300 static PyMethodDef htmlcMethods
[] = {
6301 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6376 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6377 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6378 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6379 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6380 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6381 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6382 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6383 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6384 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6385 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6386 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6387 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6388 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6389 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6390 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6391 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6392 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6393 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6394 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6395 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6396 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6397 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6398 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6399 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6400 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6401 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6402 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6403 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6404 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6405 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6406 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6407 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6408 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6409 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6410 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6411 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6412 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6413 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6414 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6415 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6416 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6417 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6418 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6419 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6420 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6421 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6422 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6423 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6424 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6425 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6426 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6427 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6428 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6429 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6430 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6431 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6432 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6433 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6434 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6435 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6436 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6437 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6438 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6439 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6440 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6441 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6442 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6443 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6444 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6445 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6446 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6447 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6448 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6449 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6450 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6451 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6452 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6453 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6454 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6455 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6456 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6457 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6458 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6459 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6460 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6467 * This table is used by the pointer type-checker
6469 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6470 { "_signed_long","_long",0},
6471 { "_wxPrintQuality","_wxCoord",0},
6472 { "_wxPrintQuality","_int",0},
6473 { "_wxPrintQuality","_signed_int",0},
6474 { "_wxPrintQuality","_unsigned_int",0},
6475 { "_wxPrintQuality","_wxWindowID",0},
6476 { "_wxPrintQuality","_uint",0},
6477 { "_wxPrintQuality","_EBool",0},
6478 { "_wxPrintQuality","_size_t",0},
6479 { "_wxPrintQuality","_time_t",0},
6480 { "_byte","_unsigned_char",0},
6481 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6482 { "_long","_unsigned_long",0},
6483 { "_long","_signed_long",0},
6484 { "_size_t","_wxCoord",0},
6485 { "_size_t","_wxPrintQuality",0},
6486 { "_size_t","_time_t",0},
6487 { "_size_t","_unsigned_int",0},
6488 { "_size_t","_int",0},
6489 { "_size_t","_wxWindowID",0},
6490 { "_size_t","_uint",0},
6491 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6492 { "_uint","_wxCoord",0},
6493 { "_uint","_wxPrintQuality",0},
6494 { "_uint","_time_t",0},
6495 { "_uint","_size_t",0},
6496 { "_uint","_unsigned_int",0},
6497 { "_uint","_int",0},
6498 { "_uint","_wxWindowID",0},
6499 { "_wxChar","_char",0},
6500 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6501 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6502 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6503 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6504 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6505 { "_char","_wxChar",0},
6506 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6507 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6508 { "_EBool","_wxCoord",0},
6509 { "_EBool","_wxPrintQuality",0},
6510 { "_EBool","_signed_int",0},
6511 { "_EBool","_int",0},
6512 { "_EBool","_wxWindowID",0},
6513 { "_unsigned_long","_long",0},
6514 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6515 { "_signed_int","_wxCoord",0},
6516 { "_signed_int","_wxPrintQuality",0},
6517 { "_signed_int","_EBool",0},
6518 { "_signed_int","_wxWindowID",0},
6519 { "_signed_int","_int",0},
6520 { "_WXTYPE","_wxDateTime_t",0},
6521 { "_WXTYPE","_short",0},
6522 { "_WXTYPE","_signed_short",0},
6523 { "_WXTYPE","_unsigned_short",0},
6524 { "_unsigned_short","_wxDateTime_t",0},
6525 { "_unsigned_short","_WXTYPE",0},
6526 { "_unsigned_short","_short",0},
6527 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6528 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6529 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6530 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6531 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6532 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6533 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6534 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6535 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6536 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6537 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6538 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6539 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6540 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6541 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6542 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6543 { "_signed_short","_WXTYPE",0},
6544 { "_signed_short","_short",0},
6545 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6546 { "_unsigned_char","_byte",0},
6547 { "_unsigned_int","_wxCoord",0},
6548 { "_unsigned_int","_wxPrintQuality",0},
6549 { "_unsigned_int","_time_t",0},
6550 { "_unsigned_int","_size_t",0},
6551 { "_unsigned_int","_uint",0},
6552 { "_unsigned_int","_wxWindowID",0},
6553 { "_unsigned_int","_int",0},
6554 { "_short","_wxDateTime_t",0},
6555 { "_short","_WXTYPE",0},
6556 { "_short","_unsigned_short",0},
6557 { "_short","_signed_short",0},
6558 { "_wxWindowID","_wxCoord",0},
6559 { "_wxWindowID","_wxPrintQuality",0},
6560 { "_wxWindowID","_time_t",0},
6561 { "_wxWindowID","_size_t",0},
6562 { "_wxWindowID","_EBool",0},
6563 { "_wxWindowID","_uint",0},
6564 { "_wxWindowID","_int",0},
6565 { "_wxWindowID","_signed_int",0},
6566 { "_wxWindowID","_unsigned_int",0},
6567 { "_int","_wxCoord",0},
6568 { "_int","_wxPrintQuality",0},
6569 { "_int","_time_t",0},
6570 { "_int","_size_t",0},
6571 { "_int","_EBool",0},
6572 { "_int","_uint",0},
6573 { "_int","_wxWindowID",0},
6574 { "_int","_unsigned_int",0},
6575 { "_int","_signed_int",0},
6576 { "_wxDateTime_t","_unsigned_short",0},
6577 { "_wxDateTime_t","_short",0},
6578 { "_wxDateTime_t","_WXTYPE",0},
6579 { "_time_t","_wxCoord",0},
6580 { "_time_t","_wxPrintQuality",0},
6581 { "_time_t","_unsigned_int",0},
6582 { "_time_t","_int",0},
6583 { "_time_t","_wxWindowID",0},
6584 { "_time_t","_uint",0},
6585 { "_time_t","_size_t",0},
6586 { "_wxCoord","_int",0},
6587 { "_wxCoord","_signed_int",0},
6588 { "_wxCoord","_unsigned_int",0},
6589 { "_wxCoord","_wxWindowID",0},
6590 { "_wxCoord","_uint",0},
6591 { "_wxCoord","_EBool",0},
6592 { "_wxCoord","_size_t",0},
6593 { "_wxCoord","_time_t",0},
6594 { "_wxCoord","_wxPrintQuality",0},
6595 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6596 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6597 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6600 static PyObject
*SWIG_globals
;
6604 SWIGEXPORT(void) inithtmlc() {
6606 SWIG_globals
= SWIG_newvarlink();
6607 m
= Py_InitModule("htmlc", htmlcMethods
);
6608 d
= PyModule_GetDict(m
);
6609 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6610 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6611 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6612 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6613 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6614 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6615 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6616 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6617 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6618 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6619 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6620 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6621 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6622 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6623 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6624 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6625 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6626 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6627 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6628 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6629 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6630 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6635 wxClassInfo::CleanUpClasses();
6636 wxClassInfo::InitializeClasses();
6638 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6639 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6640 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6643 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6644 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);