2 * FILE : src/mac/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlc
56 #define SWIG_name "htmlc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/htmprint.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
96 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
98 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
100 wxHtmlParser
* GetParser() { return m_Parser
; }
101 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
103 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
104 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
109 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
111 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
112 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
114 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
115 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
117 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
119 wxHtmlWinParser
* GetParser() { return m_WParser
; }
120 void ParseInner(const wxHtmlTag
& tag
)
121 { wxHtmlWinTagHandler::ParseInner(tag
); }
123 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
124 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
129 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
131 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
132 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
135 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
137 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
138 m_tagHandlerClass
= thc
;
139 Py_INCREF(m_tagHandlerClass
);
140 RegisterModule(this);
141 wxHtmlWinParser::AddModule(this);
145 wxPyBeginBlockThreads();
146 Py_DECREF(m_tagHandlerClass
);
147 m_tagHandlerClass
= NULL
;
148 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
149 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
152 wxPyEndBlockThreads();
155 void FillHandlersTable(wxHtmlWinParser
*parser
) {
156 // Wave our magic wand... (if it works it's a miracle! ;-)
158 // First, make a new instance of the tag handler
159 wxPyBeginBlockThreads();
160 PyObject
* arg
= Py_BuildValue("()");
161 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
163 wxPyEndBlockThreads();
165 // now figure out where it's C++ object is...
166 wxPyHtmlWinTagHandler
* thPtr
;
167 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
171 parser
->AddTagHandler(thPtr
);
178 PyObject
* m_tagHandlerClass
;
179 wxArrayPtrVoid m_objArray
;
183 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
184 // Dynamically create a new wxModule. Refcounts tagHandlerClass
185 // and adds itself to the wxModules list and to the wxHtmlWinParser.
186 new wxPyHtmlTagsModule(tagHandlerClass
);
189 class wxPyHtmlWindow
: public wxHtmlWindow
{
190 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
192 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
193 const wxPoint
& pos
= wxDefaultPosition
,
194 const wxSize
& size
= wxDefaultSize
,
195 long style
= wxHW_SCROLLBAR_AUTO
,
196 const wxString
& name
= "htmlWindow")
197 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
198 wxPyHtmlWindow() : wxHtmlWindow() {};
200 bool ScrollToAnchor(const wxString
& anchor
) {
201 return wxHtmlWindow::ScrollToAnchor(anchor
);
204 bool HasAnchor(const wxString
& anchor
) {
205 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
209 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
210 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
212 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
214 wxString
*redirect
) const;
216 DEC_PYCALLBACK__STRING(OnSetTitle
);
217 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
218 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
219 // DEC_PYCALLBACK_BOOL_STRING(OnOpeningURL);
223 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
224 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
225 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
226 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
227 // IMP_PYCALLBACK_BOOL_STRING(wxPyHtmlWindow, wxHtmlWindow, OnOpeningURL);
230 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
232 wxPyBeginBlockThreads();
233 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
234 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
235 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
238 wxPyEndBlockThreads();
240 wxHtmlWindow::OnLinkClicked(link
);
242 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
243 wxHtmlWindow::OnLinkClicked(link
);
247 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
249 wxString
*redirect
) const {
251 wxHtmlOpeningStatus rval
;
252 wxPyBeginBlockThreads();
253 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
255 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(is)", type
, url
.c_str()));
256 if (PyString_Check(ro
)
257 #if PYTHON_API_VERSION >= 1009
258 || PyUnicode_Check(ro
)
261 PyObject
* str
= PyObject_Str(ro
);
262 *redirect
= PyString_AsString(str
);
264 rval
= wxHTML_REDIRECT
;
267 PyObject
* num
= PyNumber_Int(ro
);
268 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
273 wxPyEndBlockThreads();
275 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
281 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
282 wxHtmlWindow::AddFilter(filter
);
285 extern "C" SWIGEXPORT(void) inithtmlhelpc();
289 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
292 PyObject
* _obj0
= 0;
293 char *_kwnames
[] = { "tagHandlerClass", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
303 wxHtmlWinParser_AddTagHandler(_arg0
);
305 wxPyEndAllowThreads(__tstate
);
306 if (PyErr_Occurred()) return NULL
;
307 } Py_INCREF(Py_None
);
308 _resultobj
= Py_None
;
312 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 wxHtmlFilter
* _arg0
;
315 PyObject
* _argo0
= 0;
316 char *_kwnames
[] = { "filter", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
330 wxHtmlWindow_AddFilter(_arg0
);
332 wxPyEndAllowThreads(__tstate
);
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
342 src
= (wxHtmlLinkInfo
*) ptr
;
343 dest
= (wxObject
*) src
;
344 return (void *) dest
;
347 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
348 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
350 wxHtmlLinkInfo
* _result
;
352 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
353 PyObject
* _obj0
= 0;
354 PyObject
* _obj1
= 0;
355 char *_kwnames
[] = { "href","target", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
362 _arg0
= wxString_in_helper(_obj0
);
368 _arg1
= wxString_in_helper(_obj1
);
373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
374 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
376 wxPyEndAllowThreads(__tstate
);
377 if (PyErr_Occurred()) return NULL
;
379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
380 _resultobj
= Py_BuildValue("s",_ptemp
);
383 _resultobj
= Py_None
;
396 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
397 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
400 wxHtmlLinkInfo
* _arg0
;
401 PyObject
* _argo0
= 0;
402 char *_kwnames
[] = { "self", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
416 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
418 wxPyEndAllowThreads(__tstate
);
419 if (PyErr_Occurred()) return NULL
;
422 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
424 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
433 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
434 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
437 wxHtmlLinkInfo
* _arg0
;
438 PyObject
* _argo0
= 0;
439 char *_kwnames
[] = { "self", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
453 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
455 wxPyEndAllowThreads(__tstate
);
456 if (PyErr_Occurred()) return NULL
;
459 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
461 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
470 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
471 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 PyObject
* _resultobj
;
473 wxMouseEvent
* _result
;
474 wxHtmlLinkInfo
* _arg0
;
475 PyObject
* _argo0
= 0;
476 char *_kwnames
[] = { "self", NULL
};
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
490 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
492 wxPyEndAllowThreads(__tstate
);
493 if (PyErr_Occurred()) return NULL
;
494 }{ _resultobj
= wxPyMake_wxObject(_result
); }
498 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
499 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
501 wxHtmlCell
* _result
;
502 wxHtmlLinkInfo
* _arg0
;
503 PyObject
* _argo0
= 0;
504 char *_kwnames
[] = { "self", NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
519 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
521 wxPyEndAllowThreads(__tstate
);
522 if (PyErr_Occurred()) return NULL
;
524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
525 _resultobj
= Py_BuildValue("s",_ptemp
);
528 _resultobj
= Py_None
;
533 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
534 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
536 wxHtmlLinkInfo
* _arg0
;
537 wxMouseEvent
* _arg1
;
538 PyObject
* _argo0
= 0;
539 PyObject
* _argo1
= 0;
540 char *_kwnames
[] = { "self","e", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
563 wxPyEndAllowThreads(__tstate
);
564 if (PyErr_Occurred()) return NULL
;
565 } Py_INCREF(Py_None
);
566 _resultobj
= Py_None
;
570 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
571 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
572 PyObject
* _resultobj
;
573 wxHtmlLinkInfo
* _arg0
;
575 PyObject
* _argo0
= 0;
576 PyObject
* _argo1
= 0;
577 char *_kwnames
[] = { "self","e", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
598 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
600 wxPyEndAllowThreads(__tstate
);
601 if (PyErr_Occurred()) return NULL
;
602 } Py_INCREF(Py_None
);
603 _resultobj
= Py_None
;
607 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
610 src
= (wxHtmlTag
*) ptr
;
611 dest
= (wxObject
*) src
;
612 return (void *) dest
;
615 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
616 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
641 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
652 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
653 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
654 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 PyObject
* _obj1
= 0;
660 char *_kwnames
[] = { "self","par", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
673 _arg1
= wxString_in_helper(_obj1
);
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
683 } _resultobj
= Py_BuildValue("i",_result
);
691 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
692 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
697 int _arg2
= (int ) FALSE
;
698 PyObject
* _argo0
= 0;
699 PyObject
* _obj1
= 0;
700 char *_kwnames
[] = { "self","par","with_commas", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
713 _arg1
= wxString_in_helper(_obj1
);
718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
719 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
721 wxPyEndAllowThreads(__tstate
);
722 if (PyErr_Occurred()) return NULL
;
725 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
727 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
740 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
741 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
766 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
768 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
777 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
778 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
797 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
801 } _resultobj
= Py_BuildValue("i",_result
);
805 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
806 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) return NULL
;
829 } _resultobj
= Py_BuildValue("i",_result
);
833 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
834 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) return NULL
;
857 } _resultobj
= Py_BuildValue("i",_result
);
861 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
862 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) return NULL
;
885 } _resultobj
= Py_BuildValue("i",_result
);
889 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
892 src
= (wxHtmlParser
*) ptr
;
893 dest
= (wxObject
*) src
;
894 return (void *) dest
;
897 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
898 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
900 wxHtmlParser
* _arg0
;
901 wxFileSystem
* _arg1
;
902 PyObject
* _argo0
= 0;
903 PyObject
* _argo1
= 0;
904 char *_kwnames
[] = { "self","fs", NULL
};
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 wxHtmlParser_SetFS(_arg0
,_arg1
);
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
934 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
935 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
937 wxFileSystem
* _result
;
938 wxHtmlParser
* _arg0
;
939 PyObject
* _argo0
= 0;
940 char *_kwnames
[] = { "self", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
954 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
956 wxPyEndAllowThreads(__tstate
);
957 if (PyErr_Occurred()) return NULL
;
958 }{ _resultobj
= wxPyMake_wxObject(_result
); }
962 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
963 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
966 wxHtmlParser
* _arg0
;
968 PyObject
* _argo0
= 0;
969 PyObject
* _obj1
= 0;
970 char *_kwnames
[] = { "self","source", NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
983 _arg1
= wxString_in_helper(_obj1
);
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) return NULL
;
993 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1001 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1002 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1004 wxHtmlParser
* _arg0
;
1006 PyObject
* _argo0
= 0;
1007 PyObject
* _obj1
= 0;
1008 char *_kwnames
[] = { "self","source", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1021 _arg1
= wxString_in_helper(_obj1
);
1026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1027 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1029 wxPyEndAllowThreads(__tstate
);
1030 if (PyErr_Occurred()) return NULL
;
1031 } Py_INCREF(Py_None
);
1032 _resultobj
= Py_None
;
1040 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1041 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1043 wxHtmlParser
* _arg0
;
1044 PyObject
* _argo0
= 0;
1045 char *_kwnames
[] = { "self", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 wxHtmlParser_DoneParser(_arg0
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) return NULL
;
1063 } Py_INCREF(Py_None
);
1064 _resultobj
= Py_None
;
1068 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1069 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1071 wxHtmlParser
* _arg0
;
1074 PyObject
* _argo0
= 0;
1075 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) return NULL
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1098 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1099 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1101 wxHtmlParser
* _arg0
;
1102 wxHtmlTagHandler
* _arg1
;
1103 PyObject
* _argo0
= 0;
1104 PyObject
* _argo1
= 0;
1105 char *_kwnames
[] = { "self","handler", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } Py_INCREF(Py_None
);
1131 _resultobj
= Py_None
;
1135 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1136 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1139 wxHtmlParser
* _arg0
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1161 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1163 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1169 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1170 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1172 wxHtmlParser
* _arg0
;
1173 wxHtmlTagHandler
* _arg1
;
1175 PyObject
* _argo0
= 0;
1176 PyObject
* _argo1
= 0;
1177 PyObject
* _obj2
= 0;
1178 char *_kwnames
[] = { "self","handler","tags", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1198 _arg2
= wxString_in_helper(_obj2
);
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } Py_INCREF(Py_None
);
1209 _resultobj
= Py_None
;
1217 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1218 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
* _resultobj
;
1220 wxHtmlParser
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 wxHtmlParser_PopTagHandler(_arg0
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) return NULL
;
1240 } Py_INCREF(Py_None
);
1241 _resultobj
= Py_None
;
1245 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1246 wxHtmlWinParser
*src
;
1248 src
= (wxHtmlWinParser
*) ptr
;
1249 dest
= (wxHtmlParser
*) src
;
1250 return (void *) dest
;
1253 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1254 wxHtmlWinParser
*src
;
1256 src
= (wxHtmlWinParser
*) ptr
;
1257 dest
= (wxObject
*) src
;
1258 return (void *) dest
;
1261 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1262 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1264 wxHtmlWinParser
* _result
;
1265 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1266 PyObject
* _argo0
= 0;
1267 char *_kwnames
[] = { "wnd", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1288 _resultobj
= Py_BuildValue("s",_ptemp
);
1291 _resultobj
= Py_None
;
1296 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1297 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1299 wxHtmlWinParser
* _arg0
;
1301 PyObject
* _argo0
= 0;
1302 PyObject
* _argo1
= 0;
1303 char *_kwnames
[] = { "self","dc", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 } Py_INCREF(Py_None
);
1329 _resultobj
= Py_None
;
1333 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1334 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1337 wxHtmlWinParser
* _arg0
;
1338 PyObject
* _argo0
= 0;
1339 char *_kwnames
[] = { "self", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) return NULL
;
1357 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1361 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1362 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1365 wxHtmlWinParser
* _arg0
;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1381 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1383 wxPyEndAllowThreads(__tstate
);
1384 if (PyErr_Occurred()) return NULL
;
1385 } _resultobj
= Py_BuildValue("i",_result
);
1389 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1390 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1393 wxHtmlWinParser
* _arg0
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1418 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1420 wxHtmlWindow
* _result
;
1421 wxHtmlWinParser
* _arg0
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1445 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1446 int* temp
= int_LIST_helper(sizes
);
1448 self
->SetFonts(normal_face
, fixed_face
, temp
);
1452 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxHtmlWinParser
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 PyObject
* _obj1
= 0;
1460 PyObject
* _obj2
= 0;
1461 PyObject
* _obj3
= 0;
1462 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1475 _arg1
= wxString_in_helper(_obj1
);
1480 _arg2
= wxString_in_helper(_obj2
);
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 } Py_INCREF(Py_None
);
1494 _resultobj
= Py_None
;
1506 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1507 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1509 wxHtmlContainerCell
* _result
;
1510 wxHtmlWinParser
* _arg0
;
1511 PyObject
* _argo0
= 0;
1512 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1533 _resultobj
= Py_BuildValue("s",_ptemp
);
1536 _resultobj
= Py_None
;
1541 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1542 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1544 wxHtmlContainerCell
* _result
;
1545 wxHtmlWinParser
* _arg0
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1571 _resultobj
= Py_None
;
1576 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1577 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1579 wxHtmlContainerCell
* _result
;
1580 wxHtmlWinParser
* _arg0
;
1581 wxHtmlContainerCell
* _arg1
;
1582 PyObject
* _argo0
= 0;
1583 PyObject
* _argo1
= 0;
1584 char *_kwnames
[] = { "self","c", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) return NULL
;
1611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1612 _resultobj
= Py_BuildValue("s",_ptemp
);
1615 _resultobj
= Py_None
;
1620 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1621 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1623 wxHtmlContainerCell
* _result
;
1624 wxHtmlWinParser
* _arg0
;
1625 PyObject
* _argo0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) return NULL
;
1646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1647 _resultobj
= Py_BuildValue("s",_ptemp
);
1650 _resultobj
= Py_None
;
1655 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1656 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1659 wxHtmlWinParser
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1684 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxHtmlWinParser
* _arg0
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self","s", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) return NULL
;
1707 } Py_INCREF(Py_None
);
1708 _resultobj
= Py_None
;
1712 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1713 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1716 wxHtmlWinParser
* _arg0
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } _resultobj
= Py_BuildValue("i",_result
);
1740 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1741 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1743 wxHtmlWinParser
* _arg0
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self","x", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) return NULL
;
1764 } Py_INCREF(Py_None
);
1765 _resultobj
= Py_None
;
1769 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1770 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1773 wxHtmlWinParser
* _arg0
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1798 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxHtmlWinParser
* _arg0
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self","x", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) return NULL
;
1821 } Py_INCREF(Py_None
);
1822 _resultobj
= Py_None
;
1826 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1827 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1830 wxHtmlWinParser
* _arg0
;
1831 PyObject
* _argo0
= 0;
1832 char *_kwnames
[] = { "self", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) return NULL
;
1850 } _resultobj
= Py_BuildValue("i",_result
);
1854 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1855 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1857 wxHtmlWinParser
* _arg0
;
1859 PyObject
* _argo0
= 0;
1860 char *_kwnames
[] = { "self","x", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) return NULL
;
1878 } Py_INCREF(Py_None
);
1879 _resultobj
= Py_None
;
1883 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1884 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1887 wxHtmlWinParser
* _arg0
;
1888 PyObject
* _argo0
= 0;
1889 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) return NULL
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1911 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1912 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1914 wxHtmlWinParser
* _arg0
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self","x", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) return NULL
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1941 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 wxHtmlWinParser
* _arg0
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) return NULL
;
1964 } _resultobj
= Py_BuildValue("i",_result
);
1968 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1969 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1971 wxHtmlWinParser
* _arg0
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","a", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } Py_INCREF(Py_None
);
1993 _resultobj
= Py_None
;
1997 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1998 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2001 wxHtmlWinParser
* _arg0
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2022 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2023 _resultobj
= Py_BuildValue("s",_ptemp
);
2027 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2028 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2030 wxHtmlWinParser
* _arg0
;
2032 PyObject
* _argo0
= 0;
2034 PyObject
* _obj1
= 0;
2035 char *_kwnames
[] = { "self","clr", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2049 if (! wxColour_helper(_obj1
, &_arg1
))
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2064 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2067 wxHtmlWinParser
* _arg0
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) return NULL
;
2088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2089 _resultobj
= Py_BuildValue("s",_ptemp
);
2093 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2094 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2096 wxHtmlWinParser
* _arg0
;
2098 PyObject
* _argo0
= 0;
2100 PyObject
* _obj1
= 0;
2101 char *_kwnames
[] = { "self","clr", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2115 if (! wxColour_helper(_obj1
, &_arg1
))
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) return NULL
;
2124 } Py_INCREF(Py_None
);
2125 _resultobj
= Py_None
;
2129 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2130 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2132 wxHtmlWinParser
* _arg0
;
2134 PyObject
* _argo0
= 0;
2135 PyObject
* _obj1
= 0;
2136 char *_kwnames
[] = { "self","link", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2149 _arg1
= wxString_in_helper(_obj1
);
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2159 } Py_INCREF(Py_None
);
2160 _resultobj
= Py_None
;
2168 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2169 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2172 wxHtmlWinParser
* _arg0
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2195 _resultobj
= Py_BuildValue("s",_ptemp
);
2198 _resultobj
= Py_None
;
2203 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2204 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2206 wxHtmlLinkInfo
* _result
;
2207 wxHtmlWinParser
* _arg0
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2234 wxPyHtmlTagHandler
*src
;
2236 src
= (wxPyHtmlTagHandler
*) ptr
;
2237 dest
= (wxObject
*) src
;
2238 return (void *) dest
;
2241 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2242 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2244 wxPyHtmlTagHandler
* _result
;
2245 char *_kwnames
[] = { NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 _resultobj
= Py_None
;
2267 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2268 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2270 wxPyHtmlTagHandler
* _arg0
;
2273 PyObject
* _argo0
= 0;
2274 PyObject
* _obj1
= 0;
2275 PyObject
* _obj2
= 0;
2276 char *_kwnames
[] = { "self","self","_class", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2306 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2308 wxPyHtmlTagHandler
* _arg0
;
2309 wxHtmlParser
* _arg1
;
2310 PyObject
* _argo0
= 0;
2311 PyObject
* _argo1
= 0;
2312 char *_kwnames
[] = { "self","parser", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) return NULL
;
2337 } Py_INCREF(Py_None
);
2338 _resultobj
= Py_None
;
2342 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2343 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2345 wxHtmlParser
* _result
;
2346 wxPyHtmlTagHandler
* _arg0
;
2347 PyObject
* _argo0
= 0;
2348 char *_kwnames
[] = { "self", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) return NULL
;
2368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2369 _resultobj
= Py_BuildValue("s",_ptemp
);
2372 _resultobj
= Py_None
;
2377 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2378 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxPyHtmlTagHandler
* _arg0
;
2382 PyObject
* _argo0
= 0;
2383 PyObject
* _argo1
= 0;
2384 char *_kwnames
[] = { "self","tag", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) return NULL
;
2409 } Py_INCREF(Py_None
);
2410 _resultobj
= Py_None
;
2414 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2415 wxPyHtmlWinTagHandler
*src
;
2416 wxPyHtmlTagHandler
*dest
;
2417 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2418 dest
= (wxPyHtmlTagHandler
*) src
;
2419 return (void *) dest
;
2422 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2423 wxPyHtmlWinTagHandler
*src
;
2425 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2426 dest
= (wxObject
*) src
;
2427 return (void *) dest
;
2430 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2431 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxPyHtmlWinTagHandler
* _result
;
2434 char *_kwnames
[] = { NULL
};
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) return NULL
;
2447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2448 _resultobj
= Py_BuildValue("s",_ptemp
);
2451 _resultobj
= Py_None
;
2456 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2457 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2459 wxPyHtmlWinTagHandler
* _arg0
;
2462 PyObject
* _argo0
= 0;
2463 PyObject
* _obj1
= 0;
2464 PyObject
* _obj2
= 0;
2465 char *_kwnames
[] = { "self","self","_class", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) return NULL
;
2489 } Py_INCREF(Py_None
);
2490 _resultobj
= Py_None
;
2494 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2495 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2497 wxPyHtmlWinTagHandler
* _arg0
;
2498 wxHtmlParser
* _arg1
;
2499 PyObject
* _argo0
= 0;
2500 PyObject
* _argo1
= 0;
2501 char *_kwnames
[] = { "self","parser", NULL
};
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 } Py_INCREF(Py_None
);
2527 _resultobj
= Py_None
;
2531 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2532 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2534 wxHtmlWinParser
* _result
;
2535 wxPyHtmlWinTagHandler
* _arg0
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2561 _resultobj
= Py_None
;
2566 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2567 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2569 wxPyHtmlWinTagHandler
* _arg0
;
2571 PyObject
* _argo0
= 0;
2572 PyObject
* _argo1
= 0;
2573 char *_kwnames
[] = { "self","tag", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2603 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2606 src
= (wxHtmlCell
*) ptr
;
2607 dest
= (wxObject
*) src
;
2608 return (void *) dest
;
2611 #define new_wxHtmlCell() (new wxHtmlCell())
2612 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxHtmlCell
* _result
;
2615 char *_kwnames
[] = { NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2629 _resultobj
= Py_BuildValue("s",_ptemp
);
2632 _resultobj
= Py_None
;
2637 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2638 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 char *_kwnames
[] = { "self", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) return NULL
;
2661 } _resultobj
= Py_BuildValue("i",_result
);
2665 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2666 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) return NULL
;
2689 } _resultobj
= Py_BuildValue("i",_result
);
2693 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2694 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2698 PyObject
* _argo0
= 0;
2699 char *_kwnames
[] = { "self", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) return NULL
;
2717 } _resultobj
= Py_BuildValue("i",_result
);
2721 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2722 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2726 PyObject
* _argo0
= 0;
2727 char *_kwnames
[] = { "self", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) return NULL
;
2745 } _resultobj
= Py_BuildValue("i",_result
);
2749 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2750 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2754 PyObject
* _argo0
= 0;
2755 char *_kwnames
[] = { "self", NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2773 } _resultobj
= Py_BuildValue("i",_result
);
2777 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2778 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2780 wxHtmlLinkInfo
* _result
;
2782 int _arg1
= (int ) 0;
2783 int _arg2
= (int ) 0;
2784 PyObject
* _argo0
= 0;
2785 char *_kwnames
[] = { "self","x","y", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) return NULL
;
2805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2806 _resultobj
= Py_BuildValue("s",_ptemp
);
2809 _resultobj
= Py_None
;
2814 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2815 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2817 wxHtmlCell
* _result
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) return NULL
;
2840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2841 _resultobj
= Py_BuildValue("s",_ptemp
);
2844 _resultobj
= Py_None
;
2849 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2850 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2852 wxHtmlContainerCell
* _result
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2876 _resultobj
= Py_BuildValue("s",_ptemp
);
2879 _resultobj
= Py_None
;
2884 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2885 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2888 wxHtmlLinkInfo
* _arg1
;
2889 PyObject
* _argo0
= 0;
2890 PyObject
* _argo1
= 0;
2891 char *_kwnames
[] = { "self","link", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2916 } Py_INCREF(Py_None
);
2917 _resultobj
= Py_None
;
2921 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2922 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2926 PyObject
* _argo0
= 0;
2927 PyObject
* _argo1
= 0;
2928 char *_kwnames
[] = { "self","cell", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 wxHtmlCell_SetNext(_arg0
,_arg1
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2958 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2959 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2962 wxHtmlContainerCell
* _arg1
;
2963 PyObject
* _argo0
= 0;
2964 PyObject
* _argo1
= 0;
2965 char *_kwnames
[] = { "self","p", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 wxHtmlCell_SetParent(_arg0
,_arg1
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2996 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self","x","y", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) return NULL
;
3020 } Py_INCREF(Py_None
);
3021 _resultobj
= Py_None
;
3025 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3026 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self","w", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 wxHtmlCell_Layout(_arg0
,_arg1
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3049 } Py_INCREF(Py_None
);
3050 _resultobj
= Py_None
;
3054 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3055 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
* _resultobj
;
3063 PyObject
* _argo0
= 0;
3064 PyObject
* _argo1
= 0;
3065 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } Py_INCREF(Py_None
);
3091 _resultobj
= Py_None
;
3095 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3096 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3102 PyObject
* _argo0
= 0;
3103 PyObject
* _argo1
= 0;
3104 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) return NULL
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3135 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxHtmlCell
* _result
;
3141 PyObject
* _argo0
= 0;
3142 PyObject
* _argo2
= 0;
3143 char *_kwnames
[] = { "self","condition","param", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3157 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3171 _resultobj
= Py_BuildValue("s",_ptemp
);
3174 _resultobj
= Py_None
;
3179 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3180 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 PyObject
* _argo1
= 0;
3187 char *_kwnames
[] = { "self","pagebreak", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3212 } _resultobj
= Py_BuildValue("i",_result
);
3216 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3217 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3223 char *_kwnames
[] = { "self","can", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3235 _arg1
= (bool ) tempbool1
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3248 wxHtmlWordCell
*src
;
3250 src
= (wxHtmlWordCell
*) ptr
;
3251 dest
= (wxHtmlCell
*) src
;
3252 return (void *) dest
;
3255 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3256 wxHtmlWordCell
*src
;
3258 src
= (wxHtmlWordCell
*) ptr
;
3259 dest
= (wxObject
*) src
;
3260 return (void *) dest
;
3263 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3264 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3266 wxHtmlWordCell
* _result
;
3269 PyObject
* _obj0
= 0;
3270 PyObject
* _argo1
= 0;
3271 char *_kwnames
[] = { "word","dc", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3278 _arg0
= wxString_in_helper(_obj0
);
3283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3297 _resultobj
= Py_BuildValue("s",_ptemp
);
3300 _resultobj
= Py_None
;
3309 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3310 wxHtmlContainerCell
*src
;
3312 src
= (wxHtmlContainerCell
*) ptr
;
3313 dest
= (wxHtmlCell
*) src
;
3314 return (void *) dest
;
3317 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3318 wxHtmlContainerCell
*src
;
3320 src
= (wxHtmlContainerCell
*) ptr
;
3321 dest
= (wxObject
*) src
;
3322 return (void *) dest
;
3325 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3326 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3328 wxHtmlContainerCell
* _result
;
3329 wxHtmlContainerCell
* _arg0
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "parent", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) return NULL
;
3351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3352 _resultobj
= Py_BuildValue("s",_ptemp
);
3355 _resultobj
= Py_None
;
3360 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3361 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxHtmlContainerCell
* _arg0
;
3365 PyObject
* _argo0
= 0;
3366 PyObject
* _argo1
= 0;
3367 char *_kwnames
[] = { "self","cell", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) return NULL
;
3392 } Py_INCREF(Py_None
);
3393 _resultobj
= Py_None
;
3397 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3398 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3400 wxHtmlContainerCell
* _arg0
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self","al", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) return NULL
;
3421 } Py_INCREF(Py_None
);
3422 _resultobj
= Py_None
;
3426 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3427 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3430 wxHtmlContainerCell
* _arg0
;
3431 PyObject
* _argo0
= 0;
3432 char *_kwnames
[] = { "self", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) return NULL
;
3450 } _resultobj
= Py_BuildValue("i",_result
);
3454 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3455 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
* _resultobj
;
3457 wxHtmlContainerCell
* _arg0
;
3459 PyObject
* _argo0
= 0;
3460 char *_kwnames
[] = { "self","al", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) return NULL
;
3478 } Py_INCREF(Py_None
);
3479 _resultobj
= Py_None
;
3483 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3484 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
* _resultobj
;
3487 wxHtmlContainerCell
* _arg0
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3511 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3512 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3514 wxHtmlContainerCell
* _arg0
;
3517 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self","i","what","units", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) return NULL
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3543 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxHtmlContainerCell
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self","ind", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3567 } _resultobj
= Py_BuildValue("i",_result
);
3571 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3572 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3575 wxHtmlContainerCell
* _arg0
;
3577 PyObject
* _argo0
= 0;
3578 char *_kwnames
[] = { "self","ind", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) return NULL
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3601 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3603 wxHtmlContainerCell
* _arg0
;
3605 PyObject
* _argo0
= 0;
3606 PyObject
* _argo1
= 0;
3607 char *_kwnames
[] = { "self","tag", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } Py_INCREF(Py_None
);
3633 _resultobj
= Py_None
;
3637 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3638 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxHtmlContainerCell
* _arg0
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self","w","units", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3668 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxHtmlContainerCell
* _arg0
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _argo1
= 0;
3674 char *_kwnames
[] = { "self","tag", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3705 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3707 wxHtmlContainerCell
* _arg0
;
3709 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3710 PyObject
* _argo0
= 0;
3711 char *_kwnames
[] = { "self","h","align", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) return NULL
;
3729 } Py_INCREF(Py_None
);
3730 _resultobj
= Py_None
;
3734 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3735 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3737 wxHtmlContainerCell
* _arg0
;
3739 PyObject
* _argo0
= 0;
3741 PyObject
* _obj1
= 0;
3742 char *_kwnames
[] = { "self","clr", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3756 if (! wxColour_helper(_obj1
, &_arg1
))
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) return NULL
;
3765 } Py_INCREF(Py_None
);
3766 _resultobj
= Py_None
;
3770 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3771 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3773 wxHtmlContainerCell
* _arg0
;
3776 PyObject
* _argo0
= 0;
3778 PyObject
* _obj1
= 0;
3780 PyObject
* _obj2
= 0;
3781 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3795 if (! wxColour_helper(_obj1
, &_arg1
))
3800 if (! wxColour_helper(_obj2
, &_arg2
))
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) return NULL
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3815 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3817 wxHtmlCell
* _result
;
3818 wxHtmlContainerCell
* _arg0
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_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_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) return NULL
;
3840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3841 _resultobj
= Py_BuildValue("s",_ptemp
);
3844 _resultobj
= Py_None
;
3849 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3850 wxHtmlColourCell
*src
;
3852 src
= (wxHtmlColourCell
*) ptr
;
3853 dest
= (wxHtmlCell
*) src
;
3854 return (void *) dest
;
3857 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3858 wxHtmlColourCell
*src
;
3860 src
= (wxHtmlColourCell
*) ptr
;
3861 dest
= (wxObject
*) src
;
3862 return (void *) dest
;
3865 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3866 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3868 wxHtmlColourCell
* _result
;
3870 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3872 PyObject
* _obj0
= 0;
3873 char *_kwnames
[] = { "clr","flags", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3881 if (! wxColour_helper(_obj0
, &_arg0
))
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) return NULL
;
3891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3892 _resultobj
= Py_BuildValue("s",_ptemp
);
3895 _resultobj
= Py_None
;
3900 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3901 wxHtmlFontCell
*src
;
3903 src
= (wxHtmlFontCell
*) ptr
;
3904 dest
= (wxHtmlCell
*) src
;
3905 return (void *) dest
;
3908 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3909 wxHtmlFontCell
*src
;
3911 src
= (wxHtmlFontCell
*) ptr
;
3912 dest
= (wxObject
*) src
;
3913 return (void *) dest
;
3916 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3917 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3919 wxHtmlFontCell
* _result
;
3921 PyObject
* _argo0
= 0;
3922 char *_kwnames
[] = { "font", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3943 _resultobj
= Py_BuildValue("s",_ptemp
);
3946 _resultobj
= Py_None
;
3951 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3952 wxHtmlWidgetCell
*src
;
3954 src
= (wxHtmlWidgetCell
*) ptr
;
3955 dest
= (wxHtmlCell
*) src
;
3956 return (void *) dest
;
3959 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3960 wxHtmlWidgetCell
*src
;
3962 src
= (wxHtmlWidgetCell
*) ptr
;
3963 dest
= (wxObject
*) src
;
3964 return (void *) dest
;
3967 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3968 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3970 wxHtmlWidgetCell
* _result
;
3972 int _arg1
= (int ) 0;
3973 PyObject
* _argo0
= 0;
3974 char *_kwnames
[] = { "wnd","w", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3995 _resultobj
= Py_BuildValue("s",_ptemp
);
3998 _resultobj
= Py_None
;
4003 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4004 wxPyHtmlWindow
*src
;
4005 wxScrolledWindow
*dest
;
4006 src
= (wxPyHtmlWindow
*) ptr
;
4007 dest
= (wxScrolledWindow
*) src
;
4008 return (void *) dest
;
4011 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4012 wxPyHtmlWindow
*src
;
4014 src
= (wxPyHtmlWindow
*) ptr
;
4015 dest
= (wxPanel
*) src
;
4016 return (void *) dest
;
4019 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4020 wxPyHtmlWindow
*src
;
4022 src
= (wxPyHtmlWindow
*) ptr
;
4023 dest
= (wxWindow
*) src
;
4024 return (void *) dest
;
4027 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4028 wxPyHtmlWindow
*src
;
4030 src
= (wxPyHtmlWindow
*) ptr
;
4031 dest
= (wxEvtHandler
*) src
;
4032 return (void *) dest
;
4035 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4036 wxPyHtmlWindow
*src
;
4038 src
= (wxPyHtmlWindow
*) ptr
;
4039 dest
= (wxObject
*) src
;
4040 return (void *) dest
;
4043 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4044 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4046 wxPyHtmlWindow
* _result
;
4048 int _arg1
= (int ) -1;
4049 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4050 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4051 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4052 char * _arg5
= (char *) "htmlWindow";
4053 PyObject
* _argo0
= 0;
4055 PyObject
* _obj2
= 0;
4057 PyObject
* _obj3
= 0;
4058 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4074 if (! wxPoint_helper(_obj2
, &_arg2
))
4080 if (! wxSize_helper(_obj3
, &_arg3
))
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) return NULL
;
4090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4091 _resultobj
= Py_BuildValue("s",_ptemp
);
4094 _resultobj
= Py_None
;
4099 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4100 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxPyHtmlWindow
* _result
;
4103 char *_kwnames
[] = { NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4117 _resultobj
= Py_BuildValue("s",_ptemp
);
4120 _resultobj
= Py_None
;
4125 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4126 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 wxPyHtmlWindow
* _arg0
;
4131 int _arg2
= (int ) -1;
4132 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4133 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4134 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4135 char * _arg6
= (char *) "htmlWindow";
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _argo1
= 0;
4139 PyObject
* _obj3
= 0;
4141 PyObject
* _obj4
= 0;
4142 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4164 if (! wxPoint_helper(_obj3
, &_arg3
))
4170 if (! wxSize_helper(_obj4
, &_arg4
))
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) return NULL
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4184 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4186 wxPyHtmlWindow
* _arg0
;
4189 PyObject
* _argo0
= 0;
4190 PyObject
* _obj1
= 0;
4191 PyObject
* _obj2
= 0;
4192 char *_kwnames
[] = { "self","self","_class", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) return NULL
;
4216 } Py_INCREF(Py_None
);
4217 _resultobj
= Py_None
;
4221 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4222 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4225 wxPyHtmlWindow
* _arg0
;
4227 PyObject
* _argo0
= 0;
4228 PyObject
* _obj1
= 0;
4229 char *_kwnames
[] = { "self","source", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4242 _arg1
= wxString_in_helper(_obj1
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) return NULL
;
4252 } _resultobj
= Py_BuildValue("i",_result
);
4260 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4261 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4264 wxPyHtmlWindow
* _arg0
;
4266 PyObject
* _argo0
= 0;
4267 PyObject
* _obj1
= 0;
4268 char *_kwnames
[] = { "self","location", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4281 _arg1
= wxString_in_helper(_obj1
);
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) return NULL
;
4291 } _resultobj
= Py_BuildValue("i",_result
);
4299 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4300 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4303 wxPyHtmlWindow
* _arg0
;
4305 PyObject
* _argo0
= 0;
4306 PyObject
* _obj1
= 0;
4307 char *_kwnames
[] = { "self","source", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4320 _arg1
= wxString_in_helper(_obj1
);
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) return NULL
;
4330 } _resultobj
= Py_BuildValue("i",_result
);
4338 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4339 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4342 wxPyHtmlWindow
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) return NULL
;
4364 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4366 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4375 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4376 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4379 wxPyHtmlWindow
* _arg0
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4401 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4403 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4412 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4413 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4416 wxPyHtmlWindow
* _arg0
;
4417 PyObject
* _argo0
= 0;
4418 char *_kwnames
[] = { "self", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4438 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4440 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4449 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4450 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4452 wxPyHtmlWindow
* _arg0
;
4455 PyObject
* _argo0
= 0;
4456 PyObject
* _argo1
= 0;
4457 char *_kwnames
[] = { "self","frame","format", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4487 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4488 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4491 wxPyHtmlWindow
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4511 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4515 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4516 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4518 wxPyHtmlWindow
* _arg0
;
4520 PyObject
* _argo0
= 0;
4521 char *_kwnames
[] = { "self","bar", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) return NULL
;
4539 } Py_INCREF(Py_None
);
4540 _resultobj
= Py_None
;
4544 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4545 int* temp
= int_LIST_helper(sizes
);
4547 self
->SetFonts(normal_face
, fixed_face
, temp
);
4551 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4553 wxPyHtmlWindow
* _arg0
;
4557 PyObject
* _argo0
= 0;
4558 PyObject
* _obj1
= 0;
4559 PyObject
* _obj2
= 0;
4560 PyObject
* _obj3
= 0;
4561 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4574 _arg1
= wxString_in_helper(_obj1
);
4579 _arg2
= wxString_in_helper(_obj2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) return NULL
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4605 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4606 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4608 wxPyHtmlWindow
* _arg0
;
4610 PyObject
* _argo0
= 0;
4611 PyObject
* _obj1
= 0;
4612 char *_kwnames
[] = { "self","title", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4625 _arg1
= wxString_in_helper(_obj1
);
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) return NULL
;
4635 } Py_INCREF(Py_None
);
4636 _resultobj
= Py_None
;
4644 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4645 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4647 wxPyHtmlWindow
* _arg0
;
4649 PyObject
* _argo0
= 0;
4650 char *_kwnames
[] = { "self","b", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4673 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4674 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4676 wxPyHtmlWindow
* _arg0
;
4677 wxConfigBase
* _arg1
;
4678 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4679 PyObject
* _argo0
= 0;
4680 PyObject
* _argo1
= 0;
4681 PyObject
* _obj2
= 0;
4682 char *_kwnames
[] = { "self","cfg","path", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4703 _arg2
= wxString_in_helper(_obj2
);
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) return NULL
;
4713 } Py_INCREF(Py_None
);
4714 _resultobj
= Py_None
;
4722 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4723 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4725 wxPyHtmlWindow
* _arg0
;
4726 wxConfigBase
* _arg1
;
4727 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4728 PyObject
* _argo0
= 0;
4729 PyObject
* _argo1
= 0;
4730 PyObject
* _obj2
= 0;
4731 char *_kwnames
[] = { "self","cfg","path", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4752 _arg2
= wxString_in_helper(_obj2
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) return NULL
;
4762 } Py_INCREF(Py_None
);
4763 _resultobj
= Py_None
;
4771 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4772 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4775 wxPyHtmlWindow
* _arg0
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } _resultobj
= Py_BuildValue("i",_result
);
4799 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4800 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4803 wxPyHtmlWindow
* _arg0
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) return NULL
;
4823 } _resultobj
= Py_BuildValue("i",_result
);
4827 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4828 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4831 wxPyHtmlWindow
* _arg0
;
4832 PyObject
* _argo0
= 0;
4833 char *_kwnames
[] = { "self", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) return NULL
;
4851 } _resultobj
= Py_BuildValue("i",_result
);
4855 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4856 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4859 wxPyHtmlWindow
* _arg0
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "self", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) return NULL
;
4879 } _resultobj
= Py_BuildValue("i",_result
);
4883 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4884 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4886 wxPyHtmlWindow
* _arg0
;
4887 PyObject
* _argo0
= 0;
4888 char *_kwnames
[] = { "self", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxHtmlWindow_HistoryClear(_arg0
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } Py_INCREF(Py_None
);
4907 _resultobj
= Py_None
;
4911 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4912 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4914 wxHtmlContainerCell
* _result
;
4915 wxPyHtmlWindow
* _arg0
;
4916 PyObject
* _argo0
= 0;
4917 char *_kwnames
[] = { "self", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) return NULL
;
4937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4938 _resultobj
= Py_BuildValue("s",_ptemp
);
4941 _resultobj
= Py_None
;
4946 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4947 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4949 wxHtmlWinParser
* _result
;
4950 wxPyHtmlWindow
* _arg0
;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "self", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) return NULL
;
4972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4973 _resultobj
= Py_BuildValue("s",_ptemp
);
4976 _resultobj
= Py_None
;
4981 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
4982 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 wxPyHtmlWindow
* _arg0
;
4987 PyObject
* _argo0
= 0;
4988 PyObject
* _obj1
= 0;
4989 char *_kwnames
[] = { "self","anchor", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5002 _arg1
= wxString_in_helper(_obj1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) return NULL
;
5012 } _resultobj
= Py_BuildValue("i",_result
);
5020 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5021 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
* _resultobj
;
5024 wxPyHtmlWindow
* _arg0
;
5026 PyObject
* _argo0
= 0;
5027 PyObject
* _obj1
= 0;
5028 char *_kwnames
[] = { "self","anchor", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5041 _arg1
= wxString_in_helper(_obj1
);
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) return NULL
;
5051 } _resultobj
= Py_BuildValue("i",_result
);
5059 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5060 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5062 wxPyHtmlWindow
* _arg0
;
5063 wxHtmlLinkInfo
* _arg1
;
5064 PyObject
* _argo0
= 0;
5065 PyObject
* _argo1
= 0;
5066 char *_kwnames
[] = { "self","link", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
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_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) return NULL
;
5091 } Py_INCREF(Py_None
);
5092 _resultobj
= Py_None
;
5096 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5097 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5099 wxPyHtmlWindow
* _arg0
;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self","title", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) return NULL
;
5120 } Py_INCREF(Py_None
);
5121 _resultobj
= Py_None
;
5125 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5126 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
* _resultobj
;
5128 wxPyHtmlWindow
* _arg0
;
5132 PyObject
* _argo0
= 0;
5133 PyObject
* _argo1
= 0;
5134 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) return NULL
;
5159 } Py_INCREF(Py_None
);
5160 _resultobj
= Py_None
;
5164 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5165 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
* _resultobj
;
5167 wxPyHtmlWindow
* _arg0
;
5171 wxMouseEvent
* _arg4
;
5172 PyObject
* _argo0
= 0;
5173 PyObject
* _argo1
= 0;
5174 PyObject
* _argo4
= 0;
5175 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5195 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5196 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) return NULL
;
5207 } Py_INCREF(Py_None
);
5208 _resultobj
= Py_None
;
5212 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5213 wxHtmlDCRenderer
*src
;
5215 src
= (wxHtmlDCRenderer
*) ptr
;
5216 dest
= (wxObject
*) src
;
5217 return (void *) dest
;
5220 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5221 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxHtmlDCRenderer
* _result
;
5224 char *_kwnames
[] = { NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) return NULL
;
5237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5238 _resultobj
= Py_BuildValue("s",_ptemp
);
5241 _resultobj
= Py_None
;
5246 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5247 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
* _resultobj
;
5249 wxHtmlDCRenderer
* _arg0
;
5250 PyObject
* _argo0
= 0;
5251 char *_kwnames
[] = { "self", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 delete_wxHtmlDCRenderer(_arg0
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) return NULL
;
5269 } Py_INCREF(Py_None
);
5270 _resultobj
= Py_None
;
5274 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5275 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5277 wxHtmlDCRenderer
* _arg0
;
5280 PyObject
* _argo0
= 0;
5281 PyObject
* _argo1
= 0;
5282 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5313 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5315 wxHtmlDCRenderer
* _arg0
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self","width","height", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) return NULL
;
5337 } Py_INCREF(Py_None
);
5338 _resultobj
= Py_None
;
5342 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5343 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
* _resultobj
;
5345 wxHtmlDCRenderer
* _arg0
;
5347 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5348 bool _arg3
= (bool ) TRUE
;
5349 PyObject
* _argo0
= 0;
5350 PyObject
* _obj1
= 0;
5351 PyObject
* _obj2
= 0;
5352 int tempbool3
= (int) TRUE
;
5353 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5366 _arg1
= wxString_in_helper(_obj1
);
5372 _arg2
= wxString_in_helper(_obj2
);
5376 _arg3
= (bool ) tempbool3
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) return NULL
;
5383 } Py_INCREF(Py_None
);
5384 _resultobj
= Py_None
;
5396 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5397 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5400 wxHtmlDCRenderer
* _arg0
;
5403 int _arg3
= (int ) 0;
5404 int _arg4
= (int ) FALSE
;
5405 PyObject
* _argo0
= 0;
5406 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) return NULL
;
5424 } _resultobj
= Py_BuildValue("i",_result
);
5428 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5429 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
* _resultobj
;
5432 wxHtmlDCRenderer
* _arg0
;
5433 PyObject
* _argo0
= 0;
5434 char *_kwnames
[] = { "self", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) return NULL
;
5452 } _resultobj
= Py_BuildValue("i",_result
);
5456 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5457 wxHtmlPrintout
*src
;
5459 src
= (wxHtmlPrintout
*) ptr
;
5460 dest
= (wxPyPrintout
*) src
;
5461 return (void *) dest
;
5464 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5465 wxHtmlPrintout
*src
;
5467 src
= (wxHtmlPrintout
*) ptr
;
5468 dest
= (wxObject
*) src
;
5469 return (void *) dest
;
5472 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5473 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxHtmlPrintout
* _result
;
5476 char * _arg0
= (char *) "Printout";
5477 char *_kwnames
[] = { "title", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) return NULL
;
5490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5491 _resultobj
= Py_BuildValue("s",_ptemp
);
5494 _resultobj
= Py_None
;
5499 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5500 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
* _resultobj
;
5502 wxHtmlPrintout
* _arg0
;
5504 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5505 bool _arg3
= (bool ) TRUE
;
5506 PyObject
* _argo0
= 0;
5507 PyObject
* _obj1
= 0;
5508 PyObject
* _obj2
= 0;
5509 int tempbool3
= (int) TRUE
;
5510 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5523 _arg1
= wxString_in_helper(_obj1
);
5529 _arg2
= wxString_in_helper(_obj2
);
5533 _arg3
= (bool ) tempbool3
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5553 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5554 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
* _resultobj
;
5556 wxHtmlPrintout
* _arg0
;
5558 PyObject
* _argo0
= 0;
5559 PyObject
* _obj1
= 0;
5560 char *_kwnames
[] = { "self","htmlfile", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5573 _arg1
= wxString_in_helper(_obj1
);
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) return NULL
;
5583 } Py_INCREF(Py_None
);
5584 _resultobj
= Py_None
;
5592 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5593 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
* _resultobj
;
5595 wxHtmlPrintout
* _arg0
;
5597 int _arg2
= (int ) (wxPAGE_ALL
);
5598 PyObject
* _argo0
= 0;
5599 PyObject
* _obj1
= 0;
5600 char *_kwnames
[] = { "self","header","pg", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5613 _arg1
= wxString_in_helper(_obj1
);
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5632 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5633 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
* _resultobj
;
5635 wxHtmlPrintout
* _arg0
;
5637 int _arg2
= (int ) (wxPAGE_ALL
);
5638 PyObject
* _argo0
= 0;
5639 PyObject
* _obj1
= 0;
5640 char *_kwnames
[] = { "self","footer","pg", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5653 _arg1
= wxString_in_helper(_obj1
);
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) return NULL
;
5663 } Py_INCREF(Py_None
);
5664 _resultobj
= Py_None
;
5672 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5673 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5675 wxHtmlPrintout
* _arg0
;
5676 float _arg1
= (float ) 25.2;
5677 float _arg2
= (float ) 25.2;
5678 float _arg3
= (float ) 25.2;
5679 float _arg4
= (float ) 25.2;
5680 float _arg5
= (float ) 5;
5681 PyObject
* _argo0
= 0;
5682 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) return NULL
;
5700 } Py_INCREF(Py_None
);
5701 _resultobj
= Py_None
;
5705 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5706 wxHtmlEasyPrinting
*src
;
5708 src
= (wxHtmlEasyPrinting
*) ptr
;
5709 dest
= (wxObject
*) src
;
5710 return (void *) dest
;
5713 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5714 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5716 wxHtmlEasyPrinting
* _result
;
5717 char * _arg0
= (char *) "Printing";
5718 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5719 PyObject
* _argo1
= 0;
5720 char *_kwnames
[] = { "name","parent_frame", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) return NULL
;
5740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5741 _resultobj
= Py_BuildValue("s",_ptemp
);
5744 _resultobj
= Py_None
;
5749 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5750 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxHtmlEasyPrinting
* _arg0
;
5753 PyObject
* _argo0
= 0;
5754 char *_kwnames
[] = { "self", NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 delete_wxHtmlEasyPrinting(_arg0
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) return NULL
;
5772 } Py_INCREF(Py_None
);
5773 _resultobj
= Py_None
;
5777 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5778 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5780 wxHtmlEasyPrinting
* _arg0
;
5782 PyObject
* _argo0
= 0;
5783 PyObject
* _obj1
= 0;
5784 char *_kwnames
[] = { "self","htmlfile", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5797 _arg1
= wxString_in_helper(_obj1
);
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) return NULL
;
5807 } Py_INCREF(Py_None
);
5808 _resultobj
= Py_None
;
5816 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5817 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5819 wxHtmlEasyPrinting
* _arg0
;
5821 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5822 PyObject
* _argo0
= 0;
5823 PyObject
* _obj1
= 0;
5824 PyObject
* _obj2
= 0;
5825 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5838 _arg1
= wxString_in_helper(_obj1
);
5844 _arg2
= wxString_in_helper(_obj2
);
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5854 } Py_INCREF(Py_None
);
5855 _resultobj
= Py_None
;
5867 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5868 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5870 wxHtmlEasyPrinting
* _arg0
;
5872 PyObject
* _argo0
= 0;
5873 PyObject
* _obj1
= 0;
5874 char *_kwnames
[] = { "self","htmlfile", NULL
};
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5887 _arg1
= wxString_in_helper(_obj1
);
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) return NULL
;
5897 } Py_INCREF(Py_None
);
5898 _resultobj
= Py_None
;
5906 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5907 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5909 wxHtmlEasyPrinting
* _arg0
;
5911 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5912 PyObject
* _argo0
= 0;
5913 PyObject
* _obj1
= 0;
5914 PyObject
* _obj2
= 0;
5915 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5928 _arg1
= wxString_in_helper(_obj1
);
5934 _arg2
= wxString_in_helper(_obj2
);
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } Py_INCREF(Py_None
);
5945 _resultobj
= Py_None
;
5957 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5958 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
* _resultobj
;
5960 wxHtmlEasyPrinting
* _arg0
;
5961 PyObject
* _argo0
= 0;
5962 char *_kwnames
[] = { "self", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) return NULL
;
5980 } Py_INCREF(Py_None
);
5981 _resultobj
= Py_None
;
5985 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5986 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxHtmlEasyPrinting
* _arg0
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 wxHtmlEasyPrinting_PageSetup(_arg0
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) return NULL
;
6008 } Py_INCREF(Py_None
);
6009 _resultobj
= Py_None
;
6013 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6014 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6016 wxHtmlEasyPrinting
* _arg0
;
6018 int _arg2
= (int ) (wxPAGE_ALL
);
6019 PyObject
* _argo0
= 0;
6020 PyObject
* _obj1
= 0;
6021 char *_kwnames
[] = { "self","header","pg", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6034 _arg1
= wxString_in_helper(_obj1
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) return NULL
;
6044 } Py_INCREF(Py_None
);
6045 _resultobj
= Py_None
;
6053 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6054 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxHtmlEasyPrinting
* _arg0
;
6058 int _arg2
= (int ) (wxPAGE_ALL
);
6059 PyObject
* _argo0
= 0;
6060 PyObject
* _obj1
= 0;
6061 char *_kwnames
[] = { "self","footer","pg", NULL
};
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6074 _arg1
= wxString_in_helper(_obj1
);
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6093 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6094 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6096 wxPrintData
* _result
;
6097 wxHtmlEasyPrinting
* _arg0
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) return NULL
;
6119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6120 _resultobj
= Py_BuildValue("s",_ptemp
);
6123 _resultobj
= Py_None
;
6128 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6129 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6131 wxPageSetupDialogData
* _result
;
6132 wxHtmlEasyPrinting
* _arg0
;
6133 PyObject
* _argo0
= 0;
6134 char *_kwnames
[] = { "self", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) return NULL
;
6154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6155 _resultobj
= Py_BuildValue("s",_ptemp
);
6158 _resultobj
= Py_None
;
6163 static PyMethodDef htmlcMethods
[] = {
6164 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6332 * This table is used by the pointer type-checker
6334 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6335 { "_signed_long","_long",0},
6336 { "_wxPrintQuality","_wxCoord",0},
6337 { "_wxPrintQuality","_int",0},
6338 { "_wxPrintQuality","_signed_int",0},
6339 { "_wxPrintQuality","_unsigned_int",0},
6340 { "_wxPrintQuality","_wxWindowID",0},
6341 { "_wxPrintQuality","_uint",0},
6342 { "_wxPrintQuality","_EBool",0},
6343 { "_wxPrintQuality","_size_t",0},
6344 { "_wxPrintQuality","_time_t",0},
6345 { "_byte","_unsigned_char",0},
6346 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6347 { "_long","_unsigned_long",0},
6348 { "_long","_signed_long",0},
6349 { "_size_t","_wxCoord",0},
6350 { "_size_t","_wxPrintQuality",0},
6351 { "_size_t","_time_t",0},
6352 { "_size_t","_unsigned_int",0},
6353 { "_size_t","_int",0},
6354 { "_size_t","_wxWindowID",0},
6355 { "_size_t","_uint",0},
6356 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6357 { "_uint","_wxCoord",0},
6358 { "_uint","_wxPrintQuality",0},
6359 { "_uint","_time_t",0},
6360 { "_uint","_size_t",0},
6361 { "_uint","_unsigned_int",0},
6362 { "_uint","_int",0},
6363 { "_uint","_wxWindowID",0},
6364 { "_wxChar","_char",0},
6365 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6366 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6367 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6368 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6369 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6370 { "_char","_wxChar",0},
6371 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6372 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6373 { "_EBool","_wxCoord",0},
6374 { "_EBool","_wxPrintQuality",0},
6375 { "_EBool","_signed_int",0},
6376 { "_EBool","_int",0},
6377 { "_EBool","_wxWindowID",0},
6378 { "_unsigned_long","_long",0},
6379 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6380 { "_signed_int","_wxCoord",0},
6381 { "_signed_int","_wxPrintQuality",0},
6382 { "_signed_int","_EBool",0},
6383 { "_signed_int","_wxWindowID",0},
6384 { "_signed_int","_int",0},
6385 { "_WXTYPE","_wxDateTime_t",0},
6386 { "_WXTYPE","_short",0},
6387 { "_WXTYPE","_signed_short",0},
6388 { "_WXTYPE","_unsigned_short",0},
6389 { "_unsigned_short","_wxDateTime_t",0},
6390 { "_unsigned_short","_WXTYPE",0},
6391 { "_unsigned_short","_short",0},
6392 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6393 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6394 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6395 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6396 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6397 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6398 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6399 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6400 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6401 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6402 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6403 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6404 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6405 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6406 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6407 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6408 { "_signed_short","_WXTYPE",0},
6409 { "_signed_short","_short",0},
6410 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6411 { "_unsigned_char","_byte",0},
6412 { "_unsigned_int","_wxCoord",0},
6413 { "_unsigned_int","_wxPrintQuality",0},
6414 { "_unsigned_int","_time_t",0},
6415 { "_unsigned_int","_size_t",0},
6416 { "_unsigned_int","_uint",0},
6417 { "_unsigned_int","_wxWindowID",0},
6418 { "_unsigned_int","_int",0},
6419 { "_short","_wxDateTime_t",0},
6420 { "_short","_WXTYPE",0},
6421 { "_short","_unsigned_short",0},
6422 { "_short","_signed_short",0},
6423 { "_wxWindowID","_wxCoord",0},
6424 { "_wxWindowID","_wxPrintQuality",0},
6425 { "_wxWindowID","_time_t",0},
6426 { "_wxWindowID","_size_t",0},
6427 { "_wxWindowID","_EBool",0},
6428 { "_wxWindowID","_uint",0},
6429 { "_wxWindowID","_int",0},
6430 { "_wxWindowID","_signed_int",0},
6431 { "_wxWindowID","_unsigned_int",0},
6432 { "_int","_wxCoord",0},
6433 { "_int","_wxPrintQuality",0},
6434 { "_int","_time_t",0},
6435 { "_int","_size_t",0},
6436 { "_int","_EBool",0},
6437 { "_int","_uint",0},
6438 { "_int","_wxWindowID",0},
6439 { "_int","_unsigned_int",0},
6440 { "_int","_signed_int",0},
6441 { "_wxDateTime_t","_unsigned_short",0},
6442 { "_wxDateTime_t","_short",0},
6443 { "_wxDateTime_t","_WXTYPE",0},
6444 { "_time_t","_wxCoord",0},
6445 { "_time_t","_wxPrintQuality",0},
6446 { "_time_t","_unsigned_int",0},
6447 { "_time_t","_int",0},
6448 { "_time_t","_wxWindowID",0},
6449 { "_time_t","_uint",0},
6450 { "_time_t","_size_t",0},
6451 { "_wxCoord","_int",0},
6452 { "_wxCoord","_signed_int",0},
6453 { "_wxCoord","_unsigned_int",0},
6454 { "_wxCoord","_wxWindowID",0},
6455 { "_wxCoord","_uint",0},
6456 { "_wxCoord","_EBool",0},
6457 { "_wxCoord","_size_t",0},
6458 { "_wxCoord","_time_t",0},
6459 { "_wxCoord","_wxPrintQuality",0},
6460 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6461 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6462 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6465 static PyObject
*SWIG_globals
;
6469 SWIGEXPORT(void) inithtmlc() {
6471 SWIG_globals
= SWIG_newvarlink();
6472 m
= Py_InitModule("htmlc", htmlcMethods
);
6473 d
= PyModule_GetDict(m
);
6474 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6475 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6476 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6477 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6478 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6479 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6480 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6481 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6482 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6483 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6484 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6485 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6486 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6487 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6488 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6489 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6490 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6491 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6492 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6493 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6494 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6495 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6496 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6497 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6498 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6499 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6500 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6501 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6502 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6503 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6508 wxClassInfo::CleanUpClasses();
6509 wxClassInfo::InitializeClasses();
6511 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6512 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6513 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6516 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6517 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);