2 * FILE : src/mac/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlc
56 #define SWIG_name "htmlc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/htmprint.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 #if PYTHON_API_VERSION >= 1009
96 static char* wxStringErrorMsg
= "String or Unicode type required";
98 static char* wxStringErrorMsg
= "String type required";
101 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
102 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
104 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
106 wxHtmlParser
* GetParser() { return m_Parser
; }
107 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
109 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
110 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
115 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
117 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
118 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
120 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
121 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
123 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
125 wxHtmlWinParser
* GetParser() { return m_WParser
; }
126 void ParseInner(const wxHtmlTag
& tag
)
127 { wxHtmlWinTagHandler::ParseInner(tag
); }
129 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
130 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
135 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
137 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
138 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
141 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
143 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
144 m_tagHandlerClass
= thc
;
145 Py_INCREF(m_tagHandlerClass
);
146 RegisterModule(this);
147 wxHtmlWinParser::AddModule(this);
151 wxPyBeginBlockThreads();
152 Py_DECREF(m_tagHandlerClass
);
153 m_tagHandlerClass
= NULL
;
154 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
155 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
158 wxPyEndBlockThreads();
161 void FillHandlersTable(wxHtmlWinParser
*parser
) {
162 // Wave our magic wand... (if it works it's a miracle! ;-)
164 // First, make a new instance of the tag handler
165 wxPyBeginBlockThreads();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPyEndBlockThreads();
171 // now figure out where it's C++ object is...
172 wxPyHtmlWinTagHandler
* thPtr
;
173 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
177 parser
->AddTagHandler(thPtr
);
184 PyObject
* m_tagHandlerClass
;
185 wxArrayPtrVoid m_objArray
;
189 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
190 // Dynamically create a new wxModule. Refcounts tagHandlerClass
191 // and adds itself to the wxModules list and to the wxHtmlWinParser.
192 new wxPyHtmlTagsModule(tagHandlerClass
);
195 class wxPyHtmlWindow
: public wxHtmlWindow
{
196 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
198 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
199 const wxPoint
& pos
= wxDefaultPosition
,
200 const wxSize
& size
= wxDefaultSize
,
201 long style
= wxHW_SCROLLBAR_AUTO
,
202 const wxString
& name
= "htmlWindow")
203 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
204 wxPyHtmlWindow() : wxHtmlWindow() {};
206 bool ScrollToAnchor(const wxString
& anchor
) {
207 return wxHtmlWindow::ScrollToAnchor(anchor
);
210 bool HasAnchor(const wxString
& anchor
) {
211 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
215 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
216 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
218 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
220 wxString
*redirect
) const;
222 DEC_PYCALLBACK__STRING(OnSetTitle
);
223 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
224 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
225 // DEC_PYCALLBACK_BOOL_STRING(OnOpeningURL);
229 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
230 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
231 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
232 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
233 // IMP_PYCALLBACK_BOOL_STRING(wxPyHtmlWindow, wxHtmlWindow, OnOpeningURL);
236 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
238 wxPyBeginBlockThreads();
239 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
240 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
241 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
244 wxPyEndBlockThreads();
246 wxHtmlWindow::OnLinkClicked(link
);
248 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
249 wxHtmlWindow::OnLinkClicked(link
);
253 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
255 wxString
*redirect
) const {
257 wxHtmlOpeningStatus rval
;
258 wxPyBeginBlockThreads();
259 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
261 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(is)", type
, url
.c_str()));
262 if (PyString_Check(ro
)
263 #if PYTHON_API_VERSION >= 1009
264 || PyUnicode_Check(ro
)
267 PyObject
* str
= PyObject_Str(ro
);
268 *redirect
= PyString_AsString(str
);
270 rval
= wxHTML_REDIRECT
;
273 PyObject
* num
= PyNumber_Int(ro
);
274 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
279 wxPyEndBlockThreads();
281 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
287 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
288 wxHtmlWindow::AddFilter(filter
);
291 extern "C" SWIGEXPORT(void) inithtmlhelpc();
295 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 PyObject
* _obj0
= 0;
299 char *_kwnames
[] = { "tagHandlerClass", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
309 wxHtmlWinParser_AddTagHandler(_arg0
);
311 wxPyEndAllowThreads(__tstate
);
312 if (PyErr_Occurred()) return NULL
;
313 } Py_INCREF(Py_None
);
314 _resultobj
= Py_None
;
318 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
320 wxHtmlFilter
* _arg0
;
321 PyObject
* _argo0
= 0;
322 char *_kwnames
[] = { "filter", NULL
};
325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
336 wxHtmlWindow_AddFilter(_arg0
);
338 wxPyEndAllowThreads(__tstate
);
339 if (PyErr_Occurred()) return NULL
;
340 } Py_INCREF(Py_None
);
341 _resultobj
= Py_None
;
345 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
348 src
= (wxHtmlLinkInfo
*) ptr
;
349 dest
= (wxObject
*) src
;
350 return (void *) dest
;
353 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
354 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxHtmlLinkInfo
* _result
;
358 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
359 PyObject
* _obj0
= 0;
360 PyObject
* _obj1
= 0;
361 char *_kwnames
[] = { "href","target", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
368 #if PYTHON_API_VERSION >= 1009
369 char* tmpPtr
; int tmpSize
;
370 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
374 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
376 _arg0
= new wxString(tmpPtr
, tmpSize
);
378 if (!PyString_Check(_obj0
)) {
379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
382 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
387 #if PYTHON_API_VERSION >= 1009
388 char* tmpPtr
; int tmpSize
;
389 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
395 _arg1
= new wxString(tmpPtr
, tmpSize
);
397 if (!PyString_Check(_obj1
)) {
398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
401 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
406 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
408 wxPyEndAllowThreads(__tstate
);
409 if (PyErr_Occurred()) return NULL
;
411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
412 _resultobj
= Py_BuildValue("s",_ptemp
);
415 _resultobj
= Py_None
;
428 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
429 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
432 wxHtmlLinkInfo
* _arg0
;
433 PyObject
* _argo0
= 0;
434 char *_kwnames
[] = { "self", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
448 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
450 wxPyEndAllowThreads(__tstate
);
451 if (PyErr_Occurred()) return NULL
;
453 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
461 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
462 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
465 wxHtmlLinkInfo
* _arg0
;
466 PyObject
* _argo0
= 0;
467 char *_kwnames
[] = { "self", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
481 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
483 wxPyEndAllowThreads(__tstate
);
484 if (PyErr_Occurred()) return NULL
;
486 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
494 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
495 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxMouseEvent
* _result
;
498 wxHtmlLinkInfo
* _arg0
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 }{ _resultobj
= wxPyMake_wxObject(_result
); }
522 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
523 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxHtmlCell
* _result
;
526 wxHtmlLinkInfo
* _arg0
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
549 _resultobj
= Py_BuildValue("s",_ptemp
);
552 _resultobj
= Py_None
;
557 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
558 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
560 wxHtmlLinkInfo
* _arg0
;
561 wxMouseEvent
* _arg1
;
562 PyObject
* _argo0
= 0;
563 PyObject
* _argo1
= 0;
564 char *_kwnames
[] = { "self","e", NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
585 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
587 wxPyEndAllowThreads(__tstate
);
588 if (PyErr_Occurred()) return NULL
;
589 } Py_INCREF(Py_None
);
590 _resultobj
= Py_None
;
594 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
595 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
597 wxHtmlLinkInfo
* _arg0
;
599 PyObject
* _argo0
= 0;
600 PyObject
* _argo1
= 0;
601 char *_kwnames
[] = { "self","e", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
634 src
= (wxHtmlTag
*) ptr
;
635 dest
= (wxObject
*) src
;
636 return (void *) dest
;
639 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
640 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
644 PyObject
* _argo0
= 0;
645 char *_kwnames
[] = { "self", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
659 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
661 wxPyEndAllowThreads(__tstate
);
662 if (PyErr_Occurred()) return NULL
;
664 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
672 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
673 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
678 PyObject
* _argo0
= 0;
679 PyObject
* _obj1
= 0;
680 char *_kwnames
[] = { "self","par", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
693 #if PYTHON_API_VERSION >= 1009
694 char* tmpPtr
; int tmpSize
;
695 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
699 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
701 _arg1
= new wxString(tmpPtr
, tmpSize
);
703 if (!PyString_Check(_obj1
)) {
704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
707 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
712 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
714 wxPyEndAllowThreads(__tstate
);
715 if (PyErr_Occurred()) return NULL
;
716 } _resultobj
= Py_BuildValue("i",_result
);
724 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
725 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
730 int _arg2
= (int ) FALSE
;
731 PyObject
* _argo0
= 0;
732 PyObject
* _obj1
= 0;
733 char *_kwnames
[] = { "self","par","with_commas", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
746 #if PYTHON_API_VERSION >= 1009
747 char* tmpPtr
; int tmpSize
;
748 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
752 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
754 _arg1
= new wxString(tmpPtr
, tmpSize
);
756 if (!PyString_Check(_obj1
)) {
757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
760 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
770 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
782 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
783 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 PyObject
* _resultobj
;
787 PyObject
* _argo0
= 0;
788 char *_kwnames
[] = { "self", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) return NULL
;
807 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
815 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
816 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) return NULL
;
839 } _resultobj
= Py_BuildValue("i",_result
);
843 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
844 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
848 PyObject
* _argo0
= 0;
849 char *_kwnames
[] = { "self", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
863 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
865 wxPyEndAllowThreads(__tstate
);
866 if (PyErr_Occurred()) return NULL
;
867 } _resultobj
= Py_BuildValue("i",_result
);
871 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
872 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
895 } _resultobj
= Py_BuildValue("i",_result
);
899 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
900 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
904 PyObject
* _argo0
= 0;
905 char *_kwnames
[] = { "self", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) return NULL
;
923 } _resultobj
= Py_BuildValue("i",_result
);
927 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
930 src
= (wxHtmlParser
*) ptr
;
931 dest
= (wxObject
*) src
;
932 return (void *) dest
;
935 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
936 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxHtmlParser
* _arg0
;
939 wxFileSystem
* _arg1
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
942 char *_kwnames
[] = { "self","fs", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 wxHtmlParser_SetFS(_arg0
,_arg1
);
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) return NULL
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
973 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
975 wxFileSystem
* _result
;
976 wxHtmlParser
* _arg0
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1000 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
1001 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 wxHtmlParser
* _arg0
;
1006 PyObject
* _argo0
= 0;
1007 PyObject
* _obj1
= 0;
1008 char *_kwnames
[] = { "self","source", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
1021 #if PYTHON_API_VERSION >= 1009
1022 char* tmpPtr
; int tmpSize
;
1023 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1027 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1029 _arg1
= new wxString(tmpPtr
, tmpSize
);
1031 if (!PyString_Check(_obj1
)) {
1032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1035 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1040 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
1042 wxPyEndAllowThreads(__tstate
);
1043 if (PyErr_Occurred()) return NULL
;
1044 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1052 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1053 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1055 wxHtmlParser
* _arg0
;
1057 PyObject
* _argo0
= 0;
1058 PyObject
* _obj1
= 0;
1059 char *_kwnames
[] = { "self","source", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1072 #if PYTHON_API_VERSION >= 1009
1073 char* tmpPtr
; int tmpSize
;
1074 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1075 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1078 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1080 _arg1
= new wxString(tmpPtr
, tmpSize
);
1082 if (!PyString_Check(_obj1
)) {
1083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1086 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1091 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1093 wxPyEndAllowThreads(__tstate
);
1094 if (PyErr_Occurred()) return NULL
;
1095 } Py_INCREF(Py_None
);
1096 _resultobj
= Py_None
;
1104 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1105 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1107 wxHtmlParser
* _arg0
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1123 wxHtmlParser_DoneParser(_arg0
);
1125 wxPyEndAllowThreads(__tstate
);
1126 if (PyErr_Occurred()) return NULL
;
1127 } Py_INCREF(Py_None
);
1128 _resultobj
= Py_None
;
1132 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1133 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxHtmlParser
* _arg0
;
1138 PyObject
* _argo0
= 0;
1139 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) return NULL
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1162 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1163 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1165 wxHtmlParser
* _arg0
;
1166 wxHtmlTagHandler
* _arg1
;
1167 PyObject
* _argo0
= 0;
1168 PyObject
* _argo1
= 0;
1169 char *_kwnames
[] = { "self","handler", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } Py_INCREF(Py_None
);
1195 _resultobj
= Py_None
;
1199 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1200 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1203 wxHtmlParser
* _arg0
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1224 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1229 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1230 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1232 wxHtmlParser
* _arg0
;
1233 wxHtmlTagHandler
* _arg1
;
1235 PyObject
* _argo0
= 0;
1236 PyObject
* _argo1
= 0;
1237 PyObject
* _obj2
= 0;
1238 char *_kwnames
[] = { "self","handler","tags", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1258 #if PYTHON_API_VERSION >= 1009
1259 char* tmpPtr
; int tmpSize
;
1260 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1264 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1266 _arg2
= new wxString(tmpPtr
, tmpSize
);
1268 if (!PyString_Check(_obj2
)) {
1269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1272 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) return NULL
;
1281 } Py_INCREF(Py_None
);
1282 _resultobj
= Py_None
;
1290 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1291 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1293 wxHtmlParser
* _arg0
;
1294 PyObject
* _argo0
= 0;
1295 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 wxHtmlParser_PopTagHandler(_arg0
);
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1319 wxHtmlWinParser
*src
;
1321 src
= (wxHtmlWinParser
*) ptr
;
1322 dest
= (wxHtmlParser
*) src
;
1323 return (void *) dest
;
1326 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1327 wxHtmlWinParser
*src
;
1329 src
= (wxHtmlWinParser
*) ptr
;
1330 dest
= (wxObject
*) src
;
1331 return (void *) dest
;
1334 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1335 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxHtmlWinParser
* _result
;
1338 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "wnd", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1370 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1372 wxHtmlWinParser
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 PyObject
* _argo1
= 0;
1376 char *_kwnames
[] = { "self","dc", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) return NULL
;
1401 } Py_INCREF(Py_None
);
1402 _resultobj
= Py_None
;
1406 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1407 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1410 wxHtmlWinParser
* _arg0
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1434 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1435 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1438 wxHtmlWinParser
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } _resultobj
= Py_BuildValue("i",_result
);
1462 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1463 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 wxHtmlWinParser
* _arg0
;
1467 PyObject
* _argo0
= 0;
1468 char *_kwnames
[] = { "self", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } _resultobj
= Py_BuildValue("i",_result
);
1490 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1491 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1493 wxHtmlWindow
* _result
;
1494 wxHtmlWinParser
* _arg0
;
1495 PyObject
* _argo0
= 0;
1496 char *_kwnames
[] = { "self", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1518 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1519 int* temp
= int_LIST_helper(sizes
);
1521 self
->SetFonts(normal_face
, fixed_face
, temp
);
1525 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1527 wxHtmlWinParser
* _arg0
;
1531 PyObject
* _argo0
= 0;
1532 PyObject
* _obj1
= 0;
1533 PyObject
* _obj2
= 0;
1534 PyObject
* _obj3
= 0;
1535 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1548 #if PYTHON_API_VERSION >= 1009
1549 char* tmpPtr
; int tmpSize
;
1550 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1554 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1556 _arg1
= new wxString(tmpPtr
, tmpSize
);
1558 if (!PyString_Check(_obj1
)) {
1559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1562 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1566 #if PYTHON_API_VERSION >= 1009
1567 char* tmpPtr
; int tmpSize
;
1568 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1572 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1574 _arg2
= new wxString(tmpPtr
, tmpSize
);
1576 if (!PyString_Check(_obj2
)) {
1577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1580 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) return NULL
;
1592 } Py_INCREF(Py_None
);
1593 _resultobj
= Py_None
;
1605 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1606 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1608 wxHtmlContainerCell
* _result
;
1609 wxHtmlWinParser
* _arg0
;
1610 PyObject
* _argo0
= 0;
1611 char *_kwnames
[] = { "self", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) return NULL
;
1631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1632 _resultobj
= Py_BuildValue("s",_ptemp
);
1635 _resultobj
= Py_None
;
1640 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1641 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1643 wxHtmlContainerCell
* _result
;
1644 wxHtmlWinParser
* _arg0
;
1645 PyObject
* _argo0
= 0;
1646 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 _resultobj
= Py_None
;
1675 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1676 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1678 wxHtmlContainerCell
* _result
;
1679 wxHtmlWinParser
* _arg0
;
1680 wxHtmlContainerCell
* _arg1
;
1681 PyObject
* _argo0
= 0;
1682 PyObject
* _argo1
= 0;
1683 char *_kwnames
[] = { "self","c", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) return NULL
;
1710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1711 _resultobj
= Py_BuildValue("s",_ptemp
);
1714 _resultobj
= Py_None
;
1719 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1720 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1722 wxHtmlContainerCell
* _result
;
1723 wxHtmlWinParser
* _arg0
;
1724 PyObject
* _argo0
= 0;
1725 char *_kwnames
[] = { "self", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) return NULL
;
1745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1746 _resultobj
= Py_BuildValue("s",_ptemp
);
1749 _resultobj
= Py_None
;
1754 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1755 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1758 wxHtmlWinParser
* _arg0
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } _resultobj
= Py_BuildValue("i",_result
);
1782 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1783 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxHtmlWinParser
* _arg0
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self","s", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) return NULL
;
1806 } Py_INCREF(Py_None
);
1807 _resultobj
= Py_None
;
1811 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1812 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1815 wxHtmlWinParser
* _arg0
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } _resultobj
= Py_BuildValue("i",_result
);
1839 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1840 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1842 wxHtmlWinParser
* _arg0
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self","x", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1863 } Py_INCREF(Py_None
);
1864 _resultobj
= Py_None
;
1868 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1869 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1872 wxHtmlWinParser
* _arg0
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1897 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1899 wxHtmlWinParser
* _arg0
;
1901 PyObject
* _argo0
= 0;
1902 char *_kwnames
[] = { "self","x", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) return NULL
;
1920 } Py_INCREF(Py_None
);
1921 _resultobj
= Py_None
;
1925 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1926 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 wxHtmlWinParser
* _arg0
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1949 } _resultobj
= Py_BuildValue("i",_result
);
1953 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1954 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1956 wxHtmlWinParser
* _arg0
;
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","x", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } Py_INCREF(Py_None
);
1978 _resultobj
= Py_None
;
1982 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1983 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1986 wxHtmlWinParser
* _arg0
;
1987 PyObject
* _argo0
= 0;
1988 char *_kwnames
[] = { "self", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) return NULL
;
2006 } _resultobj
= Py_BuildValue("i",_result
);
2010 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
2011 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2013 wxHtmlWinParser
* _arg0
;
2015 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self","x", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) return NULL
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2039 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
2040 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2043 wxHtmlWinParser
* _arg0
;
2044 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "self", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) return NULL
;
2063 } _resultobj
= Py_BuildValue("i",_result
);
2067 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2068 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2070 wxHtmlWinParser
* _arg0
;
2072 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self","a", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2096 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2097 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2100 wxHtmlWinParser
* _arg0
;
2101 PyObject
* _argo0
= 0;
2102 char *_kwnames
[] = { "self", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) return NULL
;
2121 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2122 _resultobj
= Py_BuildValue("s",_ptemp
);
2126 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2127 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2129 wxHtmlWinParser
* _arg0
;
2131 PyObject
* _argo0
= 0;
2133 PyObject
* _obj1
= 0;
2134 char *_kwnames
[] = { "self","clr", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2148 if (! wxColour_helper(_obj1
, &_arg1
))
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) return NULL
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2163 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2166 wxHtmlWinParser
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2188 _resultobj
= Py_BuildValue("s",_ptemp
);
2192 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2193 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2195 wxHtmlWinParser
* _arg0
;
2197 PyObject
* _argo0
= 0;
2199 PyObject
* _obj1
= 0;
2200 char *_kwnames
[] = { "self","clr", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2214 if (! wxColour_helper(_obj1
, &_arg1
))
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) return NULL
;
2223 } Py_INCREF(Py_None
);
2224 _resultobj
= Py_None
;
2228 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2229 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2231 wxHtmlWinParser
* _arg0
;
2233 PyObject
* _argo0
= 0;
2234 PyObject
* _obj1
= 0;
2235 char *_kwnames
[] = { "self","link", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2248 #if PYTHON_API_VERSION >= 1009
2249 char* tmpPtr
; int tmpSize
;
2250 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2254 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2256 _arg1
= new wxString(tmpPtr
, tmpSize
);
2258 if (!PyString_Check(_obj1
)) {
2259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2262 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2280 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2281 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2284 wxHtmlWinParser
* _arg0
;
2285 PyObject
* _argo0
= 0;
2286 char *_kwnames
[] = { "self", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) return NULL
;
2306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2307 _resultobj
= Py_BuildValue("s",_ptemp
);
2310 _resultobj
= Py_None
;
2315 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2316 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2318 wxHtmlLinkInfo
* _result
;
2319 wxHtmlWinParser
* _arg0
;
2320 PyObject
* _argo0
= 0;
2321 char *_kwnames
[] = { "self", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2341 _resultobj
= Py_BuildValue("s",_ptemp
);
2345 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2346 wxPyHtmlTagHandler
*src
;
2348 src
= (wxPyHtmlTagHandler
*) ptr
;
2349 dest
= (wxObject
*) src
;
2350 return (void *) dest
;
2353 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2354 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
* _resultobj
;
2356 wxPyHtmlTagHandler
* _result
;
2357 char *_kwnames
[] = { NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) return NULL
;
2370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2371 _resultobj
= Py_BuildValue("s",_ptemp
);
2374 _resultobj
= Py_None
;
2379 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2380 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2382 wxPyHtmlTagHandler
* _arg0
;
2385 PyObject
* _argo0
= 0;
2386 PyObject
* _obj1
= 0;
2387 PyObject
* _obj2
= 0;
2388 char *_kwnames
[] = { "self","self","_class", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2417 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2418 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2420 wxPyHtmlTagHandler
* _arg0
;
2421 wxHtmlParser
* _arg1
;
2422 PyObject
* _argo0
= 0;
2423 PyObject
* _argo1
= 0;
2424 char *_kwnames
[] = { "self","parser", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) return NULL
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2454 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2455 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2457 wxHtmlParser
* _result
;
2458 wxPyHtmlTagHandler
* _arg0
;
2459 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) return NULL
;
2480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2481 _resultobj
= Py_BuildValue("s",_ptemp
);
2484 _resultobj
= Py_None
;
2489 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2490 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2492 wxPyHtmlTagHandler
* _arg0
;
2494 PyObject
* _argo0
= 0;
2495 PyObject
* _argo1
= 0;
2496 char *_kwnames
[] = { "self","tag", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) return NULL
;
2521 } Py_INCREF(Py_None
);
2522 _resultobj
= Py_None
;
2526 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2527 wxPyHtmlWinTagHandler
*src
;
2528 wxPyHtmlTagHandler
*dest
;
2529 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2530 dest
= (wxPyHtmlTagHandler
*) src
;
2531 return (void *) dest
;
2534 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2535 wxPyHtmlWinTagHandler
*src
;
2537 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2538 dest
= (wxObject
*) src
;
2539 return (void *) dest
;
2542 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2543 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2545 wxPyHtmlWinTagHandler
* _result
;
2546 char *_kwnames
[] = { NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2560 _resultobj
= Py_BuildValue("s",_ptemp
);
2563 _resultobj
= Py_None
;
2568 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2569 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2571 wxPyHtmlWinTagHandler
* _arg0
;
2574 PyObject
* _argo0
= 0;
2575 PyObject
* _obj1
= 0;
2576 PyObject
* _obj2
= 0;
2577 char *_kwnames
[] = { "self","self","_class", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2606 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2607 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxPyHtmlWinTagHandler
* _arg0
;
2610 wxHtmlParser
* _arg1
;
2611 PyObject
* _argo0
= 0;
2612 PyObject
* _argo1
= 0;
2613 char *_kwnames
[] = { "self","parser", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) return NULL
;
2638 } Py_INCREF(Py_None
);
2639 _resultobj
= Py_None
;
2643 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2644 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2646 wxHtmlWinParser
* _result
;
2647 wxPyHtmlWinTagHandler
* _arg0
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) return NULL
;
2669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2670 _resultobj
= Py_BuildValue("s",_ptemp
);
2673 _resultobj
= Py_None
;
2678 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2679 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2681 wxPyHtmlWinTagHandler
* _arg0
;
2683 PyObject
* _argo0
= 0;
2684 PyObject
* _argo1
= 0;
2685 char *_kwnames
[] = { "self","tag", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2706 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) return NULL
;
2710 } Py_INCREF(Py_None
);
2711 _resultobj
= Py_None
;
2715 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2718 src
= (wxHtmlCell
*) ptr
;
2719 dest
= (wxObject
*) src
;
2720 return (void *) dest
;
2723 #define new_wxHtmlCell() (new wxHtmlCell())
2724 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2726 wxHtmlCell
* _result
;
2727 char *_kwnames
[] = { NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) return NULL
;
2740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2741 _resultobj
= Py_BuildValue("s",_ptemp
);
2744 _resultobj
= Py_None
;
2749 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2750 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2754 PyObject
* _argo0
= 0;
2755 char *_kwnames
[] = { "self", NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2773 } _resultobj
= Py_BuildValue("i",_result
);
2777 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2778 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) return NULL
;
2801 } _resultobj
= Py_BuildValue("i",_result
);
2805 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2806 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2829 } _resultobj
= Py_BuildValue("i",_result
);
2833 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2834 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2857 } _resultobj
= Py_BuildValue("i",_result
);
2861 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2862 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2885 } _resultobj
= Py_BuildValue("i",_result
);
2889 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2890 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxHtmlLinkInfo
* _result
;
2894 int _arg1
= (int ) 0;
2895 int _arg2
= (int ) 0;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self","x","y", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2918 _resultobj
= Py_BuildValue("s",_ptemp
);
2921 _resultobj
= Py_None
;
2926 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2927 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2929 wxHtmlCell
* _result
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self", NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) return NULL
;
2952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2953 _resultobj
= Py_BuildValue("s",_ptemp
);
2956 _resultobj
= Py_None
;
2961 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2962 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2964 wxHtmlContainerCell
* _result
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2988 _resultobj
= Py_BuildValue("s",_ptemp
);
2991 _resultobj
= Py_None
;
2996 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2997 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3000 wxHtmlLinkInfo
* _arg1
;
3001 PyObject
* _argo0
= 0;
3002 PyObject
* _argo1
= 0;
3003 char *_kwnames
[] = { "self","link", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
3016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxHtmlCell_SetLink(_arg0
,*_arg1
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) return NULL
;
3028 } Py_INCREF(Py_None
);
3029 _resultobj
= Py_None
;
3033 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
3034 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3038 PyObject
* _argo0
= 0;
3039 PyObject
* _argo1
= 0;
3040 char *_kwnames
[] = { "self","cell", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 wxHtmlCell_SetNext(_arg0
,_arg1
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3065 } Py_INCREF(Py_None
);
3066 _resultobj
= Py_None
;
3070 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3071 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3074 wxHtmlContainerCell
* _arg1
;
3075 PyObject
* _argo0
= 0;
3076 PyObject
* _argo1
= 0;
3077 char *_kwnames
[] = { "self","p", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
3090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 wxHtmlCell_SetParent(_arg0
,_arg1
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self","x","y", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3138 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self","w", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 wxHtmlCell_Layout(_arg0
,_arg1
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) return NULL
;
3161 } Py_INCREF(Py_None
);
3162 _resultobj
= Py_None
;
3166 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3167 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3176 PyObject
* _argo1
= 0;
3177 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) return NULL
;
3202 } Py_INCREF(Py_None
);
3203 _resultobj
= Py_None
;
3207 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3208 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3214 PyObject
* _argo0
= 0;
3215 PyObject
* _argo1
= 0;
3216 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) return NULL
;
3241 } Py_INCREF(Py_None
);
3242 _resultobj
= Py_None
;
3246 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3247 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3249 wxHtmlCell
* _result
;
3253 PyObject
* _argo0
= 0;
3254 PyObject
* _argo2
= 0;
3255 char *_kwnames
[] = { "self","condition","param", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3269 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3286 _resultobj
= Py_None
;
3291 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3292 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3297 PyObject
* _argo0
= 0;
3298 PyObject
* _argo1
= 0;
3299 char *_kwnames
[] = { "self","pagebreak", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } _resultobj
= Py_BuildValue("i",_result
);
3328 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3329 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3333 PyObject
* _argo0
= 0;
3335 char *_kwnames
[] = { "self","can", NULL
};
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3347 _arg1
= (bool ) tempbool1
;
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3360 wxHtmlWordCell
*src
;
3362 src
= (wxHtmlWordCell
*) ptr
;
3363 dest
= (wxHtmlCell
*) src
;
3364 return (void *) dest
;
3367 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3368 wxHtmlWordCell
*src
;
3370 src
= (wxHtmlWordCell
*) ptr
;
3371 dest
= (wxObject
*) src
;
3372 return (void *) dest
;
3375 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3376 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3378 wxHtmlWordCell
* _result
;
3381 PyObject
* _obj0
= 0;
3382 PyObject
* _argo1
= 0;
3383 char *_kwnames
[] = { "word","dc", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3390 #if PYTHON_API_VERSION >= 1009
3391 char* tmpPtr
; int tmpSize
;
3392 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3396 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3398 _arg0
= new wxString(tmpPtr
, tmpSize
);
3400 if (!PyString_Check(_obj0
)) {
3401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3404 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) return NULL
;
3421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3422 _resultobj
= Py_BuildValue("s",_ptemp
);
3425 _resultobj
= Py_None
;
3434 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3435 wxHtmlContainerCell
*src
;
3437 src
= (wxHtmlContainerCell
*) ptr
;
3438 dest
= (wxHtmlCell
*) src
;
3439 return (void *) dest
;
3442 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3443 wxHtmlContainerCell
*src
;
3445 src
= (wxHtmlContainerCell
*) ptr
;
3446 dest
= (wxObject
*) src
;
3447 return (void *) dest
;
3450 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3451 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3453 wxHtmlContainerCell
* _result
;
3454 wxHtmlContainerCell
* _arg0
;
3455 PyObject
* _argo0
= 0;
3456 char *_kwnames
[] = { "parent", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
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 new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) return NULL
;
3476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3477 _resultobj
= Py_BuildValue("s",_ptemp
);
3480 _resultobj
= Py_None
;
3485 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3486 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3488 wxHtmlContainerCell
* _arg0
;
3490 PyObject
* _argo0
= 0;
3491 PyObject
* _argo1
= 0;
3492 char *_kwnames
[] = { "self","cell", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) return NULL
;
3517 } Py_INCREF(Py_None
);
3518 _resultobj
= Py_None
;
3522 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3523 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3525 wxHtmlContainerCell
* _arg0
;
3527 PyObject
* _argo0
= 0;
3528 char *_kwnames
[] = { "self","al", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3551 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3552 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3555 wxHtmlContainerCell
* _arg0
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } _resultobj
= Py_BuildValue("i",_result
);
3579 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3580 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3582 wxHtmlContainerCell
* _arg0
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self","al", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3603 } Py_INCREF(Py_None
);
3604 _resultobj
= Py_None
;
3608 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3609 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 wxHtmlContainerCell
* _arg0
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3637 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3639 wxHtmlContainerCell
* _arg0
;
3642 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self","i","what","units", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3668 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3671 wxHtmlContainerCell
* _arg0
;
3673 PyObject
* _argo0
= 0;
3674 char *_kwnames
[] = { "self","ind", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) return NULL
;
3692 } _resultobj
= Py_BuildValue("i",_result
);
3696 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3697 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3700 wxHtmlContainerCell
* _arg0
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","ind", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) return NULL
;
3721 } _resultobj
= Py_BuildValue("i",_result
);
3725 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3726 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3728 wxHtmlContainerCell
* _arg0
;
3730 PyObject
* _argo0
= 0;
3731 PyObject
* _argo1
= 0;
3732 char *_kwnames
[] = { "self","tag", NULL
};
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) return NULL
;
3757 } Py_INCREF(Py_None
);
3758 _resultobj
= Py_None
;
3762 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3763 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3765 wxHtmlContainerCell
* _arg0
;
3768 PyObject
* _argo0
= 0;
3769 char *_kwnames
[] = { "self","w","units", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) return NULL
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3792 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3793 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3795 wxHtmlContainerCell
* _arg0
;
3797 PyObject
* _argo0
= 0;
3798 PyObject
* _argo1
= 0;
3799 char *_kwnames
[] = { "self","tag", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3830 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3832 wxHtmlContainerCell
* _arg0
;
3834 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self","h","align", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3860 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3862 wxHtmlContainerCell
* _arg0
;
3864 PyObject
* _argo0
= 0;
3866 PyObject
* _obj1
= 0;
3867 char *_kwnames
[] = { "self","clr", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3881 if (! wxColour_helper(_obj1
, &_arg1
))
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) return NULL
;
3890 } Py_INCREF(Py_None
);
3891 _resultobj
= Py_None
;
3895 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3896 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3898 wxHtmlContainerCell
* _arg0
;
3901 PyObject
* _argo0
= 0;
3903 PyObject
* _obj1
= 0;
3905 PyObject
* _obj2
= 0;
3906 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3920 if (! wxColour_helper(_obj1
, &_arg1
))
3925 if (! wxColour_helper(_obj2
, &_arg2
))
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) return NULL
;
3934 } Py_INCREF(Py_None
);
3935 _resultobj
= Py_None
;
3939 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3940 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxHtmlCell
* _result
;
3943 wxHtmlContainerCell
* _arg0
;
3944 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "self", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) return NULL
;
3965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3966 _resultobj
= Py_BuildValue("s",_ptemp
);
3969 _resultobj
= Py_None
;
3974 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3975 wxHtmlColourCell
*src
;
3977 src
= (wxHtmlColourCell
*) ptr
;
3978 dest
= (wxHtmlCell
*) src
;
3979 return (void *) dest
;
3982 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3983 wxHtmlColourCell
*src
;
3985 src
= (wxHtmlColourCell
*) ptr
;
3986 dest
= (wxObject
*) src
;
3987 return (void *) dest
;
3990 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3991 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3993 wxHtmlColourCell
* _result
;
3995 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3997 PyObject
* _obj0
= 0;
3998 char *_kwnames
[] = { "clr","flags", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
4006 if (! wxColour_helper(_obj0
, &_arg0
))
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) return NULL
;
4016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
4017 _resultobj
= Py_BuildValue("s",_ptemp
);
4020 _resultobj
= Py_None
;
4025 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
4026 wxHtmlFontCell
*src
;
4028 src
= (wxHtmlFontCell
*) ptr
;
4029 dest
= (wxHtmlCell
*) src
;
4030 return (void *) dest
;
4033 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
4034 wxHtmlFontCell
*src
;
4036 src
= (wxHtmlFontCell
*) ptr
;
4037 dest
= (wxObject
*) src
;
4038 return (void *) dest
;
4041 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
4042 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxHtmlFontCell
* _result
;
4046 PyObject
* _argo0
= 0;
4047 char *_kwnames
[] = { "font", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4068 _resultobj
= Py_BuildValue("s",_ptemp
);
4071 _resultobj
= Py_None
;
4076 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4077 wxHtmlWidgetCell
*src
;
4079 src
= (wxHtmlWidgetCell
*) ptr
;
4080 dest
= (wxHtmlCell
*) src
;
4081 return (void *) dest
;
4084 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4085 wxHtmlWidgetCell
*src
;
4087 src
= (wxHtmlWidgetCell
*) ptr
;
4088 dest
= (wxObject
*) src
;
4089 return (void *) dest
;
4092 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4093 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4095 wxHtmlWidgetCell
* _result
;
4097 int _arg1
= (int ) 0;
4098 PyObject
* _argo0
= 0;
4099 char *_kwnames
[] = { "wnd","w", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) return NULL
;
4119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4120 _resultobj
= Py_BuildValue("s",_ptemp
);
4123 _resultobj
= Py_None
;
4128 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4129 wxPyHtmlWindow
*src
;
4130 wxScrolledWindow
*dest
;
4131 src
= (wxPyHtmlWindow
*) ptr
;
4132 dest
= (wxScrolledWindow
*) src
;
4133 return (void *) dest
;
4136 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4137 wxPyHtmlWindow
*src
;
4139 src
= (wxPyHtmlWindow
*) ptr
;
4140 dest
= (wxPanel
*) src
;
4141 return (void *) dest
;
4144 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4145 wxPyHtmlWindow
*src
;
4147 src
= (wxPyHtmlWindow
*) ptr
;
4148 dest
= (wxWindow
*) src
;
4149 return (void *) dest
;
4152 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4153 wxPyHtmlWindow
*src
;
4155 src
= (wxPyHtmlWindow
*) ptr
;
4156 dest
= (wxEvtHandler
*) src
;
4157 return (void *) dest
;
4160 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4161 wxPyHtmlWindow
*src
;
4163 src
= (wxPyHtmlWindow
*) ptr
;
4164 dest
= (wxObject
*) src
;
4165 return (void *) dest
;
4168 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4169 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4171 wxPyHtmlWindow
* _result
;
4173 int _arg1
= (int ) -1;
4174 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4175 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4176 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4177 char * _arg5
= (char *) "htmlWindow";
4178 PyObject
* _argo0
= 0;
4180 PyObject
* _obj2
= 0;
4182 PyObject
* _obj3
= 0;
4183 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4199 if (! wxPoint_helper(_obj2
, &_arg2
))
4205 if (! wxSize_helper(_obj3
, &_arg3
))
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4216 _resultobj
= Py_BuildValue("s",_ptemp
);
4219 _resultobj
= Py_None
;
4224 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4225 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxPyHtmlWindow
* _result
;
4228 char *_kwnames
[] = { NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4242 _resultobj
= Py_BuildValue("s",_ptemp
);
4245 _resultobj
= Py_None
;
4250 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4251 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4254 wxPyHtmlWindow
* _arg0
;
4256 int _arg2
= (int ) -1;
4257 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4258 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4259 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4260 char * _arg6
= (char *) "htmlWindow";
4261 PyObject
* _argo0
= 0;
4262 PyObject
* _argo1
= 0;
4264 PyObject
* _obj3
= 0;
4266 PyObject
* _obj4
= 0;
4267 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4289 if (! wxPoint_helper(_obj3
, &_arg3
))
4295 if (! wxSize_helper(_obj4
, &_arg4
))
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) return NULL
;
4304 } _resultobj
= Py_BuildValue("i",_result
);
4308 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4309 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4311 wxPyHtmlWindow
* _arg0
;
4314 PyObject
* _argo0
= 0;
4315 PyObject
* _obj1
= 0;
4316 PyObject
* _obj2
= 0;
4317 char *_kwnames
[] = { "self","self","_class", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) return NULL
;
4341 } Py_INCREF(Py_None
);
4342 _resultobj
= Py_None
;
4346 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4347 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4350 wxPyHtmlWindow
* _arg0
;
4352 PyObject
* _argo0
= 0;
4353 PyObject
* _obj1
= 0;
4354 char *_kwnames
[] = { "self","source", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4367 #if PYTHON_API_VERSION >= 1009
4368 char* tmpPtr
; int tmpSize
;
4369 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4373 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4375 _arg1
= new wxString(tmpPtr
, tmpSize
);
4377 if (!PyString_Check(_obj1
)) {
4378 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4381 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } _resultobj
= Py_BuildValue("i",_result
);
4398 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4399 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4402 wxPyHtmlWindow
* _arg0
;
4404 PyObject
* _argo0
= 0;
4405 PyObject
* _obj1
= 0;
4406 char *_kwnames
[] = { "self","location", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4419 #if PYTHON_API_VERSION >= 1009
4420 char* tmpPtr
; int tmpSize
;
4421 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4425 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4427 _arg1
= new wxString(tmpPtr
, tmpSize
);
4429 if (!PyString_Check(_obj1
)) {
4430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4433 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) return NULL
;
4442 } _resultobj
= Py_BuildValue("i",_result
);
4450 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4451 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4454 wxPyHtmlWindow
* _arg0
;
4456 PyObject
* _argo0
= 0;
4457 PyObject
* _obj1
= 0;
4458 char *_kwnames
[] = { "self","source", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr
; int tmpSize
;
4473 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4477 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4479 _arg1
= new wxString(tmpPtr
, tmpSize
);
4481 if (!PyString_Check(_obj1
)) {
4482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4485 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) return NULL
;
4494 } _resultobj
= Py_BuildValue("i",_result
);
4502 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4503 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4506 wxPyHtmlWindow
* _arg0
;
4507 PyObject
* _argo0
= 0;
4508 char *_kwnames
[] = { "self", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) return NULL
;
4527 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4535 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4536 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4539 wxPyHtmlWindow
* _arg0
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4560 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4568 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4569 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4572 wxPyHtmlWindow
* _arg0
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) return NULL
;
4593 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4601 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4602 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4604 wxPyHtmlWindow
* _arg0
;
4607 PyObject
* _argo0
= 0;
4608 PyObject
* _argo1
= 0;
4609 char *_kwnames
[] = { "self","frame","format", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) return NULL
;
4634 } Py_INCREF(Py_None
);
4635 _resultobj
= Py_None
;
4639 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4640 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4643 wxPyHtmlWindow
* _arg0
;
4644 PyObject
* _argo0
= 0;
4645 char *_kwnames
[] = { "self", NULL
};
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) return NULL
;
4663 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4667 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4668 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4670 wxPyHtmlWindow
* _arg0
;
4672 PyObject
* _argo0
= 0;
4673 char *_kwnames
[] = { "self","bar", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) return NULL
;
4691 } Py_INCREF(Py_None
);
4692 _resultobj
= Py_None
;
4696 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4697 int* temp
= int_LIST_helper(sizes
);
4699 self
->SetFonts(normal_face
, fixed_face
, temp
);
4703 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4705 wxPyHtmlWindow
* _arg0
;
4709 PyObject
* _argo0
= 0;
4710 PyObject
* _obj1
= 0;
4711 PyObject
* _obj2
= 0;
4712 PyObject
* _obj3
= 0;
4713 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4726 #if PYTHON_API_VERSION >= 1009
4727 char* tmpPtr
; int tmpSize
;
4728 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4732 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4734 _arg1
= new wxString(tmpPtr
, tmpSize
);
4736 if (!PyString_Check(_obj1
)) {
4737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4740 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4744 #if PYTHON_API_VERSION >= 1009
4745 char* tmpPtr
; int tmpSize
;
4746 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4750 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4752 _arg2
= new wxString(tmpPtr
, tmpSize
);
4754 if (!PyString_Check(_obj2
)) {
4755 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4758 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) return NULL
;
4770 } Py_INCREF(Py_None
);
4771 _resultobj
= Py_None
;
4783 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4784 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 wxPyHtmlWindow
* _arg0
;
4788 PyObject
* _argo0
= 0;
4789 PyObject
* _obj1
= 0;
4790 char *_kwnames
[] = { "self","title", NULL
};
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4803 #if PYTHON_API_VERSION >= 1009
4804 char* tmpPtr
; int tmpSize
;
4805 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4809 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4811 _arg1
= new wxString(tmpPtr
, tmpSize
);
4813 if (!PyString_Check(_obj1
)) {
4814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4817 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) return NULL
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4835 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4836 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4838 wxPyHtmlWindow
* _arg0
;
4840 PyObject
* _argo0
= 0;
4841 char *_kwnames
[] = { "self","b", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } Py_INCREF(Py_None
);
4860 _resultobj
= Py_None
;
4864 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4865 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4867 wxPyHtmlWindow
* _arg0
;
4868 wxConfigBase
* _arg1
;
4869 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4870 PyObject
* _argo0
= 0;
4871 PyObject
* _argo1
= 0;
4872 PyObject
* _obj2
= 0;
4873 char *_kwnames
[] = { "self","cfg","path", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4894 #if PYTHON_API_VERSION >= 1009
4895 char* tmpPtr
; int tmpSize
;
4896 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4900 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4902 _arg2
= new wxString(tmpPtr
, tmpSize
);
4904 if (!PyString_Check(_obj2
)) {
4905 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4908 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) return NULL
;
4917 } Py_INCREF(Py_None
);
4918 _resultobj
= Py_None
;
4926 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4927 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 wxPyHtmlWindow
* _arg0
;
4930 wxConfigBase
* _arg1
;
4931 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4932 PyObject
* _argo0
= 0;
4933 PyObject
* _argo1
= 0;
4934 PyObject
* _obj2
= 0;
4935 char *_kwnames
[] = { "self","cfg","path", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4956 #if PYTHON_API_VERSION >= 1009
4957 char* tmpPtr
; int tmpSize
;
4958 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4962 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4964 _arg2
= new wxString(tmpPtr
, tmpSize
);
4966 if (!PyString_Check(_obj2
)) {
4967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4970 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) return NULL
;
4979 } Py_INCREF(Py_None
);
4980 _resultobj
= Py_None
;
4988 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4989 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4992 wxPyHtmlWindow
* _arg0
;
4993 PyObject
* _argo0
= 0;
4994 char *_kwnames
[] = { "self", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) return NULL
;
5012 } _resultobj
= Py_BuildValue("i",_result
);
5016 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
5017 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
* _resultobj
;
5020 wxPyHtmlWindow
* _arg0
;
5021 PyObject
* _argo0
= 0;
5022 char *_kwnames
[] = { "self", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) return NULL
;
5040 } _resultobj
= Py_BuildValue("i",_result
);
5044 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
5045 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5048 wxPyHtmlWindow
* _arg0
;
5049 PyObject
* _argo0
= 0;
5050 char *_kwnames
[] = { "self", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) return NULL
;
5068 } _resultobj
= Py_BuildValue("i",_result
);
5072 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5073 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5076 wxPyHtmlWindow
* _arg0
;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "self", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) return NULL
;
5096 } _resultobj
= Py_BuildValue("i",_result
);
5100 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5101 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5103 wxPyHtmlWindow
* _arg0
;
5104 PyObject
* _argo0
= 0;
5105 char *_kwnames
[] = { "self", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 wxHtmlWindow_HistoryClear(_arg0
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) return NULL
;
5123 } Py_INCREF(Py_None
);
5124 _resultobj
= Py_None
;
5128 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5129 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5131 wxHtmlContainerCell
* _result
;
5132 wxPyHtmlWindow
* _arg0
;
5133 PyObject
* _argo0
= 0;
5134 char *_kwnames
[] = { "self", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) return NULL
;
5154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5155 _resultobj
= Py_BuildValue("s",_ptemp
);
5158 _resultobj
= Py_None
;
5163 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5164 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5166 wxHtmlWinParser
* _result
;
5167 wxPyHtmlWindow
* _arg0
;
5168 PyObject
* _argo0
= 0;
5169 char *_kwnames
[] = { "self", NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) return NULL
;
5189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5190 _resultobj
= Py_BuildValue("s",_ptemp
);
5193 _resultobj
= Py_None
;
5198 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
5199 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
* _resultobj
;
5202 wxPyHtmlWindow
* _arg0
;
5204 PyObject
* _argo0
= 0;
5205 PyObject
* _obj1
= 0;
5206 char *_kwnames
[] = { "self","anchor", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5219 #if PYTHON_API_VERSION >= 1009
5220 char* tmpPtr
; int tmpSize
;
5221 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5222 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5225 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5227 _arg1
= new wxString(tmpPtr
, tmpSize
);
5229 if (!PyString_Check(_obj1
)) {
5230 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5233 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) return NULL
;
5242 } _resultobj
= Py_BuildValue("i",_result
);
5250 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5251 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
* _resultobj
;
5254 wxPyHtmlWindow
* _arg0
;
5256 PyObject
* _argo0
= 0;
5257 PyObject
* _obj1
= 0;
5258 char *_kwnames
[] = { "self","anchor", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5271 #if PYTHON_API_VERSION >= 1009
5272 char* tmpPtr
; int tmpSize
;
5273 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5277 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5279 _arg1
= new wxString(tmpPtr
, tmpSize
);
5281 if (!PyString_Check(_obj1
)) {
5282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5285 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) return NULL
;
5294 } _resultobj
= Py_BuildValue("i",_result
);
5302 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5303 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5305 wxPyHtmlWindow
* _arg0
;
5306 wxHtmlLinkInfo
* _arg1
;
5307 PyObject
* _argo0
= 0;
5308 PyObject
* _argo1
= 0;
5309 char *_kwnames
[] = { "self","link", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) return NULL
;
5334 } Py_INCREF(Py_None
);
5335 _resultobj
= Py_None
;
5339 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5340 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5342 wxPyHtmlWindow
* _arg0
;
5344 PyObject
* _argo0
= 0;
5345 char *_kwnames
[] = { "self","title", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) return NULL
;
5363 } Py_INCREF(Py_None
);
5364 _resultobj
= Py_None
;
5368 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5369 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5371 wxPyHtmlWindow
* _arg0
;
5375 PyObject
* _argo0
= 0;
5376 PyObject
* _argo1
= 0;
5377 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) return NULL
;
5402 } Py_INCREF(Py_None
);
5403 _resultobj
= Py_None
;
5407 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5408 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5410 wxPyHtmlWindow
* _arg0
;
5414 wxMouseEvent
* _arg4
;
5415 PyObject
* _argo0
= 0;
5416 PyObject
* _argo1
= 0;
5417 PyObject
* _argo4
= 0;
5418 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5438 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 } Py_INCREF(Py_None
);
5451 _resultobj
= Py_None
;
5455 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5456 wxHtmlDCRenderer
*src
;
5458 src
= (wxHtmlDCRenderer
*) ptr
;
5459 dest
= (wxObject
*) src
;
5460 return (void *) dest
;
5463 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5464 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5466 wxHtmlDCRenderer
* _result
;
5467 char *_kwnames
[] = { NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5481 _resultobj
= Py_BuildValue("s",_ptemp
);
5484 _resultobj
= Py_None
;
5489 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5490 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5492 wxHtmlDCRenderer
* _arg0
;
5493 PyObject
* _argo0
= 0;
5494 char *_kwnames
[] = { "self", NULL
};
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 delete_wxHtmlDCRenderer(_arg0
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) return NULL
;
5512 } Py_INCREF(Py_None
);
5513 _resultobj
= Py_None
;
5517 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5518 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5520 wxHtmlDCRenderer
* _arg0
;
5523 PyObject
* _argo0
= 0;
5524 PyObject
* _argo1
= 0;
5525 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5556 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5558 wxHtmlDCRenderer
* _arg0
;
5561 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "self","width","height", NULL
};
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) return NULL
;
5580 } Py_INCREF(Py_None
);
5581 _resultobj
= Py_None
;
5585 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5586 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5588 wxHtmlDCRenderer
* _arg0
;
5590 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5591 bool _arg3
= (bool ) TRUE
;
5592 PyObject
* _argo0
= 0;
5593 PyObject
* _obj1
= 0;
5594 PyObject
* _obj2
= 0;
5595 int tempbool3
= (int) TRUE
;
5596 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5609 #if PYTHON_API_VERSION >= 1009
5610 char* tmpPtr
; int tmpSize
;
5611 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5615 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5617 _arg1
= new wxString(tmpPtr
, tmpSize
);
5619 if (!PyString_Check(_obj1
)) {
5620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5623 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5628 #if PYTHON_API_VERSION >= 1009
5629 char* tmpPtr
; int tmpSize
;
5630 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5634 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5636 _arg2
= new wxString(tmpPtr
, tmpSize
);
5638 if (!PyString_Check(_obj2
)) {
5639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5642 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5645 _arg3
= (bool ) tempbool3
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) return NULL
;
5652 } Py_INCREF(Py_None
);
5653 _resultobj
= Py_None
;
5665 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5666 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5669 wxHtmlDCRenderer
* _arg0
;
5672 int _arg3
= (int ) 0;
5673 int _arg4
= (int ) FALSE
;
5674 PyObject
* _argo0
= 0;
5675 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) return NULL
;
5693 } _resultobj
= Py_BuildValue("i",_result
);
5697 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5698 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5701 wxHtmlDCRenderer
* _arg0
;
5702 PyObject
* _argo0
= 0;
5703 char *_kwnames
[] = { "self", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5721 } _resultobj
= Py_BuildValue("i",_result
);
5725 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5726 wxHtmlPrintout
*src
;
5728 src
= (wxHtmlPrintout
*) ptr
;
5729 dest
= (wxPyPrintout
*) src
;
5730 return (void *) dest
;
5733 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5734 wxHtmlPrintout
*src
;
5736 src
= (wxHtmlPrintout
*) ptr
;
5737 dest
= (wxObject
*) src
;
5738 return (void *) dest
;
5741 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5742 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5744 wxHtmlPrintout
* _result
;
5745 char * _arg0
= (char *) "Printout";
5746 char *_kwnames
[] = { "title", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) return NULL
;
5759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5760 _resultobj
= Py_BuildValue("s",_ptemp
);
5763 _resultobj
= Py_None
;
5768 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5769 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
* _resultobj
;
5771 wxHtmlPrintout
* _arg0
;
5773 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5774 bool _arg3
= (bool ) TRUE
;
5775 PyObject
* _argo0
= 0;
5776 PyObject
* _obj1
= 0;
5777 PyObject
* _obj2
= 0;
5778 int tempbool3
= (int) TRUE
;
5779 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5792 #if PYTHON_API_VERSION >= 1009
5793 char* tmpPtr
; int tmpSize
;
5794 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5798 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5800 _arg1
= new wxString(tmpPtr
, tmpSize
);
5802 if (!PyString_Check(_obj1
)) {
5803 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5806 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5811 #if PYTHON_API_VERSION >= 1009
5812 char* tmpPtr
; int tmpSize
;
5813 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5817 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5819 _arg2
= new wxString(tmpPtr
, tmpSize
);
5821 if (!PyString_Check(_obj2
)) {
5822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5825 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5828 _arg3
= (bool ) tempbool3
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) return NULL
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5848 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5849 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5851 wxHtmlPrintout
* _arg0
;
5853 PyObject
* _argo0
= 0;
5854 PyObject
* _obj1
= 0;
5855 char *_kwnames
[] = { "self","htmlfile", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5868 #if PYTHON_API_VERSION >= 1009
5869 char* tmpPtr
; int tmpSize
;
5870 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5871 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5874 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5876 _arg1
= new wxString(tmpPtr
, tmpSize
);
5878 if (!PyString_Check(_obj1
)) {
5879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5882 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) return NULL
;
5891 } Py_INCREF(Py_None
);
5892 _resultobj
= Py_None
;
5900 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5901 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5903 wxHtmlPrintout
* _arg0
;
5905 int _arg2
= (int ) (wxPAGE_ALL
);
5906 PyObject
* _argo0
= 0;
5907 PyObject
* _obj1
= 0;
5908 char *_kwnames
[] = { "self","header","pg", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5921 #if PYTHON_API_VERSION >= 1009
5922 char* tmpPtr
; int tmpSize
;
5923 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5927 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5929 _arg1
= new wxString(tmpPtr
, tmpSize
);
5931 if (!PyString_Check(_obj1
)) {
5932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5935 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } Py_INCREF(Py_None
);
5945 _resultobj
= Py_None
;
5953 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5954 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5956 wxHtmlPrintout
* _arg0
;
5958 int _arg2
= (int ) (wxPAGE_ALL
);
5959 PyObject
* _argo0
= 0;
5960 PyObject
* _obj1
= 0;
5961 char *_kwnames
[] = { "self","footer","pg", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5974 #if PYTHON_API_VERSION >= 1009
5975 char* tmpPtr
; int tmpSize
;
5976 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5980 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5982 _arg1
= new wxString(tmpPtr
, tmpSize
);
5984 if (!PyString_Check(_obj1
)) {
5985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5988 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) return NULL
;
5997 } Py_INCREF(Py_None
);
5998 _resultobj
= Py_None
;
6006 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6007 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6009 wxHtmlPrintout
* _arg0
;
6010 float _arg1
= (float ) 25.2;
6011 float _arg2
= (float ) 25.2;
6012 float _arg3
= (float ) 25.2;
6013 float _arg4
= (float ) 25.2;
6014 float _arg5
= (float ) 5;
6015 PyObject
* _argo0
= 0;
6016 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) return NULL
;
6034 } Py_INCREF(Py_None
);
6035 _resultobj
= Py_None
;
6039 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
6040 wxHtmlEasyPrinting
*src
;
6042 src
= (wxHtmlEasyPrinting
*) ptr
;
6043 dest
= (wxObject
*) src
;
6044 return (void *) dest
;
6047 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
6048 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
* _resultobj
;
6050 wxHtmlEasyPrinting
* _result
;
6051 char * _arg0
= (char *) "Printing";
6052 wxFrame
* _arg1
= (wxFrame
*) NULL
;
6053 PyObject
* _argo1
= 0;
6054 char *_kwnames
[] = { "name","parent_frame", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
6061 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) return NULL
;
6074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
6075 _resultobj
= Py_BuildValue("s",_ptemp
);
6078 _resultobj
= Py_None
;
6083 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
6084 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
* _resultobj
;
6086 wxHtmlEasyPrinting
* _arg0
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 delete_wxHtmlEasyPrinting(_arg0
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) return NULL
;
6106 } Py_INCREF(Py_None
);
6107 _resultobj
= Py_None
;
6111 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
6112 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
* _resultobj
;
6114 wxHtmlEasyPrinting
* _arg0
;
6116 PyObject
* _argo0
= 0;
6117 PyObject
* _obj1
= 0;
6118 char *_kwnames
[] = { "self","htmlfile", NULL
};
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
6124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
6131 #if PYTHON_API_VERSION >= 1009
6132 char* tmpPtr
; int tmpSize
;
6133 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6137 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6139 _arg1
= new wxString(tmpPtr
, tmpSize
);
6141 if (!PyString_Check(_obj1
)) {
6142 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6145 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) return NULL
;
6154 } Py_INCREF(Py_None
);
6155 _resultobj
= Py_None
;
6163 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6164 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6166 wxHtmlEasyPrinting
* _arg0
;
6168 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6169 PyObject
* _argo0
= 0;
6170 PyObject
* _obj1
= 0;
6171 PyObject
* _obj2
= 0;
6172 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6185 #if PYTHON_API_VERSION >= 1009
6186 char* tmpPtr
; int tmpSize
;
6187 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6191 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6193 _arg1
= new wxString(tmpPtr
, tmpSize
);
6195 if (!PyString_Check(_obj1
)) {
6196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6199 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6204 #if PYTHON_API_VERSION >= 1009
6205 char* tmpPtr
; int tmpSize
;
6206 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6210 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6212 _arg2
= new wxString(tmpPtr
, tmpSize
);
6214 if (!PyString_Check(_obj2
)) {
6215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6218 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) return NULL
;
6227 } Py_INCREF(Py_None
);
6228 _resultobj
= Py_None
;
6240 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6241 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6243 wxHtmlEasyPrinting
* _arg0
;
6245 PyObject
* _argo0
= 0;
6246 PyObject
* _obj1
= 0;
6247 char *_kwnames
[] = { "self","htmlfile", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
6260 #if PYTHON_API_VERSION >= 1009
6261 char* tmpPtr
; int tmpSize
;
6262 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6266 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6268 _arg1
= new wxString(tmpPtr
, tmpSize
);
6270 if (!PyString_Check(_obj1
)) {
6271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6274 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) return NULL
;
6283 } Py_INCREF(Py_None
);
6284 _resultobj
= Py_None
;
6292 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6293 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
* _resultobj
;
6295 wxHtmlEasyPrinting
* _arg0
;
6297 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6298 PyObject
* _argo0
= 0;
6299 PyObject
* _obj1
= 0;
6300 PyObject
* _obj2
= 0;
6301 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6314 #if PYTHON_API_VERSION >= 1009
6315 char* tmpPtr
; int tmpSize
;
6316 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6320 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6322 _arg1
= new wxString(tmpPtr
, tmpSize
);
6324 if (!PyString_Check(_obj1
)) {
6325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6328 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6333 #if PYTHON_API_VERSION >= 1009
6334 char* tmpPtr
; int tmpSize
;
6335 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6339 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6341 _arg2
= new wxString(tmpPtr
, tmpSize
);
6343 if (!PyString_Check(_obj2
)) {
6344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6347 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) return NULL
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6369 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6370 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6372 wxHtmlEasyPrinting
* _arg0
;
6373 PyObject
* _argo0
= 0;
6374 char *_kwnames
[] = { "self", NULL
};
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) return NULL
;
6392 } Py_INCREF(Py_None
);
6393 _resultobj
= Py_None
;
6397 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6398 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6400 wxHtmlEasyPrinting
* _arg0
;
6401 PyObject
* _argo0
= 0;
6402 char *_kwnames
[] = { "self", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxHtmlEasyPrinting_PageSetup(_arg0
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) return NULL
;
6420 } Py_INCREF(Py_None
);
6421 _resultobj
= Py_None
;
6425 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6426 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
* _resultobj
;
6428 wxHtmlEasyPrinting
* _arg0
;
6430 int _arg2
= (int ) (wxPAGE_ALL
);
6431 PyObject
* _argo0
= 0;
6432 PyObject
* _obj1
= 0;
6433 char *_kwnames
[] = { "self","header","pg", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6446 #if PYTHON_API_VERSION >= 1009
6447 char* tmpPtr
; int tmpSize
;
6448 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6452 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6454 _arg1
= new wxString(tmpPtr
, tmpSize
);
6456 if (!PyString_Check(_obj1
)) {
6457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6460 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) return NULL
;
6469 } Py_INCREF(Py_None
);
6470 _resultobj
= Py_None
;
6478 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6479 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6481 wxHtmlEasyPrinting
* _arg0
;
6483 int _arg2
= (int ) (wxPAGE_ALL
);
6484 PyObject
* _argo0
= 0;
6485 PyObject
* _obj1
= 0;
6486 char *_kwnames
[] = { "self","footer","pg", NULL
};
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6499 #if PYTHON_API_VERSION >= 1009
6500 char* tmpPtr
; int tmpSize
;
6501 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6505 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6507 _arg1
= new wxString(tmpPtr
, tmpSize
);
6509 if (!PyString_Check(_obj1
)) {
6510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6513 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) return NULL
;
6522 } Py_INCREF(Py_None
);
6523 _resultobj
= Py_None
;
6531 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6532 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6534 wxPrintData
* _result
;
6535 wxHtmlEasyPrinting
* _arg0
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) return NULL
;
6557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6558 _resultobj
= Py_BuildValue("s",_ptemp
);
6561 _resultobj
= Py_None
;
6566 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6567 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6569 wxPageSetupDialogData
* _result
;
6570 wxHtmlEasyPrinting
* _arg0
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6593 _resultobj
= Py_BuildValue("s",_ptemp
);
6596 _resultobj
= Py_None
;
6601 static PyMethodDef htmlcMethods
[] = {
6602 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6609 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6610 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6611 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6612 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6613 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6614 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6615 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6616 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6617 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6618 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6619 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6620 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6621 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6622 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6623 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6624 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6625 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6626 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6627 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6770 * This table is used by the pointer type-checker
6772 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6773 { "_signed_long","_long",0},
6774 { "_wxPrintQuality","_wxCoord",0},
6775 { "_wxPrintQuality","_int",0},
6776 { "_wxPrintQuality","_signed_int",0},
6777 { "_wxPrintQuality","_unsigned_int",0},
6778 { "_wxPrintQuality","_wxWindowID",0},
6779 { "_wxPrintQuality","_uint",0},
6780 { "_wxPrintQuality","_EBool",0},
6781 { "_wxPrintQuality","_size_t",0},
6782 { "_wxPrintQuality","_time_t",0},
6783 { "_byte","_unsigned_char",0},
6784 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6785 { "_long","_unsigned_long",0},
6786 { "_long","_signed_long",0},
6787 { "_size_t","_wxCoord",0},
6788 { "_size_t","_wxPrintQuality",0},
6789 { "_size_t","_time_t",0},
6790 { "_size_t","_unsigned_int",0},
6791 { "_size_t","_int",0},
6792 { "_size_t","_wxWindowID",0},
6793 { "_size_t","_uint",0},
6794 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6795 { "_uint","_wxCoord",0},
6796 { "_uint","_wxPrintQuality",0},
6797 { "_uint","_time_t",0},
6798 { "_uint","_size_t",0},
6799 { "_uint","_unsigned_int",0},
6800 { "_uint","_int",0},
6801 { "_uint","_wxWindowID",0},
6802 { "_wxChar","_char",0},
6803 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6804 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6805 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6806 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6807 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6808 { "_char","_wxChar",0},
6809 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6810 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6811 { "_EBool","_wxCoord",0},
6812 { "_EBool","_wxPrintQuality",0},
6813 { "_EBool","_signed_int",0},
6814 { "_EBool","_int",0},
6815 { "_EBool","_wxWindowID",0},
6816 { "_unsigned_long","_long",0},
6817 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6818 { "_signed_int","_wxCoord",0},
6819 { "_signed_int","_wxPrintQuality",0},
6820 { "_signed_int","_EBool",0},
6821 { "_signed_int","_wxWindowID",0},
6822 { "_signed_int","_int",0},
6823 { "_WXTYPE","_wxDateTime_t",0},
6824 { "_WXTYPE","_short",0},
6825 { "_WXTYPE","_signed_short",0},
6826 { "_WXTYPE","_unsigned_short",0},
6827 { "_unsigned_short","_wxDateTime_t",0},
6828 { "_unsigned_short","_WXTYPE",0},
6829 { "_unsigned_short","_short",0},
6830 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6831 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6832 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6833 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6834 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6835 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6836 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6837 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6838 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6839 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6840 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6841 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6842 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6843 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6844 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6845 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6846 { "_signed_short","_WXTYPE",0},
6847 { "_signed_short","_short",0},
6848 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6849 { "_unsigned_char","_byte",0},
6850 { "_unsigned_int","_wxCoord",0},
6851 { "_unsigned_int","_wxPrintQuality",0},
6852 { "_unsigned_int","_time_t",0},
6853 { "_unsigned_int","_size_t",0},
6854 { "_unsigned_int","_uint",0},
6855 { "_unsigned_int","_wxWindowID",0},
6856 { "_unsigned_int","_int",0},
6857 { "_short","_wxDateTime_t",0},
6858 { "_short","_WXTYPE",0},
6859 { "_short","_unsigned_short",0},
6860 { "_short","_signed_short",0},
6861 { "_wxWindowID","_wxCoord",0},
6862 { "_wxWindowID","_wxPrintQuality",0},
6863 { "_wxWindowID","_time_t",0},
6864 { "_wxWindowID","_size_t",0},
6865 { "_wxWindowID","_EBool",0},
6866 { "_wxWindowID","_uint",0},
6867 { "_wxWindowID","_int",0},
6868 { "_wxWindowID","_signed_int",0},
6869 { "_wxWindowID","_unsigned_int",0},
6870 { "_int","_wxCoord",0},
6871 { "_int","_wxPrintQuality",0},
6872 { "_int","_time_t",0},
6873 { "_int","_size_t",0},
6874 { "_int","_EBool",0},
6875 { "_int","_uint",0},
6876 { "_int","_wxWindowID",0},
6877 { "_int","_unsigned_int",0},
6878 { "_int","_signed_int",0},
6879 { "_wxDateTime_t","_unsigned_short",0},
6880 { "_wxDateTime_t","_short",0},
6881 { "_wxDateTime_t","_WXTYPE",0},
6882 { "_time_t","_wxCoord",0},
6883 { "_time_t","_wxPrintQuality",0},
6884 { "_time_t","_unsigned_int",0},
6885 { "_time_t","_int",0},
6886 { "_time_t","_wxWindowID",0},
6887 { "_time_t","_uint",0},
6888 { "_time_t","_size_t",0},
6889 { "_wxCoord","_int",0},
6890 { "_wxCoord","_signed_int",0},
6891 { "_wxCoord","_unsigned_int",0},
6892 { "_wxCoord","_wxWindowID",0},
6893 { "_wxCoord","_uint",0},
6894 { "_wxCoord","_EBool",0},
6895 { "_wxCoord","_size_t",0},
6896 { "_wxCoord","_time_t",0},
6897 { "_wxCoord","_wxPrintQuality",0},
6898 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6899 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6900 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6903 static PyObject
*SWIG_globals
;
6907 SWIGEXPORT(void) inithtmlc() {
6909 SWIG_globals
= SWIG_newvarlink();
6910 m
= Py_InitModule("htmlc", htmlcMethods
);
6911 d
= PyModule_GetDict(m
);
6912 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6913 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6914 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6915 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6916 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6917 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6918 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6919 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6920 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6921 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6922 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6923 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6924 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6925 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6926 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6927 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6928 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6929 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6930 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6931 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6932 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6933 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6934 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6935 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6936 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6937 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6938 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6939 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6940 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6941 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6946 wxClassInfo::CleanUpClasses();
6947 wxClassInfo::InitializeClasses();
6949 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6950 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6951 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6954 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6955 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);