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 wxPyHtmlWindow
* _arg0
= (wxPyHtmlWindow
*) NULL
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "wnd", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxPyHtmlWindow_p.");
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1349 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxHtmlWinParser
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 PyObject
* _argo1
= 0;
1355 char *_kwnames
[] = { "self","dc", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 } Py_INCREF(Py_None
);
1381 _resultobj
= Py_None
;
1385 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1386 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1389 wxHtmlWinParser
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1413 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1414 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1417 wxHtmlWinParser
* _arg0
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1437 } _resultobj
= Py_BuildValue("i",_result
);
1441 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1442 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxHtmlWinParser
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } _resultobj
= Py_BuildValue("i",_result
);
1469 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1470 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1472 wxPyHtmlWindow
* _result
;
1473 wxHtmlWinParser
* _arg0
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (wxPyHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1497 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1499 if (sizes
) temp
= int_LIST_helper(sizes
);
1500 self
->SetFonts(normal_face
, fixed_face
, temp
);
1504 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1506 wxHtmlWinParser
* _arg0
;
1509 PyObject
* _arg3
= (PyObject
*) NULL
;
1510 PyObject
* _argo0
= 0;
1511 PyObject
* _obj1
= 0;
1512 PyObject
* _obj2
= 0;
1513 PyObject
* _obj3
= 0;
1514 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1527 _arg1
= wxString_in_helper(_obj1
);
1532 _arg2
= wxString_in_helper(_obj2
);
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) return NULL
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1559 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1560 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxHtmlContainerCell
* _result
;
1563 wxHtmlWinParser
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1586 _resultobj
= Py_BuildValue("s",_ptemp
);
1589 _resultobj
= Py_None
;
1594 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1595 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1597 wxHtmlContainerCell
* _result
;
1598 wxHtmlWinParser
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) return NULL
;
1620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1621 _resultobj
= Py_BuildValue("s",_ptemp
);
1624 _resultobj
= Py_None
;
1629 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1630 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxHtmlContainerCell
* _result
;
1633 wxHtmlWinParser
* _arg0
;
1634 wxHtmlContainerCell
* _arg1
;
1635 PyObject
* _argo0
= 0;
1636 PyObject
* _argo1
= 0;
1637 char *_kwnames
[] = { "self","c", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) return NULL
;
1664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1665 _resultobj
= Py_BuildValue("s",_ptemp
);
1668 _resultobj
= Py_None
;
1673 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1674 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1676 wxHtmlContainerCell
* _result
;
1677 wxHtmlWinParser
* _arg0
;
1678 PyObject
* _argo0
= 0;
1679 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1709 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1712 wxHtmlWinParser
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1737 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxHtmlWinParser
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","s", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1766 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1769 wxHtmlWinParser
* _arg0
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1789 } _resultobj
= Py_BuildValue("i",_result
);
1793 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1794 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1796 wxHtmlWinParser
* _arg0
;
1798 PyObject
* _argo0
= 0;
1799 char *_kwnames
[] = { "self","x", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1822 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1823 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 wxHtmlWinParser
* _arg0
;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) return NULL
;
1846 } _resultobj
= Py_BuildValue("i",_result
);
1850 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1851 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxHtmlWinParser
* _arg0
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self","x", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) return NULL
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1880 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1883 wxHtmlWinParser
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1908 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxHtmlWinParser
* _arg0
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self","x", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } Py_INCREF(Py_None
);
1932 _resultobj
= Py_None
;
1936 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1937 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1940 wxHtmlWinParser
* _arg0
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1960 } _resultobj
= Py_BuildValue("i",_result
);
1964 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1965 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1967 wxHtmlWinParser
* _arg0
;
1969 PyObject
* _argo0
= 0;
1970 char *_kwnames
[] = { "self","x", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } Py_INCREF(Py_None
);
1989 _resultobj
= Py_None
;
1993 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1994 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1997 wxHtmlWinParser
* _arg0
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 } _resultobj
= Py_BuildValue("i",_result
);
2021 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2022 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2024 wxHtmlWinParser
* _arg0
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self","a", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2045 } Py_INCREF(Py_None
);
2046 _resultobj
= Py_None
;
2050 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2051 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 wxHtmlWinParser
* _arg0
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) return NULL
;
2075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2076 _resultobj
= Py_BuildValue("s",_ptemp
);
2080 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2081 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2083 wxHtmlWinParser
* _arg0
;
2085 PyObject
* _argo0
= 0;
2087 PyObject
* _obj1
= 0;
2088 char *_kwnames
[] = { "self","clr", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2102 if (! wxColour_helper(_obj1
, &_arg1
))
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) return NULL
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2117 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 wxHtmlWinParser
* _arg0
;
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2142 _resultobj
= Py_BuildValue("s",_ptemp
);
2146 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2147 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxHtmlWinParser
* _arg0
;
2151 PyObject
* _argo0
= 0;
2153 PyObject
* _obj1
= 0;
2154 char *_kwnames
[] = { "self","clr", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2168 if (! wxColour_helper(_obj1
, &_arg1
))
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) return NULL
;
2177 } Py_INCREF(Py_None
);
2178 _resultobj
= Py_None
;
2182 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2183 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2185 wxHtmlWinParser
* _arg0
;
2187 PyObject
* _argo0
= 0;
2188 PyObject
* _obj1
= 0;
2189 char *_kwnames
[] = { "self","link", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2202 _arg1
= wxString_in_helper(_obj1
);
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } Py_INCREF(Py_None
);
2213 _resultobj
= Py_None
;
2221 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2222 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2225 wxHtmlWinParser
* _arg0
;
2226 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2248 _resultobj
= Py_BuildValue("s",_ptemp
);
2251 _resultobj
= Py_None
;
2256 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2257 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2259 wxHtmlLinkInfo
* _result
;
2260 wxHtmlWinParser
* _arg0
;
2261 PyObject
* _argo0
= 0;
2262 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2281 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2282 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2287 wxPyHtmlTagHandler
*src
;
2289 src
= (wxPyHtmlTagHandler
*) ptr
;
2290 dest
= (wxObject
*) src
;
2291 return (void *) dest
;
2294 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2295 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2297 wxPyHtmlTagHandler
* _result
;
2298 char *_kwnames
[] = { NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2312 _resultobj
= Py_BuildValue("s",_ptemp
);
2315 _resultobj
= Py_None
;
2320 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2321 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxPyHtmlTagHandler
* _arg0
;
2326 PyObject
* _argo0
= 0;
2327 PyObject
* _obj1
= 0;
2328 PyObject
* _obj2
= 0;
2329 char *_kwnames
[] = { "self","self","_class", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) return NULL
;
2353 } Py_INCREF(Py_None
);
2354 _resultobj
= Py_None
;
2358 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2359 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2361 wxPyHtmlTagHandler
* _arg0
;
2362 wxHtmlParser
* _arg1
;
2363 PyObject
* _argo0
= 0;
2364 PyObject
* _argo1
= 0;
2365 char *_kwnames
[] = { "self","parser", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2396 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2398 wxHtmlParser
* _result
;
2399 wxPyHtmlTagHandler
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) return NULL
;
2421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2422 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 _resultobj
= Py_None
;
2430 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2431 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxPyHtmlTagHandler
* _arg0
;
2435 PyObject
* _argo0
= 0;
2436 PyObject
* _argo1
= 0;
2437 char *_kwnames
[] = { "self","tag", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2450 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) return NULL
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2466 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2467 wxPyHtmlWinTagHandler
*src
;
2468 wxPyHtmlTagHandler
*dest
;
2469 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2470 dest
= (wxPyHtmlTagHandler
*) src
;
2471 return (void *) dest
;
2474 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2475 wxPyHtmlWinTagHandler
*src
;
2477 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2478 dest
= (wxObject
*) src
;
2479 return (void *) dest
;
2482 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2483 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxPyHtmlWinTagHandler
* _result
;
2486 char *_kwnames
[] = { NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2500 _resultobj
= Py_BuildValue("s",_ptemp
);
2503 _resultobj
= Py_None
;
2508 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2509 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxPyHtmlWinTagHandler
* _arg0
;
2514 PyObject
* _argo0
= 0;
2515 PyObject
* _obj1
= 0;
2516 PyObject
* _obj2
= 0;
2517 char *_kwnames
[] = { "self","self","_class", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } Py_INCREF(Py_None
);
2542 _resultobj
= Py_None
;
2546 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2547 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2549 wxPyHtmlWinTagHandler
* _arg0
;
2550 wxHtmlParser
* _arg1
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _argo1
= 0;
2553 char *_kwnames
[] = { "self","parser", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2584 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxHtmlWinParser
* _result
;
2587 wxPyHtmlWinTagHandler
* _arg0
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2610 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 _resultobj
= Py_None
;
2618 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2619 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2621 wxPyHtmlWinTagHandler
* _arg0
;
2623 PyObject
* _argo0
= 0;
2624 PyObject
* _argo1
= 0;
2625 char *_kwnames
[] = { "self","tag", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2638 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2654 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;
3235 PyObject
* _obj1
= 0;
3236 char *_kwnames
[] = { "self","INOUT", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_obj1
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3249 temp
= (int) PyInt_AsLong(_obj1
);
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } _resultobj
= Py_BuildValue("i",_result
);
3261 o
= PyInt_FromLong((long) (*_arg1
));
3262 _resultobj
= t_output_helper(_resultobj
, o
);
3267 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3268 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3272 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self","can", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3286 _arg1
= (bool ) tempbool1
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3293 } Py_INCREF(Py_None
);
3294 _resultobj
= Py_None
;
3298 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3299 wxHtmlWordCell
*src
;
3301 src
= (wxHtmlWordCell
*) ptr
;
3302 dest
= (wxHtmlCell
*) src
;
3303 return (void *) dest
;
3306 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3307 wxHtmlWordCell
*src
;
3309 src
= (wxHtmlWordCell
*) ptr
;
3310 dest
= (wxObject
*) src
;
3311 return (void *) dest
;
3314 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3315 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3317 wxHtmlWordCell
* _result
;
3320 PyObject
* _obj0
= 0;
3321 PyObject
* _argo1
= 0;
3322 char *_kwnames
[] = { "word","dc", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3329 _arg0
= wxString_in_helper(_obj0
);
3334 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) return NULL
;
3346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3347 _resultobj
= Py_BuildValue("s",_ptemp
);
3350 _resultobj
= Py_None
;
3359 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3360 wxHtmlContainerCell
*src
;
3362 src
= (wxHtmlContainerCell
*) ptr
;
3363 dest
= (wxHtmlCell
*) src
;
3364 return (void *) dest
;
3367 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3368 wxHtmlContainerCell
*src
;
3370 src
= (wxHtmlContainerCell
*) ptr
;
3371 dest
= (wxObject
*) src
;
3372 return (void *) dest
;
3375 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3376 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3378 wxHtmlContainerCell
* _result
;
3379 wxHtmlContainerCell
* _arg0
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "parent", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) return NULL
;
3401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3402 _resultobj
= Py_BuildValue("s",_ptemp
);
3405 _resultobj
= Py_None
;
3410 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3411 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3413 wxHtmlContainerCell
* _arg0
;
3415 PyObject
* _argo0
= 0;
3416 PyObject
* _argo1
= 0;
3417 char *_kwnames
[] = { "self","cell", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3447 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3448 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxHtmlContainerCell
* _arg0
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self","al", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) return NULL
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3477 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 wxHtmlContainerCell
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } _resultobj
= Py_BuildValue("i",_result
);
3504 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3505 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3507 wxHtmlContainerCell
* _arg0
;
3509 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self","al", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3528 } Py_INCREF(Py_None
);
3529 _resultobj
= Py_None
;
3533 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3534 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3537 wxHtmlContainerCell
* _arg0
;
3538 PyObject
* _argo0
= 0;
3539 char *_kwnames
[] = { "self", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) return NULL
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3562 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3564 wxHtmlContainerCell
* _arg0
;
3567 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3568 PyObject
* _argo0
= 0;
3569 char *_kwnames
[] = { "self","i","what","units", NULL
};
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) return NULL
;
3587 } Py_INCREF(Py_None
);
3588 _resultobj
= Py_None
;
3592 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3593 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3596 wxHtmlContainerCell
* _arg0
;
3598 PyObject
* _argo0
= 0;
3599 char *_kwnames
[] = { "self","ind", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) return NULL
;
3617 } _resultobj
= Py_BuildValue("i",_result
);
3621 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3622 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
* _resultobj
;
3625 wxHtmlContainerCell
* _arg0
;
3627 PyObject
* _argo0
= 0;
3628 char *_kwnames
[] = { "self","ind", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) return NULL
;
3646 } _resultobj
= Py_BuildValue("i",_result
);
3650 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3651 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3653 wxHtmlContainerCell
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 PyObject
* _argo1
= 0;
3657 char *_kwnames
[] = { "self","tag", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3670 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3687 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxHtmlContainerCell
* _arg0
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self","w","units", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3717 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3719 wxHtmlContainerCell
* _arg0
;
3721 PyObject
* _argo0
= 0;
3722 PyObject
* _argo1
= 0;
3723 char *_kwnames
[] = { "self","tag", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3736 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3747 } Py_INCREF(Py_None
);
3748 _resultobj
= Py_None
;
3752 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3753 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3755 wxHtmlContainerCell
* _arg0
;
3757 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3758 PyObject
* _argo0
= 0;
3759 char *_kwnames
[] = { "self","h","align", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) return NULL
;
3777 } Py_INCREF(Py_None
);
3778 _resultobj
= Py_None
;
3782 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3783 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3785 wxHtmlContainerCell
* _arg0
;
3787 PyObject
* _argo0
= 0;
3789 PyObject
* _obj1
= 0;
3790 char *_kwnames
[] = { "self","clr", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3804 if (! wxColour_helper(_obj1
, &_arg1
))
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) return NULL
;
3813 } Py_INCREF(Py_None
);
3814 _resultobj
= Py_None
;
3818 #define wxHtmlContainerCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3819 static PyObject
*_wrap_wxHtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
* _resultobj
;
3822 wxHtmlContainerCell
* _arg0
;
3823 PyObject
* _argo0
= 0;
3824 char *_kwnames
[] = { "self", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetBackgroundColour",_kwnames
,&_argo0
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 _result
= new wxColour (wxHtmlContainerCell_GetBackgroundColour(_arg0
));
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) return NULL
;
3843 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3844 _resultobj
= Py_BuildValue("s",_ptemp
);
3848 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3849 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3851 wxHtmlContainerCell
* _arg0
;
3854 PyObject
* _argo0
= 0;
3856 PyObject
* _obj1
= 0;
3858 PyObject
* _obj2
= 0;
3859 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3873 if (! wxColour_helper(_obj1
, &_arg1
))
3878 if (! wxColour_helper(_obj2
, &_arg2
))
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) return NULL
;
3887 } Py_INCREF(Py_None
);
3888 _resultobj
= Py_None
;
3892 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3893 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3895 wxHtmlCell
* _result
;
3896 wxHtmlContainerCell
* _arg0
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) return NULL
;
3918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3919 _resultobj
= Py_BuildValue("s",_ptemp
);
3922 _resultobj
= Py_None
;
3927 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3928 wxHtmlColourCell
*src
;
3930 src
= (wxHtmlColourCell
*) ptr
;
3931 dest
= (wxHtmlCell
*) src
;
3932 return (void *) dest
;
3935 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3936 wxHtmlColourCell
*src
;
3938 src
= (wxHtmlColourCell
*) ptr
;
3939 dest
= (wxObject
*) src
;
3940 return (void *) dest
;
3943 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3944 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3946 wxHtmlColourCell
* _result
;
3948 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3950 PyObject
* _obj0
= 0;
3951 char *_kwnames
[] = { "clr","flags", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3959 if (! wxColour_helper(_obj0
, &_arg0
))
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) return NULL
;
3969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3970 _resultobj
= Py_BuildValue("s",_ptemp
);
3973 _resultobj
= Py_None
;
3978 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3979 wxHtmlFontCell
*src
;
3981 src
= (wxHtmlFontCell
*) ptr
;
3982 dest
= (wxHtmlCell
*) src
;
3983 return (void *) dest
;
3986 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3987 wxHtmlFontCell
*src
;
3989 src
= (wxHtmlFontCell
*) ptr
;
3990 dest
= (wxObject
*) src
;
3991 return (void *) dest
;
3994 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3995 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3997 wxHtmlFontCell
* _result
;
3999 PyObject
* _argo0
= 0;
4000 char *_kwnames
[] = { "font", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) return NULL
;
4020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4021 _resultobj
= Py_BuildValue("s",_ptemp
);
4024 _resultobj
= Py_None
;
4029 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4030 wxHtmlWidgetCell
*src
;
4032 src
= (wxHtmlWidgetCell
*) ptr
;
4033 dest
= (wxHtmlCell
*) src
;
4034 return (void *) dest
;
4037 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4038 wxHtmlWidgetCell
*src
;
4040 src
= (wxHtmlWidgetCell
*) ptr
;
4041 dest
= (wxObject
*) src
;
4042 return (void *) dest
;
4045 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4046 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4048 wxHtmlWidgetCell
* _result
;
4050 int _arg1
= (int ) 0;
4051 PyObject
* _argo0
= 0;
4052 char *_kwnames
[] = { "wnd","w", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4073 _resultobj
= Py_BuildValue("s",_ptemp
);
4076 _resultobj
= Py_None
;
4081 static void *SwigwxPyHtmlFilterTowxObject(void *ptr
) {
4082 wxPyHtmlFilter
*src
;
4084 src
= (wxPyHtmlFilter
*) ptr
;
4085 dest
= (wxObject
*) src
;
4086 return (void *) dest
;
4089 #define new_wxHtmlFilter() (new wxPyHtmlFilter())
4090 static PyObject
*_wrap_new_wxHtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxPyHtmlFilter
* _result
;
4093 char *_kwnames
[] = { NULL
};
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlFilter",_kwnames
))
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 _result
= (wxPyHtmlFilter
*)new_wxHtmlFilter();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) return NULL
;
4106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlFilter_p");
4107 _resultobj
= Py_BuildValue("s",_ptemp
);
4110 _resultobj
= Py_None
;
4115 #define wxHtmlFilter__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4116 static PyObject
*_wrap_wxHtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4118 wxPyHtmlFilter
* _arg0
;
4121 PyObject
* _argo0
= 0;
4122 PyObject
* _obj1
= 0;
4123 PyObject
* _obj2
= 0;
4124 char *_kwnames
[] = { "self","self","_class", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlFilter__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlFilter__setCallbackInfo. Expected _wxPyHtmlFilter_p.");
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 wxHtmlFilter__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) return NULL
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4153 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4154 wxPyHtmlWindow
*src
;
4155 wxScrolledWindow
*dest
;
4156 src
= (wxPyHtmlWindow
*) ptr
;
4157 dest
= (wxScrolledWindow
*) src
;
4158 return (void *) dest
;
4161 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4162 wxPyHtmlWindow
*src
;
4164 src
= (wxPyHtmlWindow
*) ptr
;
4165 dest
= (wxPanel
*) src
;
4166 return (void *) dest
;
4169 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4170 wxPyHtmlWindow
*src
;
4172 src
= (wxPyHtmlWindow
*) ptr
;
4173 dest
= (wxWindow
*) src
;
4174 return (void *) dest
;
4177 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4178 wxPyHtmlWindow
*src
;
4180 src
= (wxPyHtmlWindow
*) ptr
;
4181 dest
= (wxEvtHandler
*) src
;
4182 return (void *) dest
;
4185 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4186 wxPyHtmlWindow
*src
;
4188 src
= (wxPyHtmlWindow
*) ptr
;
4189 dest
= (wxObject
*) src
;
4190 return (void *) dest
;
4193 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4194 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4196 wxPyHtmlWindow
* _result
;
4198 int _arg1
= (int ) -1;
4199 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4200 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4201 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4202 wxString
* _arg5
= (wxString
*) &wxPyHtmlWindowNameStr
;
4203 PyObject
* _argo0
= 0;
4205 PyObject
* _obj2
= 0;
4207 PyObject
* _obj3
= 0;
4208 PyObject
* _obj5
= 0;
4209 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOiO:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4225 if (! wxPoint_helper(_obj2
, &_arg2
))
4231 if (! wxSize_helper(_obj3
, &_arg3
))
4236 _arg5
= wxString_in_helper(_obj5
);
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) return NULL
;
4247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4248 _resultobj
= Py_BuildValue("s",_ptemp
);
4251 _resultobj
= Py_None
;
4260 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4261 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4263 wxPyHtmlWindow
* _result
;
4264 char *_kwnames
[] = { NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) return NULL
;
4277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4278 _resultobj
= Py_BuildValue("s",_ptemp
);
4281 _resultobj
= Py_None
;
4286 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4287 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4290 wxPyHtmlWindow
* _arg0
;
4292 int _arg2
= (int ) -1;
4293 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4294 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4295 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4296 wxString
* _arg6
= (wxString
*) &wxPyHtmlWindowNameStr
;
4297 PyObject
* _argo0
= 0;
4298 PyObject
* _argo1
= 0;
4300 PyObject
* _obj3
= 0;
4302 PyObject
* _obj4
= 0;
4303 PyObject
* _obj6
= 0;
4304 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOiO:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4326 if (! wxPoint_helper(_obj3
, &_arg3
))
4332 if (! wxSize_helper(_obj4
, &_arg4
))
4337 _arg6
= wxString_in_helper(_obj6
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) return NULL
;
4347 } _resultobj
= Py_BuildValue("i",_result
);
4355 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4356 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
* _resultobj
;
4358 wxPyHtmlWindow
* _arg0
;
4361 PyObject
* _argo0
= 0;
4362 PyObject
* _obj1
= 0;
4363 PyObject
* _obj2
= 0;
4364 char *_kwnames
[] = { "self","self","_class", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) return NULL
;
4388 } Py_INCREF(Py_None
);
4389 _resultobj
= Py_None
;
4393 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4394 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4397 wxPyHtmlWindow
* _arg0
;
4399 PyObject
* _argo0
= 0;
4400 PyObject
* _obj1
= 0;
4401 char *_kwnames
[] = { "self","source", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4414 _arg1
= wxString_in_helper(_obj1
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) return NULL
;
4424 } _resultobj
= Py_BuildValue("i",_result
);
4432 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4433 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4436 wxPyHtmlWindow
* _arg0
;
4438 PyObject
* _argo0
= 0;
4439 PyObject
* _obj1
= 0;
4440 char *_kwnames
[] = { "self","location", NULL
};
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4453 _arg1
= wxString_in_helper(_obj1
);
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) return NULL
;
4463 } _resultobj
= Py_BuildValue("i",_result
);
4471 #define wxHtmlWindow_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4472 static PyObject
*_wrap_wxHtmlWindow_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4475 wxPyHtmlWindow
* _arg0
;
4477 PyObject
* _argo0
= 0;
4478 PyObject
* _obj1
= 0;
4479 char *_kwnames
[] = { "self","filename", NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadFile. Expected _wxPyHtmlWindow_p.");
4492 _arg1
= wxString_in_helper(_obj1
);
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 _result
= (bool )wxHtmlWindow_LoadFile(_arg0
,*_arg1
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } _resultobj
= Py_BuildValue("i",_result
);
4510 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4511 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
* _resultobj
;
4514 wxPyHtmlWindow
* _arg0
;
4516 PyObject
* _argo0
= 0;
4517 PyObject
* _obj1
= 0;
4518 char *_kwnames
[] = { "self","source", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4531 _arg1
= wxString_in_helper(_obj1
);
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) return NULL
;
4541 } _resultobj
= Py_BuildValue("i",_result
);
4549 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4550 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4553 wxPyHtmlWindow
* _arg0
;
4554 PyObject
* _argo0
= 0;
4555 char *_kwnames
[] = { "self", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4575 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4577 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4586 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4587 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4590 wxPyHtmlWindow
* _arg0
;
4591 PyObject
* _argo0
= 0;
4592 char *_kwnames
[] = { "self", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4612 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4614 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4623 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4624 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4627 wxPyHtmlWindow
* _arg0
;
4628 PyObject
* _argo0
= 0;
4629 char *_kwnames
[] = { "self", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) return NULL
;
4649 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4660 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4661 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4663 wxPyHtmlWindow
* _arg0
;
4666 PyObject
* _argo0
= 0;
4667 PyObject
* _argo1
= 0;
4668 PyObject
* _obj2
= 0;
4669 char *_kwnames
[] = { "self","frame","format", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4689 _arg2
= wxString_in_helper(_obj2
);
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,*_arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) return NULL
;
4699 } Py_INCREF(Py_None
);
4700 _resultobj
= Py_None
;
4708 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4709 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4712 wxPyHtmlWindow
* _arg0
;
4713 PyObject
* _argo0
= 0;
4714 char *_kwnames
[] = { "self", NULL
};
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) return NULL
;
4732 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4736 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4737 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4739 wxPyHtmlWindow
* _arg0
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self","bar", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4760 } Py_INCREF(Py_None
);
4761 _resultobj
= Py_None
;
4765 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4767 if (sizes
) temp
= int_LIST_helper(sizes
);
4768 self
->SetFonts(normal_face
, fixed_face
, temp
);
4772 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4774 wxPyHtmlWindow
* _arg0
;
4777 PyObject
* _arg3
= (PyObject
*) NULL
;
4778 PyObject
* _argo0
= 0;
4779 PyObject
* _obj1
= 0;
4780 PyObject
* _obj2
= 0;
4781 PyObject
* _obj3
= 0;
4782 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4795 _arg1
= wxString_in_helper(_obj1
);
4800 _arg2
= wxString_in_helper(_obj2
);
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) return NULL
;
4814 } Py_INCREF(Py_None
);
4815 _resultobj
= Py_None
;
4827 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4828 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4830 wxPyHtmlWindow
* _arg0
;
4832 PyObject
* _argo0
= 0;
4833 PyObject
* _obj1
= 0;
4834 char *_kwnames
[] = { "self","title", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4847 _arg1
= wxString_in_helper(_obj1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) return NULL
;
4857 } Py_INCREF(Py_None
);
4858 _resultobj
= Py_None
;
4866 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4867 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4869 wxPyHtmlWindow
* _arg0
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self","b", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) return NULL
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4896 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4898 wxPyHtmlWindow
* _arg0
;
4899 wxConfigBase
* _arg1
;
4900 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4901 PyObject
* _argo0
= 0;
4902 PyObject
* _argo1
= 0;
4903 PyObject
* _obj2
= 0;
4904 char *_kwnames
[] = { "self","cfg","path", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4925 _arg2
= wxString_in_helper(_obj2
);
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4944 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4945 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4947 wxPyHtmlWindow
* _arg0
;
4948 wxConfigBase
* _arg1
;
4949 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4950 PyObject
* _argo0
= 0;
4951 PyObject
* _argo1
= 0;
4952 PyObject
* _obj2
= 0;
4953 char *_kwnames
[] = { "self","cfg","path", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4974 _arg2
= wxString_in_helper(_obj2
);
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) return NULL
;
4984 } Py_INCREF(Py_None
);
4985 _resultobj
= Py_None
;
4993 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4994 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 wxPyHtmlWindow
* _arg0
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } _resultobj
= Py_BuildValue("i",_result
);
5021 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
5022 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5025 wxPyHtmlWindow
* _arg0
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } _resultobj
= Py_BuildValue("i",_result
);
5049 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
5050 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5053 wxPyHtmlWindow
* _arg0
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } _resultobj
= Py_BuildValue("i",_result
);
5077 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5078 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5081 wxPyHtmlWindow
* _arg0
;
5082 PyObject
* _argo0
= 0;
5083 char *_kwnames
[] = { "self", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) return NULL
;
5101 } _resultobj
= Py_BuildValue("i",_result
);
5105 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5106 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5108 wxPyHtmlWindow
* _arg0
;
5109 PyObject
* _argo0
= 0;
5110 char *_kwnames
[] = { "self", NULL
};
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxHtmlWindow_HistoryClear(_arg0
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) return NULL
;
5128 } Py_INCREF(Py_None
);
5129 _resultobj
= Py_None
;
5133 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5134 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
* _resultobj
;
5136 wxHtmlContainerCell
* _result
;
5137 wxPyHtmlWindow
* _arg0
;
5138 PyObject
* _argo0
= 0;
5139 char *_kwnames
[] = { "self", NULL
};
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) return NULL
;
5159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5160 _resultobj
= Py_BuildValue("s",_ptemp
);
5163 _resultobj
= Py_None
;
5168 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5169 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5171 wxHtmlWinParser
* _result
;
5172 wxPyHtmlWindow
* _arg0
;
5173 PyObject
* _argo0
= 0;
5174 char *_kwnames
[] = { "self", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) return NULL
;
5194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5195 _resultobj
= Py_BuildValue("s",_ptemp
);
5198 _resultobj
= Py_None
;
5203 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
5204 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5207 wxPyHtmlWindow
* _arg0
;
5209 PyObject
* _argo0
= 0;
5210 PyObject
* _obj1
= 0;
5211 char *_kwnames
[] = { "self","anchor", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
5217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5224 _arg1
= wxString_in_helper(_obj1
);
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) return NULL
;
5234 } _resultobj
= Py_BuildValue("i",_result
);
5242 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5243 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5246 wxPyHtmlWindow
* _arg0
;
5248 PyObject
* _argo0
= 0;
5249 PyObject
* _obj1
= 0;
5250 char *_kwnames
[] = { "self","anchor", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5263 _arg1
= wxString_in_helper(_obj1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) return NULL
;
5273 } _resultobj
= Py_BuildValue("i",_result
);
5281 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
* _resultobj
;
5283 wxPyHtmlFilter
* _arg0
;
5284 PyObject
* _argo0
= 0;
5285 char *_kwnames
[] = { "filter", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxPyHtmlFilter_p.");
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 wxPyHtmlWindow::AddFilter(_arg0
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) return NULL
;
5303 } Py_INCREF(Py_None
);
5304 _resultobj
= Py_None
;
5308 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5309 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5311 wxPyHtmlWindow
* _arg0
;
5312 wxHtmlLinkInfo
* _arg1
;
5313 PyObject
* _argo0
= 0;
5314 PyObject
* _argo1
= 0;
5315 char *_kwnames
[] = { "self","link", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5328 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) return NULL
;
5339 } Py_INCREF(Py_None
);
5340 _resultobj
= Py_None
;
5344 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5345 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5347 wxPyHtmlWindow
* _arg0
;
5349 PyObject
* _argo0
= 0;
5350 PyObject
* _obj1
= 0;
5351 char *_kwnames
[] = { "self","title", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_obj1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5364 _arg1
= wxString_in_helper(_obj1
);
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 wxHtmlWindow_base_OnSetTitle(_arg0
,*_arg1
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5374 } Py_INCREF(Py_None
);
5375 _resultobj
= Py_None
;
5383 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5384 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5386 wxPyHtmlWindow
* _arg0
;
5390 PyObject
* _argo0
= 0;
5391 PyObject
* _argo1
= 0;
5392 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5405 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) return NULL
;
5417 } Py_INCREF(Py_None
);
5418 _resultobj
= Py_None
;
5422 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5423 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5425 wxPyHtmlWindow
* _arg0
;
5429 wxMouseEvent
* _arg4
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _argo1
= 0;
5432 PyObject
* _argo4
= 0;
5433 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5453 if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) return NULL
;
5464 } Py_INCREF(Py_None
);
5465 _resultobj
= Py_None
;
5469 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5470 wxHtmlDCRenderer
*src
;
5472 src
= (wxHtmlDCRenderer
*) ptr
;
5473 dest
= (wxObject
*) src
;
5474 return (void *) dest
;
5477 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5478 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5480 wxHtmlDCRenderer
* _result
;
5481 char *_kwnames
[] = { NULL
};
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) return NULL
;
5494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5495 _resultobj
= Py_BuildValue("s",_ptemp
);
5498 _resultobj
= Py_None
;
5503 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5504 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5506 wxHtmlDCRenderer
* _arg0
;
5507 PyObject
* _argo0
= 0;
5508 char *_kwnames
[] = { "self", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 delete_wxHtmlDCRenderer(_arg0
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) return NULL
;
5526 } Py_INCREF(Py_None
);
5527 _resultobj
= Py_None
;
5531 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5532 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxHtmlDCRenderer
* _arg0
;
5537 PyObject
* _argo0
= 0;
5538 PyObject
* _argo1
= 0;
5539 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) return NULL
;
5564 } Py_INCREF(Py_None
);
5565 _resultobj
= Py_None
;
5569 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5570 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5572 wxHtmlDCRenderer
* _arg0
;
5575 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self","width","height", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5600 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxHtmlDCRenderer
* _arg0
;
5604 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5605 bool _arg3
= (bool ) TRUE
;
5606 PyObject
* _argo0
= 0;
5607 PyObject
* _obj1
= 0;
5608 PyObject
* _obj2
= 0;
5609 int tempbool3
= (int) TRUE
;
5610 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5623 _arg1
= wxString_in_helper(_obj1
);
5629 _arg2
= wxString_in_helper(_obj2
);
5633 _arg3
= (bool ) tempbool3
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) return NULL
;
5640 } Py_INCREF(Py_None
);
5641 _resultobj
= Py_None
;
5653 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
5655 if (sizes
) temp
= int_LIST_helper(sizes
);
5656 self
->SetFonts(normal_face
, fixed_face
, temp
);
5660 static PyObject
*_wrap_wxHtmlDCRenderer_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5662 wxHtmlDCRenderer
* _arg0
;
5665 PyObject
* _arg3
= (PyObject
*) NULL
;
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _obj1
= 0;
5668 PyObject
* _obj2
= 0;
5669 PyObject
* _obj3
= 0;
5670 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlDCRenderer_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetFonts. Expected _wxHtmlDCRenderer_p.");
5683 _arg1
= wxString_in_helper(_obj1
);
5688 _arg2
= wxString_in_helper(_obj2
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 wxHtmlDCRenderer_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) return NULL
;
5702 } Py_INCREF(Py_None
);
5703 _resultobj
= Py_None
;
5715 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5716 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5719 wxHtmlDCRenderer
* _arg0
;
5722 int _arg3
= (int ) 0;
5723 int _arg4
= (int ) FALSE
;
5724 PyObject
* _argo0
= 0;
5725 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) return NULL
;
5743 } _resultobj
= Py_BuildValue("i",_result
);
5747 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5748 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5751 wxHtmlDCRenderer
* _arg0
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) return NULL
;
5771 } _resultobj
= Py_BuildValue("i",_result
);
5775 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5776 wxHtmlPrintout
*src
;
5778 src
= (wxHtmlPrintout
*) ptr
;
5779 dest
= (wxPyPrintout
*) src
;
5780 return (void *) dest
;
5783 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5784 wxHtmlPrintout
*src
;
5786 src
= (wxHtmlPrintout
*) ptr
;
5787 dest
= (wxObject
*) src
;
5788 return (void *) dest
;
5791 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5792 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
* _resultobj
;
5794 wxHtmlPrintout
* _result
;
5795 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintoutTitleStr
;
5796 PyObject
* _obj0
= 0;
5797 char *_kwnames
[] = { "title", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlPrintout",_kwnames
,&_obj0
))
5805 _arg0
= wxString_in_helper(_obj0
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(*_arg0
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) return NULL
;
5816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5817 _resultobj
= Py_BuildValue("s",_ptemp
);
5820 _resultobj
= Py_None
;
5829 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5830 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5832 wxHtmlPrintout
* _arg0
;
5834 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5835 bool _arg3
= (bool ) TRUE
;
5836 PyObject
* _argo0
= 0;
5837 PyObject
* _obj1
= 0;
5838 PyObject
* _obj2
= 0;
5839 int tempbool3
= (int) TRUE
;
5840 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5853 _arg1
= wxString_in_helper(_obj1
);
5859 _arg2
= wxString_in_helper(_obj2
);
5863 _arg3
= (bool ) tempbool3
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) return NULL
;
5870 } Py_INCREF(Py_None
);
5871 _resultobj
= Py_None
;
5883 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5884 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
* _resultobj
;
5886 wxHtmlPrintout
* _arg0
;
5888 PyObject
* _argo0
= 0;
5889 PyObject
* _obj1
= 0;
5890 char *_kwnames
[] = { "self","htmlfile", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5903 _arg1
= wxString_in_helper(_obj1
);
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) return NULL
;
5913 } Py_INCREF(Py_None
);
5914 _resultobj
= Py_None
;
5922 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5923 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5925 wxHtmlPrintout
* _arg0
;
5927 int _arg2
= (int ) (wxPAGE_ALL
);
5928 PyObject
* _argo0
= 0;
5929 PyObject
* _obj1
= 0;
5930 char *_kwnames
[] = { "self","header","pg", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5943 _arg1
= wxString_in_helper(_obj1
);
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) return NULL
;
5953 } Py_INCREF(Py_None
);
5954 _resultobj
= Py_None
;
5962 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5963 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5965 wxHtmlPrintout
* _arg0
;
5967 int _arg2
= (int ) (wxPAGE_ALL
);
5968 PyObject
* _argo0
= 0;
5969 PyObject
* _obj1
= 0;
5970 char *_kwnames
[] = { "self","footer","pg", NULL
};
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5983 _arg1
= wxString_in_helper(_obj1
);
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5993 } Py_INCREF(Py_None
);
5994 _resultobj
= Py_None
;
6002 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
6004 if (sizes
) temp
= int_LIST_helper(sizes
);
6005 self
->SetFonts(normal_face
, fixed_face
, temp
);
6009 static PyObject
*_wrap_wxHtmlPrintout_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6011 wxHtmlPrintout
* _arg0
;
6014 PyObject
* _arg3
= (PyObject
*) NULL
;
6015 PyObject
* _argo0
= 0;
6016 PyObject
* _obj1
= 0;
6017 PyObject
* _obj2
= 0;
6018 PyObject
* _obj3
= 0;
6019 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlPrintout_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFonts. Expected _wxHtmlPrintout_p.");
6032 _arg1
= wxString_in_helper(_obj1
);
6037 _arg2
= wxString_in_helper(_obj2
);
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 wxHtmlPrintout_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) return NULL
;
6051 } Py_INCREF(Py_None
);
6052 _resultobj
= Py_None
;
6064 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6065 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6067 wxHtmlPrintout
* _arg0
;
6068 float _arg1
= (float ) 25.2;
6069 float _arg2
= (float ) 25.2;
6070 float _arg3
= (float ) 25.2;
6071 float _arg4
= (float ) 25.2;
6072 float _arg5
= (float ) 5;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) return NULL
;
6092 } Py_INCREF(Py_None
);
6093 _resultobj
= Py_None
;
6097 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
6098 wxHtmlEasyPrinting
*src
;
6100 src
= (wxHtmlEasyPrinting
*) ptr
;
6101 dest
= (wxObject
*) src
;
6102 return (void *) dest
;
6105 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
6106 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
* _resultobj
;
6108 wxHtmlEasyPrinting
* _result
;
6109 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintingTitleStr
;
6110 wxFrame
* _arg1
= (wxFrame
*) NULL
;
6111 PyObject
* _obj0
= 0;
6112 PyObject
* _argo1
= 0;
6113 char *_kwnames
[] = { "name","parent_frame", NULL
};
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxHtmlEasyPrinting",_kwnames
,&_obj0
,&_argo1
))
6121 _arg0
= wxString_in_helper(_obj0
);
6126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(*_arg0
,_arg1
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) return NULL
;
6139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
6140 _resultobj
= Py_BuildValue("s",_ptemp
);
6143 _resultobj
= Py_None
;
6152 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
6153 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6155 wxHtmlEasyPrinting
* _arg0
;
6156 PyObject
* _argo0
= 0;
6157 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 delete_wxHtmlEasyPrinting(_arg0
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) return NULL
;
6175 } Py_INCREF(Py_None
);
6176 _resultobj
= Py_None
;
6180 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
6181 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6183 wxHtmlEasyPrinting
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 PyObject
* _obj1
= 0;
6187 char *_kwnames
[] = { "self","htmlfile", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
6200 _arg1
= wxString_in_helper(_obj1
);
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6219 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6220 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6222 wxHtmlEasyPrinting
* _arg0
;
6224 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6225 PyObject
* _argo0
= 0;
6226 PyObject
* _obj1
= 0;
6227 PyObject
* _obj2
= 0;
6228 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6241 _arg1
= wxString_in_helper(_obj1
);
6247 _arg2
= wxString_in_helper(_obj2
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) return NULL
;
6257 } Py_INCREF(Py_None
);
6258 _resultobj
= Py_None
;
6270 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6271 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
* _resultobj
;
6273 wxHtmlEasyPrinting
* _arg0
;
6275 PyObject
* _argo0
= 0;
6276 PyObject
* _obj1
= 0;
6277 char *_kwnames
[] = { "self","htmlfile", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
6283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
6290 _arg1
= wxString_in_helper(_obj1
);
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6300 } Py_INCREF(Py_None
);
6301 _resultobj
= Py_None
;
6309 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6310 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
* _resultobj
;
6312 wxHtmlEasyPrinting
* _arg0
;
6314 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6315 PyObject
* _argo0
= 0;
6316 PyObject
* _obj1
= 0;
6317 PyObject
* _obj2
= 0;
6318 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6331 _arg1
= wxString_in_helper(_obj1
);
6337 _arg2
= wxString_in_helper(_obj2
);
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) return NULL
;
6347 } Py_INCREF(Py_None
);
6348 _resultobj
= Py_None
;
6360 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6361 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6363 wxHtmlEasyPrinting
* _arg0
;
6364 PyObject
* _argo0
= 0;
6365 char *_kwnames
[] = { "self", NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) return NULL
;
6383 } Py_INCREF(Py_None
);
6384 _resultobj
= Py_None
;
6388 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6389 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6391 wxHtmlEasyPrinting
* _arg0
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 wxHtmlEasyPrinting_PageSetup(_arg0
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) return NULL
;
6411 } Py_INCREF(Py_None
);
6412 _resultobj
= Py_None
;
6416 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6417 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
* _resultobj
;
6419 wxHtmlEasyPrinting
* _arg0
;
6421 int _arg2
= (int ) (wxPAGE_ALL
);
6422 PyObject
* _argo0
= 0;
6423 PyObject
* _obj1
= 0;
6424 char *_kwnames
[] = { "self","header","pg", NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6437 _arg1
= wxString_in_helper(_obj1
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) return NULL
;
6447 } Py_INCREF(Py_None
);
6448 _resultobj
= Py_None
;
6456 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6457 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6459 wxHtmlEasyPrinting
* _arg0
;
6461 int _arg2
= (int ) (wxPAGE_ALL
);
6462 PyObject
* _argo0
= 0;
6463 PyObject
* _obj1
= 0;
6464 char *_kwnames
[] = { "self","footer","pg", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6477 _arg1
= wxString_in_helper(_obj1
);
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) return NULL
;
6487 } Py_INCREF(Py_None
);
6488 _resultobj
= Py_None
;
6496 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
6498 if (sizes
) temp
= int_LIST_helper(sizes
);
6499 self
->SetFonts(normal_face
, fixed_face
, temp
);
6503 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6505 wxHtmlEasyPrinting
* _arg0
;
6508 PyObject
* _arg3
= (PyObject
*) NULL
;
6509 PyObject
* _argo0
= 0;
6510 PyObject
* _obj1
= 0;
6511 PyObject
* _obj2
= 0;
6512 PyObject
* _obj3
= 0;
6513 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxHtmlEasyPrinting_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
6519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFonts. Expected _wxHtmlEasyPrinting_p.");
6526 _arg1
= wxString_in_helper(_obj1
);
6531 _arg2
= wxString_in_helper(_obj2
);
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 wxHtmlEasyPrinting_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) return NULL
;
6545 } Py_INCREF(Py_None
);
6546 _resultobj
= Py_None
;
6558 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6559 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6561 wxPrintData
* _result
;
6562 wxHtmlEasyPrinting
* _arg0
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6585 _resultobj
= Py_BuildValue("s",_ptemp
);
6588 _resultobj
= Py_None
;
6593 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6594 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6596 wxPageSetupDialogData
* _result
;
6597 wxHtmlEasyPrinting
* _arg0
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) return NULL
;
6619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6620 _resultobj
= Py_BuildValue("s",_ptemp
);
6623 _resultobj
= Py_None
;
6628 static PyMethodDef htmlcMethods
[] = {
6629 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxHtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxHtmlPrintout_SetFonts", (PyCFunction
) _wrap_wxHtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxHtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxHtmlWindow_LoadFile", (PyCFunction
) _wrap_wxHtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxHtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "new_wxHtmlFilter", (PyCFunction
) _wrap_new_wxHtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxHtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6764 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "wxHtmlParser_StopParsing", (PyCFunction
) _wrap_wxHtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6805 * This table is used by the pointer type-checker
6807 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6808 { "_signed_long","_long",0},
6809 { "_wxPrintQuality","_wxCoord",0},
6810 { "_wxPrintQuality","_int",0},
6811 { "_wxPrintQuality","_signed_int",0},
6812 { "_wxPrintQuality","_unsigned_int",0},
6813 { "_wxPrintQuality","_wxWindowID",0},
6814 { "_wxPrintQuality","_uint",0},
6815 { "_wxPrintQuality","_EBool",0},
6816 { "_wxPrintQuality","_size_t",0},
6817 { "_wxPrintQuality","_time_t",0},
6818 { "_byte","_unsigned_char",0},
6819 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6820 { "_long","_unsigned_long",0},
6821 { "_long","_signed_long",0},
6822 { "_size_t","_wxCoord",0},
6823 { "_size_t","_wxPrintQuality",0},
6824 { "_size_t","_time_t",0},
6825 { "_size_t","_unsigned_int",0},
6826 { "_size_t","_int",0},
6827 { "_size_t","_wxWindowID",0},
6828 { "_size_t","_uint",0},
6829 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6830 { "_uint","_wxCoord",0},
6831 { "_uint","_wxPrintQuality",0},
6832 { "_uint","_time_t",0},
6833 { "_uint","_size_t",0},
6834 { "_uint","_unsigned_int",0},
6835 { "_uint","_int",0},
6836 { "_uint","_wxWindowID",0},
6837 { "_wxChar","_char",0},
6838 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6839 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6840 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6841 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6842 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6843 { "_char","_wxChar",0},
6844 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6845 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6846 { "_EBool","_wxCoord",0},
6847 { "_EBool","_wxPrintQuality",0},
6848 { "_EBool","_signed_int",0},
6849 { "_EBool","_int",0},
6850 { "_EBool","_wxWindowID",0},
6851 { "_unsigned_long","_long",0},
6852 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6853 { "_signed_int","_wxCoord",0},
6854 { "_signed_int","_wxPrintQuality",0},
6855 { "_signed_int","_EBool",0},
6856 { "_signed_int","_wxWindowID",0},
6857 { "_signed_int","_int",0},
6858 { "_WXTYPE","_wxDateTime_t",0},
6859 { "_WXTYPE","_short",0},
6860 { "_WXTYPE","_signed_short",0},
6861 { "_WXTYPE","_unsigned_short",0},
6862 { "_unsigned_short","_wxDateTime_t",0},
6863 { "_unsigned_short","_WXTYPE",0},
6864 { "_unsigned_short","_short",0},
6865 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6866 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6867 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6868 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6869 { "_wxObject","_wxPyHtmlFilter",SwigwxPyHtmlFilterTowxObject
},
6870 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6871 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6872 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6873 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6874 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6875 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6876 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6877 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6878 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6879 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6880 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6881 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6882 { "_signed_short","_WXTYPE",0},
6883 { "_signed_short","_short",0},
6884 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6885 { "_unsigned_char","_byte",0},
6886 { "_unsigned_int","_wxCoord",0},
6887 { "_unsigned_int","_wxPrintQuality",0},
6888 { "_unsigned_int","_time_t",0},
6889 { "_unsigned_int","_size_t",0},
6890 { "_unsigned_int","_uint",0},
6891 { "_unsigned_int","_wxWindowID",0},
6892 { "_unsigned_int","_int",0},
6893 { "_short","_wxDateTime_t",0},
6894 { "_short","_WXTYPE",0},
6895 { "_short","_unsigned_short",0},
6896 { "_short","_signed_short",0},
6897 { "_wxWindowID","_wxCoord",0},
6898 { "_wxWindowID","_wxPrintQuality",0},
6899 { "_wxWindowID","_time_t",0},
6900 { "_wxWindowID","_size_t",0},
6901 { "_wxWindowID","_EBool",0},
6902 { "_wxWindowID","_uint",0},
6903 { "_wxWindowID","_int",0},
6904 { "_wxWindowID","_signed_int",0},
6905 { "_wxWindowID","_unsigned_int",0},
6906 { "_int","_wxCoord",0},
6907 { "_int","_wxPrintQuality",0},
6908 { "_int","_time_t",0},
6909 { "_int","_size_t",0},
6910 { "_int","_EBool",0},
6911 { "_int","_uint",0},
6912 { "_int","_wxWindowID",0},
6913 { "_int","_unsigned_int",0},
6914 { "_int","_signed_int",0},
6915 { "_wxDateTime_t","_unsigned_short",0},
6916 { "_wxDateTime_t","_short",0},
6917 { "_wxDateTime_t","_WXTYPE",0},
6918 { "_time_t","_wxCoord",0},
6919 { "_time_t","_wxPrintQuality",0},
6920 { "_time_t","_unsigned_int",0},
6921 { "_time_t","_int",0},
6922 { "_time_t","_wxWindowID",0},
6923 { "_time_t","_uint",0},
6924 { "_time_t","_size_t",0},
6925 { "_wxCoord","_int",0},
6926 { "_wxCoord","_signed_int",0},
6927 { "_wxCoord","_unsigned_int",0},
6928 { "_wxCoord","_wxWindowID",0},
6929 { "_wxCoord","_uint",0},
6930 { "_wxCoord","_EBool",0},
6931 { "_wxCoord","_size_t",0},
6932 { "_wxCoord","_time_t",0},
6933 { "_wxCoord","_wxPrintQuality",0},
6934 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6935 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6936 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6939 static PyObject
*SWIG_globals
;
6943 SWIGEXPORT(void) inithtmlc() {
6945 SWIG_globals
= SWIG_newvarlink();
6946 m
= Py_InitModule("htmlc", htmlcMethods
);
6947 d
= PyModule_GetDict(m
);
6948 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6949 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6950 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6951 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6952 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6953 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6954 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6955 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6956 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6957 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6958 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6959 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6960 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6961 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6962 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6963 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6964 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6965 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6966 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6967 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6968 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6969 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6970 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6971 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6972 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6973 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6974 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6975 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6976 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6977 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6982 wxClassInfo::CleanUpClasses();
6983 wxClassInfo::InitializeClasses();
6985 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6986 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6987 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6988 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
6991 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6992 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);