2 * FILE : src/gtk/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init inithtmlc
55 #define SWIG_name "htmlc"
58 #include <wx/html/htmlwin.h>
59 #include <wx/html/htmprint.h>
61 #include <wx/fs_zip.h>
62 #include <wx/fs_inet.h>
63 #include <wx/wfstream.h>
64 #include <wx/filesys.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 // Put some wx default wxChar* values into wxStrings.
96 static const wxChar
* wxHtmlWindowNameStr
= wxT("htmlWindow");
97 DECLARE_DEF_STRING(HtmlWindowNameStr
);
99 static const wxChar
* wxHtmlPrintoutTitleStr
= wxT("Printout");
100 DECLARE_DEF_STRING(HtmlPrintoutTitleStr
);
102 static const wxChar
* wxHtmlPrintingTitleStr
= wxT("Printing");
103 DECLARE_DEF_STRING(HtmlPrintingTitleStr
);
105 static const wxString
wxPyEmptyString(wxT(""));
107 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
108 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
110 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
112 wxHtmlParser
* GetParser() { return m_Parser
; }
113 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
115 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
116 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
121 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
123 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
124 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
126 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
127 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
129 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
131 wxHtmlWinParser
* GetParser() { return m_WParser
; }
132 void ParseInner(const wxHtmlTag
& tag
)
133 { wxHtmlWinTagHandler::ParseInner(tag
); }
135 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
136 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
141 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
143 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
144 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
147 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
149 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
150 m_tagHandlerClass
= thc
;
151 Py_INCREF(m_tagHandlerClass
);
152 RegisterModule(this);
153 wxHtmlWinParser::AddModule(this);
157 wxPyBeginBlockThreads();
158 Py_DECREF(m_tagHandlerClass
);
159 m_tagHandlerClass
= NULL
;
160 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
161 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
164 wxPyEndBlockThreads();
167 void FillHandlersTable(wxHtmlWinParser
*parser
) {
168 // Wave our magic wand... (if it works it's a miracle! ;-)
170 // First, make a new instance of the tag handler
171 wxPyBeginBlockThreads();
172 PyObject
* arg
= Py_BuildValue("()");
173 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
175 wxPyEndBlockThreads();
177 // now figure out where it's C++ object is...
178 wxPyHtmlWinTagHandler
* thPtr
;
179 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
183 parser
->AddTagHandler(thPtr
);
190 PyObject
* m_tagHandlerClass
;
191 wxArrayPtrVoid m_objArray
;
195 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
196 // Dynamically create a new wxModule. Refcounts tagHandlerClass
197 // and adds itself to the wxModules list and to the wxHtmlWinParser.
198 new wxPyHtmlTagsModule(tagHandlerClass
);
200 // here's the C++ version
201 class wxPyHtmlFilter
: public wxHtmlFilter
{
202 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
204 wxPyHtmlFilter() : wxHtmlFilter() {}
206 // returns TRUE if this filter is able to open&read given file
207 virtual bool CanRead(const wxFSFile
& file
) const {
210 wxPyBeginBlockThreads();
211 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
212 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
213 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
216 wxPyEndBlockThreads();
221 // Reads given file and returns HTML document.
222 // Returns empty string if opening failed
223 virtual wxString
ReadFile(const wxFSFile
& file
) const {
226 wxPyBeginBlockThreads();
227 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
228 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
); // cast away const
230 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
233 rval
= Py2wxString(ro
);
237 wxPyEndBlockThreads();
244 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
246 class wxPyHtmlWindow
: public wxHtmlWindow
{
247 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
249 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
250 const wxPoint
& pos
= wxDefaultPosition
,
251 const wxSize
& size
= wxDefaultSize
,
252 long style
= wxHW_SCROLLBAR_AUTO
,
253 const wxString
& name
= wxPyHtmlWindowNameStr
)
254 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
255 wxPyHtmlWindow() : wxHtmlWindow() {};
257 bool ScrollToAnchor(const wxString
& anchor
) {
258 return wxHtmlWindow::ScrollToAnchor(anchor
);
261 bool HasAnchor(const wxString
& anchor
) {
262 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
266 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
267 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
269 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
271 wxString
*redirect
) const;
273 DEC_PYCALLBACK__STRING(OnSetTitle
);
274 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
275 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
279 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
280 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
281 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
282 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
285 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
287 wxPyBeginBlockThreads();
288 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
289 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
290 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
293 wxPyEndBlockThreads();
295 wxHtmlWindow::OnLinkClicked(link
);
297 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
298 wxHtmlWindow::OnLinkClicked(link
);
302 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
304 wxString
*redirect
) const {
306 wxHtmlOpeningStatus rval
;
307 wxPyBeginBlockThreads();
308 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
310 PyObject
* s
= wx2PyString(url
);
311 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
313 if (PyString_Check(ro
)
314 #if PYTHON_API_VERSION >= 1009
315 || PyUnicode_Check(ro
)
318 *redirect
= Py2wxString(ro
);
319 rval
= wxHTML_REDIRECT
;
322 PyObject
* num
= PyNumber_Int(ro
);
323 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
328 wxPyEndBlockThreads();
330 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
336 extern "C" SWIGEXPORT(void) inithtmlhelpc();
340 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
343 PyObject
* _obj0
= 0;
344 char *_kwnames
[] = { "tagHandlerClass", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
354 wxHtmlWinParser_AddTagHandler(_arg0
);
356 wxPyEndAllowThreads(__tstate
);
357 if (PyErr_Occurred()) return NULL
;
358 } Py_INCREF(Py_None
);
359 _resultobj
= Py_None
;
363 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
366 src
= (wxHtmlLinkInfo
*) ptr
;
367 dest
= (wxObject
*) src
;
368 return (void *) dest
;
371 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
372 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
374 wxHtmlLinkInfo
* _result
;
376 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
377 PyObject
* _obj0
= 0;
378 PyObject
* _obj1
= 0;
379 char *_kwnames
[] = { "href","target", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
386 _arg0
= wxString_in_helper(_obj0
);
392 _arg1
= wxString_in_helper(_obj1
);
397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
398 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
400 wxPyEndAllowThreads(__tstate
);
401 if (PyErr_Occurred()) return NULL
;
403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
404 _resultobj
= Py_BuildValue("s",_ptemp
);
407 _resultobj
= Py_None
;
420 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
421 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
424 wxHtmlLinkInfo
* _arg0
;
425 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
442 wxPyEndAllowThreads(__tstate
);
443 if (PyErr_Occurred()) return NULL
;
446 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
457 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
458 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
461 wxHtmlLinkInfo
* _arg0
;
462 PyObject
* _argo0
= 0;
463 char *_kwnames
[] = { "self", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) return NULL
;
483 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
485 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
494 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
495 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxMouseEvent
* _result
;
498 wxHtmlLinkInfo
* _arg0
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 }{ _resultobj
= wxPyMake_wxObject(_result
); }
522 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
523 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxHtmlCell
* _result
;
526 wxHtmlLinkInfo
* _arg0
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
549 _resultobj
= Py_BuildValue("s",_ptemp
);
552 _resultobj
= Py_None
;
557 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
558 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
560 wxHtmlLinkInfo
* _arg0
;
561 wxMouseEvent
* _arg1
;
562 PyObject
* _argo0
= 0;
563 PyObject
* _argo1
= 0;
564 char *_kwnames
[] = { "self","e", NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
585 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
587 wxPyEndAllowThreads(__tstate
);
588 if (PyErr_Occurred()) return NULL
;
589 } Py_INCREF(Py_None
);
590 _resultobj
= Py_None
;
594 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
595 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
597 wxHtmlLinkInfo
* _arg0
;
599 PyObject
* _argo0
= 0;
600 PyObject
* _argo1
= 0;
601 char *_kwnames
[] = { "self","e", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
634 src
= (wxHtmlTag
*) ptr
;
635 dest
= (wxObject
*) src
;
636 return (void *) dest
;
639 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
640 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
644 PyObject
* _argo0
= 0;
645 char *_kwnames
[] = { "self", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
659 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
661 wxPyEndAllowThreads(__tstate
);
662 if (PyErr_Occurred()) return NULL
;
665 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
667 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
676 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
677 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 PyObject
* _obj1
= 0;
684 char *_kwnames
[] = { "self","par", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
697 _arg1
= wxString_in_helper(_obj1
);
702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
703 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
705 wxPyEndAllowThreads(__tstate
);
706 if (PyErr_Occurred()) return NULL
;
707 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
716 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
721 int _arg2
= (int ) FALSE
;
722 PyObject
* _argo0
= 0;
723 PyObject
* _obj1
= 0;
724 char *_kwnames
[] = { "self","par","with_commas", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
737 _arg1
= wxString_in_helper(_obj1
);
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) return NULL
;
749 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
764 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
765 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) return NULL
;
790 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
792 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
801 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
802 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
825 } _resultobj
= Py_BuildValue("i",_result
);
829 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
830 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
851 wxPyEndAllowThreads(__tstate
);
852 if (PyErr_Occurred()) return NULL
;
853 } _resultobj
= Py_BuildValue("i",_result
);
857 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
858 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
862 PyObject
* _argo0
= 0;
863 char *_kwnames
[] = { "self", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
877 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
879 wxPyEndAllowThreads(__tstate
);
880 if (PyErr_Occurred()) return NULL
;
881 } _resultobj
= Py_BuildValue("i",_result
);
885 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
886 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) return NULL
;
909 } _resultobj
= Py_BuildValue("i",_result
);
913 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
916 src
= (wxHtmlParser
*) ptr
;
917 dest
= (wxObject
*) src
;
918 return (void *) dest
;
921 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
922 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
924 wxHtmlParser
* _arg0
;
925 wxFileSystem
* _arg1
;
926 PyObject
* _argo0
= 0;
927 PyObject
* _argo1
= 0;
928 char *_kwnames
[] = { "self","fs", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxHtmlParser_SetFS(_arg0
,_arg1
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
959 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxFileSystem
* _result
;
962 wxHtmlParser
* _arg0
;
963 PyObject
* _argo0
= 0;
964 char *_kwnames
[] = { "self", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 }{ _resultobj
= wxPyMake_wxObject(_result
); }
986 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
987 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 wxHtmlParser
* _arg0
;
992 PyObject
* _argo0
= 0;
993 PyObject
* _obj1
= 0;
994 char *_kwnames
[] = { "self","source", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
1007 _arg1
= wxString_in_helper(_obj1
);
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) return NULL
;
1017 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1025 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1026 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxHtmlParser
* _arg0
;
1030 PyObject
* _argo0
= 0;
1031 PyObject
* _obj1
= 0;
1032 char *_kwnames
[] = { "self","source", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1045 _arg1
= wxString_in_helper(_obj1
);
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } Py_INCREF(Py_None
);
1056 _resultobj
= Py_None
;
1064 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1065 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1067 wxHtmlParser
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 wxHtmlParser_DoneParser(_arg0
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1087 } Py_INCREF(Py_None
);
1088 _resultobj
= Py_None
;
1092 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1093 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1095 wxHtmlParser
* _arg0
;
1098 PyObject
* _argo0
= 0;
1099 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) return NULL
;
1117 } Py_INCREF(Py_None
);
1118 _resultobj
= Py_None
;
1122 #define wxHtmlParser_StopParsing(_swigobj) (_swigobj->StopParsing())
1123 static PyObject
*_wrap_wxHtmlParser_StopParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1125 wxHtmlParser
* _arg0
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_StopParsing",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_StopParsing. Expected _wxHtmlParser_p.");
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 wxHtmlParser_StopParsing(_arg0
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) return NULL
;
1145 } Py_INCREF(Py_None
);
1146 _resultobj
= Py_None
;
1150 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1151 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1153 wxHtmlParser
* _arg0
;
1154 wxHtmlTagHandler
* _arg1
;
1155 PyObject
* _argo0
= 0;
1156 PyObject
* _argo1
= 0;
1157 char *_kwnames
[] = { "self","handler", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) return NULL
;
1182 } Py_INCREF(Py_None
);
1183 _resultobj
= Py_None
;
1187 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1188 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1191 wxHtmlParser
* _arg0
;
1192 PyObject
* _argo0
= 0;
1193 char *_kwnames
[] = { "self", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) return NULL
;
1213 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1221 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1222 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1224 wxHtmlParser
* _arg0
;
1225 wxHtmlTagHandler
* _arg1
;
1227 PyObject
* _argo0
= 0;
1228 PyObject
* _argo1
= 0;
1229 PyObject
* _obj2
= 0;
1230 char *_kwnames
[] = { "self","handler","tags", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1250 _arg2
= wxString_in_helper(_obj2
);
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1269 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1270 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxHtmlParser
* _arg0
;
1273 PyObject
* _argo0
= 0;
1274 char *_kwnames
[] = { "self", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 wxHtmlParser_PopTagHandler(_arg0
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) return NULL
;
1292 } Py_INCREF(Py_None
);
1293 _resultobj
= Py_None
;
1297 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1298 wxHtmlWinParser
*src
;
1300 src
= (wxHtmlWinParser
*) ptr
;
1301 dest
= (wxHtmlParser
*) src
;
1302 return (void *) dest
;
1305 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1306 wxHtmlWinParser
*src
;
1308 src
= (wxHtmlWinParser
*) ptr
;
1309 dest
= (wxObject
*) src
;
1310 return (void *) dest
;
1313 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1314 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1316 wxHtmlWinParser
* _result
;
1317 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "wnd", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1349 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxHtmlWinParser
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 PyObject
* _argo1
= 0;
1355 char *_kwnames
[] = { "self","dc", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 } Py_INCREF(Py_None
);
1381 _resultobj
= Py_None
;
1385 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1386 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1389 wxHtmlWinParser
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1413 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1414 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1417 wxHtmlWinParser
* _arg0
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1437 } _resultobj
= Py_BuildValue("i",_result
);
1441 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1442 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxHtmlWinParser
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } _resultobj
= Py_BuildValue("i",_result
);
1469 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1470 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1472 wxHtmlWindow
* _result
;
1473 wxHtmlWinParser
* _arg0
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1497 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1498 int* 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
;
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
,"OOOO: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
);
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) return NULL
;
1545 } Py_INCREF(Py_None
);
1546 _resultobj
= Py_None
;
1558 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1559 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1561 wxHtmlContainerCell
* _result
;
1562 wxHtmlWinParser
* _arg0
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1585 _resultobj
= Py_BuildValue("s",_ptemp
);
1588 _resultobj
= Py_None
;
1593 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1594 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1596 wxHtmlContainerCell
* _result
;
1597 wxHtmlWinParser
* _arg0
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1620 _resultobj
= Py_BuildValue("s",_ptemp
);
1623 _resultobj
= Py_None
;
1628 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1629 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxHtmlContainerCell
* _result
;
1632 wxHtmlWinParser
* _arg0
;
1633 wxHtmlContainerCell
* _arg1
;
1634 PyObject
* _argo0
= 0;
1635 PyObject
* _argo1
= 0;
1636 char *_kwnames
[] = { "self","c", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) return NULL
;
1663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1664 _resultobj
= Py_BuildValue("s",_ptemp
);
1667 _resultobj
= Py_None
;
1672 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1673 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1675 wxHtmlContainerCell
* _result
;
1676 wxHtmlWinParser
* _arg0
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1699 _resultobj
= Py_BuildValue("s",_ptemp
);
1702 _resultobj
= Py_None
;
1707 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1708 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 wxHtmlWinParser
* _arg0
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1735 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1736 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxHtmlWinParser
* _arg0
;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self","s", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1765 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1768 wxHtmlWinParser
* _arg0
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("i",_result
);
1792 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1793 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxHtmlWinParser
* _arg0
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self","x", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1822 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1825 wxHtmlWinParser
* _arg0
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) return NULL
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1850 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxHtmlWinParser
* _arg0
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self","x", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } Py_INCREF(Py_None
);
1874 _resultobj
= Py_None
;
1878 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1879 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1882 wxHtmlWinParser
* _arg0
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) return NULL
;
1902 } _resultobj
= Py_BuildValue("i",_result
);
1906 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1907 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxHtmlWinParser
* _arg0
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","x", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1936 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxHtmlWinParser
* _arg0
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } _resultobj
= Py_BuildValue("i",_result
);
1963 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1964 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1966 wxHtmlWinParser
* _arg0
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self","x", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) return NULL
;
1987 } Py_INCREF(Py_None
);
1988 _resultobj
= Py_None
;
1992 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1993 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1996 wxHtmlWinParser
* _arg0
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) return NULL
;
2016 } _resultobj
= Py_BuildValue("i",_result
);
2020 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2021 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2023 wxHtmlWinParser
* _arg0
;
2025 PyObject
* _argo0
= 0;
2026 char *_kwnames
[] = { "self","a", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) return NULL
;
2044 } Py_INCREF(Py_None
);
2045 _resultobj
= Py_None
;
2049 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2050 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2053 wxHtmlWinParser
* _arg0
;
2054 PyObject
* _argo0
= 0;
2055 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) return NULL
;
2074 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2079 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2080 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2082 wxHtmlWinParser
* _arg0
;
2084 PyObject
* _argo0
= 0;
2086 PyObject
* _obj1
= 0;
2087 char *_kwnames
[] = { "self","clr", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2101 if (! wxColour_helper(_obj1
, &_arg1
))
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) return NULL
;
2110 } Py_INCREF(Py_None
);
2111 _resultobj
= Py_None
;
2115 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2116 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2119 wxHtmlWinParser
* _arg0
;
2120 PyObject
* _argo0
= 0;
2121 char *_kwnames
[] = { "self", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) return NULL
;
2140 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2141 _resultobj
= Py_BuildValue("s",_ptemp
);
2145 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2146 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
* _resultobj
;
2148 wxHtmlWinParser
* _arg0
;
2150 PyObject
* _argo0
= 0;
2152 PyObject
* _obj1
= 0;
2153 char *_kwnames
[] = { "self","clr", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2167 if (! wxColour_helper(_obj1
, &_arg1
))
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) return NULL
;
2176 } Py_INCREF(Py_None
);
2177 _resultobj
= Py_None
;
2181 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2182 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2184 wxHtmlWinParser
* _arg0
;
2186 PyObject
* _argo0
= 0;
2187 PyObject
* _obj1
= 0;
2188 char *_kwnames
[] = { "self","link", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2201 _arg1
= wxString_in_helper(_obj1
);
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2220 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2221 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2224 wxHtmlWinParser
* _arg0
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) return NULL
;
2246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2247 _resultobj
= Py_BuildValue("s",_ptemp
);
2250 _resultobj
= Py_None
;
2255 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2256 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2258 wxHtmlLinkInfo
* _result
;
2259 wxHtmlWinParser
* _arg0
;
2260 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self", NULL
};
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) return NULL
;
2280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2281 _resultobj
= Py_BuildValue("s",_ptemp
);
2285 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2286 wxPyHtmlTagHandler
*src
;
2288 src
= (wxPyHtmlTagHandler
*) ptr
;
2289 dest
= (wxObject
*) src
;
2290 return (void *) dest
;
2293 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2294 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2296 wxPyHtmlTagHandler
* _result
;
2297 char *_kwnames
[] = { NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) return NULL
;
2310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2311 _resultobj
= Py_BuildValue("s",_ptemp
);
2314 _resultobj
= Py_None
;
2319 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2320 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2322 wxPyHtmlTagHandler
* _arg0
;
2325 PyObject
* _argo0
= 0;
2326 PyObject
* _obj1
= 0;
2327 PyObject
* _obj2
= 0;
2328 char *_kwnames
[] = { "self","self","_class", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2352 } Py_INCREF(Py_None
);
2353 _resultobj
= Py_None
;
2357 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2358 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2360 wxPyHtmlTagHandler
* _arg0
;
2361 wxHtmlParser
* _arg1
;
2362 PyObject
* _argo0
= 0;
2363 PyObject
* _argo1
= 0;
2364 char *_kwnames
[] = { "self","parser", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2395 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2397 wxHtmlParser
* _result
;
2398 wxPyHtmlTagHandler
* _arg0
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2424 _resultobj
= Py_None
;
2429 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2430 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2432 wxPyHtmlTagHandler
* _arg0
;
2434 PyObject
* _argo0
= 0;
2435 PyObject
* _argo1
= 0;
2436 char *_kwnames
[] = { "self","tag", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2449 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) return NULL
;
2460 } Py_INCREF(Py_None
);
2461 _resultobj
= Py_None
;
2465 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2466 wxPyHtmlWinTagHandler
*src
;
2467 wxPyHtmlTagHandler
*dest
;
2468 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2469 dest
= (wxPyHtmlTagHandler
*) src
;
2470 return (void *) dest
;
2473 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2474 wxPyHtmlWinTagHandler
*src
;
2476 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2477 dest
= (wxObject
*) src
;
2478 return (void *) dest
;
2481 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2482 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2484 wxPyHtmlWinTagHandler
* _result
;
2485 char *_kwnames
[] = { NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2499 _resultobj
= Py_BuildValue("s",_ptemp
);
2502 _resultobj
= Py_None
;
2507 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2508 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2510 wxPyHtmlWinTagHandler
* _arg0
;
2513 PyObject
* _argo0
= 0;
2514 PyObject
* _obj1
= 0;
2515 PyObject
* _obj2
= 0;
2516 char *_kwnames
[] = { "self","self","_class", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) return NULL
;
2540 } Py_INCREF(Py_None
);
2541 _resultobj
= Py_None
;
2545 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2546 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxPyHtmlWinTagHandler
* _arg0
;
2549 wxHtmlParser
* _arg1
;
2550 PyObject
* _argo0
= 0;
2551 PyObject
* _argo1
= 0;
2552 char *_kwnames
[] = { "self","parser", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) return NULL
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2582 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2583 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2585 wxHtmlWinParser
* _result
;
2586 wxPyHtmlWinTagHandler
* _arg0
;
2587 PyObject
* _argo0
= 0;
2588 char *_kwnames
[] = { "self", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2612 _resultobj
= Py_None
;
2617 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2618 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2620 wxPyHtmlWinTagHandler
* _arg0
;
2622 PyObject
* _argo0
= 0;
2623 PyObject
* _argo1
= 0;
2624 char *_kwnames
[] = { "self","tag", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2637 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) return NULL
;
2648 } Py_INCREF(Py_None
);
2649 _resultobj
= Py_None
;
2653 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2656 src
= (wxHtmlCell
*) ptr
;
2657 dest
= (wxObject
*) src
;
2658 return (void *) dest
;
2661 #define new_wxHtmlCell() (new wxHtmlCell())
2662 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2664 wxHtmlCell
* _result
;
2665 char *_kwnames
[] = { NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) return NULL
;
2678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2679 _resultobj
= Py_BuildValue("s",_ptemp
);
2682 _resultobj
= Py_None
;
2687 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2688 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) return NULL
;
2711 } _resultobj
= Py_BuildValue("i",_result
);
2715 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2716 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) return NULL
;
2739 } _resultobj
= Py_BuildValue("i",_result
);
2743 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2744 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) return NULL
;
2767 } _resultobj
= Py_BuildValue("i",_result
);
2771 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2772 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
* _resultobj
;
2776 PyObject
* _argo0
= 0;
2777 char *_kwnames
[] = { "self", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2795 } _resultobj
= Py_BuildValue("i",_result
);
2799 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2800 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2804 PyObject
* _argo0
= 0;
2805 char *_kwnames
[] = { "self", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) return NULL
;
2823 } _resultobj
= Py_BuildValue("i",_result
);
2827 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2828 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2830 wxHtmlLinkInfo
* _result
;
2832 int _arg1
= (int ) 0;
2833 int _arg2
= (int ) 0;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self","x","y", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) return NULL
;
2855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2856 _resultobj
= Py_BuildValue("s",_ptemp
);
2859 _resultobj
= Py_None
;
2864 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2865 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2867 wxHtmlCell
* _result
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) return NULL
;
2890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2891 _resultobj
= Py_BuildValue("s",_ptemp
);
2894 _resultobj
= Py_None
;
2899 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2900 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2902 wxHtmlContainerCell
* _result
;
2904 PyObject
* _argo0
= 0;
2905 char *_kwnames
[] = { "self", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) return NULL
;
2925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2926 _resultobj
= Py_BuildValue("s",_ptemp
);
2929 _resultobj
= Py_None
;
2934 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2935 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2938 wxHtmlLinkInfo
* _arg1
;
2939 PyObject
* _argo0
= 0;
2940 PyObject
* _argo1
= 0;
2941 char *_kwnames
[] = { "self","link", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2954 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) return NULL
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2970 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2971 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _argo1
= 0;
2977 char *_kwnames
[] = { "self","cell", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 wxHtmlCell_SetNext(_arg0
,_arg1
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3008 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3011 wxHtmlContainerCell
* _arg1
;
3012 PyObject
* _argo0
= 0;
3013 PyObject
* _argo1
= 0;
3014 char *_kwnames
[] = { "self","p", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
3027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 wxHtmlCell_SetParent(_arg0
,_arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) return NULL
;
3039 } Py_INCREF(Py_None
);
3040 _resultobj
= Py_None
;
3044 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3045 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self","x","y", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3075 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3079 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self","w", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 wxHtmlCell_Layout(_arg0
,_arg1
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) return NULL
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3104 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3112 PyObject
* _argo0
= 0;
3113 PyObject
* _argo1
= 0;
3114 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3127 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) return NULL
;
3138 } Py_INCREF(Py_None
);
3139 _resultobj
= Py_None
;
3143 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3144 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
* _resultobj
;
3150 PyObject
* _argo0
= 0;
3151 PyObject
* _argo1
= 0;
3152 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3165 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) return NULL
;
3176 } Py_INCREF(Py_None
);
3177 _resultobj
= Py_None
;
3181 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3182 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3184 wxHtmlCell
* _result
;
3188 PyObject
* _argo0
= 0;
3189 PyObject
* _argo2
= 0;
3190 char *_kwnames
[] = { "self","condition","param", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3204 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3218 _resultobj
= Py_BuildValue("s",_ptemp
);
3221 _resultobj
= Py_None
;
3226 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3227 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
* _resultobj
;
3232 PyObject
* _argo0
= 0;
3233 PyObject
* _argo1
= 0;
3234 char *_kwnames
[] = { "self","pagebreak", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } _resultobj
= Py_BuildValue("i",_result
);
3263 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3264 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3268 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self","can", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3282 _arg1
= (bool ) tempbool1
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) return NULL
;
3289 } Py_INCREF(Py_None
);
3290 _resultobj
= Py_None
;
3294 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3295 wxHtmlWordCell
*src
;
3297 src
= (wxHtmlWordCell
*) ptr
;
3298 dest
= (wxHtmlCell
*) src
;
3299 return (void *) dest
;
3302 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3303 wxHtmlWordCell
*src
;
3305 src
= (wxHtmlWordCell
*) ptr
;
3306 dest
= (wxObject
*) src
;
3307 return (void *) dest
;
3310 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3311 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3313 wxHtmlWordCell
* _result
;
3316 PyObject
* _obj0
= 0;
3317 PyObject
* _argo1
= 0;
3318 char *_kwnames
[] = { "word","dc", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3325 _arg0
= wxString_in_helper(_obj0
);
3330 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3346 _resultobj
= Py_None
;
3355 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3356 wxHtmlContainerCell
*src
;
3358 src
= (wxHtmlContainerCell
*) ptr
;
3359 dest
= (wxHtmlCell
*) src
;
3360 return (void *) dest
;
3363 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3364 wxHtmlContainerCell
*src
;
3366 src
= (wxHtmlContainerCell
*) ptr
;
3367 dest
= (wxObject
*) src
;
3368 return (void *) dest
;
3371 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3372 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
* _resultobj
;
3374 wxHtmlContainerCell
* _result
;
3375 wxHtmlContainerCell
* _arg0
;
3376 PyObject
* _argo0
= 0;
3377 char *_kwnames
[] = { "parent", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3398 _resultobj
= Py_BuildValue("s",_ptemp
);
3401 _resultobj
= Py_None
;
3406 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3407 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3409 wxHtmlContainerCell
* _arg0
;
3411 PyObject
* _argo0
= 0;
3412 PyObject
* _argo1
= 0;
3413 char *_kwnames
[] = { "self","cell", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3438 } Py_INCREF(Py_None
);
3439 _resultobj
= Py_None
;
3443 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3444 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3446 wxHtmlContainerCell
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self","al", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3472 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3473 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3476 wxHtmlContainerCell
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) return NULL
;
3496 } _resultobj
= Py_BuildValue("i",_result
);
3500 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3501 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3503 wxHtmlContainerCell
* _arg0
;
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self","al", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) return NULL
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3529 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3530 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3533 wxHtmlContainerCell
* _arg0
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) return NULL
;
3553 } _resultobj
= Py_BuildValue("i",_result
);
3557 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3558 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3560 wxHtmlContainerCell
* _arg0
;
3563 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self","i","what","units", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) return NULL
;
3583 } Py_INCREF(Py_None
);
3584 _resultobj
= Py_None
;
3588 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3589 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
* _resultobj
;
3592 wxHtmlContainerCell
* _arg0
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self","ind", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3613 } _resultobj
= Py_BuildValue("i",_result
);
3617 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3618 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3621 wxHtmlContainerCell
* _arg0
;
3623 PyObject
* _argo0
= 0;
3624 char *_kwnames
[] = { "self","ind", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3642 } _resultobj
= Py_BuildValue("i",_result
);
3646 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3647 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3649 wxHtmlContainerCell
* _arg0
;
3651 PyObject
* _argo0
= 0;
3652 PyObject
* _argo1
= 0;
3653 char *_kwnames
[] = { "self","tag", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3666 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3683 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3685 wxHtmlContainerCell
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self","w","units", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3707 } Py_INCREF(Py_None
);
3708 _resultobj
= Py_None
;
3712 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3713 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3715 wxHtmlContainerCell
* _arg0
;
3717 PyObject
* _argo0
= 0;
3718 PyObject
* _argo1
= 0;
3719 char *_kwnames
[] = { "self","tag", NULL
};
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3732 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3749 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3751 wxHtmlContainerCell
* _arg0
;
3753 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self","h","align", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3773 } Py_INCREF(Py_None
);
3774 _resultobj
= Py_None
;
3778 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3779 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3781 wxHtmlContainerCell
* _arg0
;
3783 PyObject
* _argo0
= 0;
3785 PyObject
* _obj1
= 0;
3786 char *_kwnames
[] = { "self","clr", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3800 if (! wxColour_helper(_obj1
, &_arg1
))
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) return NULL
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxHtmlContainerCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3815 static PyObject
*_wrap_wxHtmlContainerCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3818 wxHtmlContainerCell
* _arg0
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetBackgroundColour",_kwnames
,&_argo0
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 _result
= new wxColour (wxHtmlContainerCell_GetBackgroundColour(_arg0
));
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) return NULL
;
3839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3840 _resultobj
= Py_BuildValue("s",_ptemp
);
3844 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3845 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3847 wxHtmlContainerCell
* _arg0
;
3850 PyObject
* _argo0
= 0;
3852 PyObject
* _obj1
= 0;
3854 PyObject
* _obj2
= 0;
3855 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3869 if (! wxColour_helper(_obj1
, &_arg1
))
3874 if (! wxColour_helper(_obj2
, &_arg2
))
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } Py_INCREF(Py_None
);
3884 _resultobj
= Py_None
;
3888 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3889 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3891 wxHtmlCell
* _result
;
3892 wxHtmlContainerCell
* _arg0
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3915 _resultobj
= Py_BuildValue("s",_ptemp
);
3918 _resultobj
= Py_None
;
3923 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3924 wxHtmlColourCell
*src
;
3926 src
= (wxHtmlColourCell
*) ptr
;
3927 dest
= (wxHtmlCell
*) src
;
3928 return (void *) dest
;
3931 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3932 wxHtmlColourCell
*src
;
3934 src
= (wxHtmlColourCell
*) ptr
;
3935 dest
= (wxObject
*) src
;
3936 return (void *) dest
;
3939 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3940 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxHtmlColourCell
* _result
;
3944 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3946 PyObject
* _obj0
= 0;
3947 char *_kwnames
[] = { "clr","flags", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3955 if (! wxColour_helper(_obj0
, &_arg0
))
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) return NULL
;
3965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3966 _resultobj
= Py_BuildValue("s",_ptemp
);
3969 _resultobj
= Py_None
;
3974 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3975 wxHtmlFontCell
*src
;
3977 src
= (wxHtmlFontCell
*) ptr
;
3978 dest
= (wxHtmlCell
*) src
;
3979 return (void *) dest
;
3982 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3983 wxHtmlFontCell
*src
;
3985 src
= (wxHtmlFontCell
*) ptr
;
3986 dest
= (wxObject
*) src
;
3987 return (void *) dest
;
3990 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3991 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3993 wxHtmlFontCell
* _result
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "font", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) return NULL
;
4016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4017 _resultobj
= Py_BuildValue("s",_ptemp
);
4020 _resultobj
= Py_None
;
4025 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4026 wxHtmlWidgetCell
*src
;
4028 src
= (wxHtmlWidgetCell
*) ptr
;
4029 dest
= (wxHtmlCell
*) src
;
4030 return (void *) dest
;
4033 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4034 wxHtmlWidgetCell
*src
;
4036 src
= (wxHtmlWidgetCell
*) ptr
;
4037 dest
= (wxObject
*) src
;
4038 return (void *) dest
;
4041 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4042 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxHtmlWidgetCell
* _result
;
4046 int _arg1
= (int ) 0;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "wnd","w", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) return NULL
;
4068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4069 _resultobj
= Py_BuildValue("s",_ptemp
);
4072 _resultobj
= Py_None
;
4077 static void *SwigwxPyHtmlFilterTowxObject(void *ptr
) {
4078 wxPyHtmlFilter
*src
;
4080 src
= (wxPyHtmlFilter
*) ptr
;
4081 dest
= (wxObject
*) src
;
4082 return (void *) dest
;
4085 #define new_wxHtmlFilter() (new wxPyHtmlFilter())
4086 static PyObject
*_wrap_new_wxHtmlFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4088 wxPyHtmlFilter
* _result
;
4089 char *_kwnames
[] = { NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlFilter",_kwnames
))
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 _result
= (wxPyHtmlFilter
*)new_wxHtmlFilter();
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) return NULL
;
4102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlFilter_p");
4103 _resultobj
= Py_BuildValue("s",_ptemp
);
4106 _resultobj
= Py_None
;
4111 #define wxHtmlFilter__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4112 static PyObject
*_wrap_wxHtmlFilter__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
* _resultobj
;
4114 wxPyHtmlFilter
* _arg0
;
4117 PyObject
* _argo0
= 0;
4118 PyObject
* _obj1
= 0;
4119 PyObject
* _obj2
= 0;
4120 char *_kwnames
[] = { "self","self","_class", NULL
};
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlFilter__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlFilter__setCallbackInfo. Expected _wxPyHtmlFilter_p.");
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 wxHtmlFilter__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) return NULL
;
4144 } Py_INCREF(Py_None
);
4145 _resultobj
= Py_None
;
4149 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4150 wxPyHtmlWindow
*src
;
4151 wxScrolledWindow
*dest
;
4152 src
= (wxPyHtmlWindow
*) ptr
;
4153 dest
= (wxScrolledWindow
*) src
;
4154 return (void *) dest
;
4157 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4158 wxPyHtmlWindow
*src
;
4160 src
= (wxPyHtmlWindow
*) ptr
;
4161 dest
= (wxPanel
*) src
;
4162 return (void *) dest
;
4165 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4166 wxPyHtmlWindow
*src
;
4168 src
= (wxPyHtmlWindow
*) ptr
;
4169 dest
= (wxWindow
*) src
;
4170 return (void *) dest
;
4173 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4174 wxPyHtmlWindow
*src
;
4176 src
= (wxPyHtmlWindow
*) ptr
;
4177 dest
= (wxEvtHandler
*) src
;
4178 return (void *) dest
;
4181 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4182 wxPyHtmlWindow
*src
;
4184 src
= (wxPyHtmlWindow
*) ptr
;
4185 dest
= (wxObject
*) src
;
4186 return (void *) dest
;
4189 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4190 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4192 wxPyHtmlWindow
* _result
;
4194 int _arg1
= (int ) -1;
4195 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4196 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4197 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4198 wxString
* _arg5
= (wxString
*) &wxPyHtmlWindowNameStr
;
4199 PyObject
* _argo0
= 0;
4201 PyObject
* _obj2
= 0;
4203 PyObject
* _obj3
= 0;
4204 PyObject
* _obj5
= 0;
4205 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOiO:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4221 if (! wxPoint_helper(_obj2
, &_arg2
))
4227 if (! wxSize_helper(_obj3
, &_arg3
))
4232 _arg5
= wxString_in_helper(_obj5
);
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) return NULL
;
4243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4244 _resultobj
= Py_BuildValue("s",_ptemp
);
4247 _resultobj
= Py_None
;
4256 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4257 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4259 wxPyHtmlWindow
* _result
;
4260 char *_kwnames
[] = { NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) return NULL
;
4273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4274 _resultobj
= Py_BuildValue("s",_ptemp
);
4277 _resultobj
= Py_None
;
4282 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4283 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
* _resultobj
;
4286 wxPyHtmlWindow
* _arg0
;
4288 int _arg2
= (int ) -1;
4289 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4290 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4291 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4292 wxString
* _arg6
= (wxString
*) &wxPyHtmlWindowNameStr
;
4293 PyObject
* _argo0
= 0;
4294 PyObject
* _argo1
= 0;
4296 PyObject
* _obj3
= 0;
4298 PyObject
* _obj4
= 0;
4299 PyObject
* _obj6
= 0;
4300 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOiO:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4322 if (! wxPoint_helper(_obj3
, &_arg3
))
4328 if (! wxSize_helper(_obj4
, &_arg4
))
4333 _arg6
= wxString_in_helper(_obj6
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) return NULL
;
4343 } _resultobj
= Py_BuildValue("i",_result
);
4351 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4352 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4354 wxPyHtmlWindow
* _arg0
;
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _obj1
= 0;
4359 PyObject
* _obj2
= 0;
4360 char *_kwnames
[] = { "self","self","_class", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4389 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4390 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 wxPyHtmlWindow
* _arg0
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _obj1
= 0;
4397 char *_kwnames
[] = { "self","source", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4410 _arg1
= wxString_in_helper(_obj1
);
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) return NULL
;
4420 } _resultobj
= Py_BuildValue("i",_result
);
4428 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4429 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4432 wxPyHtmlWindow
* _arg0
;
4434 PyObject
* _argo0
= 0;
4435 PyObject
* _obj1
= 0;
4436 char *_kwnames
[] = { "self","location", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4449 _arg1
= wxString_in_helper(_obj1
);
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) return NULL
;
4459 } _resultobj
= Py_BuildValue("i",_result
);
4467 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4468 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4471 wxPyHtmlWindow
* _arg0
;
4473 PyObject
* _argo0
= 0;
4474 PyObject
* _obj1
= 0;
4475 char *_kwnames
[] = { "self","source", NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4488 _arg1
= wxString_in_helper(_obj1
);
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) return NULL
;
4498 } _resultobj
= Py_BuildValue("i",_result
);
4506 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4507 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4510 wxPyHtmlWindow
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4532 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4534 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4543 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4544 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 wxPyHtmlWindow
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) return NULL
;
4569 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4571 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4580 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4581 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4584 wxPyHtmlWindow
* _arg0
;
4585 PyObject
* _argo0
= 0;
4586 char *_kwnames
[] = { "self", NULL
};
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) return NULL
;
4606 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4608 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4617 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4618 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4620 wxPyHtmlWindow
* _arg0
;
4623 PyObject
* _argo0
= 0;
4624 PyObject
* _argo1
= 0;
4625 PyObject
* _obj2
= 0;
4626 char *_kwnames
[] = { "self","frame","format", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4646 _arg2
= wxString_in_helper(_obj2
);
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,*_arg2
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) return NULL
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4665 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4666 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4669 wxPyHtmlWindow
* _arg0
;
4670 PyObject
* _argo0
= 0;
4671 char *_kwnames
[] = { "self", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4689 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4693 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4694 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxPyHtmlWindow
* _arg0
;
4698 PyObject
* _argo0
= 0;
4699 char *_kwnames
[] = { "self","bar", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4717 } Py_INCREF(Py_None
);
4718 _resultobj
= Py_None
;
4722 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4723 int* temp
= int_LIST_helper(sizes
);
4725 self
->SetFonts(normal_face
, fixed_face
, temp
);
4729 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4731 wxPyHtmlWindow
* _arg0
;
4735 PyObject
* _argo0
= 0;
4736 PyObject
* _obj1
= 0;
4737 PyObject
* _obj2
= 0;
4738 PyObject
* _obj3
= 0;
4739 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4752 _arg1
= wxString_in_helper(_obj1
);
4757 _arg2
= wxString_in_helper(_obj2
);
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) return NULL
;
4770 } Py_INCREF(Py_None
);
4771 _resultobj
= Py_None
;
4783 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4784 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 wxPyHtmlWindow
* _arg0
;
4788 PyObject
* _argo0
= 0;
4789 PyObject
* _obj1
= 0;
4790 char *_kwnames
[] = { "self","title", NULL
};
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4803 _arg1
= wxString_in_helper(_obj1
);
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) return NULL
;
4813 } Py_INCREF(Py_None
);
4814 _resultobj
= Py_None
;
4822 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4823 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxPyHtmlWindow
* _arg0
;
4827 PyObject
* _argo0
= 0;
4828 char *_kwnames
[] = { "self","b", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) return NULL
;
4846 } Py_INCREF(Py_None
);
4847 _resultobj
= Py_None
;
4851 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4852 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
* _resultobj
;
4854 wxPyHtmlWindow
* _arg0
;
4855 wxConfigBase
* _arg1
;
4856 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4857 PyObject
* _argo0
= 0;
4858 PyObject
* _argo1
= 0;
4859 PyObject
* _obj2
= 0;
4860 char *_kwnames
[] = { "self","cfg","path", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4881 _arg2
= wxString_in_helper(_obj2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4891 } Py_INCREF(Py_None
);
4892 _resultobj
= Py_None
;
4900 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4901 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4903 wxPyHtmlWindow
* _arg0
;
4904 wxConfigBase
* _arg1
;
4905 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4906 PyObject
* _argo0
= 0;
4907 PyObject
* _argo1
= 0;
4908 PyObject
* _obj2
= 0;
4909 char *_kwnames
[] = { "self","cfg","path", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4930 _arg2
= wxString_in_helper(_obj2
);
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) return NULL
;
4940 } Py_INCREF(Py_None
);
4941 _resultobj
= Py_None
;
4949 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4950 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4953 wxPyHtmlWindow
* _arg0
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) return NULL
;
4973 } _resultobj
= Py_BuildValue("i",_result
);
4977 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4978 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4981 wxPyHtmlWindow
* _arg0
;
4982 PyObject
* _argo0
= 0;
4983 char *_kwnames
[] = { "self", NULL
};
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } _resultobj
= Py_BuildValue("i",_result
);
5005 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
5006 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5009 wxPyHtmlWindow
* _arg0
;
5010 PyObject
* _argo0
= 0;
5011 char *_kwnames
[] = { "self", NULL
};
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) return NULL
;
5029 } _resultobj
= Py_BuildValue("i",_result
);
5033 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5034 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
* _resultobj
;
5037 wxPyHtmlWindow
* _arg0
;
5038 PyObject
* _argo0
= 0;
5039 char *_kwnames
[] = { "self", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) return NULL
;
5057 } _resultobj
= Py_BuildValue("i",_result
);
5061 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5062 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5064 wxPyHtmlWindow
* _arg0
;
5065 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 wxHtmlWindow_HistoryClear(_arg0
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } Py_INCREF(Py_None
);
5085 _resultobj
= Py_None
;
5089 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5090 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5092 wxHtmlContainerCell
* _result
;
5093 wxPyHtmlWindow
* _arg0
;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) return NULL
;
5115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5116 _resultobj
= Py_BuildValue("s",_ptemp
);
5119 _resultobj
= Py_None
;
5124 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5125 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5127 wxHtmlWinParser
* _result
;
5128 wxPyHtmlWindow
* _arg0
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) return NULL
;
5150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5151 _resultobj
= Py_BuildValue("s",_ptemp
);
5154 _resultobj
= Py_None
;
5159 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
5160 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5163 wxPyHtmlWindow
* _arg0
;
5165 PyObject
* _argo0
= 0;
5166 PyObject
* _obj1
= 0;
5167 char *_kwnames
[] = { "self","anchor", NULL
};
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
5173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5180 _arg1
= wxString_in_helper(_obj1
);
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) return NULL
;
5190 } _resultobj
= Py_BuildValue("i",_result
);
5198 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5199 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
* _resultobj
;
5202 wxPyHtmlWindow
* _arg0
;
5204 PyObject
* _argo0
= 0;
5205 PyObject
* _obj1
= 0;
5206 char *_kwnames
[] = { "self","anchor", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5219 _arg1
= wxString_in_helper(_obj1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) return NULL
;
5229 } _resultobj
= Py_BuildValue("i",_result
);
5237 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5239 wxPyHtmlFilter
* _arg0
;
5240 PyObject
* _argo0
= 0;
5241 char *_kwnames
[] = { "filter", NULL
};
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
5247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlFilter_p")) {
5249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxPyHtmlFilter_p.");
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 wxPyHtmlWindow::AddFilter(_arg0
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5264 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5265 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5267 wxPyHtmlWindow
* _arg0
;
5268 wxHtmlLinkInfo
* _arg1
;
5269 PyObject
* _argo0
= 0;
5270 PyObject
* _argo1
= 0;
5271 char *_kwnames
[] = { "self","link", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5284 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) return NULL
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5301 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxPyHtmlWindow
* _arg0
;
5305 PyObject
* _argo0
= 0;
5306 PyObject
* _obj1
= 0;
5307 char *_kwnames
[] = { "self","title", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_obj1
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5320 _arg1
= wxString_in_helper(_obj1
);
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxHtmlWindow_base_OnSetTitle(_arg0
,*_arg1
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) return NULL
;
5330 } Py_INCREF(Py_None
);
5331 _resultobj
= Py_None
;
5339 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5340 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5342 wxPyHtmlWindow
* _arg0
;
5346 PyObject
* _argo0
= 0;
5347 PyObject
* _argo1
= 0;
5348 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) return NULL
;
5373 } Py_INCREF(Py_None
);
5374 _resultobj
= Py_None
;
5378 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5379 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5381 wxPyHtmlWindow
* _arg0
;
5385 wxMouseEvent
* _arg4
;
5386 PyObject
* _argo0
= 0;
5387 PyObject
* _argo1
= 0;
5388 PyObject
* _argo4
= 0;
5389 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5409 if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5426 wxHtmlDCRenderer
*src
;
5428 src
= (wxHtmlDCRenderer
*) ptr
;
5429 dest
= (wxObject
*) src
;
5430 return (void *) dest
;
5433 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5434 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5436 wxHtmlDCRenderer
* _result
;
5437 char *_kwnames
[] = { NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) return NULL
;
5450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5451 _resultobj
= Py_BuildValue("s",_ptemp
);
5454 _resultobj
= Py_None
;
5459 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5460 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5462 wxHtmlDCRenderer
* _arg0
;
5463 PyObject
* _argo0
= 0;
5464 char *_kwnames
[] = { "self", NULL
};
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 delete_wxHtmlDCRenderer(_arg0
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) return NULL
;
5482 } Py_INCREF(Py_None
);
5483 _resultobj
= Py_None
;
5487 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5488 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5490 wxHtmlDCRenderer
* _arg0
;
5493 PyObject
* _argo0
= 0;
5494 PyObject
* _argo1
= 0;
5495 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) return NULL
;
5520 } Py_INCREF(Py_None
);
5521 _resultobj
= Py_None
;
5525 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5526 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5528 wxHtmlDCRenderer
* _arg0
;
5531 PyObject
* _argo0
= 0;
5532 char *_kwnames
[] = { "self","width","height", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5556 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5558 wxHtmlDCRenderer
* _arg0
;
5560 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5561 bool _arg3
= (bool ) TRUE
;
5562 PyObject
* _argo0
= 0;
5563 PyObject
* _obj1
= 0;
5564 PyObject
* _obj2
= 0;
5565 int tempbool3
= (int) TRUE
;
5566 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5579 _arg1
= wxString_in_helper(_obj1
);
5585 _arg2
= wxString_in_helper(_obj2
);
5589 _arg3
= (bool ) tempbool3
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) return NULL
;
5596 } Py_INCREF(Py_None
);
5597 _resultobj
= Py_None
;
5609 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5610 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5613 wxHtmlDCRenderer
* _arg0
;
5616 int _arg3
= (int ) 0;
5617 int _arg4
= (int ) FALSE
;
5618 PyObject
* _argo0
= 0;
5619 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) return NULL
;
5637 } _resultobj
= Py_BuildValue("i",_result
);
5641 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5642 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5645 wxHtmlDCRenderer
* _arg0
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) return NULL
;
5665 } _resultobj
= Py_BuildValue("i",_result
);
5669 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5670 wxHtmlPrintout
*src
;
5672 src
= (wxHtmlPrintout
*) ptr
;
5673 dest
= (wxPyPrintout
*) src
;
5674 return (void *) dest
;
5677 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5678 wxHtmlPrintout
*src
;
5680 src
= (wxHtmlPrintout
*) ptr
;
5681 dest
= (wxObject
*) src
;
5682 return (void *) dest
;
5685 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5686 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5688 wxHtmlPrintout
* _result
;
5689 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintoutTitleStr
;
5690 PyObject
* _obj0
= 0;
5691 char *_kwnames
[] = { "title", NULL
};
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlPrintout",_kwnames
,&_obj0
))
5699 _arg0
= wxString_in_helper(_obj0
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(*_arg0
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) return NULL
;
5710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5711 _resultobj
= Py_BuildValue("s",_ptemp
);
5714 _resultobj
= Py_None
;
5723 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5724 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5726 wxHtmlPrintout
* _arg0
;
5728 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5729 bool _arg3
= (bool ) TRUE
;
5730 PyObject
* _argo0
= 0;
5731 PyObject
* _obj1
= 0;
5732 PyObject
* _obj2
= 0;
5733 int tempbool3
= (int) TRUE
;
5734 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5747 _arg1
= wxString_in_helper(_obj1
);
5753 _arg2
= wxString_in_helper(_obj2
);
5757 _arg3
= (bool ) tempbool3
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) return NULL
;
5764 } Py_INCREF(Py_None
);
5765 _resultobj
= Py_None
;
5777 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5778 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5780 wxHtmlPrintout
* _arg0
;
5782 PyObject
* _argo0
= 0;
5783 PyObject
* _obj1
= 0;
5784 char *_kwnames
[] = { "self","htmlfile", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5797 _arg1
= wxString_in_helper(_obj1
);
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) return NULL
;
5807 } Py_INCREF(Py_None
);
5808 _resultobj
= Py_None
;
5816 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5817 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5819 wxHtmlPrintout
* _arg0
;
5821 int _arg2
= (int ) (wxPAGE_ALL
);
5822 PyObject
* _argo0
= 0;
5823 PyObject
* _obj1
= 0;
5824 char *_kwnames
[] = { "self","header","pg", NULL
};
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5837 _arg1
= wxString_in_helper(_obj1
);
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) return NULL
;
5847 } Py_INCREF(Py_None
);
5848 _resultobj
= Py_None
;
5856 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5857 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5859 wxHtmlPrintout
* _arg0
;
5861 int _arg2
= (int ) (wxPAGE_ALL
);
5862 PyObject
* _argo0
= 0;
5863 PyObject
* _obj1
= 0;
5864 char *_kwnames
[] = { "self","footer","pg", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5877 _arg1
= wxString_in_helper(_obj1
);
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) return NULL
;
5887 } Py_INCREF(Py_None
);
5888 _resultobj
= Py_None
;
5896 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5897 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5899 wxHtmlPrintout
* _arg0
;
5900 float _arg1
= (float ) 25.2;
5901 float _arg2
= (float ) 25.2;
5902 float _arg3
= (float ) 25.2;
5903 float _arg4
= (float ) 25.2;
5904 float _arg5
= (float ) 5;
5905 PyObject
* _argo0
= 0;
5906 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) return NULL
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5929 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5930 wxHtmlEasyPrinting
*src
;
5932 src
= (wxHtmlEasyPrinting
*) ptr
;
5933 dest
= (wxObject
*) src
;
5934 return (void *) dest
;
5937 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5938 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5940 wxHtmlEasyPrinting
* _result
;
5941 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintingTitleStr
;
5942 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5943 PyObject
* _obj0
= 0;
5944 PyObject
* _argo1
= 0;
5945 char *_kwnames
[] = { "name","parent_frame", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxHtmlEasyPrinting",_kwnames
,&_obj0
,&_argo1
))
5953 _arg0
= wxString_in_helper(_obj0
);
5958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(*_arg0
,_arg1
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5972 _resultobj
= Py_BuildValue("s",_ptemp
);
5975 _resultobj
= Py_None
;
5984 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5985 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxHtmlEasyPrinting
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 delete_wxHtmlEasyPrinting(_arg0
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } Py_INCREF(Py_None
);
6008 _resultobj
= Py_None
;
6012 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
6013 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6015 wxHtmlEasyPrinting
* _arg0
;
6017 PyObject
* _argo0
= 0;
6018 PyObject
* _obj1
= 0;
6019 char *_kwnames
[] = { "self","htmlfile", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
6032 _arg1
= wxString_in_helper(_obj1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) return NULL
;
6042 } Py_INCREF(Py_None
);
6043 _resultobj
= Py_None
;
6051 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6052 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6054 wxHtmlEasyPrinting
* _arg0
;
6056 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6057 PyObject
* _argo0
= 0;
6058 PyObject
* _obj1
= 0;
6059 PyObject
* _obj2
= 0;
6060 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6073 _arg1
= wxString_in_helper(_obj1
);
6079 _arg2
= wxString_in_helper(_obj2
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) return NULL
;
6089 } Py_INCREF(Py_None
);
6090 _resultobj
= Py_None
;
6102 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6103 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6105 wxHtmlEasyPrinting
* _arg0
;
6107 PyObject
* _argo0
= 0;
6108 PyObject
* _obj1
= 0;
6109 char *_kwnames
[] = { "self","htmlfile", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
6122 _arg1
= wxString_in_helper(_obj1
);
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) return NULL
;
6132 } Py_INCREF(Py_None
);
6133 _resultobj
= Py_None
;
6141 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6142 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6144 wxHtmlEasyPrinting
* _arg0
;
6146 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6147 PyObject
* _argo0
= 0;
6148 PyObject
* _obj1
= 0;
6149 PyObject
* _obj2
= 0;
6150 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6163 _arg1
= wxString_in_helper(_obj1
);
6169 _arg2
= wxString_in_helper(_obj2
);
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) return NULL
;
6179 } Py_INCREF(Py_None
);
6180 _resultobj
= Py_None
;
6192 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6193 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6195 wxHtmlEasyPrinting
* _arg0
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self", NULL
};
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6220 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6221 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6223 wxHtmlEasyPrinting
* _arg0
;
6224 PyObject
* _argo0
= 0;
6225 char *_kwnames
[] = { "self", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxHtmlEasyPrinting_PageSetup(_arg0
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6243 } Py_INCREF(Py_None
);
6244 _resultobj
= Py_None
;
6248 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6249 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6251 wxHtmlEasyPrinting
* _arg0
;
6253 int _arg2
= (int ) (wxPAGE_ALL
);
6254 PyObject
* _argo0
= 0;
6255 PyObject
* _obj1
= 0;
6256 char *_kwnames
[] = { "self","header","pg", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6269 _arg1
= wxString_in_helper(_obj1
);
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) return NULL
;
6279 } Py_INCREF(Py_None
);
6280 _resultobj
= Py_None
;
6288 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6289 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
* _resultobj
;
6291 wxHtmlEasyPrinting
* _arg0
;
6293 int _arg2
= (int ) (wxPAGE_ALL
);
6294 PyObject
* _argo0
= 0;
6295 PyObject
* _obj1
= 0;
6296 char *_kwnames
[] = { "self","footer","pg", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6309 _arg1
= wxString_in_helper(_obj1
);
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) return NULL
;
6319 } Py_INCREF(Py_None
);
6320 _resultobj
= Py_None
;
6328 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6329 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6331 wxPrintData
* _result
;
6332 wxHtmlEasyPrinting
* _arg0
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6355 _resultobj
= Py_BuildValue("s",_ptemp
);
6358 _resultobj
= Py_None
;
6363 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6364 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
* _resultobj
;
6366 wxPageSetupDialogData
* _result
;
6367 wxHtmlEasyPrinting
* _arg0
;
6368 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) return NULL
;
6389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6390 _resultobj
= Py_BuildValue("s",_ptemp
);
6393 _resultobj
= Py_None
;
6398 static PyMethodDef htmlcMethods
[] = {
6399 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6400 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6401 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6402 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6403 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6404 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6405 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6406 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6407 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6408 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6409 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6410 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6411 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6412 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6413 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6414 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6415 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6416 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6417 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6418 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6419 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6420 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6421 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6422 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6423 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6424 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6425 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6426 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6427 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6428 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6429 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6430 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6431 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6432 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6433 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6434 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6435 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6436 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6437 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6438 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6439 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6440 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6441 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6442 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6443 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6444 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6445 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6446 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6447 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6448 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6449 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6450 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6451 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6452 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6453 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6454 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6455 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6456 { "wxHtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6457 { "new_wxHtmlFilter", (PyCFunction
) _wrap_new_wxHtmlFilter
, METH_VARARGS
| METH_KEYWORDS
},
6458 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6459 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6460 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6461 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6462 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6463 { "wxHtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6464 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6465 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6466 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6467 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6468 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6469 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6470 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6471 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6472 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6473 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6474 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6475 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6476 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6477 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6478 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6479 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6480 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6481 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6482 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6483 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6484 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6485 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6486 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6487 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6488 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6489 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6490 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6491 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6492 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6493 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6494 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6495 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6496 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6497 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6498 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6499 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6500 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6501 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6502 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6503 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "wxHtmlParser_StopParsing", (PyCFunction
) _wrap_wxHtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6571 * This table is used by the pointer type-checker
6573 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6574 { "_signed_long","_long",0},
6575 { "_wxPrintQuality","_wxCoord",0},
6576 { "_wxPrintQuality","_int",0},
6577 { "_wxPrintQuality","_signed_int",0},
6578 { "_wxPrintQuality","_unsigned_int",0},
6579 { "_wxPrintQuality","_wxWindowID",0},
6580 { "_wxPrintQuality","_uint",0},
6581 { "_wxPrintQuality","_EBool",0},
6582 { "_wxPrintQuality","_size_t",0},
6583 { "_wxPrintQuality","_time_t",0},
6584 { "_byte","_unsigned_char",0},
6585 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6586 { "_long","_unsigned_long",0},
6587 { "_long","_signed_long",0},
6588 { "_size_t","_wxCoord",0},
6589 { "_size_t","_wxPrintQuality",0},
6590 { "_size_t","_time_t",0},
6591 { "_size_t","_unsigned_int",0},
6592 { "_size_t","_int",0},
6593 { "_size_t","_wxWindowID",0},
6594 { "_size_t","_uint",0},
6595 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6596 { "_uint","_wxCoord",0},
6597 { "_uint","_wxPrintQuality",0},
6598 { "_uint","_time_t",0},
6599 { "_uint","_size_t",0},
6600 { "_uint","_unsigned_int",0},
6601 { "_uint","_int",0},
6602 { "_uint","_wxWindowID",0},
6603 { "_wxChar","_char",0},
6604 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6605 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6606 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6607 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6608 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6609 { "_char","_wxChar",0},
6610 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6611 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6612 { "_EBool","_wxCoord",0},
6613 { "_EBool","_wxPrintQuality",0},
6614 { "_EBool","_signed_int",0},
6615 { "_EBool","_int",0},
6616 { "_EBool","_wxWindowID",0},
6617 { "_unsigned_long","_long",0},
6618 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6619 { "_signed_int","_wxCoord",0},
6620 { "_signed_int","_wxPrintQuality",0},
6621 { "_signed_int","_EBool",0},
6622 { "_signed_int","_wxWindowID",0},
6623 { "_signed_int","_int",0},
6624 { "_WXTYPE","_wxDateTime_t",0},
6625 { "_WXTYPE","_short",0},
6626 { "_WXTYPE","_signed_short",0},
6627 { "_WXTYPE","_unsigned_short",0},
6628 { "_unsigned_short","_wxDateTime_t",0},
6629 { "_unsigned_short","_WXTYPE",0},
6630 { "_unsigned_short","_short",0},
6631 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6632 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6633 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6634 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6635 { "_wxObject","_wxPyHtmlFilter",SwigwxPyHtmlFilterTowxObject
},
6636 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6637 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6638 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6639 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6640 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6641 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6642 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6643 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6644 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6645 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6646 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6647 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6648 { "_signed_short","_WXTYPE",0},
6649 { "_signed_short","_short",0},
6650 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6651 { "_unsigned_char","_byte",0},
6652 { "_unsigned_int","_wxCoord",0},
6653 { "_unsigned_int","_wxPrintQuality",0},
6654 { "_unsigned_int","_time_t",0},
6655 { "_unsigned_int","_size_t",0},
6656 { "_unsigned_int","_uint",0},
6657 { "_unsigned_int","_wxWindowID",0},
6658 { "_unsigned_int","_int",0},
6659 { "_short","_wxDateTime_t",0},
6660 { "_short","_WXTYPE",0},
6661 { "_short","_unsigned_short",0},
6662 { "_short","_signed_short",0},
6663 { "_wxWindowID","_wxCoord",0},
6664 { "_wxWindowID","_wxPrintQuality",0},
6665 { "_wxWindowID","_time_t",0},
6666 { "_wxWindowID","_size_t",0},
6667 { "_wxWindowID","_EBool",0},
6668 { "_wxWindowID","_uint",0},
6669 { "_wxWindowID","_int",0},
6670 { "_wxWindowID","_signed_int",0},
6671 { "_wxWindowID","_unsigned_int",0},
6672 { "_int","_wxCoord",0},
6673 { "_int","_wxPrintQuality",0},
6674 { "_int","_time_t",0},
6675 { "_int","_size_t",0},
6676 { "_int","_EBool",0},
6677 { "_int","_uint",0},
6678 { "_int","_wxWindowID",0},
6679 { "_int","_unsigned_int",0},
6680 { "_int","_signed_int",0},
6681 { "_wxDateTime_t","_unsigned_short",0},
6682 { "_wxDateTime_t","_short",0},
6683 { "_wxDateTime_t","_WXTYPE",0},
6684 { "_time_t","_wxCoord",0},
6685 { "_time_t","_wxPrintQuality",0},
6686 { "_time_t","_unsigned_int",0},
6687 { "_time_t","_int",0},
6688 { "_time_t","_wxWindowID",0},
6689 { "_time_t","_uint",0},
6690 { "_time_t","_size_t",0},
6691 { "_wxCoord","_int",0},
6692 { "_wxCoord","_signed_int",0},
6693 { "_wxCoord","_unsigned_int",0},
6694 { "_wxCoord","_wxWindowID",0},
6695 { "_wxCoord","_uint",0},
6696 { "_wxCoord","_EBool",0},
6697 { "_wxCoord","_size_t",0},
6698 { "_wxCoord","_time_t",0},
6699 { "_wxCoord","_wxPrintQuality",0},
6700 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6701 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6702 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6705 static PyObject
*SWIG_globals
;
6709 SWIGEXPORT(void) inithtmlc() {
6711 SWIG_globals
= SWIG_newvarlink();
6712 m
= Py_InitModule("htmlc", htmlcMethods
);
6713 d
= PyModule_GetDict(m
);
6714 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6715 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6716 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6717 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6718 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6719 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6720 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6721 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6722 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6723 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6724 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6725 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6726 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6727 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6728 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6729 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6730 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6731 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6732 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6733 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6734 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6735 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6736 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6737 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6738 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6739 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6740 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6741 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6742 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6743 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6748 wxClassInfo::CleanUpClasses();
6749 wxClassInfo::InitializeClasses();
6751 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6752 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6753 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6754 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
6757 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6758 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);