2 * FILE : src/msw/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init inithtmlc
55 #define SWIG_name "htmlc"
58 #include <wx/html/htmlwin.h>
59 #include <wx/html/htmprint.h>
61 #include <wx/fs_zip.h>
62 #include <wx/fs_inet.h>
63 #include <wx/wfstream.h>
64 #include <wx/filesys.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 // Put some wx default wxChar* values into wxStrings.
96 static const wxChar
* wxHtmlWindowNameStr
= wxT("htmlWindow");
97 DECLARE_DEF_STRING(HtmlWindowNameStr
);
99 static const wxChar
* wxHtmlPrintoutTitleStr
= wxT("Printout");
100 DECLARE_DEF_STRING(HtmlPrintoutTitleStr
);
102 static const wxChar
* wxHtmlPrintingTitleStr
= wxT("Printing");
103 DECLARE_DEF_STRING(HtmlPrintingTitleStr
);
105 static const wxString
wxPyEmptyString(wxT(""));
107 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
108 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
110 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
112 wxHtmlParser
* GetParser() { return m_Parser
; }
113 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
115 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
116 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
121 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
123 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
124 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
126 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
127 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
129 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
131 wxHtmlWinParser
* GetParser() { return m_WParser
; }
132 void ParseInner(const wxHtmlTag
& tag
)
133 { wxHtmlWinTagHandler::ParseInner(tag
); }
135 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
136 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
141 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
143 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
144 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
147 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
149 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
150 m_tagHandlerClass
= thc
;
151 Py_INCREF(m_tagHandlerClass
);
152 RegisterModule(this);
153 wxHtmlWinParser::AddModule(this);
157 wxPyBeginBlockThreads();
158 Py_DECREF(m_tagHandlerClass
);
159 m_tagHandlerClass
= NULL
;
160 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
161 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
164 wxPyEndBlockThreads();
167 void FillHandlersTable(wxHtmlWinParser
*parser
) {
168 // Wave our magic wand... (if it works it's a miracle! ;-)
170 // First, make a new instance of the tag handler
171 wxPyBeginBlockThreads();
172 PyObject
* arg
= Py_BuildValue("()");
173 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
175 wxPyEndBlockThreads();
177 // now figure out where it's C++ object is...
178 wxPyHtmlWinTagHandler
* thPtr
;
179 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
183 parser
->AddTagHandler(thPtr
);
190 PyObject
* m_tagHandlerClass
;
191 wxArrayPtrVoid m_objArray
;
195 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
196 // Dynamically create a new wxModule. Refcounts tagHandlerClass
197 // and adds itself to the wxModules list and to the wxHtmlWinParser.
198 new wxPyHtmlTagsModule(tagHandlerClass
);
200 // here's the C++ version
201 class wxPyHtmlFilter
: public wxHtmlFilter
{
202 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
204 wxPyHtmlFilter() : wxHtmlFilter() {}
206 // returns TRUE if this filter is able to open&read given file
207 virtual bool CanRead(const wxFSFile
& file
) const {
210 wxPyBeginBlockThreads();
211 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
212 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
213 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
216 wxPyEndBlockThreads();
221 // Reads given file and returns HTML document.
222 // Returns empty string if opening failed
223 virtual wxString
ReadFile(const wxFSFile
& file
) const {
226 wxPyBeginBlockThreads();
227 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
228 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
230 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
233 rval
= Py2wxString(ro
);
237 wxPyEndBlockThreads();
244 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
246 class wxPyHtmlWindow
: public wxHtmlWindow
{
247 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
249 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
250 const wxPoint
& pos
= wxDefaultPosition
,
251 const wxSize
& size
= wxDefaultSize
,
252 long style
= wxHW_DEFAULT_STYLE
,
253 const wxString
& name
= wxPyHtmlWindowNameStr
)
254 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
255 wxPyHtmlWindow() : wxHtmlWindow() {};
257 bool ScrollToAnchor(const wxString
& anchor
) {
258 return wxHtmlWindow::ScrollToAnchor(anchor
);
261 bool HasAnchor(const wxString
& anchor
) {
262 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
266 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
267 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
269 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
271 wxString
*redirect
) const;
273 DEC_PYCALLBACK__STRING(OnSetTitle
);
274 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
275 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
279 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
280 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
281 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
282 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
285 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
287 wxPyBeginBlockThreads();
288 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
289 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
290 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
293 wxPyEndBlockThreads();
295 wxHtmlWindow::OnLinkClicked(link
);
297 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
298 wxHtmlWindow::OnLinkClicked(link
);
302 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
304 wxString
*redirect
) const {
306 wxHtmlOpeningStatus rval
;
307 wxPyBeginBlockThreads();
308 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
310 PyObject
* s
= wx2PyString(url
);
311 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
313 if (PyString_Check(ro
)
314 #if PYTHON_API_VERSION >= 1009
315 || PyUnicode_Check(ro
)
318 *redirect
= Py2wxString(ro
);
319 rval
= wxHTML_REDIRECT
;
322 PyObject
* num
= PyNumber_Int(ro
);
323 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
328 wxPyEndBlockThreads();
330 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
336 extern "C" SWIGEXPORT(void) inithtmlhelpc();
340 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
343 PyObject
* _obj0
= 0;
344 char *_kwnames
[] = { "tagHandlerClass", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
354 wxHtmlWinParser_AddTagHandler(_arg0
);
356 wxPyEndAllowThreads(__tstate
);
357 if (PyErr_Occurred()) return NULL
;
358 } Py_INCREF(Py_None
);
359 _resultobj
= Py_None
;
363 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
366 src
= (wxHtmlLinkInfo
*) ptr
;
367 dest
= (wxObject
*) src
;
368 return (void *) dest
;
371 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
372 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
374 wxHtmlLinkInfo
* _result
;
376 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
377 PyObject
* _obj0
= 0;
378 PyObject
* _obj1
= 0;
379 char *_kwnames
[] = { "href","target", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
386 _arg0
= wxString_in_helper(_obj0
);
392 _arg1
= wxString_in_helper(_obj1
);
397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
398 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
400 wxPyEndAllowThreads(__tstate
);
401 if (PyErr_Occurred()) return NULL
;
403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
404 _resultobj
= Py_BuildValue("s",_ptemp
);
407 _resultobj
= Py_None
;
420 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
421 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
424 wxHtmlLinkInfo
* _arg0
;
425 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
442 wxPyEndAllowThreads(__tstate
);
443 if (PyErr_Occurred()) return NULL
;
446 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
457 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
458 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
461 wxHtmlLinkInfo
* _arg0
;
462 PyObject
* _argo0
= 0;
463 char *_kwnames
[] = { "self", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) return NULL
;
483 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
485 _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
;
665 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
667 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
676 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
677 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 PyObject
* _obj1
= 0;
684 char *_kwnames
[] = { "self","par", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
697 _arg1
= wxString_in_helper(_obj1
);
702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
703 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
705 wxPyEndAllowThreads(__tstate
);
706 if (PyErr_Occurred()) return NULL
;
707 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
716 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
721 int _arg2
= (int ) FALSE
;
722 PyObject
* _argo0
= 0;
723 PyObject
* _obj1
= 0;
724 char *_kwnames
[] = { "self","par","with_commas", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
737 _arg1
= wxString_in_helper(_obj1
);
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) return NULL
;
749 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
764 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
765 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) return NULL
;
790 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
792 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
801 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
802 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
825 } _resultobj
= Py_BuildValue("i",_result
);
829 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
830 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
851 wxPyEndAllowThreads(__tstate
);
852 if (PyErr_Occurred()) return NULL
;
853 } _resultobj
= Py_BuildValue("i",_result
);
857 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
858 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
862 PyObject
* _argo0
= 0;
863 char *_kwnames
[] = { "self", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
877 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
879 wxPyEndAllowThreads(__tstate
);
880 if (PyErr_Occurred()) return NULL
;
881 } _resultobj
= Py_BuildValue("i",_result
);
885 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
886 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) return NULL
;
909 } _resultobj
= Py_BuildValue("i",_result
);
913 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
916 src
= (wxHtmlParser
*) ptr
;
917 dest
= (wxObject
*) src
;
918 return (void *) dest
;
921 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
922 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
924 wxHtmlParser
* _arg0
;
925 wxFileSystem
* _arg1
;
926 PyObject
* _argo0
= 0;
927 PyObject
* _argo1
= 0;
928 char *_kwnames
[] = { "self","fs", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxHtmlParser_SetFS(_arg0
,_arg1
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
959 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxFileSystem
* _result
;
962 wxHtmlParser
* _arg0
;
963 PyObject
* _argo0
= 0;
964 char *_kwnames
[] = { "self", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 }{ _resultobj
= wxPyMake_wxObject(_result
); }
986 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
987 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 wxHtmlParser
* _arg0
;
992 PyObject
* _argo0
= 0;
993 PyObject
* _obj1
= 0;
994 char *_kwnames
[] = { "self","source", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
1007 _arg1
= wxString_in_helper(_obj1
);
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) return NULL
;
1017 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1025 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1026 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxHtmlParser
* _arg0
;
1030 PyObject
* _argo0
= 0;
1031 PyObject
* _obj1
= 0;
1032 char *_kwnames
[] = { "self","source", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1045 _arg1
= wxString_in_helper(_obj1
);
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } Py_INCREF(Py_None
);
1056 _resultobj
= Py_None
;
1064 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1065 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1067 wxHtmlParser
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 wxHtmlParser_DoneParser(_arg0
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1087 } Py_INCREF(Py_None
);
1088 _resultobj
= Py_None
;
1092 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1093 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1095 wxHtmlParser
* _arg0
;
1098 PyObject
* _argo0
= 0;
1099 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) return NULL
;
1117 } Py_INCREF(Py_None
);
1118 _resultobj
= Py_None
;
1122 #define wxHtmlParser_StopParsing(_swigobj) (_swigobj->StopParsing())
1123 static PyObject
*_wrap_wxHtmlParser_StopParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1125 wxHtmlParser
* _arg0
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_StopParsing",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_StopParsing. Expected _wxHtmlParser_p.");
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 wxHtmlParser_StopParsing(_arg0
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) return NULL
;
1145 } Py_INCREF(Py_None
);
1146 _resultobj
= Py_None
;
1150 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1151 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1153 wxHtmlParser
* _arg0
;
1154 wxHtmlTagHandler
* _arg1
;
1155 PyObject
* _argo0
= 0;
1156 PyObject
* _argo1
= 0;
1157 char *_kwnames
[] = { "self","handler", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) return NULL
;
1182 } Py_INCREF(Py_None
);
1183 _resultobj
= Py_None
;
1187 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1188 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1191 wxHtmlParser
* _arg0
;
1192 PyObject
* _argo0
= 0;
1193 char *_kwnames
[] = { "self", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) return NULL
;
1213 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1221 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1222 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1224 wxHtmlParser
* _arg0
;
1225 wxHtmlTagHandler
* _arg1
;
1227 PyObject
* _argo0
= 0;
1228 PyObject
* _argo1
= 0;
1229 PyObject
* _obj2
= 0;
1230 char *_kwnames
[] = { "self","handler","tags", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1250 _arg2
= wxString_in_helper(_obj2
);
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1269 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1270 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxHtmlParser
* _arg0
;
1273 PyObject
* _argo0
= 0;
1274 char *_kwnames
[] = { "self", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 wxHtmlParser_PopTagHandler(_arg0
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) return NULL
;
1292 } Py_INCREF(Py_None
);
1293 _resultobj
= Py_None
;
1297 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1298 wxHtmlWinParser
*src
;
1300 src
= (wxHtmlWinParser
*) ptr
;
1301 dest
= (wxHtmlParser
*) src
;
1302 return (void *) dest
;
1305 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1306 wxHtmlWinParser
*src
;
1308 src
= (wxHtmlWinParser
*) ptr
;
1309 dest
= (wxObject
*) src
;
1310 return (void *) dest
;
1313 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1314 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1316 wxHtmlWinParser
* _result
;
1317 wxPyHtmlWindow
* _arg0
= (wxPyHtmlWindow
*) NULL
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "wnd", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxPyHtmlWindow_p.");
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1349 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxHtmlWinParser
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 PyObject
* _argo1
= 0;
1355 char *_kwnames
[] = { "self","dc", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 } Py_INCREF(Py_None
);
1381 _resultobj
= Py_None
;
1385 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1386 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1389 wxHtmlWinParser
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1413 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1414 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1417 wxHtmlWinParser
* _arg0
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1437 } _resultobj
= Py_BuildValue("i",_result
);
1441 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1442 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxHtmlWinParser
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } _resultobj
= Py_BuildValue("i",_result
);
1469 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1470 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1472 wxPyHtmlWindow
* _result
;
1473 wxHtmlWinParser
* _arg0
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (wxPyHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1497 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1499 if (sizes
) temp
= int_LIST_helper(sizes
);
1500 self
->SetFonts(normal_face
, fixed_face
, temp
);
1504 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1506 wxHtmlWinParser
* _arg0
;
1509 PyObject
* _arg3
= (PyObject
*) NULL
;
1510 PyObject
* _argo0
= 0;
1511 PyObject
* _obj1
= 0;
1512 PyObject
* _obj2
= 0;
1513 PyObject
* _obj3
= 0;
1514 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1527 _arg1
= wxString_in_helper(_obj1
);
1532 _arg2
= wxString_in_helper(_obj2
);
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) return NULL
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1559 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1560 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxHtmlContainerCell
* _result
;
1563 wxHtmlWinParser
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1586 _resultobj
= Py_BuildValue("s",_ptemp
);
1589 _resultobj
= Py_None
;
1594 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1595 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxHtmlContainerCell
* _result
;
1598 wxHtmlWinParser
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) return NULL
;
1620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1621 _resultobj
= Py_BuildValue("s",_ptemp
);
1624 _resultobj
= Py_None
;
1629 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1630 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxHtmlContainerCell
* _result
;
1633 wxHtmlWinParser
* _arg0
;
1634 wxHtmlContainerCell
* _arg1
;
1635 PyObject
* _argo0
= 0;
1636 PyObject
* _argo1
= 0;
1637 char *_kwnames
[] = { "self","c", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) return NULL
;
1664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1665 _resultobj
= Py_BuildValue("s",_ptemp
);
1668 _resultobj
= Py_None
;
1673 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1674 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1676 wxHtmlContainerCell
* _result
;
1677 wxHtmlWinParser
* _arg0
;
1678 PyObject
* _argo0
= 0;
1679 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1709 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1712 wxHtmlWinParser
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1737 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxHtmlWinParser
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","s", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1766 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1769 wxHtmlWinParser
* _arg0
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1789 } _resultobj
= Py_BuildValue("i",_result
);
1793 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1794 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1796 wxHtmlWinParser
* _arg0
;
1798 PyObject
* _argo0
= 0;
1799 char *_kwnames
[] = { "self","x", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1822 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1823 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 wxHtmlWinParser
* _arg0
;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) return NULL
;
1846 } _resultobj
= Py_BuildValue("i",_result
);
1850 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1851 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxHtmlWinParser
* _arg0
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self","x", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) return NULL
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1880 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1883 wxHtmlWinParser
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1908 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxHtmlWinParser
* _arg0
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self","x", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } Py_INCREF(Py_None
);
1932 _resultobj
= Py_None
;
1936 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1937 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1940 wxHtmlWinParser
* _arg0
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1960 } _resultobj
= Py_BuildValue("i",_result
);
1964 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1965 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1967 wxHtmlWinParser
* _arg0
;
1969 PyObject
* _argo0
= 0;
1970 char *_kwnames
[] = { "self","x", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } Py_INCREF(Py_None
);
1989 _resultobj
= Py_None
;
1993 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1994 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1997 wxHtmlWinParser
* _arg0
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 } _resultobj
= Py_BuildValue("i",_result
);
2021 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2022 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2024 wxHtmlWinParser
* _arg0
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self","a", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2045 } Py_INCREF(Py_None
);
2046 _resultobj
= Py_None
;
2050 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2051 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 wxHtmlWinParser
* _arg0
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) return NULL
;
2075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2076 _resultobj
= Py_BuildValue("s",_ptemp
);
2080 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2081 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2083 wxHtmlWinParser
* _arg0
;
2085 PyObject
* _argo0
= 0;
2087 PyObject
* _obj1
= 0;
2088 char *_kwnames
[] = { "self","clr", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2102 if (! wxColour_helper(_obj1
, &_arg1
))
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) return NULL
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2117 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 wxHtmlWinParser
* _arg0
;
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2142 _resultobj
= Py_BuildValue("s",_ptemp
);
2146 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2147 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxHtmlWinParser
* _arg0
;
2151 PyObject
* _argo0
= 0;
2153 PyObject
* _obj1
= 0;
2154 char *_kwnames
[] = { "self","clr", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2168 if (! wxColour_helper(_obj1
, &_arg1
))
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) return NULL
;
2177 } Py_INCREF(Py_None
);
2178 _resultobj
= Py_None
;
2182 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2183 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2185 wxHtmlWinParser
* _arg0
;
2187 PyObject
* _argo0
= 0;
2188 PyObject
* _obj1
= 0;
2189 char *_kwnames
[] = { "self","link", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2202 _arg1
= wxString_in_helper(_obj1
);
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } Py_INCREF(Py_None
);
2213 _resultobj
= Py_None
;
2221 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2222 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2225 wxHtmlWinParser
* _arg0
;
2226 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2248 _resultobj
= Py_BuildValue("s",_ptemp
);
2251 _resultobj
= Py_None
;
2256 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2257 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2259 wxHtmlLinkInfo
* _result
;
2260 wxHtmlWinParser
* _arg0
;
2261 PyObject
* _argo0
= 0;
2262 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2281 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2282 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2287 wxPyHtmlTagHandler
*src
;
2289 src
= (wxPyHtmlTagHandler
*) ptr
;
2290 dest
= (wxObject
*) src
;
2291 return (void *) dest
;
2294 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2295 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2297 wxPyHtmlTagHandler
* _result
;
2298 char *_kwnames
[] = { NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2312 _resultobj
= Py_BuildValue("s",_ptemp
);
2315 _resultobj
= Py_None
;
2320 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2321 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxPyHtmlTagHandler
* _arg0
;
2326 PyObject
* _argo0
= 0;
2327 PyObject
* _obj1
= 0;
2328 PyObject
* _obj2
= 0;
2329 char *_kwnames
[] = { "self","self","_class", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) return NULL
;
2353 } Py_INCREF(Py_None
);
2354 _resultobj
= Py_None
;
2358 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2359 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2361 wxPyHtmlTagHandler
* _arg0
;
2362 wxHtmlParser
* _arg1
;
2363 PyObject
* _argo0
= 0;
2364 PyObject
* _argo1
= 0;
2365 char *_kwnames
[] = { "self","parser", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2396 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2398 wxHtmlParser
* _result
;
2399 wxPyHtmlTagHandler
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) return NULL
;
2421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2422 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 _resultobj
= Py_None
;
2430 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2431 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxPyHtmlTagHandler
* _arg0
;
2435 PyObject
* _argo0
= 0;
2436 PyObject
* _argo1
= 0;
2437 char *_kwnames
[] = { "self","tag", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2450 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) return NULL
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2466 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2467 wxPyHtmlWinTagHandler
*src
;
2468 wxPyHtmlTagHandler
*dest
;
2469 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2470 dest
= (wxPyHtmlTagHandler
*) src
;
2471 return (void *) dest
;
2474 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2475 wxPyHtmlWinTagHandler
*src
;
2477 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2478 dest
= (wxObject
*) src
;
2479 return (void *) dest
;
2482 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2483 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxPyHtmlWinTagHandler
* _result
;
2486 char *_kwnames
[] = { NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2500 _resultobj
= Py_BuildValue("s",_ptemp
);
2503 _resultobj
= Py_None
;
2508 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2509 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxPyHtmlWinTagHandler
* _arg0
;
2514 PyObject
* _argo0
= 0;
2515 PyObject
* _obj1
= 0;
2516 PyObject
* _obj2
= 0;
2517 char *_kwnames
[] = { "self","self","_class", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } Py_INCREF(Py_None
);
2542 _resultobj
= Py_None
;
2546 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2547 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2549 wxPyHtmlWinTagHandler
* _arg0
;
2550 wxHtmlParser
* _arg1
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _argo1
= 0;
2553 char *_kwnames
[] = { "self","parser", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2584 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxHtmlWinParser
* _result
;
2587 wxPyHtmlWinTagHandler
* _arg0
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2610 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 _resultobj
= Py_None
;
2618 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2619 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2621 wxPyHtmlWinTagHandler
* _arg0
;
2623 PyObject
* _argo0
= 0;
2624 PyObject
* _argo1
= 0;
2625 char *_kwnames
[] = { "self","tag", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2638 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2654 #define new_wxHtmlSelection() (new wxHtmlSelection())
2655 static PyObject
*_wrap_new_wxHtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2657 wxHtmlSelection
* _result
;
2658 char *_kwnames
[] = { NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlSelection",_kwnames
))
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 _result
= (wxHtmlSelection
*)new_wxHtmlSelection();
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) return NULL
;
2671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlSelection_p");
2672 _resultobj
= Py_BuildValue("s",_ptemp
);
2675 _resultobj
= Py_None
;
2680 #define delete_wxHtmlSelection(_swigobj) (delete _swigobj)
2681 static PyObject
*_wrap_delete_wxHtmlSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxHtmlSelection
* _arg0
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlSelection",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlSelection. Expected _wxHtmlSelection_p.");
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 delete_wxHtmlSelection(_arg0
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) return NULL
;
2703 } Py_INCREF(Py_None
);
2704 _resultobj
= Py_None
;
2708 #define wxHtmlSelection_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2709 static PyObject
*_wrap_wxHtmlSelection_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2711 wxHtmlSelection
* _arg0
;
2716 PyObject
* _argo0
= 0;
2718 PyObject
* _obj1
= 0;
2719 PyObject
* _argo2
= 0;
2721 PyObject
* _obj3
= 0;
2722 PyObject
* _argo4
= 0;
2723 char *_kwnames
[] = { "self","fromPos","fromCell","toPos","toCell", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:wxHtmlSelection_Set",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_argo4
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_Set. Expected _wxHtmlSelection_p.");
2737 if (! wxPoint_helper(_obj1
, &_arg1
))
2741 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxHtmlCell_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlSelection_Set. Expected _wxHtmlCell_p.");
2749 if (! wxPoint_helper(_obj3
, &_arg3
))
2753 if (_argo4
== Py_None
) { _arg4
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlCell_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlSelection_Set. Expected _wxHtmlCell_p.");
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 wxHtmlSelection_Set(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) return NULL
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2770 #define wxHtmlSelection_SetCells(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
2771 static PyObject
*_wrap_wxHtmlSelection_SetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxHtmlSelection
* _arg0
;
2776 PyObject
* _argo0
= 0;
2777 PyObject
* _argo1
= 0;
2778 PyObject
* _argo2
= 0;
2779 char *_kwnames
[] = { "self","fromCell","toCell", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlSelection_SetCells",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_SetCells. Expected _wxHtmlSelection_p.");
2792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlSelection_SetCells. Expected _wxHtmlCell_p.");
2799 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxHtmlCell_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlSelection_SetCells. Expected _wxHtmlCell_p.");
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 wxHtmlSelection_SetCells(_arg0
,_arg1
,_arg2
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxHtmlSelection_GetFromCell(_swigobj) (_swigobj->GetFromCell())
2817 static PyObject
*_wrap_wxHtmlSelection_GetFromCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxHtmlCell
* _result
;
2820 wxHtmlSelection
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_GetFromCell",_kwnames
,&_argo0
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_GetFromCell. Expected _wxHtmlSelection_p.");
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 _result
= (wxHtmlCell
*)wxHtmlSelection_GetFromCell(_arg0
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) return NULL
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2851 #define wxHtmlSelection_GetToCell(_swigobj) (_swigobj->GetToCell())
2852 static PyObject
*_wrap_wxHtmlSelection_GetToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2854 wxHtmlCell
* _result
;
2855 wxHtmlSelection
* _arg0
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_GetToCell",_kwnames
,&_argo0
))
2864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_GetToCell. Expected _wxHtmlSelection_p.");
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 _result
= (wxHtmlCell
*)wxHtmlSelection_GetToCell(_arg0
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2878 _resultobj
= Py_BuildValue("s",_ptemp
);
2881 _resultobj
= Py_None
;
2886 #define wxHtmlSelection_GetFromPos(_swigobj) (_swigobj->GetFromPos())
2887 static PyObject
*_wrap_wxHtmlSelection_GetFromPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2890 wxHtmlSelection
* _arg0
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_GetFromPos",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_GetFromPos. Expected _wxHtmlSelection_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 const wxPoint
& _result_ref
= wxHtmlSelection_GetFromPos(_arg0
);
2908 _result
= (wxPoint
*) &_result_ref
;
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) return NULL
;
2913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2914 _resultobj
= Py_BuildValue("s",_ptemp
);
2917 _resultobj
= Py_None
;
2922 #define wxHtmlSelection_GetToPos(_swigobj) (_swigobj->GetToPos())
2923 static PyObject
*_wrap_wxHtmlSelection_GetToPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
* _resultobj
;
2926 wxHtmlSelection
* _arg0
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_GetToPos",_kwnames
,&_argo0
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_GetToPos. Expected _wxHtmlSelection_p.");
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 const wxPoint
& _result_ref
= wxHtmlSelection_GetToPos(_arg0
);
2944 _result
= (wxPoint
*) &_result_ref
;
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) return NULL
;
2949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2950 _resultobj
= Py_BuildValue("s",_ptemp
);
2953 _resultobj
= Py_None
;
2958 #define wxHtmlSelection_GetFromPrivPos(_swigobj) (_swigobj->GetFromPrivPos())
2959 static PyObject
*_wrap_wxHtmlSelection_GetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2962 wxHtmlSelection
* _arg0
;
2963 PyObject
* _argo0
= 0;
2964 char *_kwnames
[] = { "self", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_GetFromPrivPos",_kwnames
,&_argo0
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_GetFromPrivPos. Expected _wxHtmlSelection_p.");
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 const wxPoint
& _result_ref
= wxHtmlSelection_GetFromPrivPos(_arg0
);
2980 _result
= (wxPoint
*) &_result_ref
;
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2986 _resultobj
= Py_BuildValue("s",_ptemp
);
2989 _resultobj
= Py_None
;
2994 #define wxHtmlSelection_GetToPrivPos(_swigobj) (_swigobj->GetToPrivPos())
2995 static PyObject
*_wrap_wxHtmlSelection_GetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
* _resultobj
;
2998 wxHtmlSelection
* _arg0
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_GetToPrivPos",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_GetToPrivPos. Expected _wxHtmlSelection_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 const wxPoint
& _result_ref
= wxHtmlSelection_GetToPrivPos(_arg0
);
3016 _result
= (wxPoint
*) &_result_ref
;
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) return NULL
;
3021 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3022 _resultobj
= Py_BuildValue("s",_ptemp
);
3025 _resultobj
= Py_None
;
3030 #define wxHtmlSelection_SetFromPrivPos(_swigobj,_swigarg0) (_swigobj->SetFromPrivPos(_swigarg0))
3031 static PyObject
*_wrap_wxHtmlSelection_SetFromPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxHtmlSelection
* _arg0
;
3035 PyObject
* _argo0
= 0;
3037 PyObject
* _obj1
= 0;
3038 char *_kwnames
[] = { "self","pos", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlSelection_SetFromPrivPos",_kwnames
,&_argo0
,&_obj1
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_SetFromPrivPos. Expected _wxHtmlSelection_p.");
3052 if (! wxPoint_helper(_obj1
, &_arg1
))
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 wxHtmlSelection_SetFromPrivPos(_arg0
,*_arg1
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxHtmlSelection_SetToPrivPos(_swigobj,_swigarg0) (_swigobj->SetToPrivPos(_swigarg0))
3067 static PyObject
*_wrap_wxHtmlSelection_SetToPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3069 wxHtmlSelection
* _arg0
;
3071 PyObject
* _argo0
= 0;
3073 PyObject
* _obj1
= 0;
3074 char *_kwnames
[] = { "self","pos", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlSelection_SetToPrivPos",_kwnames
,&_argo0
,&_obj1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_SetToPrivPos. Expected _wxHtmlSelection_p.");
3088 if (! wxPoint_helper(_obj1
, &_arg1
))
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 wxHtmlSelection_SetToPrivPos(_arg0
,*_arg1
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3102 #define wxHtmlSelection_ClearPrivPos(_swigobj) (_swigobj->ClearPrivPos())
3103 static PyObject
*_wrap_wxHtmlSelection_ClearPrivPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3105 wxHtmlSelection
* _arg0
;
3106 PyObject
* _argo0
= 0;
3107 char *_kwnames
[] = { "self", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_ClearPrivPos",_kwnames
,&_argo0
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_ClearPrivPos. Expected _wxHtmlSelection_p.");
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 wxHtmlSelection_ClearPrivPos(_arg0
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) return NULL
;
3125 } Py_INCREF(Py_None
);
3126 _resultobj
= Py_None
;
3130 #define wxHtmlSelection_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3131 static PyObject
*_wrap_wxHtmlSelection_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3134 wxHtmlSelection
* _arg0
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlSelection_IsEmpty",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlSelection_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlSelection_IsEmpty. Expected _wxHtmlSelection_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 _result
= (bool )wxHtmlSelection_IsEmpty(_arg0
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } _resultobj
= Py_BuildValue("i",_result
);
3158 #define new_wxHtmlRenderingState() (new wxHtmlRenderingState())
3159 static PyObject
*_wrap_new_wxHtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3161 wxHtmlRenderingState
* _result
;
3162 char *_kwnames
[] = { NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlRenderingState",_kwnames
))
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 _result
= (wxHtmlRenderingState
*)new_wxHtmlRenderingState();
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) return NULL
;
3175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlRenderingState_p");
3176 _resultobj
= Py_BuildValue("s",_ptemp
);
3179 _resultobj
= Py_None
;
3184 #define delete_wxHtmlRenderingState(_swigobj) (delete _swigobj)
3185 static PyObject
*_wrap_delete_wxHtmlRenderingState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3187 wxHtmlRenderingState
* _arg0
;
3188 PyObject
* _argo0
= 0;
3189 char *_kwnames
[] = { "self", NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlRenderingState",_kwnames
,&_argo0
))
3195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlRenderingState. Expected _wxHtmlRenderingState_p.");
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 delete_wxHtmlRenderingState(_arg0
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxHtmlRenderingState_SetSelectionState(_swigobj,_swigarg0) (_swigobj->SetSelectionState(_swigarg0))
3213 static PyObject
*_wrap_wxHtmlRenderingState_SetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3215 wxHtmlRenderingState
* _arg0
;
3216 wxHtmlSelectionState _arg1
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self","s", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlRenderingState_SetSelectionState",_kwnames
,&_argo0
,&_arg1
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingState_SetSelectionState. Expected _wxHtmlRenderingState_p.");
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 wxHtmlRenderingState_SetSelectionState(_arg0
,_arg1
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3236 } Py_INCREF(Py_None
);
3237 _resultobj
= Py_None
;
3241 #define wxHtmlRenderingState_GetSelectionState(_swigobj) (_swigobj->GetSelectionState())
3242 static PyObject
*_wrap_wxHtmlRenderingState_GetSelectionState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3244 wxHtmlSelectionState _result
;
3245 wxHtmlRenderingState
* _arg0
;
3246 PyObject
* _argo0
= 0;
3247 char *_kwnames
[] = { "self", NULL
};
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlRenderingState_GetSelectionState",_kwnames
,&_argo0
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingState_GetSelectionState. Expected _wxHtmlRenderingState_p.");
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 _result
= (wxHtmlSelectionState
)wxHtmlRenderingState_GetSelectionState(_arg0
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) return NULL
;
3265 } _resultobj
= Py_BuildValue("i",_result
);
3269 #define wxHtmlRenderingState_SetFgColour(_swigobj,_swigarg0) (_swigobj->SetFgColour(_swigarg0))
3270 static PyObject
*_wrap_wxHtmlRenderingState_SetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3272 wxHtmlRenderingState
* _arg0
;
3274 PyObject
* _argo0
= 0;
3276 PyObject
* _obj1
= 0;
3277 char *_kwnames
[] = { "self","c", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlRenderingState_SetFgColour",_kwnames
,&_argo0
,&_obj1
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingState_SetFgColour. Expected _wxHtmlRenderingState_p.");
3291 if (! wxColour_helper(_obj1
, &_arg1
))
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxHtmlRenderingState_SetFgColour(_arg0
,*_arg1
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) return NULL
;
3300 } Py_INCREF(Py_None
);
3301 _resultobj
= Py_None
;
3305 #define wxHtmlRenderingState_GetFgColour(_swigobj) (_swigobj->GetFgColour())
3306 static PyObject
*_wrap_wxHtmlRenderingState_GetFgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3309 wxHtmlRenderingState
* _arg0
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlRenderingState_GetFgColour",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingState_GetFgColour. Expected _wxHtmlRenderingState_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 const wxColour
& _result_ref
= wxHtmlRenderingState_GetFgColour(_arg0
);
3327 _result
= (wxColour
*) &_result_ref
;
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) return NULL
;
3332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3333 _resultobj
= Py_BuildValue("s",_ptemp
);
3336 _resultobj
= Py_None
;
3341 #define wxHtmlRenderingState_SetBgColour(_swigobj,_swigarg0) (_swigobj->SetBgColour(_swigarg0))
3342 static PyObject
*_wrap_wxHtmlRenderingState_SetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 wxHtmlRenderingState
* _arg0
;
3346 PyObject
* _argo0
= 0;
3348 PyObject
* _obj1
= 0;
3349 char *_kwnames
[] = { "self","c", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlRenderingState_SetBgColour",_kwnames
,&_argo0
,&_obj1
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingState_SetBgColour. Expected _wxHtmlRenderingState_p.");
3363 if (! wxColour_helper(_obj1
, &_arg1
))
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 wxHtmlRenderingState_SetBgColour(_arg0
,*_arg1
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) return NULL
;
3372 } Py_INCREF(Py_None
);
3373 _resultobj
= Py_None
;
3377 #define wxHtmlRenderingState_GetBgColour(_swigobj) (_swigobj->GetBgColour())
3378 static PyObject
*_wrap_wxHtmlRenderingState_GetBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 wxHtmlRenderingState
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlRenderingState_GetBgColour",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingState_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingState_GetBgColour. Expected _wxHtmlRenderingState_p.");
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 const wxColour
& _result_ref
= wxHtmlRenderingState_GetBgColour(_arg0
);
3399 _result
= (wxColour
*) &_result_ref
;
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3405 _resultobj
= Py_BuildValue("s",_ptemp
);
3408 _resultobj
= Py_None
;
3413 #define wxHtmlRenderingStyle_GetSelectedTextColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextColour(_swigarg0))
3414 static PyObject
*_wrap_wxHtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3417 wxHtmlRenderingStyle
* _arg0
;
3419 PyObject
* _argo0
= 0;
3421 PyObject
* _obj1
= 0;
3422 char *_kwnames
[] = { "self","clr", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlRenderingStyle_GetSelectedTextColour",_kwnames
,&_argo0
,&_obj1
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingStyle_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingStyle_GetSelectedTextColour. Expected _wxHtmlRenderingStyle_p.");
3437 if (! wxColour_helper(_obj1
, &_arg1
))
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 _result
= new wxColour (wxHtmlRenderingStyle_GetSelectedTextColour(_arg0
,*_arg1
));
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) return NULL
;
3446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3447 _resultobj
= Py_BuildValue("s",_ptemp
);
3451 #define wxHtmlRenderingStyle_GetSelectedTextBgColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextBgColour(_swigarg0))
3452 static PyObject
*_wrap_wxHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3455 wxHtmlRenderingStyle
* _arg0
;
3457 PyObject
* _argo0
= 0;
3459 PyObject
* _obj1
= 0;
3460 char *_kwnames
[] = { "self","clr", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlRenderingStyle_GetSelectedTextBgColour",_kwnames
,&_argo0
,&_obj1
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingStyle_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingStyle_GetSelectedTextBgColour. Expected _wxHtmlRenderingStyle_p.");
3475 if (! wxColour_helper(_obj1
, &_arg1
))
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 _result
= new wxColour (wxHtmlRenderingStyle_GetSelectedTextBgColour(_arg0
,*_arg1
));
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) return NULL
;
3484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3485 _resultobj
= Py_BuildValue("s",_ptemp
);
3489 static void *SwigwxDefaultHtmlRenderingStyleTowxHtmlRenderingStyle(void *ptr
) {
3490 wxDefaultHtmlRenderingStyle
*src
;
3491 wxHtmlRenderingStyle
*dest
;
3492 src
= (wxDefaultHtmlRenderingStyle
*) ptr
;
3493 dest
= (wxHtmlRenderingStyle
*) src
;
3494 return (void *) dest
;
3497 #define wxDefaultHtmlRenderingStyle_GetSelectedTextColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextColour(_swigarg0))
3498 static PyObject
*_wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3501 wxDefaultHtmlRenderingStyle
* _arg0
;
3503 PyObject
* _argo0
= 0;
3505 PyObject
* _obj1
= 0;
3506 char *_kwnames
[] = { "self","clr", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDefaultHtmlRenderingStyle_GetSelectedTextColour",_kwnames
,&_argo0
,&_obj1
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDefaultHtmlRenderingStyle_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDefaultHtmlRenderingStyle_GetSelectedTextColour. Expected _wxDefaultHtmlRenderingStyle_p.");
3521 if (! wxColour_helper(_obj1
, &_arg1
))
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 _result
= new wxColour (wxDefaultHtmlRenderingStyle_GetSelectedTextColour(_arg0
,*_arg1
));
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) return NULL
;
3530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3535 #define wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextBgColour(_swigarg0))
3536 static PyObject
*_wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxDefaultHtmlRenderingStyle
* _arg0
;
3541 PyObject
* _argo0
= 0;
3543 PyObject
* _obj1
= 0;
3544 char *_kwnames
[] = { "self","clr", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour",_kwnames
,&_argo0
,&_obj1
))
3551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDefaultHtmlRenderingStyle_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour. Expected _wxDefaultHtmlRenderingStyle_p.");
3559 if (! wxColour_helper(_obj1
, &_arg1
))
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 _result
= new wxColour (wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(_arg0
,*_arg1
));
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 #define new_wxHtmlRenderingInfo() (new wxHtmlRenderingInfo())
3574 static PyObject
*_wrap_new_wxHtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3576 wxHtmlRenderingInfo
* _result
;
3577 char *_kwnames
[] = { NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlRenderingInfo",_kwnames
))
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 _result
= (wxHtmlRenderingInfo
*)new_wxHtmlRenderingInfo();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) return NULL
;
3590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlRenderingInfo_p");
3591 _resultobj
= Py_BuildValue("s",_ptemp
);
3594 _resultobj
= Py_None
;
3599 #define delete_wxHtmlRenderingInfo(_swigobj) (delete _swigobj)
3600 static PyObject
*_wrap_delete_wxHtmlRenderingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3602 wxHtmlRenderingInfo
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlRenderingInfo",_kwnames
,&_argo0
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingInfo_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlRenderingInfo. Expected _wxHtmlRenderingInfo_p.");
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 delete_wxHtmlRenderingInfo(_arg0
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) return NULL
;
3622 } Py_INCREF(Py_None
);
3623 _resultobj
= Py_None
;
3627 #define wxHtmlRenderingInfo_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3628 static PyObject
*_wrap_wxHtmlRenderingInfo_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3630 wxHtmlRenderingInfo
* _arg0
;
3631 wxHtmlSelection
* _arg1
;
3632 PyObject
* _argo0
= 0;
3633 PyObject
* _argo1
= 0;
3634 char *_kwnames
[] = { "self","s", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlRenderingInfo_SetSelection",_kwnames
,&_argo0
,&_argo1
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingInfo_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingInfo_SetSelection. Expected _wxHtmlRenderingInfo_p.");
3647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlSelection_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlRenderingInfo_SetSelection. Expected _wxHtmlSelection_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 wxHtmlRenderingInfo_SetSelection(_arg0
,_arg1
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } Py_INCREF(Py_None
);
3660 _resultobj
= Py_None
;
3664 #define wxHtmlRenderingInfo_GetSelection(_swigobj) (_swigobj->GetSelection())
3665 static PyObject
*_wrap_wxHtmlRenderingInfo_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3667 wxHtmlSelection
* _result
;
3668 wxHtmlRenderingInfo
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlRenderingInfo_GetSelection",_kwnames
,&_argo0
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingInfo_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingInfo_GetSelection. Expected _wxHtmlRenderingInfo_p.");
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 _result
= (wxHtmlSelection
*)wxHtmlRenderingInfo_GetSelection(_arg0
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) return NULL
;
3690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlSelection_p");
3691 _resultobj
= Py_BuildValue("s",_ptemp
);
3694 _resultobj
= Py_None
;
3699 #define wxHtmlRenderingInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3700 static PyObject
*_wrap_wxHtmlRenderingInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3702 wxHtmlRenderingInfo
* _arg0
;
3703 wxHtmlRenderingStyle
* _arg1
;
3704 PyObject
* _argo0
= 0;
3705 PyObject
* _argo1
= 0;
3706 char *_kwnames
[] = { "self","style", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlRenderingInfo_SetStyle",_kwnames
,&_argo0
,&_argo1
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingInfo_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingInfo_SetStyle. Expected _wxHtmlRenderingInfo_p.");
3719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlRenderingStyle_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlRenderingInfo_SetStyle. Expected _wxHtmlRenderingStyle_p.");
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 wxHtmlRenderingInfo_SetStyle(_arg0
,_arg1
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3731 } Py_INCREF(Py_None
);
3732 _resultobj
= Py_None
;
3736 #define wxHtmlRenderingInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
3737 static PyObject
*_wrap_wxHtmlRenderingInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3739 wxHtmlRenderingStyle
* _result
;
3740 wxHtmlRenderingInfo
* _arg0
;
3741 PyObject
* _argo0
= 0;
3742 char *_kwnames
[] = { "self", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlRenderingInfo_GetStyle",_kwnames
,&_argo0
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingInfo_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingInfo_GetStyle. Expected _wxHtmlRenderingInfo_p.");
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 wxHtmlRenderingStyle
& _result_ref
= wxHtmlRenderingInfo_GetStyle(_arg0
);
3758 _result
= (wxHtmlRenderingStyle
*) &_result_ref
;
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlRenderingStyle_p");
3764 _resultobj
= Py_BuildValue("s",_ptemp
);
3767 _resultobj
= Py_None
;
3772 #define wxHtmlRenderingInfo_GetState(_swigobj) (_swigobj->GetState())
3773 static PyObject
*_wrap_wxHtmlRenderingInfo_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3775 wxHtmlRenderingState
* _result
;
3776 wxHtmlRenderingInfo
* _arg0
;
3777 PyObject
* _argo0
= 0;
3778 char *_kwnames
[] = { "self", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlRenderingInfo_GetState",_kwnames
,&_argo0
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlRenderingInfo_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlRenderingInfo_GetState. Expected _wxHtmlRenderingInfo_p.");
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 wxHtmlRenderingState
& _result_ref
= wxHtmlRenderingInfo_GetState(_arg0
);
3794 _result
= (wxHtmlRenderingState
*) &_result_ref
;
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) return NULL
;
3799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlRenderingState_p");
3800 _resultobj
= Py_BuildValue("s",_ptemp
);
3803 _resultobj
= Py_None
;
3808 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
3811 src
= (wxHtmlCell
*) ptr
;
3812 dest
= (wxObject
*) src
;
3813 return (void *) dest
;
3816 #define new_wxHtmlCell() (new wxHtmlCell())
3817 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3819 wxHtmlCell
* _result
;
3820 char *_kwnames
[] = { NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 _result
= (wxHtmlCell
*)new_wxHtmlCell();
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3834 _resultobj
= Py_BuildValue("s",_ptemp
);
3837 _resultobj
= Py_None
;
3842 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
3843 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3847 PyObject
* _argo0
= 0;
3848 char *_kwnames
[] = { "self", NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
3854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) return NULL
;
3866 } _resultobj
= Py_BuildValue("i",_result
);
3870 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
3871 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
3899 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3903 PyObject
* _argo0
= 0;
3904 char *_kwnames
[] = { "self", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) return NULL
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
3927 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "self", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) return NULL
;
3950 } _resultobj
= Py_BuildValue("i",_result
);
3954 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
3955 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3959 PyObject
* _argo0
= 0;
3960 char *_kwnames
[] = { "self", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) return NULL
;
3978 } _resultobj
= Py_BuildValue("i",_result
);
3982 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
3983 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3985 wxHtmlLinkInfo
* _result
;
3987 int _arg1
= (int ) 0;
3988 int _arg2
= (int ) 0;
3989 PyObject
* _argo0
= 0;
3990 char *_kwnames
[] = { "self","x","y", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) return NULL
;
4010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
4011 _resultobj
= Py_BuildValue("s",_ptemp
);
4014 _resultobj
= Py_None
;
4019 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
4020 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxHtmlCell
* _result
;
4024 PyObject
* _argo0
= 0;
4025 char *_kwnames
[] = { "self", NULL
};
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
4032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) return NULL
;
4045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
4046 _resultobj
= Py_BuildValue("s",_ptemp
);
4049 _resultobj
= Py_None
;
4054 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
4055 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4057 wxHtmlContainerCell
* _result
;
4059 PyObject
* _argo0
= 0;
4060 char *_kwnames
[] = { "self", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) return NULL
;
4080 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4081 _resultobj
= Py_BuildValue("s",_ptemp
);
4084 _resultobj
= Py_None
;
4089 #define wxHtmlCell_GetFirstChild(_swigobj) (_swigobj->GetFirstChild())
4090 static PyObject
*_wrap_wxHtmlCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxHtmlCell
* _result
;
4094 PyObject
* _argo0
= 0;
4095 char *_kwnames
[] = { "self", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetFirstChild",_kwnames
,&_argo0
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetFirstChild. Expected _wxHtmlCell_p.");
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 _result
= (wxHtmlCell
*)wxHtmlCell_GetFirstChild(_arg0
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) return NULL
;
4115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
4116 _resultobj
= Py_BuildValue("s",_ptemp
);
4119 _resultobj
= Py_None
;
4124 #define wxHtmlCell_GetCursor(_swigobj) (_swigobj->GetCursor())
4125 static PyObject
*_wrap_wxHtmlCell_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetCursor",_kwnames
,&_argo0
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetCursor. Expected _wxHtmlCell_p.");
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 _result
= new wxCursor (wxHtmlCell_GetCursor(_arg0
));
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) return NULL
;
4149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxCursor_p");
4150 _resultobj
= Py_BuildValue("s",_ptemp
);
4154 #define wxHtmlCell_IsFormattingCell(_swigobj) (_swigobj->IsFormattingCell())
4155 static PyObject
*_wrap_wxHtmlCell_IsFormattingCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4159 PyObject
* _argo0
= 0;
4160 char *_kwnames
[] = { "self", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_IsFormattingCell",_kwnames
,&_argo0
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_IsFormattingCell. Expected _wxHtmlCell_p.");
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 _result
= (bool )wxHtmlCell_IsFormattingCell(_arg0
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) return NULL
;
4178 } _resultobj
= Py_BuildValue("i",_result
);
4182 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
4183 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4186 wxHtmlLinkInfo
* _arg1
;
4187 PyObject
* _argo0
= 0;
4188 PyObject
* _argo1
= 0;
4189 char *_kwnames
[] = { "self","link", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
4202 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 wxHtmlCell_SetLink(_arg0
,*_arg1
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) return NULL
;
4213 } Py_INCREF(Py_None
);
4214 _resultobj
= Py_None
;
4218 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
4219 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4223 PyObject
* _argo0
= 0;
4224 PyObject
* _argo1
= 0;
4225 char *_kwnames
[] = { "self","cell", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
4238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 wxHtmlCell_SetNext(_arg0
,_arg1
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) return NULL
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
4256 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 wxHtmlContainerCell
* _arg1
;
4260 PyObject
* _argo0
= 0;
4261 PyObject
* _argo1
= 0;
4262 char *_kwnames
[] = { "self","p", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
4275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 wxHtmlCell_SetParent(_arg0
,_arg1
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) return NULL
;
4287 } Py_INCREF(Py_None
);
4288 _resultobj
= Py_None
;
4292 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
4293 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4298 PyObject
* _argo0
= 0;
4299 char *_kwnames
[] = { "self","x","y", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) return NULL
;
4317 } Py_INCREF(Py_None
);
4318 _resultobj
= Py_None
;
4322 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
4323 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self","w", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 wxHtmlCell_Layout(_arg0
,_arg1
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 } Py_INCREF(Py_None
);
4347 _resultobj
= Py_None
;
4351 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4352 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4360 wxHtmlRenderingInfo
* _arg6
;
4361 PyObject
* _argo0
= 0;
4362 PyObject
* _argo1
= 0;
4363 PyObject
* _argo6
= 0;
4364 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2","info", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiiiO:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
4377 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
4383 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxHtmlRenderingInfo_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxHtmlCell_Draw. Expected _wxHtmlRenderingInfo_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4400 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4406 wxHtmlRenderingInfo
* _arg4
;
4407 PyObject
* _argo0
= 0;
4408 PyObject
* _argo1
= 0;
4409 PyObject
* _argo4
= 0;
4410 char *_kwnames
[] = { "self","dc","x","y","info", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
4423 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
4429 if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxHtmlRenderingInfo_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlCell_DrawInvisible. Expected _wxHtmlRenderingInfo_p.");
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
,*_arg4
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) return NULL
;
4440 } Py_INCREF(Py_None
);
4441 _resultobj
= Py_None
;
4445 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
4446 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4448 wxHtmlCell
* _result
;
4452 PyObject
* _argo0
= 0;
4453 PyObject
* _argo2
= 0;
4454 char *_kwnames
[] = { "self","condition","param", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
4468 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
4482 _resultobj
= Py_BuildValue("s",_ptemp
);
4485 _resultobj
= Py_None
;
4490 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
4491 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4496 PyObject
* _argo0
= 0;
4498 PyObject
* _obj1
= 0;
4499 char *_kwnames
[] = { "self","INOUT", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_obj1
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
4512 temp
= (int) PyInt_AsLong(_obj1
);
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) return NULL
;
4521 } _resultobj
= Py_BuildValue("i",_result
);
4524 o
= PyInt_FromLong((long) (*_arg1
));
4525 _resultobj
= t_output_helper(_resultobj
, o
);
4530 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
4531 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4535 PyObject
* _argo0
= 0;
4537 char *_kwnames
[] = { "self","can", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
4549 _arg1
= (bool ) tempbool1
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) return NULL
;
4556 } Py_INCREF(Py_None
);
4557 _resultobj
= Py_None
;
4561 #define wxHtmlCell_IsLinebreakAllowed(_swigobj) (_swigobj->IsLinebreakAllowed())
4562 static PyObject
*_wrap_wxHtmlCell_IsLinebreakAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_IsLinebreakAllowed",_kwnames
,&_argo0
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_IsLinebreakAllowed. Expected _wxHtmlCell_p.");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 _result
= (bool )wxHtmlCell_IsLinebreakAllowed(_arg0
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } _resultobj
= Py_BuildValue("i",_result
);
4589 #define wxHtmlCell_IsTerminalCell(_swigobj) (_swigobj->IsTerminalCell())
4590 static PyObject
*_wrap_wxHtmlCell_IsTerminalCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_IsTerminalCell",_kwnames
,&_argo0
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_IsTerminalCell. Expected _wxHtmlCell_p.");
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 _result
= (bool )wxHtmlCell_IsTerminalCell(_arg0
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) return NULL
;
4613 } _resultobj
= Py_BuildValue("i",_result
);
4617 #define wxHtmlCell_FindCellByPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindCellByPos(_swigarg0,_swigarg1,_swigarg2))
4618 static PyObject
*_wrap_wxHtmlCell_FindCellByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4620 wxHtmlCell
* _result
;
4624 unsigned _arg3
= (unsigned ) (wxHTML_FIND_EXACT
);
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self","x","y","flags", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlCell_FindCellByPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_FindCellByPos. Expected _wxHtmlCell_p.");
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 _result
= (wxHtmlCell
*)wxHtmlCell_FindCellByPos(_arg0
,_arg1
,_arg2
,_arg3
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) return NULL
;
4646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
4647 _resultobj
= Py_BuildValue("s",_ptemp
);
4650 _resultobj
= Py_None
;
4655 #define wxHtmlCell_GetAbsPos(_swigobj) (_swigobj->GetAbsPos())
4656 static PyObject
*_wrap_wxHtmlCell_GetAbsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4660 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetAbsPos",_kwnames
,&_argo0
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetAbsPos. Expected _wxHtmlCell_p.");
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 _result
= new wxPoint (wxHtmlCell_GetAbsPos(_arg0
));
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) return NULL
;
4680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4685 #define wxHtmlCell_GetFirstTerminal(_swigobj) (_swigobj->GetFirstTerminal())
4686 static PyObject
*_wrap_wxHtmlCell_GetFirstTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4688 wxHtmlCell
* _result
;
4690 PyObject
* _argo0
= 0;
4691 char *_kwnames
[] = { "self", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetFirstTerminal",_kwnames
,&_argo0
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetFirstTerminal. Expected _wxHtmlCell_p.");
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 _result
= (wxHtmlCell
*)wxHtmlCell_GetFirstTerminal(_arg0
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
4712 _resultobj
= Py_BuildValue("s",_ptemp
);
4715 _resultobj
= Py_None
;
4720 #define wxHtmlCell_GetLastTerminal(_swigobj) (_swigobj->GetLastTerminal())
4721 static PyObject
*_wrap_wxHtmlCell_GetLastTerminal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 wxHtmlCell
* _result
;
4725 PyObject
* _argo0
= 0;
4726 char *_kwnames
[] = { "self", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetLastTerminal",_kwnames
,&_argo0
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLastTerminal. Expected _wxHtmlCell_p.");
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 _result
= (wxHtmlCell
*)wxHtmlCell_GetLastTerminal(_arg0
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
4747 _resultobj
= Py_BuildValue("s",_ptemp
);
4750 _resultobj
= Py_None
;
4755 #define wxHtmlCell_GetDepth(_swigobj) (_swigobj->GetDepth())
4756 static PyObject
*_wrap_wxHtmlCell_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4760 PyObject
* _argo0
= 0;
4761 char *_kwnames
[] = { "self", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDepth",_kwnames
,&_argo0
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDepth. Expected _wxHtmlCell_p.");
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 _result
= (unsigned )wxHtmlCell_GetDepth(_arg0
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) return NULL
;
4779 } _resultobj
= Py_BuildValue("i",_result
);
4783 #define wxHtmlCell_IsBefore(_swigobj,_swigarg0) (_swigobj->IsBefore(_swigarg0))
4784 static PyObject
*_wrap_wxHtmlCell_IsBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4789 PyObject
* _argo0
= 0;
4790 PyObject
* _argo1
= 0;
4791 char *_kwnames
[] = { "self","cell", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_IsBefore",_kwnames
,&_argo0
,&_argo1
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_IsBefore. Expected _wxHtmlCell_p.");
4804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_IsBefore. Expected _wxHtmlCell_p.");
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 _result
= (bool )wxHtmlCell_IsBefore(_arg0
,_arg1
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) return NULL
;
4816 } _resultobj
= Py_BuildValue("i",_result
);
4820 #define wxHtmlCell_ConvertToText(_swigobj,_swigarg0) (_swigobj->ConvertToText(_swigarg0))
4821 static PyObject
*_wrap_wxHtmlCell_ConvertToText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4825 wxHtmlSelection
* _arg1
;
4826 PyObject
* _argo0
= 0;
4827 PyObject
* _argo1
= 0;
4828 char *_kwnames
[] = { "self","sel", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_ConvertToText",_kwnames
,&_argo0
,&_argo1
))
4834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_ConvertToText. Expected _wxHtmlCell_p.");
4841 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlSelection_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_ConvertToText. Expected _wxHtmlSelection_p.");
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 _result
= new wxString (wxHtmlCell_ConvertToText(_arg0
,_arg1
));
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) return NULL
;
4855 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4857 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4866 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
4867 wxHtmlWordCell
*src
;
4869 src
= (wxHtmlWordCell
*) ptr
;
4870 dest
= (wxHtmlCell
*) src
;
4871 return (void *) dest
;
4874 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
4875 wxHtmlWordCell
*src
;
4877 src
= (wxHtmlWordCell
*) ptr
;
4878 dest
= (wxObject
*) src
;
4879 return (void *) dest
;
4882 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
4883 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4885 wxHtmlWordCell
* _result
;
4888 PyObject
* _obj0
= 0;
4889 PyObject
* _argo1
= 0;
4890 char *_kwnames
[] = { "word","dc", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
4897 _arg0
= wxString_in_helper(_obj0
);
4902 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) return NULL
;
4914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
4915 _resultobj
= Py_BuildValue("s",_ptemp
);
4918 _resultobj
= Py_None
;
4927 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
4928 wxHtmlContainerCell
*src
;
4930 src
= (wxHtmlContainerCell
*) ptr
;
4931 dest
= (wxHtmlCell
*) src
;
4932 return (void *) dest
;
4935 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
4936 wxHtmlContainerCell
*src
;
4938 src
= (wxHtmlContainerCell
*) ptr
;
4939 dest
= (wxObject
*) src
;
4940 return (void *) dest
;
4943 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
4944 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4946 wxHtmlContainerCell
* _result
;
4947 wxHtmlContainerCell
* _arg0
;
4948 PyObject
* _argo0
= 0;
4949 char *_kwnames
[] = { "parent", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) return NULL
;
4969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4970 _resultobj
= Py_BuildValue("s",_ptemp
);
4973 _resultobj
= Py_None
;
4978 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
4979 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4981 wxHtmlContainerCell
* _arg0
;
4983 PyObject
* _argo0
= 0;
4984 PyObject
* _argo1
= 0;
4985 char *_kwnames
[] = { "self","cell", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
4998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } Py_INCREF(Py_None
);
5011 _resultobj
= Py_None
;
5015 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
5016 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5018 wxHtmlContainerCell
* _arg0
;
5020 PyObject
* _argo0
= 0;
5021 char *_kwnames
[] = { "self","al", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } Py_INCREF(Py_None
);
5040 _resultobj
= Py_None
;
5044 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
5045 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5048 wxHtmlContainerCell
* _arg0
;
5049 PyObject
* _argo0
= 0;
5050 char *_kwnames
[] = { "self", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) return NULL
;
5068 } _resultobj
= Py_BuildValue("i",_result
);
5072 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
5073 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 wxHtmlContainerCell
* _arg0
;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "self","al", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) return NULL
;
5096 } Py_INCREF(Py_None
);
5097 _resultobj
= Py_None
;
5101 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
5102 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5105 wxHtmlContainerCell
* _arg0
;
5106 PyObject
* _argo0
= 0;
5107 char *_kwnames
[] = { "self", NULL
};
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
5113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) return NULL
;
5125 } _resultobj
= Py_BuildValue("i",_result
);
5129 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
5130 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5132 wxHtmlContainerCell
* _arg0
;
5135 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
5136 PyObject
* _argo0
= 0;
5137 char *_kwnames
[] = { "self","i","what","units", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5155 } Py_INCREF(Py_None
);
5156 _resultobj
= Py_None
;
5160 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
5161 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5164 wxHtmlContainerCell
* _arg0
;
5166 PyObject
* _argo0
= 0;
5167 char *_kwnames
[] = { "self","ind", NULL
};
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
5173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) return NULL
;
5185 } _resultobj
= Py_BuildValue("i",_result
);
5189 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
5190 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5193 wxHtmlContainerCell
* _arg0
;
5195 PyObject
* _argo0
= 0;
5196 char *_kwnames
[] = { "self","ind", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) return NULL
;
5214 } _resultobj
= Py_BuildValue("i",_result
);
5218 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
5219 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5221 wxHtmlContainerCell
* _arg0
;
5223 PyObject
* _argo0
= 0;
5224 PyObject
* _argo1
= 0;
5225 char *_kwnames
[] = { "self","tag", NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
5231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
5238 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) return NULL
;
5249 } Py_INCREF(Py_None
);
5250 _resultobj
= Py_None
;
5254 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
5255 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
* _resultobj
;
5257 wxHtmlContainerCell
* _arg0
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self","w","units", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5279 } Py_INCREF(Py_None
);
5280 _resultobj
= Py_None
;
5284 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
5285 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5287 wxHtmlContainerCell
* _arg0
;
5289 PyObject
* _argo0
= 0;
5290 PyObject
* _argo1
= 0;
5291 char *_kwnames
[] = { "self","tag", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
5304 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5315 } Py_INCREF(Py_None
);
5316 _resultobj
= Py_None
;
5320 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
5321 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5323 wxHtmlContainerCell
* _arg0
;
5325 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
5326 PyObject
* _argo0
= 0;
5327 char *_kwnames
[] = { "self","h","align", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) return NULL
;
5345 } Py_INCREF(Py_None
);
5346 _resultobj
= Py_None
;
5350 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5351 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5353 wxHtmlContainerCell
* _arg0
;
5355 PyObject
* _argo0
= 0;
5357 PyObject
* _obj1
= 0;
5358 char *_kwnames
[] = { "self","clr", NULL
};
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
5372 if (! wxColour_helper(_obj1
, &_arg1
))
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) return NULL
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5386 #define wxHtmlContainerCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5387 static PyObject
*_wrap_wxHtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
* _resultobj
;
5390 wxHtmlContainerCell
* _arg0
;
5391 PyObject
* _argo0
= 0;
5392 char *_kwnames
[] = { "self", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetBackgroundColour",_kwnames
,&_argo0
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetBackgroundColour. Expected _wxHtmlContainerCell_p.");
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 _result
= new wxColour (wxHtmlContainerCell_GetBackgroundColour(_arg0
));
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) return NULL
;
5411 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5412 _resultobj
= Py_BuildValue("s",_ptemp
);
5416 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
5417 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5419 wxHtmlContainerCell
* _arg0
;
5422 PyObject
* _argo0
= 0;
5424 PyObject
* _obj1
= 0;
5426 PyObject
* _obj2
= 0;
5427 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
5441 if (! wxColour_helper(_obj1
, &_arg1
))
5446 if (! wxColour_helper(_obj2
, &_arg2
))
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) return NULL
;
5455 } Py_INCREF(Py_None
);
5456 _resultobj
= Py_None
;
5460 #define wxHtmlContainerCell_GetFirstChild(_swigobj) (_swigobj->GetFirstChild())
5461 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5463 wxHtmlCell
* _result
;
5464 wxHtmlContainerCell
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstChild",_kwnames
,&_argo0
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstChild. Expected _wxHtmlContainerCell_p.");
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstChild(_arg0
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) return NULL
;
5486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
5487 _resultobj
= Py_BuildValue("s",_ptemp
);
5490 _resultobj
= Py_None
;
5495 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
5496 wxHtmlColourCell
*src
;
5498 src
= (wxHtmlColourCell
*) ptr
;
5499 dest
= (wxHtmlCell
*) src
;
5500 return (void *) dest
;
5503 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
5504 wxHtmlColourCell
*src
;
5506 src
= (wxHtmlColourCell
*) ptr
;
5507 dest
= (wxObject
*) src
;
5508 return (void *) dest
;
5511 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
5512 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5514 wxHtmlColourCell
* _result
;
5516 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
5518 PyObject
* _obj0
= 0;
5519 char *_kwnames
[] = { "clr","flags", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
5527 if (! wxColour_helper(_obj0
, &_arg0
))
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) return NULL
;
5537 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
5538 _resultobj
= Py_BuildValue("s",_ptemp
);
5541 _resultobj
= Py_None
;
5546 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
5547 wxHtmlFontCell
*src
;
5549 src
= (wxHtmlFontCell
*) ptr
;
5550 dest
= (wxHtmlCell
*) src
;
5551 return (void *) dest
;
5554 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
5555 wxHtmlFontCell
*src
;
5557 src
= (wxHtmlFontCell
*) ptr
;
5558 dest
= (wxObject
*) src
;
5559 return (void *) dest
;
5562 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
5563 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5565 wxHtmlFontCell
* _result
;
5567 PyObject
* _argo0
= 0;
5568 char *_kwnames
[] = { "font", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) return NULL
;
5588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
5589 _resultobj
= Py_BuildValue("s",_ptemp
);
5592 _resultobj
= Py_None
;
5597 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
5598 wxHtmlWidgetCell
*src
;
5600 src
= (wxHtmlWidgetCell
*) ptr
;
5601 dest
= (wxHtmlCell
*) src
;
5602 return (void *) dest
;
5605 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
5606 wxHtmlWidgetCell
*src
;
5608 src
= (wxHtmlWidgetCell
*) ptr
;
5609 dest
= (wxObject
*) src
;
5610 return (void *) dest
;
5613 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
5614 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5616 wxHtmlWidgetCell
* _result
;
5618 int _arg1
= (int ) 0;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "wnd","w", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) return NULL
;
5640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
5641 _resultobj
= Py_BuildValue("s",_ptemp
);
5644 _resultobj
= Py_None
;
5649 static void *SwigwxPyHtmlFilterTowxObject(void *ptr
) {
5650 wxPyHtmlFilter
*src
;
5652 src
= (wxPyHtmlFilter
*) ptr
;
5653 dest
= (wxObject
*) src
;
5654 return (void *) dest
;
5657 #define new_wxHtmlFilter() (new wxPyHtmlFilter())
5658 static PyObject
*_wrap_new_wxHtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
* _resultobj
;
5660 wxPyHtmlFilter
* _result
;
5661 char *_kwnames
[] = { NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlFilter",_kwnames
))
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 _result
= (wxPyHtmlFilter
*)new_wxHtmlFilter();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) return NULL
;
5674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlFilter_p");
5675 _resultobj
= Py_BuildValue("s",_ptemp
);
5678 _resultobj
= Py_None
;
5683 #define wxHtmlFilter__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5684 static PyObject
*_wrap_wxHtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
* _resultobj
;
5686 wxPyHtmlFilter
* _arg0
;
5689 PyObject
* _argo0
= 0;
5690 PyObject
* _obj1
= 0;
5691 PyObject
* _obj2
= 0;
5692 char *_kwnames
[] = { "self","self","_class", NULL
};
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlFilter__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
5700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlFilter__setCallbackInfo. Expected _wxPyHtmlFilter_p.");
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 wxHtmlFilter__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) return NULL
;
5716 } Py_INCREF(Py_None
);
5717 _resultobj
= Py_None
;
5721 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
5722 wxPyHtmlWindow
*src
;
5723 wxScrolledWindow
*dest
;
5724 src
= (wxPyHtmlWindow
*) ptr
;
5725 dest
= (wxScrolledWindow
*) src
;
5726 return (void *) dest
;
5729 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
5730 wxPyHtmlWindow
*src
;
5732 src
= (wxPyHtmlWindow
*) ptr
;
5733 dest
= (wxPanel
*) src
;
5734 return (void *) dest
;
5737 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
5738 wxPyHtmlWindow
*src
;
5740 src
= (wxPyHtmlWindow
*) ptr
;
5741 dest
= (wxWindow
*) src
;
5742 return (void *) dest
;
5745 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
5746 wxPyHtmlWindow
*src
;
5748 src
= (wxPyHtmlWindow
*) ptr
;
5749 dest
= (wxEvtHandler
*) src
;
5750 return (void *) dest
;
5753 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
5754 wxPyHtmlWindow
*src
;
5756 src
= (wxPyHtmlWindow
*) ptr
;
5757 dest
= (wxObject
*) src
;
5758 return (void *) dest
;
5761 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5762 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5764 wxPyHtmlWindow
* _result
;
5766 int _arg1
= (int ) -1;
5767 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5768 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5769 int _arg4
= (int ) (wxHW_DEFAULT_STYLE
);
5770 wxString
* _arg5
= (wxString
*) &wxPyHtmlWindowNameStr
;
5771 PyObject
* _argo0
= 0;
5773 PyObject
* _obj2
= 0;
5775 PyObject
* _obj3
= 0;
5776 PyObject
* _obj5
= 0;
5777 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOiO:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
5784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
5793 if (! wxPoint_helper(_obj2
, &_arg2
))
5799 if (! wxSize_helper(_obj3
, &_arg3
))
5804 _arg5
= wxString_in_helper(_obj5
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) return NULL
;
5815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
5816 _resultobj
= Py_BuildValue("s",_ptemp
);
5819 _resultobj
= Py_None
;
5828 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
5829 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5831 wxPyHtmlWindow
* _result
;
5832 char *_kwnames
[] = { NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) return NULL
;
5845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
5846 _resultobj
= Py_BuildValue("s",_ptemp
);
5849 _resultobj
= Py_None
;
5854 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5855 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
* _resultobj
;
5858 wxPyHtmlWindow
* _arg0
;
5860 int _arg2
= (int ) -1;
5861 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5862 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5863 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
5864 wxString
* _arg6
= (wxString
*) &wxPyHtmlWindowNameStr
;
5865 PyObject
* _argo0
= 0;
5866 PyObject
* _argo1
= 0;
5868 PyObject
* _obj3
= 0;
5870 PyObject
* _obj4
= 0;
5871 PyObject
* _obj6
= 0;
5872 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOiO:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
5878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
5885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
5894 if (! wxPoint_helper(_obj3
, &_arg3
))
5900 if (! wxSize_helper(_obj4
, &_arg4
))
5905 _arg6
= wxString_in_helper(_obj6
);
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5915 } _resultobj
= Py_BuildValue("i",_result
);
5923 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5924 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5926 wxPyHtmlWindow
* _arg0
;
5929 PyObject
* _argo0
= 0;
5930 PyObject
* _obj1
= 0;
5931 PyObject
* _obj2
= 0;
5932 char *_kwnames
[] = { "self","self","_class", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) return NULL
;
5956 } Py_INCREF(Py_None
);
5957 _resultobj
= Py_None
;
5961 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
5962 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5965 wxPyHtmlWindow
* _arg0
;
5967 PyObject
* _argo0
= 0;
5968 PyObject
* _obj1
= 0;
5969 char *_kwnames
[] = { "self","source", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
5982 _arg1
= wxString_in_helper(_obj1
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) return NULL
;
5992 } _resultobj
= Py_BuildValue("i",_result
);
6000 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
6001 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6004 wxPyHtmlWindow
* _arg0
;
6006 PyObject
* _argo0
= 0;
6007 PyObject
* _obj1
= 0;
6008 char *_kwnames
[] = { "self","location", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
6021 _arg1
= wxString_in_helper(_obj1
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } _resultobj
= Py_BuildValue("i",_result
);
6039 #define wxHtmlWindow_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6040 static PyObject
*_wrap_wxHtmlWindow_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6043 wxPyHtmlWindow
* _arg0
;
6045 PyObject
* _argo0
= 0;
6046 PyObject
* _obj1
= 0;
6047 char *_kwnames
[] = { "self","filename", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadFile. Expected _wxPyHtmlWindow_p.");
6060 _arg1
= wxString_in_helper(_obj1
);
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 _result
= (bool )wxHtmlWindow_LoadFile(_arg0
,*_arg1
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) return NULL
;
6070 } _resultobj
= Py_BuildValue("i",_result
);
6078 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
6079 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
* _resultobj
;
6082 wxPyHtmlWindow
* _arg0
;
6084 PyObject
* _argo0
= 0;
6085 PyObject
* _obj1
= 0;
6086 char *_kwnames
[] = { "self","source", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
6099 _arg1
= wxString_in_helper(_obj1
);
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6109 } _resultobj
= Py_BuildValue("i",_result
);
6117 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
6118 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6121 wxPyHtmlWindow
* _arg0
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self", NULL
};
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
6129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) return NULL
;
6143 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6145 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6154 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
6155 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6158 wxPyHtmlWindow
* _arg0
;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) return NULL
;
6180 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6182 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6191 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
6192 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
* _resultobj
;
6195 wxPyHtmlWindow
* _arg0
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self", NULL
};
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
6203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6217 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6219 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6228 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
6229 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6231 wxPyHtmlWindow
* _arg0
;
6234 PyObject
* _argo0
= 0;
6235 PyObject
* _argo1
= 0;
6236 PyObject
* _obj2
= 0;
6237 char *_kwnames
[] = { "self","frame","format", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
6250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
6257 _arg2
= wxString_in_helper(_obj2
);
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,*_arg2
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) return NULL
;
6267 } Py_INCREF(Py_None
);
6268 _resultobj
= Py_None
;
6276 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
6277 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6280 wxPyHtmlWindow
* _arg0
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6300 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6304 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
6305 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6307 wxPyHtmlWindow
* _arg0
;
6309 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self","bar", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) return NULL
;
6328 } Py_INCREF(Py_None
);
6329 _resultobj
= Py_None
;
6333 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
6335 if (sizes
) temp
= int_LIST_helper(sizes
);
6336 self
->SetFonts(normal_face
, fixed_face
, temp
);
6340 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6342 wxPyHtmlWindow
* _arg0
;
6345 PyObject
* _arg3
= (PyObject
*) NULL
;
6346 PyObject
* _argo0
= 0;
6347 PyObject
* _obj1
= 0;
6348 PyObject
* _obj2
= 0;
6349 PyObject
* _obj3
= 0;
6350 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
6356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
6363 _arg1
= wxString_in_helper(_obj1
);
6368 _arg2
= wxString_in_helper(_obj2
);
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) return NULL
;
6382 } Py_INCREF(Py_None
);
6383 _resultobj
= Py_None
;
6395 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
6396 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6398 wxPyHtmlWindow
* _arg0
;
6400 PyObject
* _argo0
= 0;
6401 PyObject
* _obj1
= 0;
6402 char *_kwnames
[] = { "self","title", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
6415 _arg1
= wxString_in_helper(_obj1
);
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) return NULL
;
6425 } Py_INCREF(Py_None
);
6426 _resultobj
= Py_None
;
6434 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
6435 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6437 wxPyHtmlWindow
* _arg0
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self","b", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } Py_INCREF(Py_None
);
6459 _resultobj
= Py_None
;
6463 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
6464 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6466 wxPyHtmlWindow
* _arg0
;
6467 wxConfigBase
* _arg1
;
6468 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6469 PyObject
* _argo0
= 0;
6470 PyObject
* _argo1
= 0;
6471 PyObject
* _obj2
= 0;
6472 char *_kwnames
[] = { "self","cfg","path", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
6485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
6493 _arg2
= wxString_in_helper(_obj2
);
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) return NULL
;
6503 } Py_INCREF(Py_None
);
6504 _resultobj
= Py_None
;
6512 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
6513 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6515 wxPyHtmlWindow
* _arg0
;
6516 wxConfigBase
* _arg1
;
6517 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6518 PyObject
* _argo0
= 0;
6519 PyObject
* _argo1
= 0;
6520 PyObject
* _obj2
= 0;
6521 char *_kwnames
[] = { "self","cfg","path", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
6534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
6536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
6542 _arg2
= wxString_in_helper(_obj2
);
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) return NULL
;
6552 } Py_INCREF(Py_None
);
6553 _resultobj
= Py_None
;
6561 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
6562 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
* _resultobj
;
6565 wxPyHtmlWindow
* _arg0
;
6566 PyObject
* _argo0
= 0;
6567 char *_kwnames
[] = { "self", NULL
};
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
6573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) return NULL
;
6585 } _resultobj
= Py_BuildValue("i",_result
);
6589 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
6590 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
* _resultobj
;
6593 wxPyHtmlWindow
* _arg0
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } _resultobj
= Py_BuildValue("i",_result
);
6617 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
6618 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6621 wxPyHtmlWindow
* _arg0
;
6622 PyObject
* _argo0
= 0;
6623 char *_kwnames
[] = { "self", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6641 } _resultobj
= Py_BuildValue("i",_result
);
6645 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
6646 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
* _resultobj
;
6649 wxPyHtmlWindow
* _arg0
;
6650 PyObject
* _argo0
= 0;
6651 char *_kwnames
[] = { "self", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } _resultobj
= Py_BuildValue("i",_result
);
6673 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
6674 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6676 wxPyHtmlWindow
* _arg0
;
6677 PyObject
* _argo0
= 0;
6678 char *_kwnames
[] = { "self", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
6684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 wxHtmlWindow_HistoryClear(_arg0
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) return NULL
;
6696 } Py_INCREF(Py_None
);
6697 _resultobj
= Py_None
;
6701 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
6702 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6704 wxHtmlContainerCell
* _result
;
6705 wxPyHtmlWindow
* _arg0
;
6706 PyObject
* _argo0
= 0;
6707 char *_kwnames
[] = { "self", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
6714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
6728 _resultobj
= Py_BuildValue("s",_ptemp
);
6731 _resultobj
= Py_None
;
6736 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
6737 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
* _resultobj
;
6739 wxHtmlWinParser
* _result
;
6740 wxPyHtmlWindow
* _arg0
;
6741 PyObject
* _argo0
= 0;
6742 char *_kwnames
[] = { "self", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) return NULL
;
6762 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
6763 _resultobj
= Py_BuildValue("s",_ptemp
);
6766 _resultobj
= Py_None
;
6771 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
6772 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6775 wxPyHtmlWindow
* _arg0
;
6777 PyObject
* _argo0
= 0;
6778 PyObject
* _obj1
= 0;
6779 char *_kwnames
[] = { "self","anchor", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
6792 _arg1
= wxString_in_helper(_obj1
);
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) return NULL
;
6802 } _resultobj
= Py_BuildValue("i",_result
);
6810 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
6811 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
* _resultobj
;
6814 wxPyHtmlWindow
* _arg0
;
6816 PyObject
* _argo0
= 0;
6817 PyObject
* _obj1
= 0;
6818 char *_kwnames
[] = { "self","anchor", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
6831 _arg1
= wxString_in_helper(_obj1
);
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) return NULL
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6849 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6851 wxPyHtmlFilter
* _arg0
;
6852 PyObject
* _argo0
= 0;
6853 char *_kwnames
[] = { "filter", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxPyHtmlFilter_p.");
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 wxPyHtmlWindow::AddFilter(_arg0
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) return NULL
;
6871 } Py_INCREF(Py_None
);
6872 _resultobj
= Py_None
;
6876 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
6877 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
* _resultobj
;
6879 wxPyHtmlWindow
* _arg0
;
6880 wxHtmlLinkInfo
* _arg1
;
6881 PyObject
* _argo0
= 0;
6882 PyObject
* _argo1
= 0;
6883 char *_kwnames
[] = { "self","link", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
6896 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) return NULL
;
6907 } Py_INCREF(Py_None
);
6908 _resultobj
= Py_None
;
6912 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
6913 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6915 wxPyHtmlWindow
* _arg0
;
6917 PyObject
* _argo0
= 0;
6918 PyObject
* _obj1
= 0;
6919 char *_kwnames
[] = { "self","title", NULL
};
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_obj1
))
6925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
6932 _arg1
= wxString_in_helper(_obj1
);
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 wxHtmlWindow_base_OnSetTitle(_arg0
,*_arg1
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) return NULL
;
6942 } Py_INCREF(Py_None
);
6943 _resultobj
= Py_None
;
6951 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
6952 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
* _resultobj
;
6954 wxPyHtmlWindow
* _arg0
;
6958 PyObject
* _argo0
= 0;
6959 PyObject
* _argo1
= 0;
6960 char *_kwnames
[] = { "self","cell","x","y", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
6973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) return NULL
;
6985 } Py_INCREF(Py_None
);
6986 _resultobj
= Py_None
;
6990 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6991 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6993 wxPyHtmlWindow
* _arg0
;
6997 wxMouseEvent
* _arg4
;
6998 PyObject
* _argo0
= 0;
6999 PyObject
* _argo1
= 0;
7000 PyObject
* _argo4
= 0;
7001 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
7007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
7014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
7021 if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
7022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) return NULL
;
7032 } Py_INCREF(Py_None
);
7033 _resultobj
= Py_None
;
7037 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
7038 wxHtmlDCRenderer
*src
;
7040 src
= (wxHtmlDCRenderer
*) ptr
;
7041 dest
= (wxObject
*) src
;
7042 return (void *) dest
;
7045 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
7046 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxHtmlDCRenderer
* _result
;
7049 char *_kwnames
[] = { NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) return NULL
;
7062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
7063 _resultobj
= Py_BuildValue("s",_ptemp
);
7066 _resultobj
= Py_None
;
7071 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
7072 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7074 wxHtmlDCRenderer
* _arg0
;
7075 PyObject
* _argo0
= 0;
7076 char *_kwnames
[] = { "self", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 delete_wxHtmlDCRenderer(_arg0
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) return NULL
;
7094 } Py_INCREF(Py_None
);
7095 _resultobj
= Py_None
;
7099 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
7100 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
* _resultobj
;
7102 wxHtmlDCRenderer
* _arg0
;
7105 PyObject
* _argo0
= 0;
7106 PyObject
* _argo1
= 0;
7107 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
7120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) return NULL
;
7132 } Py_INCREF(Py_None
);
7133 _resultobj
= Py_None
;
7137 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
7138 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7140 wxHtmlDCRenderer
* _arg0
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self","width","height", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } Py_INCREF(Py_None
);
7163 _resultobj
= Py_None
;
7167 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
7168 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
* _resultobj
;
7170 wxHtmlDCRenderer
* _arg0
;
7172 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
7173 bool _arg3
= (bool ) TRUE
;
7174 PyObject
* _argo0
= 0;
7175 PyObject
* _obj1
= 0;
7176 PyObject
* _obj2
= 0;
7177 int tempbool3
= (int) TRUE
;
7178 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
7191 _arg1
= wxString_in_helper(_obj1
);
7197 _arg2
= wxString_in_helper(_obj2
);
7201 _arg3
= (bool ) tempbool3
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) return NULL
;
7208 } Py_INCREF(Py_None
);
7209 _resultobj
= Py_None
;
7221 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
7223 if (sizes
) temp
= int_LIST_helper(sizes
);
7224 self
->SetFonts(normal_face
, fixed_face
, temp
);
7228 static PyObject
*_wrap_wxHtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
* _resultobj
;
7230 wxHtmlDCRenderer
* _arg0
;
7233 PyObject
* _arg3
= (PyObject
*) NULL
;
7234 PyObject
* _argo0
= 0;
7235 PyObject
* _obj1
= 0;
7236 PyObject
* _obj2
= 0;
7237 PyObject
* _obj3
= 0;
7238 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlDCRenderer_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
7244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetFonts. Expected _wxHtmlDCRenderer_p.");
7251 _arg1
= wxString_in_helper(_obj1
);
7256 _arg2
= wxString_in_helper(_obj2
);
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 wxHtmlDCRenderer_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) return NULL
;
7270 } Py_INCREF(Py_None
);
7271 _resultobj
= Py_None
;
7283 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7284 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
* _resultobj
;
7287 wxHtmlDCRenderer
* _arg0
;
7290 int _arg3
= (int ) 0;
7291 int _arg4
= (int ) FALSE
;
7292 int _arg5
= (int ) INT_MAX
;
7293 int * _arg6
= (int *) NULL
;
7294 int _arg7
= (int ) 0;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _obj6
= 0;
7297 char *_kwnames
[] = { "self","x","y","from","dont_render","to","choices", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
7311 _arg6
= int_LIST_helper(_obj6
);
7312 if (_arg6
== NULL
) {
7318 _arg7
= PyList_Size(_obj6
);
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } _resultobj
= Py_BuildValue("i",_result
);
7337 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
7338 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7341 wxHtmlDCRenderer
* _arg0
;
7342 PyObject
* _argo0
= 0;
7343 char *_kwnames
[] = { "self", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) return NULL
;
7361 } _resultobj
= Py_BuildValue("i",_result
);
7365 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
7366 wxHtmlPrintout
*src
;
7368 src
= (wxHtmlPrintout
*) ptr
;
7369 dest
= (wxPyPrintout
*) src
;
7370 return (void *) dest
;
7373 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
7374 wxHtmlPrintout
*src
;
7376 src
= (wxHtmlPrintout
*) ptr
;
7377 dest
= (wxObject
*) src
;
7378 return (void *) dest
;
7381 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
7382 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7384 wxHtmlPrintout
* _result
;
7385 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintoutTitleStr
;
7386 PyObject
* _obj0
= 0;
7387 char *_kwnames
[] = { "title", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlPrintout",_kwnames
,&_obj0
))
7395 _arg0
= wxString_in_helper(_obj0
);
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(*_arg0
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) return NULL
;
7406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
7407 _resultobj
= Py_BuildValue("s",_ptemp
);
7410 _resultobj
= Py_None
;
7419 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
7420 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7422 wxHtmlPrintout
* _arg0
;
7424 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
7425 bool _arg3
= (bool ) TRUE
;
7426 PyObject
* _argo0
= 0;
7427 PyObject
* _obj1
= 0;
7428 PyObject
* _obj2
= 0;
7429 int tempbool3
= (int) TRUE
;
7430 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
7436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
7438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
7443 _arg1
= wxString_in_helper(_obj1
);
7449 _arg2
= wxString_in_helper(_obj2
);
7453 _arg3
= (bool ) tempbool3
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) return NULL
;
7460 } Py_INCREF(Py_None
);
7461 _resultobj
= Py_None
;
7473 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
7474 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7476 wxHtmlPrintout
* _arg0
;
7478 PyObject
* _argo0
= 0;
7479 PyObject
* _obj1
= 0;
7480 char *_kwnames
[] = { "self","htmlfile", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
7493 _arg1
= wxString_in_helper(_obj1
);
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7512 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
7513 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7515 wxHtmlPrintout
* _arg0
;
7517 int _arg2
= (int ) (wxPAGE_ALL
);
7518 PyObject
* _argo0
= 0;
7519 PyObject
* _obj1
= 0;
7520 char *_kwnames
[] = { "self","header","pg", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
7533 _arg1
= wxString_in_helper(_obj1
);
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) return NULL
;
7543 } Py_INCREF(Py_None
);
7544 _resultobj
= Py_None
;
7552 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
7553 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
* _resultobj
;
7555 wxHtmlPrintout
* _arg0
;
7557 int _arg2
= (int ) (wxPAGE_ALL
);
7558 PyObject
* _argo0
= 0;
7559 PyObject
* _obj1
= 0;
7560 char *_kwnames
[] = { "self","footer","pg", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
7573 _arg1
= wxString_in_helper(_obj1
);
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) return NULL
;
7583 } Py_INCREF(Py_None
);
7584 _resultobj
= Py_None
;
7592 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
7594 if (sizes
) temp
= int_LIST_helper(sizes
);
7595 self
->SetFonts(normal_face
, fixed_face
, temp
);
7599 static PyObject
*_wrap_wxHtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7601 wxHtmlPrintout
* _arg0
;
7604 PyObject
* _arg3
= (PyObject
*) NULL
;
7605 PyObject
* _argo0
= 0;
7606 PyObject
* _obj1
= 0;
7607 PyObject
* _obj2
= 0;
7608 PyObject
* _obj3
= 0;
7609 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlPrintout_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
7615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
7617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFonts. Expected _wxHtmlPrintout_p.");
7622 _arg1
= wxString_in_helper(_obj1
);
7627 _arg2
= wxString_in_helper(_obj2
);
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxHtmlPrintout_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) return NULL
;
7641 } Py_INCREF(Py_None
);
7642 _resultobj
= Py_None
;
7654 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7655 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
* _resultobj
;
7657 wxHtmlPrintout
* _arg0
;
7658 float _arg1
= (float ) 25.2;
7659 float _arg2
= (float ) 25.2;
7660 float _arg3
= (float ) 25.2;
7661 float _arg4
= (float ) 25.2;
7662 float _arg5
= (float ) 5;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) return NULL
;
7682 } Py_INCREF(Py_None
);
7683 _resultobj
= Py_None
;
7687 static PyObject
*_wrap_wxHtmlPrintout_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7689 wxHtmlFilter
* _arg0
;
7690 PyObject
* _argo0
= 0;
7691 char *_kwnames
[] = { "filter", NULL
};
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlPrintout_AddFilter",_kwnames
,&_argo0
))
7697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
7699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_AddFilter. Expected _wxHtmlFilter_p.");
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 wxHtmlPrintout::AddFilter(_arg0
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) return NULL
;
7709 } Py_INCREF(Py_None
);
7710 _resultobj
= Py_None
;
7714 static PyObject
*_wrap_wxHtmlPrintout_CleanUpStatics(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
* _resultobj
;
7716 char *_kwnames
[] = { NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxHtmlPrintout_CleanUpStatics",_kwnames
))
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxHtmlPrintout::CleanUpStatics();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) return NULL
;
7727 } Py_INCREF(Py_None
);
7728 _resultobj
= Py_None
;
7732 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
7733 wxHtmlEasyPrinting
*src
;
7735 src
= (wxHtmlEasyPrinting
*) ptr
;
7736 dest
= (wxObject
*) src
;
7737 return (void *) dest
;
7740 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
7741 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7743 wxHtmlEasyPrinting
* _result
;
7744 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintingTitleStr
;
7745 wxWindow
* _arg1
= (wxWindow
*) NULL
;
7746 PyObject
* _obj0
= 0;
7747 PyObject
* _argo1
= 0;
7748 char *_kwnames
[] = { "name","parentWindow", NULL
};
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxHtmlEasyPrinting",_kwnames
,&_obj0
,&_argo1
))
7756 _arg0
= wxString_in_helper(_obj0
);
7761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxWindow_p.");
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(*_arg0
,_arg1
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) return NULL
;
7774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
7775 _resultobj
= Py_BuildValue("s",_ptemp
);
7778 _resultobj
= Py_None
;
7787 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
7788 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
* _resultobj
;
7790 wxHtmlEasyPrinting
* _arg0
;
7791 PyObject
* _argo0
= 0;
7792 char *_kwnames
[] = { "self", NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
7798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
7800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 delete_wxHtmlEasyPrinting(_arg0
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) return NULL
;
7810 } Py_INCREF(Py_None
);
7811 _resultobj
= Py_None
;
7815 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
7816 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7818 wxHtmlEasyPrinting
* _arg0
;
7820 PyObject
* _argo0
= 0;
7821 PyObject
* _obj1
= 0;
7822 char *_kwnames
[] = { "self","htmlfile", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
7835 _arg1
= wxString_in_helper(_obj1
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) return NULL
;
7845 } Py_INCREF(Py_None
);
7846 _resultobj
= Py_None
;
7854 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
7855 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
* _resultobj
;
7857 wxHtmlEasyPrinting
* _arg0
;
7859 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
7860 PyObject
* _argo0
= 0;
7861 PyObject
* _obj1
= 0;
7862 PyObject
* _obj2
= 0;
7863 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
7876 _arg1
= wxString_in_helper(_obj1
);
7882 _arg2
= wxString_in_helper(_obj2
);
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) return NULL
;
7892 } Py_INCREF(Py_None
);
7893 _resultobj
= Py_None
;
7905 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
7906 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
* _resultobj
;
7908 wxHtmlEasyPrinting
* _arg0
;
7910 PyObject
* _argo0
= 0;
7911 PyObject
* _obj1
= 0;
7912 char *_kwnames
[] = { "self","htmlfile", NULL
};
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
7918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
7920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
7925 _arg1
= wxString_in_helper(_obj1
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) return NULL
;
7935 } Py_INCREF(Py_None
);
7936 _resultobj
= Py_None
;
7944 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
7945 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7947 wxHtmlEasyPrinting
* _arg0
;
7949 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
7950 PyObject
* _argo0
= 0;
7951 PyObject
* _obj1
= 0;
7952 PyObject
* _obj2
= 0;
7953 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
7961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
7966 _arg1
= wxString_in_helper(_obj1
);
7972 _arg2
= wxString_in_helper(_obj2
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) return NULL
;
7982 } Py_INCREF(Py_None
);
7983 _resultobj
= Py_None
;
7995 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
7996 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
7998 wxHtmlEasyPrinting
* _arg0
;
7999 PyObject
* _argo0
= 0;
8000 char *_kwnames
[] = { "self", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) return NULL
;
8018 } Py_INCREF(Py_None
);
8019 _resultobj
= Py_None
;
8023 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
8024 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
* _resultobj
;
8026 wxHtmlEasyPrinting
* _arg0
;
8027 PyObject
* _argo0
= 0;
8028 char *_kwnames
[] = { "self", NULL
};
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
8034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 wxHtmlEasyPrinting_PageSetup(_arg0
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) return NULL
;
8046 } Py_INCREF(Py_None
);
8047 _resultobj
= Py_None
;
8051 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
8052 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8054 wxHtmlEasyPrinting
* _arg0
;
8056 int _arg2
= (int ) (wxPAGE_ALL
);
8057 PyObject
* _argo0
= 0;
8058 PyObject
* _obj1
= 0;
8059 char *_kwnames
[] = { "self","header","pg", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
8072 _arg1
= wxString_in_helper(_obj1
);
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) return NULL
;
8082 } Py_INCREF(Py_None
);
8083 _resultobj
= Py_None
;
8091 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
8092 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
* _resultobj
;
8094 wxHtmlEasyPrinting
* _arg0
;
8096 int _arg2
= (int ) (wxPAGE_ALL
);
8097 PyObject
* _argo0
= 0;
8098 PyObject
* _obj1
= 0;
8099 char *_kwnames
[] = { "self","footer","pg", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
8112 _arg1
= wxString_in_helper(_obj1
);
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) return NULL
;
8122 } Py_INCREF(Py_None
);
8123 _resultobj
= Py_None
;
8131 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
8133 if (sizes
) temp
= int_LIST_helper(sizes
);
8134 self
->SetFonts(normal_face
, fixed_face
, temp
);
8138 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8140 wxHtmlEasyPrinting
* _arg0
;
8143 PyObject
* _arg3
= (PyObject
*) NULL
;
8144 PyObject
* _argo0
= 0;
8145 PyObject
* _obj1
= 0;
8146 PyObject
* _obj2
= 0;
8147 PyObject
* _obj3
= 0;
8148 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlEasyPrinting_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFonts. Expected _wxHtmlEasyPrinting_p.");
8161 _arg1
= wxString_in_helper(_obj1
);
8166 _arg2
= wxString_in_helper(_obj2
);
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 wxHtmlEasyPrinting_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) return NULL
;
8180 } Py_INCREF(Py_None
);
8181 _resultobj
= Py_None
;
8193 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
8194 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
* _resultobj
;
8196 wxPrintData
* _result
;
8197 wxHtmlEasyPrinting
* _arg0
;
8198 PyObject
* _argo0
= 0;
8199 char *_kwnames
[] = { "self", NULL
};
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
8206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) return NULL
;
8219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
8220 _resultobj
= Py_BuildValue("s",_ptemp
);
8223 _resultobj
= Py_None
;
8228 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
8229 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
* _resultobj
;
8231 wxPageSetupDialogData
* _result
;
8232 wxHtmlEasyPrinting
* _arg0
;
8233 PyObject
* _argo0
= 0;
8234 char *_kwnames
[] = { "self", NULL
};
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
8241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
8243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) return NULL
;
8254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
8255 _resultobj
= Py_BuildValue("s",_ptemp
);
8258 _resultobj
= Py_None
;
8263 static PyMethodDef htmlcMethods
[] = {
8264 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxHtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxHtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_wxHtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxHtmlPrintout_AddFilter", (PyCFunction
) _wrap_wxHtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxHtmlPrintout_SetFonts", (PyCFunction
) _wrap_wxHtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxHtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxHtmlWindow_LoadFile", (PyCFunction
) _wrap_wxHtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxHtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "new_wxHtmlFilter", (PyCFunction
) _wrap_new_wxHtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxHtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxHtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxHtmlCell_ConvertToText", (PyCFunction
) _wrap_wxHtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxHtmlCell_IsBefore", (PyCFunction
) _wrap_wxHtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxHtmlCell_GetDepth", (PyCFunction
) _wrap_wxHtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxHtmlCell_GetLastTerminal", (PyCFunction
) _wrap_wxHtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxHtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_wxHtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxHtmlCell_GetAbsPos", (PyCFunction
) _wrap_wxHtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxHtmlCell_FindCellByPos", (PyCFunction
) _wrap_wxHtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxHtmlCell_IsTerminalCell", (PyCFunction
) _wrap_wxHtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxHtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_wxHtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxHtmlCell_IsFormattingCell", (PyCFunction
) _wrap_wxHtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxHtmlCell_GetCursor", (PyCFunction
) _wrap_wxHtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxHtmlCell_GetFirstChild", (PyCFunction
) _wrap_wxHtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxHtmlRenderingInfo_GetState", (PyCFunction
) _wrap_wxHtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxHtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_wxHtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxHtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_wxHtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxHtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_wxHtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxHtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_wxHtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "delete_wxHtmlRenderingInfo", (PyCFunction
) _wrap_delete_wxHtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "new_wxHtmlRenderingInfo", (PyCFunction
) _wrap_new_wxHtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxDefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_wxHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_wxHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxHtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_wxHtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxHtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_wxHtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxHtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_wxHtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxHtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_wxHtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxHtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_wxHtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxHtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_wxHtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "delete_wxHtmlRenderingState", (PyCFunction
) _wrap_delete_wxHtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "new_wxHtmlRenderingState", (PyCFunction
) _wrap_new_wxHtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxHtmlSelection_IsEmpty", (PyCFunction
) _wrap_wxHtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxHtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_wxHtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxHtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_wxHtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxHtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_wxHtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxHtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_wxHtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxHtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_wxHtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxHtmlSelection_GetToPos", (PyCFunction
) _wrap_wxHtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxHtmlSelection_GetFromPos", (PyCFunction
) _wrap_wxHtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxHtmlSelection_GetToCell", (PyCFunction
) _wrap_wxHtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxHtmlSelection_GetFromCell", (PyCFunction
) _wrap_wxHtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxHtmlSelection_SetCells", (PyCFunction
) _wrap_wxHtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxHtmlSelection_Set", (PyCFunction
) _wrap_wxHtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "delete_wxHtmlSelection", (PyCFunction
) _wrap_delete_wxHtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "new_wxHtmlSelection", (PyCFunction
) _wrap_new_wxHtmlSelection
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxHtmlParser_StopParsing", (PyCFunction
) _wrap_wxHtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
8487 * This table is used by the pointer type-checker
8489 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8490 { "_signed_long","_long",0},
8491 { "_wxPrintQuality","_wxCoord",0},
8492 { "_wxPrintQuality","_int",0},
8493 { "_wxPrintQuality","_signed_int",0},
8494 { "_wxPrintQuality","_unsigned_int",0},
8495 { "_wxPrintQuality","_wxWindowID",0},
8496 { "_wxPrintQuality","_uint",0},
8497 { "_wxPrintQuality","_EBool",0},
8498 { "_wxPrintQuality","_size_t",0},
8499 { "_wxPrintQuality","_time_t",0},
8500 { "_byte","_unsigned_char",0},
8501 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
8502 { "_long","_unsigned_long",0},
8503 { "_long","_signed_long",0},
8504 { "_size_t","_wxCoord",0},
8505 { "_size_t","_wxPrintQuality",0},
8506 { "_size_t","_time_t",0},
8507 { "_size_t","_unsigned_int",0},
8508 { "_size_t","_int",0},
8509 { "_size_t","_wxWindowID",0},
8510 { "_size_t","_uint",0},
8511 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
8512 { "_uint","_wxCoord",0},
8513 { "_uint","_wxPrintQuality",0},
8514 { "_uint","_time_t",0},
8515 { "_uint","_size_t",0},
8516 { "_uint","_unsigned_int",0},
8517 { "_uint","_int",0},
8518 { "_uint","_wxWindowID",0},
8519 { "_wxChar","_char",0},
8520 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
8521 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
8522 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
8523 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
8524 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
8525 { "_char","_wxChar",0},
8526 { "_wxHtmlRenderingStyle","_wxDefaultHtmlRenderingStyle",SwigwxDefaultHtmlRenderingStyleTowxHtmlRenderingStyle
},
8527 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8528 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
8529 { "_EBool","_wxCoord",0},
8530 { "_EBool","_wxPrintQuality",0},
8531 { "_EBool","_signed_int",0},
8532 { "_EBool","_int",0},
8533 { "_EBool","_wxWindowID",0},
8534 { "_unsigned_long","_long",0},
8535 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8536 { "_signed_int","_wxCoord",0},
8537 { "_signed_int","_wxPrintQuality",0},
8538 { "_signed_int","_EBool",0},
8539 { "_signed_int","_wxWindowID",0},
8540 { "_signed_int","_int",0},
8541 { "_WXTYPE","_wxDateTime_t",0},
8542 { "_WXTYPE","_short",0},
8543 { "_WXTYPE","_signed_short",0},
8544 { "_WXTYPE","_unsigned_short",0},
8545 { "_unsigned_short","_wxDateTime_t",0},
8546 { "_unsigned_short","_WXTYPE",0},
8547 { "_unsigned_short","_short",0},
8548 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
8549 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
8550 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
8551 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
8552 { "_wxObject","_wxPyHtmlFilter",SwigwxPyHtmlFilterTowxObject
},
8553 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
8554 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
8555 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
8556 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
8557 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
8558 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
8559 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
8560 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
8561 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
8562 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
8563 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
8564 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
8565 { "_signed_short","_WXTYPE",0},
8566 { "_signed_short","_short",0},
8567 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
8568 { "_unsigned_char","_byte",0},
8569 { "_unsigned_int","_wxCoord",0},
8570 { "_unsigned_int","_wxPrintQuality",0},
8571 { "_unsigned_int","_time_t",0},
8572 { "_unsigned_int","_size_t",0},
8573 { "_unsigned_int","_uint",0},
8574 { "_unsigned_int","_wxWindowID",0},
8575 { "_unsigned_int","_int",0},
8576 { "_short","_wxDateTime_t",0},
8577 { "_short","_WXTYPE",0},
8578 { "_short","_unsigned_short",0},
8579 { "_short","_signed_short",0},
8580 { "_wxWindowID","_wxCoord",0},
8581 { "_wxWindowID","_wxPrintQuality",0},
8582 { "_wxWindowID","_time_t",0},
8583 { "_wxWindowID","_size_t",0},
8584 { "_wxWindowID","_EBool",0},
8585 { "_wxWindowID","_uint",0},
8586 { "_wxWindowID","_int",0},
8587 { "_wxWindowID","_signed_int",0},
8588 { "_wxWindowID","_unsigned_int",0},
8589 { "_int","_wxCoord",0},
8590 { "_int","_wxPrintQuality",0},
8591 { "_int","_time_t",0},
8592 { "_int","_size_t",0},
8593 { "_int","_EBool",0},
8594 { "_int","_uint",0},
8595 { "_int","_wxWindowID",0},
8596 { "_int","_unsigned_int",0},
8597 { "_int","_signed_int",0},
8598 { "_wxDateTime_t","_unsigned_short",0},
8599 { "_wxDateTime_t","_short",0},
8600 { "_wxDateTime_t","_WXTYPE",0},
8601 { "_time_t","_wxCoord",0},
8602 { "_time_t","_wxPrintQuality",0},
8603 { "_time_t","_unsigned_int",0},
8604 { "_time_t","_int",0},
8605 { "_time_t","_wxWindowID",0},
8606 { "_time_t","_uint",0},
8607 { "_time_t","_size_t",0},
8608 { "_wxCoord","_int",0},
8609 { "_wxCoord","_signed_int",0},
8610 { "_wxCoord","_unsigned_int",0},
8611 { "_wxCoord","_wxWindowID",0},
8612 { "_wxCoord","_uint",0},
8613 { "_wxCoord","_EBool",0},
8614 { "_wxCoord","_size_t",0},
8615 { "_wxCoord","_time_t",0},
8616 { "_wxCoord","_wxPrintQuality",0},
8617 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
8618 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
8619 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
8622 static PyObject
*SWIG_globals
;
8626 SWIGEXPORT(void) inithtmlc() {
8628 SWIG_globals
= SWIG_newvarlink();
8629 m
= Py_InitModule("htmlc", htmlcMethods
);
8630 d
= PyModule_GetDict(m
);
8631 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
8632 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
8633 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
8634 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
8635 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
8636 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
8637 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
8638 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
8639 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
8640 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
8641 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
8642 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
8643 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
8644 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
8645 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
8646 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
8647 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
8648 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
8649 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
8650 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
8651 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
8652 PyDict_SetItemString(d
,"wxHW_NO_SELECTION", PyInt_FromLong((long) wxHW_NO_SELECTION
));
8653 PyDict_SetItemString(d
,"wxHW_DEFAULT_STYLE", PyInt_FromLong((long) wxHW_DEFAULT_STYLE
));
8654 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
8655 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
8656 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
8657 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
8658 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
8659 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
8660 PyDict_SetItemString(d
,"wxHTML_SEL_OUT", PyInt_FromLong((long) wxHTML_SEL_OUT
));
8661 PyDict_SetItemString(d
,"wxHTML_SEL_IN", PyInt_FromLong((long) wxHTML_SEL_IN
));
8662 PyDict_SetItemString(d
,"wxHTML_SEL_CHANGING", PyInt_FromLong((long) wxHTML_SEL_CHANGING
));
8663 PyDict_SetItemString(d
,"wxHTML_FIND_EXACT", PyInt_FromLong((long) wxHTML_FIND_EXACT
));
8664 PyDict_SetItemString(d
,"wxHTML_FIND_NEAREST_BEFORE", PyInt_FromLong((long) wxHTML_FIND_NEAREST_BEFORE
));
8665 PyDict_SetItemString(d
,"wxHTML_FIND_NEAREST_AFTER", PyInt_FromLong((long) wxHTML_FIND_NEAREST_AFTER
));
8666 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
8667 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
8668 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
8673 wxClassInfo::CleanUpClasses();
8674 wxClassInfo::InitializeClasses();
8676 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
8677 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
8678 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
8679 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
8682 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8683 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);