2 * FILE : src/gtk/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_SCROLLBAR_AUTO
,
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 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) 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
,"_wxHtmlWindow_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_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 wxHtmlWindow
* _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
= (wxHtmlWindow
*)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 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2657 src
= (wxHtmlCell
*) ptr
;
2658 dest
= (wxObject
*) src
;
2659 return (void *) dest
;
2662 #define new_wxHtmlCell() (new wxHtmlCell())
2663 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2665 wxHtmlCell
* _result
;
2666 char *_kwnames
[] = { NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) return NULL
;
2679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2680 _resultobj
= Py_BuildValue("s",_ptemp
);
2683 _resultobj
= Py_None
;
2688 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2689 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2694 char *_kwnames
[] = { "self", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } _resultobj
= Py_BuildValue("i",_result
);
2716 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2717 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2745 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2773 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2796 } _resultobj
= Py_BuildValue("i",_result
);
2800 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2801 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) return NULL
;
2824 } _resultobj
= Py_BuildValue("i",_result
);
2828 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2829 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2831 wxHtmlLinkInfo
* _result
;
2833 int _arg1
= (int ) 0;
2834 int _arg2
= (int ) 0;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self","x","y", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) return NULL
;
2856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2857 _resultobj
= Py_BuildValue("s",_ptemp
);
2860 _resultobj
= Py_None
;
2865 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2866 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2868 wxHtmlCell
* _result
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) return NULL
;
2891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2892 _resultobj
= Py_BuildValue("s",_ptemp
);
2895 _resultobj
= Py_None
;
2900 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2901 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxHtmlContainerCell
* _result
;
2905 PyObject
* _argo0
= 0;
2906 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2927 _resultobj
= Py_BuildValue("s",_ptemp
);
2930 _resultobj
= Py_None
;
2935 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2936 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2939 wxHtmlLinkInfo
* _arg1
;
2940 PyObject
* _argo0
= 0;
2941 PyObject
* _argo1
= 0;
2942 char *_kwnames
[] = { "self","link", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2955 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2972 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2976 PyObject
* _argo0
= 0;
2977 PyObject
* _argo1
= 0;
2978 char *_kwnames
[] = { "self","cell", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 wxHtmlCell_SetNext(_arg0
,_arg1
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3008 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3009 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3012 wxHtmlContainerCell
* _arg1
;
3013 PyObject
* _argo0
= 0;
3014 PyObject
* _argo1
= 0;
3015 char *_kwnames
[] = { "self","p", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
3028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 wxHtmlCell_SetParent(_arg0
,_arg1
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) return NULL
;
3040 } Py_INCREF(Py_None
);
3041 _resultobj
= Py_None
;
3045 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3046 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self","x","y", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3070 } Py_INCREF(Py_None
);
3071 _resultobj
= Py_None
;
3075 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3076 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self","w", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 wxHtmlCell_Layout(_arg0
,_arg1
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3105 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3114 PyObject
* _argo1
= 0;
3115 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3128 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3145 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo1
= 0;
3153 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3166 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) return NULL
;
3177 } Py_INCREF(Py_None
);
3178 _resultobj
= Py_None
;
3182 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3183 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3185 wxHtmlCell
* _result
;
3189 PyObject
* _argo0
= 0;
3190 PyObject
* _argo2
= 0;
3191 char *_kwnames
[] = { "self","condition","param", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3205 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) return NULL
;
3218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3219 _resultobj
= Py_BuildValue("s",_ptemp
);
3222 _resultobj
= Py_None
;
3227 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3228 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3233 PyObject
* _argo0
= 0;
3234 PyObject
* _argo1
= 0;
3235 char *_kwnames
[] = { "self","pagebreak", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 } _resultobj
= Py_BuildValue("i",_result
);
3264 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3265 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3269 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self","can", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3283 _arg1
= (bool ) tempbool1
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3296 wxHtmlWordCell
*src
;
3298 src
= (wxHtmlWordCell
*) ptr
;
3299 dest
= (wxHtmlCell
*) src
;
3300 return (void *) dest
;
3303 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3304 wxHtmlWordCell
*src
;
3306 src
= (wxHtmlWordCell
*) ptr
;
3307 dest
= (wxObject
*) src
;
3308 return (void *) dest
;
3311 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3312 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3314 wxHtmlWordCell
* _result
;
3317 PyObject
* _obj0
= 0;
3318 PyObject
* _argo1
= 0;
3319 char *_kwnames
[] = { "word","dc", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3326 _arg0
= wxString_in_helper(_obj0
);
3331 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3344 _resultobj
= Py_BuildValue("s",_ptemp
);
3347 _resultobj
= Py_None
;
3356 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3357 wxHtmlContainerCell
*src
;
3359 src
= (wxHtmlContainerCell
*) ptr
;
3360 dest
= (wxHtmlCell
*) src
;
3361 return (void *) dest
;
3364 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3365 wxHtmlContainerCell
*src
;
3367 src
= (wxHtmlContainerCell
*) ptr
;
3368 dest
= (wxObject
*) src
;
3369 return (void *) dest
;
3372 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3373 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3375 wxHtmlContainerCell
* _result
;
3376 wxHtmlContainerCell
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 char *_kwnames
[] = { "parent", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) return NULL
;
3398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3399 _resultobj
= Py_BuildValue("s",_ptemp
);
3402 _resultobj
= Py_None
;
3407 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3408 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 wxHtmlContainerCell
* _arg0
;
3412 PyObject
* _argo0
= 0;
3413 PyObject
* _argo1
= 0;
3414 char *_kwnames
[] = { "self","cell", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3445 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxHtmlContainerCell
* _arg0
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self","al", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3473 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3474 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3477 wxHtmlContainerCell
* _arg0
;
3478 PyObject
* _argo0
= 0;
3479 char *_kwnames
[] = { "self", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3497 } _resultobj
= Py_BuildValue("i",_result
);
3501 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3502 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3504 wxHtmlContainerCell
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self","al", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3525 } Py_INCREF(Py_None
);
3526 _resultobj
= Py_None
;
3530 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3531 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3534 wxHtmlContainerCell
* _arg0
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "self", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) return NULL
;
3554 } _resultobj
= Py_BuildValue("i",_result
);
3558 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3559 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3561 wxHtmlContainerCell
* _arg0
;
3564 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self","i","what","units", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) return NULL
;
3584 } Py_INCREF(Py_None
);
3585 _resultobj
= Py_None
;
3589 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3590 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3593 wxHtmlContainerCell
* _arg0
;
3595 PyObject
* _argo0
= 0;
3596 char *_kwnames
[] = { "self","ind", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3614 } _resultobj
= Py_BuildValue("i",_result
);
3618 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3619 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3622 wxHtmlContainerCell
* _arg0
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self","ind", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3643 } _resultobj
= Py_BuildValue("i",_result
);
3647 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3648 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3650 wxHtmlContainerCell
* _arg0
;
3652 PyObject
* _argo0
= 0;
3653 PyObject
* _argo1
= 0;
3654 char *_kwnames
[] = { "self","tag", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3667 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) return NULL
;
3678 } Py_INCREF(Py_None
);
3679 _resultobj
= Py_None
;
3683 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3684 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3686 wxHtmlContainerCell
* _arg0
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self","w","units", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3714 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3716 wxHtmlContainerCell
* _arg0
;
3718 PyObject
* _argo0
= 0;
3719 PyObject
* _argo1
= 0;
3720 char *_kwnames
[] = { "self","tag", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3733 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3744 } Py_INCREF(Py_None
);
3745 _resultobj
= Py_None
;
3749 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3750 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
* _resultobj
;
3752 wxHtmlContainerCell
* _arg0
;
3754 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3755 PyObject
* _argo0
= 0;
3756 char *_kwnames
[] = { "self","h","align", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) return NULL
;
3774 } Py_INCREF(Py_None
);
3775 _resultobj
= Py_None
;
3779 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3780 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3782 wxHtmlContainerCell
* _arg0
;
3784 PyObject
* _argo0
= 0;
3786 PyObject
* _obj1
= 0;
3787 char *_kwnames
[] = { "self","clr", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3801 if (! wxColour_helper(_obj1
, &_arg1
))
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) return NULL
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3815 #define wxHtmlContainerCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3816 static PyObject
*_wrap_wxHtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3819 wxHtmlContainerCell
* _arg0
;
3820 PyObject
* _argo0
= 0;
3821 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetBackgroundColour",_kwnames
,&_argo0
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 _result
= new wxColour (wxHtmlContainerCell_GetBackgroundColour(_arg0
));
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) return NULL
;
3840 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3841 _resultobj
= Py_BuildValue("s",_ptemp
);
3845 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3846 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3848 wxHtmlContainerCell
* _arg0
;
3851 PyObject
* _argo0
= 0;
3853 PyObject
* _obj1
= 0;
3855 PyObject
* _obj2
= 0;
3856 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3870 if (! wxColour_helper(_obj1
, &_arg1
))
3875 if (! wxColour_helper(_obj2
, &_arg2
))
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) return NULL
;
3884 } Py_INCREF(Py_None
);
3885 _resultobj
= Py_None
;
3889 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3890 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3892 wxHtmlCell
* _result
;
3893 wxHtmlContainerCell
* _arg0
;
3894 PyObject
* _argo0
= 0;
3895 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) return NULL
;
3915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3916 _resultobj
= Py_BuildValue("s",_ptemp
);
3919 _resultobj
= Py_None
;
3924 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3925 wxHtmlColourCell
*src
;
3927 src
= (wxHtmlColourCell
*) ptr
;
3928 dest
= (wxHtmlCell
*) src
;
3929 return (void *) dest
;
3932 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3933 wxHtmlColourCell
*src
;
3935 src
= (wxHtmlColourCell
*) ptr
;
3936 dest
= (wxObject
*) src
;
3937 return (void *) dest
;
3940 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3941 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxHtmlColourCell
* _result
;
3945 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3947 PyObject
* _obj0
= 0;
3948 char *_kwnames
[] = { "clr","flags", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3956 if (! wxColour_helper(_obj0
, &_arg0
))
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3967 _resultobj
= Py_BuildValue("s",_ptemp
);
3970 _resultobj
= Py_None
;
3975 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3976 wxHtmlFontCell
*src
;
3978 src
= (wxHtmlFontCell
*) ptr
;
3979 dest
= (wxHtmlCell
*) src
;
3980 return (void *) dest
;
3983 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3984 wxHtmlFontCell
*src
;
3986 src
= (wxHtmlFontCell
*) ptr
;
3987 dest
= (wxObject
*) src
;
3988 return (void *) dest
;
3991 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3992 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3994 wxHtmlFontCell
* _result
;
3996 PyObject
* _argo0
= 0;
3997 char *_kwnames
[] = { "font", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) return NULL
;
4017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 _resultobj
= Py_None
;
4026 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4027 wxHtmlWidgetCell
*src
;
4029 src
= (wxHtmlWidgetCell
*) ptr
;
4030 dest
= (wxHtmlCell
*) src
;
4031 return (void *) dest
;
4034 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4035 wxHtmlWidgetCell
*src
;
4037 src
= (wxHtmlWidgetCell
*) ptr
;
4038 dest
= (wxObject
*) src
;
4039 return (void *) dest
;
4042 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4043 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4045 wxHtmlWidgetCell
* _result
;
4047 int _arg1
= (int ) 0;
4048 PyObject
* _argo0
= 0;
4049 char *_kwnames
[] = { "wnd","w", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4070 _resultobj
= Py_BuildValue("s",_ptemp
);
4073 _resultobj
= Py_None
;
4078 static void *SwigwxPyHtmlFilterTowxObject(void *ptr
) {
4079 wxPyHtmlFilter
*src
;
4081 src
= (wxPyHtmlFilter
*) ptr
;
4082 dest
= (wxObject
*) src
;
4083 return (void *) dest
;
4086 #define new_wxHtmlFilter() (new wxPyHtmlFilter())
4087 static PyObject
*_wrap_new_wxHtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4089 wxPyHtmlFilter
* _result
;
4090 char *_kwnames
[] = { NULL
};
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlFilter",_kwnames
))
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 _result
= (wxPyHtmlFilter
*)new_wxHtmlFilter();
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) return NULL
;
4103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlFilter_p");
4104 _resultobj
= Py_BuildValue("s",_ptemp
);
4107 _resultobj
= Py_None
;
4112 #define wxHtmlFilter__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4113 static PyObject
*_wrap_wxHtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
* _resultobj
;
4115 wxPyHtmlFilter
* _arg0
;
4118 PyObject
* _argo0
= 0;
4119 PyObject
* _obj1
= 0;
4120 PyObject
* _obj2
= 0;
4121 char *_kwnames
[] = { "self","self","_class", NULL
};
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlFilter__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlFilter__setCallbackInfo. Expected _wxPyHtmlFilter_p.");
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 wxHtmlFilter__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) return NULL
;
4145 } Py_INCREF(Py_None
);
4146 _resultobj
= Py_None
;
4150 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4151 wxPyHtmlWindow
*src
;
4152 wxScrolledWindow
*dest
;
4153 src
= (wxPyHtmlWindow
*) ptr
;
4154 dest
= (wxScrolledWindow
*) src
;
4155 return (void *) dest
;
4158 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4159 wxPyHtmlWindow
*src
;
4161 src
= (wxPyHtmlWindow
*) ptr
;
4162 dest
= (wxPanel
*) src
;
4163 return (void *) dest
;
4166 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4167 wxPyHtmlWindow
*src
;
4169 src
= (wxPyHtmlWindow
*) ptr
;
4170 dest
= (wxWindow
*) src
;
4171 return (void *) dest
;
4174 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4175 wxPyHtmlWindow
*src
;
4177 src
= (wxPyHtmlWindow
*) ptr
;
4178 dest
= (wxEvtHandler
*) src
;
4179 return (void *) dest
;
4182 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4183 wxPyHtmlWindow
*src
;
4185 src
= (wxPyHtmlWindow
*) ptr
;
4186 dest
= (wxObject
*) src
;
4187 return (void *) dest
;
4190 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4191 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4193 wxPyHtmlWindow
* _result
;
4195 int _arg1
= (int ) -1;
4196 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4197 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4198 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4199 wxString
* _arg5
= (wxString
*) &wxPyHtmlWindowNameStr
;
4200 PyObject
* _argo0
= 0;
4202 PyObject
* _obj2
= 0;
4204 PyObject
* _obj3
= 0;
4205 PyObject
* _obj5
= 0;
4206 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOiO:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4222 if (! wxPoint_helper(_obj2
, &_arg2
))
4228 if (! wxSize_helper(_obj3
, &_arg3
))
4233 _arg5
= wxString_in_helper(_obj5
);
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) return NULL
;
4244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4245 _resultobj
= Py_BuildValue("s",_ptemp
);
4248 _resultobj
= Py_None
;
4257 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4258 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4260 wxPyHtmlWindow
* _result
;
4261 char *_kwnames
[] = { NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) return NULL
;
4274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4275 _resultobj
= Py_BuildValue("s",_ptemp
);
4278 _resultobj
= Py_None
;
4283 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4284 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4287 wxPyHtmlWindow
* _arg0
;
4289 int _arg2
= (int ) -1;
4290 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4291 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4292 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4293 wxString
* _arg6
= (wxString
*) &wxPyHtmlWindowNameStr
;
4294 PyObject
* _argo0
= 0;
4295 PyObject
* _argo1
= 0;
4297 PyObject
* _obj3
= 0;
4299 PyObject
* _obj4
= 0;
4300 PyObject
* _obj6
= 0;
4301 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOiO:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4323 if (! wxPoint_helper(_obj3
, &_arg3
))
4329 if (! wxSize_helper(_obj4
, &_arg4
))
4334 _arg6
= wxString_in_helper(_obj6
);
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) return NULL
;
4344 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4353 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4355 wxPyHtmlWindow
* _arg0
;
4358 PyObject
* _argo0
= 0;
4359 PyObject
* _obj1
= 0;
4360 PyObject
* _obj2
= 0;
4361 char *_kwnames
[] = { "self","self","_class", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) return NULL
;
4385 } Py_INCREF(Py_None
);
4386 _resultobj
= Py_None
;
4390 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4391 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4394 wxPyHtmlWindow
* _arg0
;
4396 PyObject
* _argo0
= 0;
4397 PyObject
* _obj1
= 0;
4398 char *_kwnames
[] = { "self","source", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4411 _arg1
= wxString_in_helper(_obj1
);
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } _resultobj
= Py_BuildValue("i",_result
);
4429 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4430 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4433 wxPyHtmlWindow
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 PyObject
* _obj1
= 0;
4437 char *_kwnames
[] = { "self","location", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4450 _arg1
= wxString_in_helper(_obj1
);
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) return NULL
;
4460 } _resultobj
= Py_BuildValue("i",_result
);
4468 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4469 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4472 wxPyHtmlWindow
* _arg0
;
4474 PyObject
* _argo0
= 0;
4475 PyObject
* _obj1
= 0;
4476 char *_kwnames
[] = { "self","source", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4489 _arg1
= wxString_in_helper(_obj1
);
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) return NULL
;
4499 } _resultobj
= Py_BuildValue("i",_result
);
4507 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4508 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxPyHtmlWindow
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4533 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4544 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4545 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4548 wxPyHtmlWindow
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) return NULL
;
4570 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4572 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4581 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4582 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
* _resultobj
;
4585 wxPyHtmlWindow
* _arg0
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4607 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4609 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4618 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4619 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4621 wxPyHtmlWindow
* _arg0
;
4624 PyObject
* _argo0
= 0;
4625 PyObject
* _argo1
= 0;
4626 PyObject
* _obj2
= 0;
4627 char *_kwnames
[] = { "self","frame","format", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4647 _arg2
= wxString_in_helper(_obj2
);
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,*_arg2
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4657 } Py_INCREF(Py_None
);
4658 _resultobj
= Py_None
;
4666 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4667 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4670 wxPyHtmlWindow
* _arg0
;
4671 PyObject
* _argo0
= 0;
4672 char *_kwnames
[] = { "self", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) return NULL
;
4690 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4694 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4695 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4697 wxPyHtmlWindow
* _arg0
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "self","bar", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) return NULL
;
4718 } Py_INCREF(Py_None
);
4719 _resultobj
= Py_None
;
4723 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4725 if (sizes
) temp
= int_LIST_helper(sizes
);
4726 self
->SetFonts(normal_face
, fixed_face
, temp
);
4730 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4732 wxPyHtmlWindow
* _arg0
;
4735 PyObject
* _arg3
= (PyObject
*) NULL
;
4736 PyObject
* _argo0
= 0;
4737 PyObject
* _obj1
= 0;
4738 PyObject
* _obj2
= 0;
4739 PyObject
* _obj3
= 0;
4740 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4753 _arg1
= wxString_in_helper(_obj1
);
4758 _arg2
= wxString_in_helper(_obj2
);
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } Py_INCREF(Py_None
);
4773 _resultobj
= Py_None
;
4785 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4786 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4788 wxPyHtmlWindow
* _arg0
;
4790 PyObject
* _argo0
= 0;
4791 PyObject
* _obj1
= 0;
4792 char *_kwnames
[] = { "self","title", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4805 _arg1
= wxString_in_helper(_obj1
);
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) return NULL
;
4815 } Py_INCREF(Py_None
);
4816 _resultobj
= Py_None
;
4824 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4825 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
* _resultobj
;
4827 wxPyHtmlWindow
* _arg0
;
4829 PyObject
* _argo0
= 0;
4830 char *_kwnames
[] = { "self","b", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) return NULL
;
4848 } Py_INCREF(Py_None
);
4849 _resultobj
= Py_None
;
4853 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4854 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
* _resultobj
;
4856 wxPyHtmlWindow
* _arg0
;
4857 wxConfigBase
* _arg1
;
4858 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4859 PyObject
* _argo0
= 0;
4860 PyObject
* _argo1
= 0;
4861 PyObject
* _obj2
= 0;
4862 char *_kwnames
[] = { "self","cfg","path", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4883 _arg2
= wxString_in_helper(_obj2
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) return NULL
;
4893 } Py_INCREF(Py_None
);
4894 _resultobj
= Py_None
;
4902 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4903 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
* _resultobj
;
4905 wxPyHtmlWindow
* _arg0
;
4906 wxConfigBase
* _arg1
;
4907 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4908 PyObject
* _argo0
= 0;
4909 PyObject
* _argo1
= 0;
4910 PyObject
* _obj2
= 0;
4911 char *_kwnames
[] = { "self","cfg","path", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4932 _arg2
= wxString_in_helper(_obj2
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) return NULL
;
4942 } Py_INCREF(Py_None
);
4943 _resultobj
= Py_None
;
4951 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4952 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4955 wxPyHtmlWindow
* _arg0
;
4956 PyObject
* _argo0
= 0;
4957 char *_kwnames
[] = { "self", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) return NULL
;
4975 } _resultobj
= Py_BuildValue("i",_result
);
4979 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4980 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4983 wxPyHtmlWindow
* _arg0
;
4984 PyObject
* _argo0
= 0;
4985 char *_kwnames
[] = { "self", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) return NULL
;
5003 } _resultobj
= Py_BuildValue("i",_result
);
5007 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
5008 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5011 wxPyHtmlWindow
* _arg0
;
5012 PyObject
* _argo0
= 0;
5013 char *_kwnames
[] = { "self", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5031 } _resultobj
= Py_BuildValue("i",_result
);
5035 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5036 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5039 wxPyHtmlWindow
* _arg0
;
5040 PyObject
* _argo0
= 0;
5041 char *_kwnames
[] = { "self", NULL
};
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) return NULL
;
5059 } _resultobj
= Py_BuildValue("i",_result
);
5063 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5064 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5066 wxPyHtmlWindow
* _arg0
;
5067 PyObject
* _argo0
= 0;
5068 char *_kwnames
[] = { "self", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxHtmlWindow_HistoryClear(_arg0
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5091 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5092 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5094 wxHtmlContainerCell
* _result
;
5095 wxPyHtmlWindow
* _arg0
;
5096 PyObject
* _argo0
= 0;
5097 char *_kwnames
[] = { "self", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5118 _resultobj
= Py_BuildValue("s",_ptemp
);
5121 _resultobj
= Py_None
;
5126 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5127 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5129 wxHtmlWinParser
* _result
;
5130 wxPyHtmlWindow
* _arg0
;
5131 PyObject
* _argo0
= 0;
5132 char *_kwnames
[] = { "self", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) return NULL
;
5152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5153 _resultobj
= Py_BuildValue("s",_ptemp
);
5156 _resultobj
= Py_None
;
5161 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
5162 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
* _resultobj
;
5165 wxPyHtmlWindow
* _arg0
;
5167 PyObject
* _argo0
= 0;
5168 PyObject
* _obj1
= 0;
5169 char *_kwnames
[] = { "self","anchor", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5182 _arg1
= wxString_in_helper(_obj1
);
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5192 } _resultobj
= Py_BuildValue("i",_result
);
5200 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5201 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5204 wxPyHtmlWindow
* _arg0
;
5206 PyObject
* _argo0
= 0;
5207 PyObject
* _obj1
= 0;
5208 char *_kwnames
[] = { "self","anchor", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5221 _arg1
= wxString_in_helper(_obj1
);
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) return NULL
;
5231 } _resultobj
= Py_BuildValue("i",_result
);
5239 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5241 wxPyHtmlFilter
* _arg0
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "filter", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxPyHtmlFilter_p.");
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxPyHtmlWindow::AddFilter(_arg0
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) return NULL
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5266 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5267 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5269 wxPyHtmlWindow
* _arg0
;
5270 wxHtmlLinkInfo
* _arg1
;
5271 PyObject
* _argo0
= 0;
5272 PyObject
* _argo1
= 0;
5273 char *_kwnames
[] = { "self","link", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5286 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) return NULL
;
5297 } Py_INCREF(Py_None
);
5298 _resultobj
= Py_None
;
5302 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5303 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5305 wxPyHtmlWindow
* _arg0
;
5307 PyObject
* _argo0
= 0;
5308 PyObject
* _obj1
= 0;
5309 char *_kwnames
[] = { "self","title", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_obj1
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5322 _arg1
= wxString_in_helper(_obj1
);
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxHtmlWindow_base_OnSetTitle(_arg0
,*_arg1
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) return NULL
;
5332 } Py_INCREF(Py_None
);
5333 _resultobj
= Py_None
;
5341 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5342 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5344 wxPyHtmlWindow
* _arg0
;
5348 PyObject
* _argo0
= 0;
5349 PyObject
* _argo1
= 0;
5350 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) return NULL
;
5375 } Py_INCREF(Py_None
);
5376 _resultobj
= Py_None
;
5380 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5381 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5383 wxPyHtmlWindow
* _arg0
;
5387 wxMouseEvent
* _arg4
;
5388 PyObject
* _argo0
= 0;
5389 PyObject
* _argo1
= 0;
5390 PyObject
* _argo4
= 0;
5391 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5411 if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5422 } Py_INCREF(Py_None
);
5423 _resultobj
= Py_None
;
5427 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5428 wxHtmlDCRenderer
*src
;
5430 src
= (wxHtmlDCRenderer
*) ptr
;
5431 dest
= (wxObject
*) src
;
5432 return (void *) dest
;
5435 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5436 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5438 wxHtmlDCRenderer
* _result
;
5439 char *_kwnames
[] = { NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5453 _resultobj
= Py_BuildValue("s",_ptemp
);
5456 _resultobj
= Py_None
;
5461 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5462 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxHtmlDCRenderer
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 delete_wxHtmlDCRenderer(_arg0
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5490 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5492 wxHtmlDCRenderer
* _arg0
;
5495 PyObject
* _argo0
= 0;
5496 PyObject
* _argo1
= 0;
5497 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) return NULL
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5527 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5528 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5530 wxHtmlDCRenderer
* _arg0
;
5533 PyObject
* _argo0
= 0;
5534 char *_kwnames
[] = { "self","width","height", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) return NULL
;
5552 } Py_INCREF(Py_None
);
5553 _resultobj
= Py_None
;
5557 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5558 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
* _resultobj
;
5560 wxHtmlDCRenderer
* _arg0
;
5562 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5563 bool _arg3
= (bool ) TRUE
;
5564 PyObject
* _argo0
= 0;
5565 PyObject
* _obj1
= 0;
5566 PyObject
* _obj2
= 0;
5567 int tempbool3
= (int) TRUE
;
5568 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5581 _arg1
= wxString_in_helper(_obj1
);
5587 _arg2
= wxString_in_helper(_obj2
);
5591 _arg3
= (bool ) tempbool3
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) return NULL
;
5598 } Py_INCREF(Py_None
);
5599 _resultobj
= Py_None
;
5611 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
5613 if (sizes
) temp
= int_LIST_helper(sizes
);
5614 self
->SetFonts(normal_face
, fixed_face
, temp
);
5618 static PyObject
*_wrap_wxHtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5620 wxHtmlDCRenderer
* _arg0
;
5623 PyObject
* _arg3
= (PyObject
*) NULL
;
5624 PyObject
* _argo0
= 0;
5625 PyObject
* _obj1
= 0;
5626 PyObject
* _obj2
= 0;
5627 PyObject
* _obj3
= 0;
5628 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlDCRenderer_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetFonts. Expected _wxHtmlDCRenderer_p.");
5641 _arg1
= wxString_in_helper(_obj1
);
5646 _arg2
= wxString_in_helper(_obj2
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxHtmlDCRenderer_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) return NULL
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5673 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5674 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
* _resultobj
;
5677 wxHtmlDCRenderer
* _arg0
;
5680 int _arg3
= (int ) 0;
5681 int _arg4
= (int ) FALSE
;
5682 PyObject
* _argo0
= 0;
5683 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) return NULL
;
5701 } _resultobj
= Py_BuildValue("i",_result
);
5705 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5706 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5709 wxHtmlDCRenderer
* _arg0
;
5710 PyObject
* _argo0
= 0;
5711 char *_kwnames
[] = { "self", NULL
};
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) return NULL
;
5729 } _resultobj
= Py_BuildValue("i",_result
);
5733 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5734 wxHtmlPrintout
*src
;
5736 src
= (wxHtmlPrintout
*) ptr
;
5737 dest
= (wxPyPrintout
*) src
;
5738 return (void *) dest
;
5741 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5742 wxHtmlPrintout
*src
;
5744 src
= (wxHtmlPrintout
*) ptr
;
5745 dest
= (wxObject
*) src
;
5746 return (void *) dest
;
5749 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5750 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxHtmlPrintout
* _result
;
5753 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintoutTitleStr
;
5754 PyObject
* _obj0
= 0;
5755 char *_kwnames
[] = { "title", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlPrintout",_kwnames
,&_obj0
))
5763 _arg0
= wxString_in_helper(_obj0
);
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(*_arg0
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) return NULL
;
5774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5775 _resultobj
= Py_BuildValue("s",_ptemp
);
5778 _resultobj
= Py_None
;
5787 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5788 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxHtmlPrintout
* _arg0
;
5792 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5793 bool _arg3
= (bool ) TRUE
;
5794 PyObject
* _argo0
= 0;
5795 PyObject
* _obj1
= 0;
5796 PyObject
* _obj2
= 0;
5797 int tempbool3
= (int) TRUE
;
5798 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5811 _arg1
= wxString_in_helper(_obj1
);
5817 _arg2
= wxString_in_helper(_obj2
);
5821 _arg3
= (bool ) tempbool3
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5841 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5842 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5844 wxHtmlPrintout
* _arg0
;
5846 PyObject
* _argo0
= 0;
5847 PyObject
* _obj1
= 0;
5848 char *_kwnames
[] = { "self","htmlfile", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5861 _arg1
= wxString_in_helper(_obj1
);
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) return NULL
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5880 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5881 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5883 wxHtmlPrintout
* _arg0
;
5885 int _arg2
= (int ) (wxPAGE_ALL
);
5886 PyObject
* _argo0
= 0;
5887 PyObject
* _obj1
= 0;
5888 char *_kwnames
[] = { "self","header","pg", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5901 _arg1
= wxString_in_helper(_obj1
);
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) return NULL
;
5911 } Py_INCREF(Py_None
);
5912 _resultobj
= Py_None
;
5920 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5921 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5923 wxHtmlPrintout
* _arg0
;
5925 int _arg2
= (int ) (wxPAGE_ALL
);
5926 PyObject
* _argo0
= 0;
5927 PyObject
* _obj1
= 0;
5928 char *_kwnames
[] = { "self","footer","pg", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5941 _arg1
= wxString_in_helper(_obj1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5951 } Py_INCREF(Py_None
);
5952 _resultobj
= Py_None
;
5960 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
5962 if (sizes
) temp
= int_LIST_helper(sizes
);
5963 self
->SetFonts(normal_face
, fixed_face
, temp
);
5967 static PyObject
*_wrap_wxHtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5969 wxHtmlPrintout
* _arg0
;
5972 PyObject
* _arg3
= (PyObject
*) NULL
;
5973 PyObject
* _argo0
= 0;
5974 PyObject
* _obj1
= 0;
5975 PyObject
* _obj2
= 0;
5976 PyObject
* _obj3
= 0;
5977 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlPrintout_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFonts. Expected _wxHtmlPrintout_p.");
5990 _arg1
= wxString_in_helper(_obj1
);
5995 _arg2
= wxString_in_helper(_obj2
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 wxHtmlPrintout_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) return NULL
;
6009 } Py_INCREF(Py_None
);
6010 _resultobj
= Py_None
;
6022 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6023 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
* _resultobj
;
6025 wxHtmlPrintout
* _arg0
;
6026 float _arg1
= (float ) 25.2;
6027 float _arg2
= (float ) 25.2;
6028 float _arg3
= (float ) 25.2;
6029 float _arg4
= (float ) 25.2;
6030 float _arg5
= (float ) 5;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) return NULL
;
6050 } Py_INCREF(Py_None
);
6051 _resultobj
= Py_None
;
6055 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
6056 wxHtmlEasyPrinting
*src
;
6058 src
= (wxHtmlEasyPrinting
*) ptr
;
6059 dest
= (wxObject
*) src
;
6060 return (void *) dest
;
6063 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
6064 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6066 wxHtmlEasyPrinting
* _result
;
6067 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintingTitleStr
;
6068 wxFrame
* _arg1
= (wxFrame
*) NULL
;
6069 PyObject
* _obj0
= 0;
6070 PyObject
* _argo1
= 0;
6071 char *_kwnames
[] = { "name","parent_frame", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxHtmlEasyPrinting",_kwnames
,&_obj0
,&_argo1
))
6079 _arg0
= wxString_in_helper(_obj0
);
6084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(*_arg0
,_arg1
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) return NULL
;
6097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
6098 _resultobj
= Py_BuildValue("s",_ptemp
);
6101 _resultobj
= Py_None
;
6110 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
6111 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxHtmlEasyPrinting
* _arg0
;
6114 PyObject
* _argo0
= 0;
6115 char *_kwnames
[] = { "self", NULL
};
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
6121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 delete_wxHtmlEasyPrinting(_arg0
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) return NULL
;
6133 } Py_INCREF(Py_None
);
6134 _resultobj
= Py_None
;
6138 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
6139 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxHtmlEasyPrinting
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 PyObject
* _obj1
= 0;
6145 char *_kwnames
[] = { "self","htmlfile", NULL
};
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
6151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
6158 _arg1
= wxString_in_helper(_obj1
);
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } Py_INCREF(Py_None
);
6169 _resultobj
= Py_None
;
6177 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6178 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6180 wxHtmlEasyPrinting
* _arg0
;
6182 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6183 PyObject
* _argo0
= 0;
6184 PyObject
* _obj1
= 0;
6185 PyObject
* _obj2
= 0;
6186 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6199 _arg1
= wxString_in_helper(_obj1
);
6205 _arg2
= wxString_in_helper(_obj2
);
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6228 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6229 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6231 wxHtmlEasyPrinting
* _arg0
;
6233 PyObject
* _argo0
= 0;
6234 PyObject
* _obj1
= 0;
6235 char *_kwnames
[] = { "self","htmlfile", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
6248 _arg1
= wxString_in_helper(_obj1
);
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) return NULL
;
6258 } Py_INCREF(Py_None
);
6259 _resultobj
= Py_None
;
6267 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6268 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
* _resultobj
;
6270 wxHtmlEasyPrinting
* _arg0
;
6272 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6273 PyObject
* _argo0
= 0;
6274 PyObject
* _obj1
= 0;
6275 PyObject
* _obj2
= 0;
6276 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6289 _arg1
= wxString_in_helper(_obj1
);
6295 _arg2
= wxString_in_helper(_obj2
);
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) return NULL
;
6305 } Py_INCREF(Py_None
);
6306 _resultobj
= Py_None
;
6318 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6319 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6321 wxHtmlEasyPrinting
* _arg0
;
6322 PyObject
* _argo0
= 0;
6323 char *_kwnames
[] = { "self", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) return NULL
;
6341 } Py_INCREF(Py_None
);
6342 _resultobj
= Py_None
;
6346 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6347 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxHtmlEasyPrinting
* _arg0
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxHtmlEasyPrinting_PageSetup(_arg0
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6374 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6375 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6377 wxHtmlEasyPrinting
* _arg0
;
6379 int _arg2
= (int ) (wxPAGE_ALL
);
6380 PyObject
* _argo0
= 0;
6381 PyObject
* _obj1
= 0;
6382 char *_kwnames
[] = { "self","header","pg", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6395 _arg1
= wxString_in_helper(_obj1
);
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) return NULL
;
6405 } Py_INCREF(Py_None
);
6406 _resultobj
= Py_None
;
6414 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6415 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6417 wxHtmlEasyPrinting
* _arg0
;
6419 int _arg2
= (int ) (wxPAGE_ALL
);
6420 PyObject
* _argo0
= 0;
6421 PyObject
* _obj1
= 0;
6422 char *_kwnames
[] = { "self","footer","pg", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6435 _arg1
= wxString_in_helper(_obj1
);
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) return NULL
;
6445 } Py_INCREF(Py_None
);
6446 _resultobj
= Py_None
;
6454 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
6456 if (sizes
) temp
= int_LIST_helper(sizes
);
6457 self
->SetFonts(normal_face
, fixed_face
, temp
);
6461 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
* _resultobj
;
6463 wxHtmlEasyPrinting
* _arg0
;
6466 PyObject
* _arg3
= (PyObject
*) NULL
;
6467 PyObject
* _argo0
= 0;
6468 PyObject
* _obj1
= 0;
6469 PyObject
* _obj2
= 0;
6470 PyObject
* _obj3
= 0;
6471 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlEasyPrinting_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFonts. Expected _wxHtmlEasyPrinting_p.");
6484 _arg1
= wxString_in_helper(_obj1
);
6489 _arg2
= wxString_in_helper(_obj2
);
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxHtmlEasyPrinting_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) return NULL
;
6503 } Py_INCREF(Py_None
);
6504 _resultobj
= Py_None
;
6516 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6517 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6519 wxPrintData
* _result
;
6520 wxHtmlEasyPrinting
* _arg0
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) return NULL
;
6542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6543 _resultobj
= Py_BuildValue("s",_ptemp
);
6546 _resultobj
= Py_None
;
6551 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6552 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
* _resultobj
;
6554 wxPageSetupDialogData
* _result
;
6555 wxHtmlEasyPrinting
* _arg0
;
6556 PyObject
* _argo0
= 0;
6557 char *_kwnames
[] = { "self", NULL
};
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) return NULL
;
6577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6578 _resultobj
= Py_BuildValue("s",_ptemp
);
6581 _resultobj
= Py_None
;
6586 static PyMethodDef htmlcMethods
[] = {
6587 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxHtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6599 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6600 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6601 { "wxHtmlPrintout_SetFonts", (PyCFunction
) _wrap_wxHtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6602 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6609 { "wxHtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6610 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6611 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6612 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6613 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6614 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6615 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6616 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6617 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6618 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6619 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6620 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6621 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6622 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6623 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6624 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6625 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6626 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6627 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxHtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "new_wxHtmlFilter", (PyCFunction
) _wrap_new_wxHtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxHtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxHtmlParser_StopParsing", (PyCFunction
) _wrap_wxHtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6762 * This table is used by the pointer type-checker
6764 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6765 { "_signed_long","_long",0},
6766 { "_wxPrintQuality","_wxCoord",0},
6767 { "_wxPrintQuality","_int",0},
6768 { "_wxPrintQuality","_signed_int",0},
6769 { "_wxPrintQuality","_unsigned_int",0},
6770 { "_wxPrintQuality","_wxWindowID",0},
6771 { "_wxPrintQuality","_uint",0},
6772 { "_wxPrintQuality","_EBool",0},
6773 { "_wxPrintQuality","_size_t",0},
6774 { "_wxPrintQuality","_time_t",0},
6775 { "_byte","_unsigned_char",0},
6776 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6777 { "_long","_unsigned_long",0},
6778 { "_long","_signed_long",0},
6779 { "_size_t","_wxCoord",0},
6780 { "_size_t","_wxPrintQuality",0},
6781 { "_size_t","_time_t",0},
6782 { "_size_t","_unsigned_int",0},
6783 { "_size_t","_int",0},
6784 { "_size_t","_wxWindowID",0},
6785 { "_size_t","_uint",0},
6786 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6787 { "_uint","_wxCoord",0},
6788 { "_uint","_wxPrintQuality",0},
6789 { "_uint","_time_t",0},
6790 { "_uint","_size_t",0},
6791 { "_uint","_unsigned_int",0},
6792 { "_uint","_int",0},
6793 { "_uint","_wxWindowID",0},
6794 { "_wxChar","_char",0},
6795 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6796 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6797 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6798 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6799 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6800 { "_char","_wxChar",0},
6801 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6802 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6803 { "_EBool","_wxCoord",0},
6804 { "_EBool","_wxPrintQuality",0},
6805 { "_EBool","_signed_int",0},
6806 { "_EBool","_int",0},
6807 { "_EBool","_wxWindowID",0},
6808 { "_unsigned_long","_long",0},
6809 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6810 { "_signed_int","_wxCoord",0},
6811 { "_signed_int","_wxPrintQuality",0},
6812 { "_signed_int","_EBool",0},
6813 { "_signed_int","_wxWindowID",0},
6814 { "_signed_int","_int",0},
6815 { "_WXTYPE","_wxDateTime_t",0},
6816 { "_WXTYPE","_short",0},
6817 { "_WXTYPE","_signed_short",0},
6818 { "_WXTYPE","_unsigned_short",0},
6819 { "_unsigned_short","_wxDateTime_t",0},
6820 { "_unsigned_short","_WXTYPE",0},
6821 { "_unsigned_short","_short",0},
6822 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6823 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6824 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6825 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6826 { "_wxObject","_wxPyHtmlFilter",SwigwxPyHtmlFilterTowxObject
},
6827 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6828 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6829 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6830 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6831 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6832 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6833 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6834 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6835 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6836 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6837 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6838 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6839 { "_signed_short","_WXTYPE",0},
6840 { "_signed_short","_short",0},
6841 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6842 { "_unsigned_char","_byte",0},
6843 { "_unsigned_int","_wxCoord",0},
6844 { "_unsigned_int","_wxPrintQuality",0},
6845 { "_unsigned_int","_time_t",0},
6846 { "_unsigned_int","_size_t",0},
6847 { "_unsigned_int","_uint",0},
6848 { "_unsigned_int","_wxWindowID",0},
6849 { "_unsigned_int","_int",0},
6850 { "_short","_wxDateTime_t",0},
6851 { "_short","_WXTYPE",0},
6852 { "_short","_unsigned_short",0},
6853 { "_short","_signed_short",0},
6854 { "_wxWindowID","_wxCoord",0},
6855 { "_wxWindowID","_wxPrintQuality",0},
6856 { "_wxWindowID","_time_t",0},
6857 { "_wxWindowID","_size_t",0},
6858 { "_wxWindowID","_EBool",0},
6859 { "_wxWindowID","_uint",0},
6860 { "_wxWindowID","_int",0},
6861 { "_wxWindowID","_signed_int",0},
6862 { "_wxWindowID","_unsigned_int",0},
6863 { "_int","_wxCoord",0},
6864 { "_int","_wxPrintQuality",0},
6865 { "_int","_time_t",0},
6866 { "_int","_size_t",0},
6867 { "_int","_EBool",0},
6868 { "_int","_uint",0},
6869 { "_int","_wxWindowID",0},
6870 { "_int","_unsigned_int",0},
6871 { "_int","_signed_int",0},
6872 { "_wxDateTime_t","_unsigned_short",0},
6873 { "_wxDateTime_t","_short",0},
6874 { "_wxDateTime_t","_WXTYPE",0},
6875 { "_time_t","_wxCoord",0},
6876 { "_time_t","_wxPrintQuality",0},
6877 { "_time_t","_unsigned_int",0},
6878 { "_time_t","_int",0},
6879 { "_time_t","_wxWindowID",0},
6880 { "_time_t","_uint",0},
6881 { "_time_t","_size_t",0},
6882 { "_wxCoord","_int",0},
6883 { "_wxCoord","_signed_int",0},
6884 { "_wxCoord","_unsigned_int",0},
6885 { "_wxCoord","_wxWindowID",0},
6886 { "_wxCoord","_uint",0},
6887 { "_wxCoord","_EBool",0},
6888 { "_wxCoord","_size_t",0},
6889 { "_wxCoord","_time_t",0},
6890 { "_wxCoord","_wxPrintQuality",0},
6891 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6892 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6893 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6896 static PyObject
*SWIG_globals
;
6900 SWIGEXPORT(void) inithtmlc() {
6902 SWIG_globals
= SWIG_newvarlink();
6903 m
= Py_InitModule("htmlc", htmlcMethods
);
6904 d
= PyModule_GetDict(m
);
6905 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6906 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6907 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6908 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6909 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6910 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6911 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6912 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6913 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6914 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6915 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6916 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6917 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6918 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6919 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6920 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6921 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6922 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6923 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6924 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6925 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6926 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6927 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6928 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6929 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6930 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6931 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6932 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6933 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6934 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6939 wxClassInfo::CleanUpClasses();
6940 wxClassInfo::InitializeClasses();
6942 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6943 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6944 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6945 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
6948 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6949 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);