2 * FILE : src/gtk/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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("(iO)", type
, wx2PyString(url
)));
256 if (PyString_Check(ro
)
257 #if PYTHON_API_VERSION >= 1009
258 || PyUnicode_Check(ro
)
261 *redirect
= Py2wxString(ro
);
262 rval
= wxHTML_REDIRECT
;
265 PyObject
* num
= PyNumber_Int(ro
);
266 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
271 wxPyEndBlockThreads();
273 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
279 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
280 wxHtmlWindow::AddFilter(filter
);
283 extern "C" SWIGEXPORT(void) inithtmlhelpc();
287 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
288 PyObject
* _resultobj
;
290 PyObject
* _obj0
= 0;
291 char *_kwnames
[] = { "tagHandlerClass", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
301 wxHtmlWinParser_AddTagHandler(_arg0
);
303 wxPyEndAllowThreads(__tstate
);
304 if (PyErr_Occurred()) return NULL
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxHtmlFilter
* _arg0
;
313 PyObject
* _argo0
= 0;
314 char *_kwnames
[] = { "filter", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
328 wxHtmlWindow_AddFilter(_arg0
);
330 wxPyEndAllowThreads(__tstate
);
331 if (PyErr_Occurred()) return NULL
;
332 } Py_INCREF(Py_None
);
333 _resultobj
= Py_None
;
337 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
340 src
= (wxHtmlLinkInfo
*) ptr
;
341 dest
= (wxObject
*) src
;
342 return (void *) dest
;
345 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
346 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
348 wxHtmlLinkInfo
* _result
;
350 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
351 PyObject
* _obj0
= 0;
352 PyObject
* _obj1
= 0;
353 char *_kwnames
[] = { "href","target", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
360 _arg0
= wxString_in_helper(_obj0
);
366 _arg1
= wxString_in_helper(_obj1
);
371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
372 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
374 wxPyEndAllowThreads(__tstate
);
375 if (PyErr_Occurred()) return NULL
;
377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
378 _resultobj
= Py_BuildValue("s",_ptemp
);
381 _resultobj
= Py_None
;
394 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
395 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxHtmlLinkInfo
* _arg0
;
399 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
420 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
422 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
431 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
432 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
435 wxHtmlLinkInfo
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
457 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
468 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
469 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
471 wxMouseEvent
* _result
;
472 wxHtmlLinkInfo
* _arg0
;
473 PyObject
* _argo0
= 0;
474 char *_kwnames
[] = { "self", NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
488 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
490 wxPyEndAllowThreads(__tstate
);
491 if (PyErr_Occurred()) return NULL
;
492 }{ _resultobj
= wxPyMake_wxObject(_result
); }
496 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
497 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
499 wxHtmlCell
* _result
;
500 wxHtmlLinkInfo
* _arg0
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self", NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
517 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
519 wxPyEndAllowThreads(__tstate
);
520 if (PyErr_Occurred()) return NULL
;
522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
523 _resultobj
= Py_BuildValue("s",_ptemp
);
526 _resultobj
= Py_None
;
531 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
532 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
534 wxHtmlLinkInfo
* _arg0
;
535 wxMouseEvent
* _arg1
;
536 PyObject
* _argo0
= 0;
537 PyObject
* _argo1
= 0;
538 char *_kwnames
[] = { "self","e", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
559 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
569 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
571 wxHtmlLinkInfo
* _arg0
;
573 PyObject
* _argo0
= 0;
574 PyObject
* _argo1
= 0;
575 char *_kwnames
[] = { "self","e", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) return NULL
;
600 } Py_INCREF(Py_None
);
601 _resultobj
= Py_None
;
605 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
608 src
= (wxHtmlTag
*) ptr
;
609 dest
= (wxObject
*) src
;
610 return (void *) dest
;
613 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
614 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
618 PyObject
* _argo0
= 0;
619 char *_kwnames
[] = { "self", NULL
};
622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
633 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
635 wxPyEndAllowThreads(__tstate
);
636 if (PyErr_Occurred()) return NULL
;
639 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
641 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
650 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
651 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
656 PyObject
* _argo0
= 0;
657 PyObject
* _obj1
= 0;
658 char *_kwnames
[] = { "self","par", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
671 _arg1
= wxString_in_helper(_obj1
);
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) return NULL
;
681 } _resultobj
= Py_BuildValue("i",_result
);
689 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
690 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
695 int _arg2
= (int ) FALSE
;
696 PyObject
* _argo0
= 0;
697 PyObject
* _obj1
= 0;
698 char *_kwnames
[] = { "self","par","with_commas", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
711 _arg1
= wxString_in_helper(_obj1
);
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
723 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
725 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
738 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
739 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
740 PyObject
* _resultobj
;
743 PyObject
* _argo0
= 0;
744 char *_kwnames
[] = { "self", NULL
};
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
764 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
775 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
776 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
780 PyObject
* _argo0
= 0;
781 char *_kwnames
[] = { "self", NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) return NULL
;
799 } _resultobj
= Py_BuildValue("i",_result
);
803 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
804 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
831 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
832 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
836 PyObject
* _argo0
= 0;
837 char *_kwnames
[] = { "self", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) return NULL
;
855 } _resultobj
= Py_BuildValue("i",_result
);
859 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
860 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
864 PyObject
* _argo0
= 0;
865 char *_kwnames
[] = { "self", NULL
};
868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
879 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
881 wxPyEndAllowThreads(__tstate
);
882 if (PyErr_Occurred()) return NULL
;
883 } _resultobj
= Py_BuildValue("i",_result
);
887 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
890 src
= (wxHtmlParser
*) ptr
;
891 dest
= (wxObject
*) src
;
892 return (void *) dest
;
895 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
896 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
898 wxHtmlParser
* _arg0
;
899 wxFileSystem
* _arg1
;
900 PyObject
* _argo0
= 0;
901 PyObject
* _argo1
= 0;
902 char *_kwnames
[] = { "self","fs", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 wxHtmlParser_SetFS(_arg0
,_arg1
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
932 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
933 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
935 wxFileSystem
* _result
;
936 wxHtmlParser
* _arg0
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 }{ _resultobj
= wxPyMake_wxObject(_result
); }
960 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
961 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
964 wxHtmlParser
* _arg0
;
966 PyObject
* _argo0
= 0;
967 PyObject
* _obj1
= 0;
968 char *_kwnames
[] = { "self","source", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
981 _arg1
= wxString_in_helper(_obj1
);
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) return NULL
;
991 }{ _resultobj
= wxPyMake_wxObject(_result
); }
999 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1000 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1002 wxHtmlParser
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 PyObject
* _obj1
= 0;
1006 char *_kwnames
[] = { "self","source", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1019 _arg1
= wxString_in_helper(_obj1
);
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 } Py_INCREF(Py_None
);
1030 _resultobj
= Py_None
;
1038 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1039 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1041 wxHtmlParser
* _arg0
;
1042 PyObject
* _argo0
= 0;
1043 char *_kwnames
[] = { "self", NULL
};
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 wxHtmlParser_DoneParser(_arg0
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1067 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1069 wxHtmlParser
* _arg0
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1087 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1089 wxPyEndAllowThreads(__tstate
);
1090 if (PyErr_Occurred()) return NULL
;
1091 } Py_INCREF(Py_None
);
1092 _resultobj
= Py_None
;
1096 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1097 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1099 wxHtmlParser
* _arg0
;
1100 wxHtmlTagHandler
* _arg1
;
1101 PyObject
* _argo0
= 0;
1102 PyObject
* _argo1
= 0;
1103 char *_kwnames
[] = { "self","handler", NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } Py_INCREF(Py_None
);
1129 _resultobj
= Py_None
;
1133 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1134 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1137 wxHtmlParser
* _arg0
;
1138 PyObject
* _argo0
= 0;
1139 char *_kwnames
[] = { "self", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) return NULL
;
1159 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1161 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1167 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1168 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1170 wxHtmlParser
* _arg0
;
1171 wxHtmlTagHandler
* _arg1
;
1173 PyObject
* _argo0
= 0;
1174 PyObject
* _argo1
= 0;
1175 PyObject
* _obj2
= 0;
1176 char *_kwnames
[] = { "self","handler","tags", NULL
};
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1196 _arg2
= wxString_in_helper(_obj2
);
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) return NULL
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1215 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1216 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1218 wxHtmlParser
* _arg0
;
1219 PyObject
* _argo0
= 0;
1220 char *_kwnames
[] = { "self", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 wxHtmlParser_PopTagHandler(_arg0
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1238 } Py_INCREF(Py_None
);
1239 _resultobj
= Py_None
;
1243 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1244 wxHtmlWinParser
*src
;
1246 src
= (wxHtmlWinParser
*) ptr
;
1247 dest
= (wxHtmlParser
*) src
;
1248 return (void *) dest
;
1251 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1252 wxHtmlWinParser
*src
;
1254 src
= (wxHtmlWinParser
*) ptr
;
1255 dest
= (wxObject
*) src
;
1256 return (void *) dest
;
1259 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1260 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxHtmlWinParser
* _result
;
1263 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1264 PyObject
* _argo0
= 0;
1265 char *_kwnames
[] = { "wnd", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) return NULL
;
1285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1286 _resultobj
= Py_BuildValue("s",_ptemp
);
1289 _resultobj
= Py_None
;
1294 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1295 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1297 wxHtmlWinParser
* _arg0
;
1299 PyObject
* _argo0
= 0;
1300 PyObject
* _argo1
= 0;
1301 char *_kwnames
[] = { "self","dc", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) return NULL
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1331 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1332 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1335 wxHtmlWinParser
* _arg0
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) return NULL
;
1355 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1359 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1360 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1363 wxHtmlWinParser
* _arg0
;
1364 PyObject
* _argo0
= 0;
1365 char *_kwnames
[] = { "self", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) return NULL
;
1383 } _resultobj
= Py_BuildValue("i",_result
);
1387 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1388 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1391 wxHtmlWinParser
* _arg0
;
1392 PyObject
* _argo0
= 0;
1393 char *_kwnames
[] = { "self", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1407 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1409 wxPyEndAllowThreads(__tstate
);
1410 if (PyErr_Occurred()) return NULL
;
1411 } _resultobj
= Py_BuildValue("i",_result
);
1415 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1416 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1418 wxHtmlWindow
* _result
;
1419 wxHtmlWinParser
* _arg0
;
1420 PyObject
* _argo0
= 0;
1421 char *_kwnames
[] = { "self", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) return NULL
;
1439 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1443 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1444 int* temp
= int_LIST_helper(sizes
);
1446 self
->SetFonts(normal_face
, fixed_face
, temp
);
1450 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1452 wxHtmlWinParser
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 PyObject
* _obj1
= 0;
1458 PyObject
* _obj2
= 0;
1459 PyObject
* _obj3
= 0;
1460 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1473 _arg1
= wxString_in_helper(_obj1
);
1478 _arg2
= wxString_in_helper(_obj2
);
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) return NULL
;
1491 } Py_INCREF(Py_None
);
1492 _resultobj
= Py_None
;
1504 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1505 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxHtmlContainerCell
* _result
;
1508 wxHtmlWinParser
* _arg0
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1531 _resultobj
= Py_BuildValue("s",_ptemp
);
1534 _resultobj
= Py_None
;
1539 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1540 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1542 wxHtmlContainerCell
* _result
;
1543 wxHtmlWinParser
* _arg0
;
1544 PyObject
* _argo0
= 0;
1545 char *_kwnames
[] = { "self", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) return NULL
;
1565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1566 _resultobj
= Py_BuildValue("s",_ptemp
);
1569 _resultobj
= Py_None
;
1574 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1575 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1577 wxHtmlContainerCell
* _result
;
1578 wxHtmlWinParser
* _arg0
;
1579 wxHtmlContainerCell
* _arg1
;
1580 PyObject
* _argo0
= 0;
1581 PyObject
* _argo1
= 0;
1582 char *_kwnames
[] = { "self","c", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) return NULL
;
1609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 _resultobj
= Py_None
;
1618 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1619 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1621 wxHtmlContainerCell
* _result
;
1622 wxHtmlWinParser
* _arg0
;
1623 PyObject
* _argo0
= 0;
1624 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1645 _resultobj
= Py_BuildValue("s",_ptemp
);
1648 _resultobj
= Py_None
;
1653 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1654 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 wxHtmlWinParser
* _arg0
;
1658 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) return NULL
;
1677 } _resultobj
= Py_BuildValue("i",_result
);
1681 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1682 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1684 wxHtmlWinParser
* _arg0
;
1686 PyObject
* _argo0
= 0;
1687 char *_kwnames
[] = { "self","s", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) return NULL
;
1705 } Py_INCREF(Py_None
);
1706 _resultobj
= Py_None
;
1710 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1711 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1714 wxHtmlWinParser
* _arg0
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } _resultobj
= Py_BuildValue("i",_result
);
1738 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1739 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 wxHtmlWinParser
* _arg0
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self","x", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1768 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1771 wxHtmlWinParser
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1796 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1798 wxHtmlWinParser
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self","x", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) return NULL
;
1819 } Py_INCREF(Py_None
);
1820 _resultobj
= Py_None
;
1824 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1825 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1828 wxHtmlWinParser
* _arg0
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) return NULL
;
1848 } _resultobj
= Py_BuildValue("i",_result
);
1852 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1853 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1855 wxHtmlWinParser
* _arg0
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self","x", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) return NULL
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1882 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1885 wxHtmlWinParser
* _arg0
;
1886 PyObject
* _argo0
= 0;
1887 char *_kwnames
[] = { "self", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } _resultobj
= Py_BuildValue("i",_result
);
1909 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1910 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxHtmlWinParser
* _arg0
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self","x", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1938 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1939 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 wxHtmlWinParser
* _arg0
;
1943 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } _resultobj
= Py_BuildValue("i",_result
);
1966 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1967 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1969 wxHtmlWinParser
* _arg0
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self","a", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1995 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1996 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
1999 wxHtmlWinParser
* _arg0
;
2000 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2021 _resultobj
= Py_BuildValue("s",_ptemp
);
2025 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2026 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 wxHtmlWinParser
* _arg0
;
2030 PyObject
* _argo0
= 0;
2032 PyObject
* _obj1
= 0;
2033 char *_kwnames
[] = { "self","clr", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2047 if (! wxColour_helper(_obj1
, &_arg1
))
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) return NULL
;
2056 } Py_INCREF(Py_None
);
2057 _resultobj
= Py_None
;
2061 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2062 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 wxHtmlWinParser
* _arg0
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) return NULL
;
2086 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2087 _resultobj
= Py_BuildValue("s",_ptemp
);
2091 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2092 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2094 wxHtmlWinParser
* _arg0
;
2096 PyObject
* _argo0
= 0;
2098 PyObject
* _obj1
= 0;
2099 char *_kwnames
[] = { "self","clr", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2113 if (! wxColour_helper(_obj1
, &_arg1
))
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) return NULL
;
2122 } Py_INCREF(Py_None
);
2123 _resultobj
= Py_None
;
2127 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2128 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2130 wxHtmlWinParser
* _arg0
;
2132 PyObject
* _argo0
= 0;
2133 PyObject
* _obj1
= 0;
2134 char *_kwnames
[] = { "self","link", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2147 _arg1
= wxString_in_helper(_obj1
);
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) return NULL
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2166 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2167 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2170 wxHtmlWinParser
* _arg0
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2193 _resultobj
= Py_BuildValue("s",_ptemp
);
2196 _resultobj
= Py_None
;
2201 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2202 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2204 wxHtmlLinkInfo
* _result
;
2205 wxHtmlWinParser
* _arg0
;
2206 PyObject
* _argo0
= 0;
2207 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2227 _resultobj
= Py_BuildValue("s",_ptemp
);
2231 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2232 wxPyHtmlTagHandler
*src
;
2234 src
= (wxPyHtmlTagHandler
*) ptr
;
2235 dest
= (wxObject
*) src
;
2236 return (void *) dest
;
2239 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2240 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2242 wxPyHtmlTagHandler
* _result
;
2243 char *_kwnames
[] = { NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2257 _resultobj
= Py_BuildValue("s",_ptemp
);
2260 _resultobj
= Py_None
;
2265 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2266 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2268 wxPyHtmlTagHandler
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 PyObject
* _obj1
= 0;
2273 PyObject
* _obj2
= 0;
2274 char *_kwnames
[] = { "self","self","_class", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2298 } Py_INCREF(Py_None
);
2299 _resultobj
= Py_None
;
2303 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2304 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxPyHtmlTagHandler
* _arg0
;
2307 wxHtmlParser
* _arg1
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _argo1
= 0;
2310 char *_kwnames
[] = { "self","parser", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) return NULL
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2341 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2343 wxHtmlParser
* _result
;
2344 wxPyHtmlTagHandler
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) return NULL
;
2366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2367 _resultobj
= Py_BuildValue("s",_ptemp
);
2370 _resultobj
= Py_None
;
2375 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2376 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxPyHtmlTagHandler
* _arg0
;
2380 PyObject
* _argo0
= 0;
2381 PyObject
* _argo1
= 0;
2382 char *_kwnames
[] = { "self","tag", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2407 } Py_INCREF(Py_None
);
2408 _resultobj
= Py_None
;
2412 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2413 wxPyHtmlWinTagHandler
*src
;
2414 wxPyHtmlTagHandler
*dest
;
2415 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2416 dest
= (wxPyHtmlTagHandler
*) src
;
2417 return (void *) dest
;
2420 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2421 wxPyHtmlWinTagHandler
*src
;
2423 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2424 dest
= (wxObject
*) src
;
2425 return (void *) dest
;
2428 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2429 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2431 wxPyHtmlWinTagHandler
* _result
;
2432 char *_kwnames
[] = { NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2446 _resultobj
= Py_BuildValue("s",_ptemp
);
2449 _resultobj
= Py_None
;
2454 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2455 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2457 wxPyHtmlWinTagHandler
* _arg0
;
2460 PyObject
* _argo0
= 0;
2461 PyObject
* _obj1
= 0;
2462 PyObject
* _obj2
= 0;
2463 char *_kwnames
[] = { "self","self","_class", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) return NULL
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2492 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2493 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2495 wxPyHtmlWinTagHandler
* _arg0
;
2496 wxHtmlParser
* _arg1
;
2497 PyObject
* _argo0
= 0;
2498 PyObject
* _argo1
= 0;
2499 char *_kwnames
[] = { "self","parser", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2524 } Py_INCREF(Py_None
);
2525 _resultobj
= Py_None
;
2529 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2530 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2532 wxHtmlWinParser
* _result
;
2533 wxPyHtmlWinTagHandler
* _arg0
;
2534 PyObject
* _argo0
= 0;
2535 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) return NULL
;
2555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2556 _resultobj
= Py_BuildValue("s",_ptemp
);
2559 _resultobj
= Py_None
;
2564 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2565 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2567 wxPyHtmlWinTagHandler
* _arg0
;
2569 PyObject
* _argo0
= 0;
2570 PyObject
* _argo1
= 0;
2571 char *_kwnames
[] = { "self","tag", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2601 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2604 src
= (wxHtmlCell
*) ptr
;
2605 dest
= (wxObject
*) src
;
2606 return (void *) dest
;
2609 #define new_wxHtmlCell() (new wxHtmlCell())
2610 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2612 wxHtmlCell
* _result
;
2613 char *_kwnames
[] = { NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2627 _resultobj
= Py_BuildValue("s",_ptemp
);
2630 _resultobj
= Py_None
;
2635 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2636 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2640 PyObject
* _argo0
= 0;
2641 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2659 } _resultobj
= Py_BuildValue("i",_result
);
2663 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2664 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) return NULL
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2692 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2697 char *_kwnames
[] = { "self", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) return NULL
;
2715 } _resultobj
= Py_BuildValue("i",_result
);
2719 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2720 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2724 PyObject
* _argo0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) return NULL
;
2743 } _resultobj
= Py_BuildValue("i",_result
);
2747 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2748 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2752 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) return NULL
;
2771 } _resultobj
= Py_BuildValue("i",_result
);
2775 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2776 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2778 wxHtmlLinkInfo
* _result
;
2780 int _arg1
= (int ) 0;
2781 int _arg2
= (int ) 0;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self","x","y", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) return NULL
;
2803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2804 _resultobj
= Py_BuildValue("s",_ptemp
);
2807 _resultobj
= Py_None
;
2812 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2813 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2815 wxHtmlCell
* _result
;
2817 PyObject
* _argo0
= 0;
2818 char *_kwnames
[] = { "self", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) return NULL
;
2838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2839 _resultobj
= Py_BuildValue("s",_ptemp
);
2842 _resultobj
= Py_None
;
2847 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2848 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2850 wxHtmlContainerCell
* _result
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) return NULL
;
2873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2874 _resultobj
= Py_BuildValue("s",_ptemp
);
2877 _resultobj
= Py_None
;
2882 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2883 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2886 wxHtmlLinkInfo
* _arg1
;
2887 PyObject
* _argo0
= 0;
2888 PyObject
* _argo1
= 0;
2889 char *_kwnames
[] = { "self","link", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) return NULL
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2920 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2924 PyObject
* _argo0
= 0;
2925 PyObject
* _argo1
= 0;
2926 char *_kwnames
[] = { "self","cell", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 wxHtmlCell_SetNext(_arg0
,_arg1
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) return NULL
;
2951 } Py_INCREF(Py_None
);
2952 _resultobj
= Py_None
;
2956 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2957 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2960 wxHtmlContainerCell
* _arg1
;
2961 PyObject
* _argo0
= 0;
2962 PyObject
* _argo1
= 0;
2963 char *_kwnames
[] = { "self","p", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 wxHtmlCell_SetParent(_arg0
,_arg1
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) return NULL
;
2988 } Py_INCREF(Py_None
);
2989 _resultobj
= Py_None
;
2993 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2994 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self","x","y", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) return NULL
;
3018 } Py_INCREF(Py_None
);
3019 _resultobj
= Py_None
;
3023 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3024 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self","w", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 wxHtmlCell_Layout(_arg0
,_arg1
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3047 } Py_INCREF(Py_None
);
3048 _resultobj
= Py_None
;
3052 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3053 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3061 PyObject
* _argo0
= 0;
3062 PyObject
* _argo1
= 0;
3063 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } Py_INCREF(Py_None
);
3089 _resultobj
= Py_None
;
3093 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3094 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3100 PyObject
* _argo0
= 0;
3101 PyObject
* _argo1
= 0;
3102 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) return NULL
;
3127 } Py_INCREF(Py_None
);
3128 _resultobj
= Py_None
;
3132 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3133 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3135 wxHtmlCell
* _result
;
3139 PyObject
* _argo0
= 0;
3140 PyObject
* _argo2
= 0;
3141 char *_kwnames
[] = { "self","condition","param", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3155 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) return NULL
;
3168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3169 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 _resultobj
= Py_None
;
3177 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3178 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3183 PyObject
* _argo0
= 0;
3184 PyObject
* _argo1
= 0;
3185 char *_kwnames
[] = { "self","pagebreak", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } _resultobj
= Py_BuildValue("i",_result
);
3214 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3215 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
* _resultobj
;
3219 PyObject
* _argo0
= 0;
3221 char *_kwnames
[] = { "self","can", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3233 _arg1
= (bool ) tempbool1
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3246 wxHtmlWordCell
*src
;
3248 src
= (wxHtmlWordCell
*) ptr
;
3249 dest
= (wxHtmlCell
*) src
;
3250 return (void *) dest
;
3253 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3254 wxHtmlWordCell
*src
;
3256 src
= (wxHtmlWordCell
*) ptr
;
3257 dest
= (wxObject
*) src
;
3258 return (void *) dest
;
3261 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3262 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3264 wxHtmlWordCell
* _result
;
3267 PyObject
* _obj0
= 0;
3268 PyObject
* _argo1
= 0;
3269 char *_kwnames
[] = { "word","dc", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3276 _arg0
= wxString_in_helper(_obj0
);
3281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3295 _resultobj
= Py_BuildValue("s",_ptemp
);
3298 _resultobj
= Py_None
;
3307 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3308 wxHtmlContainerCell
*src
;
3310 src
= (wxHtmlContainerCell
*) ptr
;
3311 dest
= (wxHtmlCell
*) src
;
3312 return (void *) dest
;
3315 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3316 wxHtmlContainerCell
*src
;
3318 src
= (wxHtmlContainerCell
*) ptr
;
3319 dest
= (wxObject
*) src
;
3320 return (void *) dest
;
3323 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3324 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3326 wxHtmlContainerCell
* _result
;
3327 wxHtmlContainerCell
* _arg0
;
3328 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "parent", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) return NULL
;
3349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3350 _resultobj
= Py_BuildValue("s",_ptemp
);
3353 _resultobj
= Py_None
;
3358 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3359 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3361 wxHtmlContainerCell
* _arg0
;
3363 PyObject
* _argo0
= 0;
3364 PyObject
* _argo1
= 0;
3365 char *_kwnames
[] = { "self","cell", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) return NULL
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3396 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxHtmlContainerCell
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self","al", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) return NULL
;
3419 } Py_INCREF(Py_None
);
3420 _resultobj
= Py_None
;
3424 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3425 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3428 wxHtmlContainerCell
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3448 } _resultobj
= Py_BuildValue("i",_result
);
3452 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3453 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3455 wxHtmlContainerCell
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","al", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) return NULL
;
3476 } Py_INCREF(Py_None
);
3477 _resultobj
= Py_None
;
3481 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3482 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3485 wxHtmlContainerCell
* _arg0
;
3486 PyObject
* _argo0
= 0;
3487 char *_kwnames
[] = { "self", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) return NULL
;
3505 } _resultobj
= Py_BuildValue("i",_result
);
3509 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3510 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxHtmlContainerCell
* _arg0
;
3515 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self","i","what","units", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } Py_INCREF(Py_None
);
3536 _resultobj
= Py_None
;
3540 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3541 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3544 wxHtmlContainerCell
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","ind", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) return NULL
;
3565 } _resultobj
= Py_BuildValue("i",_result
);
3569 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3570 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3573 wxHtmlContainerCell
* _arg0
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self","ind", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3594 } _resultobj
= Py_BuildValue("i",_result
);
3598 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3599 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3601 wxHtmlContainerCell
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 PyObject
* _argo1
= 0;
3605 char *_kwnames
[] = { "self","tag", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) return NULL
;
3630 } Py_INCREF(Py_None
);
3631 _resultobj
= Py_None
;
3635 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3636 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxHtmlContainerCell
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self","w","units", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } Py_INCREF(Py_None
);
3661 _resultobj
= Py_None
;
3665 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3666 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxHtmlContainerCell
* _arg0
;
3670 PyObject
* _argo0
= 0;
3671 PyObject
* _argo1
= 0;
3672 char *_kwnames
[] = { "self","tag", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3697 } Py_INCREF(Py_None
);
3698 _resultobj
= Py_None
;
3702 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3703 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3705 wxHtmlContainerCell
* _arg0
;
3707 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self","h","align", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3733 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxHtmlContainerCell
* _arg0
;
3737 PyObject
* _argo0
= 0;
3739 PyObject
* _obj1
= 0;
3740 char *_kwnames
[] = { "self","clr", NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3754 if (! wxColour_helper(_obj1
, &_arg1
))
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3763 } Py_INCREF(Py_None
);
3764 _resultobj
= Py_None
;
3768 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3769 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3771 wxHtmlContainerCell
* _arg0
;
3774 PyObject
* _argo0
= 0;
3776 PyObject
* _obj1
= 0;
3778 PyObject
* _obj2
= 0;
3779 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3793 if (! wxColour_helper(_obj1
, &_arg1
))
3798 if (! wxColour_helper(_obj2
, &_arg2
))
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) return NULL
;
3807 } Py_INCREF(Py_None
);
3808 _resultobj
= Py_None
;
3812 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3813 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3815 wxHtmlCell
* _result
;
3816 wxHtmlContainerCell
* _arg0
;
3817 PyObject
* _argo0
= 0;
3818 char *_kwnames
[] = { "self", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3839 _resultobj
= Py_BuildValue("s",_ptemp
);
3842 _resultobj
= Py_None
;
3847 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3848 wxHtmlColourCell
*src
;
3850 src
= (wxHtmlColourCell
*) ptr
;
3851 dest
= (wxHtmlCell
*) src
;
3852 return (void *) dest
;
3855 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3856 wxHtmlColourCell
*src
;
3858 src
= (wxHtmlColourCell
*) ptr
;
3859 dest
= (wxObject
*) src
;
3860 return (void *) dest
;
3863 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3864 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3866 wxHtmlColourCell
* _result
;
3868 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3870 PyObject
* _obj0
= 0;
3871 char *_kwnames
[] = { "clr","flags", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3879 if (! wxColour_helper(_obj0
, &_arg0
))
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) return NULL
;
3889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3890 _resultobj
= Py_BuildValue("s",_ptemp
);
3893 _resultobj
= Py_None
;
3898 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3899 wxHtmlFontCell
*src
;
3901 src
= (wxHtmlFontCell
*) ptr
;
3902 dest
= (wxHtmlCell
*) src
;
3903 return (void *) dest
;
3906 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3907 wxHtmlFontCell
*src
;
3909 src
= (wxHtmlFontCell
*) ptr
;
3910 dest
= (wxObject
*) src
;
3911 return (void *) dest
;
3914 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3915 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3917 wxHtmlFontCell
* _result
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "font", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3941 _resultobj
= Py_BuildValue("s",_ptemp
);
3944 _resultobj
= Py_None
;
3949 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3950 wxHtmlWidgetCell
*src
;
3952 src
= (wxHtmlWidgetCell
*) ptr
;
3953 dest
= (wxHtmlCell
*) src
;
3954 return (void *) dest
;
3957 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3958 wxHtmlWidgetCell
*src
;
3960 src
= (wxHtmlWidgetCell
*) ptr
;
3961 dest
= (wxObject
*) src
;
3962 return (void *) dest
;
3965 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3966 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3968 wxHtmlWidgetCell
* _result
;
3970 int _arg1
= (int ) 0;
3971 PyObject
* _argo0
= 0;
3972 char *_kwnames
[] = { "wnd","w", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) return NULL
;
3992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3993 _resultobj
= Py_BuildValue("s",_ptemp
);
3996 _resultobj
= Py_None
;
4001 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4002 wxPyHtmlWindow
*src
;
4003 wxScrolledWindow
*dest
;
4004 src
= (wxPyHtmlWindow
*) ptr
;
4005 dest
= (wxScrolledWindow
*) src
;
4006 return (void *) dest
;
4009 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4010 wxPyHtmlWindow
*src
;
4012 src
= (wxPyHtmlWindow
*) ptr
;
4013 dest
= (wxPanel
*) src
;
4014 return (void *) dest
;
4017 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4018 wxPyHtmlWindow
*src
;
4020 src
= (wxPyHtmlWindow
*) ptr
;
4021 dest
= (wxWindow
*) src
;
4022 return (void *) dest
;
4025 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4026 wxPyHtmlWindow
*src
;
4028 src
= (wxPyHtmlWindow
*) ptr
;
4029 dest
= (wxEvtHandler
*) src
;
4030 return (void *) dest
;
4033 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4034 wxPyHtmlWindow
*src
;
4036 src
= (wxPyHtmlWindow
*) ptr
;
4037 dest
= (wxObject
*) src
;
4038 return (void *) dest
;
4041 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4042 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxPyHtmlWindow
* _result
;
4046 int _arg1
= (int ) -1;
4047 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4048 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4049 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4050 char * _arg5
= (char *) "htmlWindow";
4051 PyObject
* _argo0
= 0;
4053 PyObject
* _obj2
= 0;
4055 PyObject
* _obj3
= 0;
4056 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4072 if (! wxPoint_helper(_obj2
, &_arg2
))
4078 if (! wxSize_helper(_obj3
, &_arg3
))
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4089 _resultobj
= Py_BuildValue("s",_ptemp
);
4092 _resultobj
= Py_None
;
4097 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4098 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxPyHtmlWindow
* _result
;
4101 char *_kwnames
[] = { NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4118 _resultobj
= Py_None
;
4123 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4124 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4127 wxPyHtmlWindow
* _arg0
;
4129 int _arg2
= (int ) -1;
4130 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4131 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4132 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4133 char * _arg6
= (char *) "htmlWindow";
4134 PyObject
* _argo0
= 0;
4135 PyObject
* _argo1
= 0;
4137 PyObject
* _obj3
= 0;
4139 PyObject
* _obj4
= 0;
4140 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4162 if (! wxPoint_helper(_obj3
, &_arg3
))
4168 if (! wxSize_helper(_obj4
, &_arg4
))
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) return NULL
;
4177 } _resultobj
= Py_BuildValue("i",_result
);
4181 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4182 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4184 wxPyHtmlWindow
* _arg0
;
4187 PyObject
* _argo0
= 0;
4188 PyObject
* _obj1
= 0;
4189 PyObject
* _obj2
= 0;
4190 char *_kwnames
[] = { "self","self","_class", NULL
};
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4214 } Py_INCREF(Py_None
);
4215 _resultobj
= Py_None
;
4219 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4220 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4223 wxPyHtmlWindow
* _arg0
;
4225 PyObject
* _argo0
= 0;
4226 PyObject
* _obj1
= 0;
4227 char *_kwnames
[] = { "self","source", NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4240 _arg1
= wxString_in_helper(_obj1
);
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) return NULL
;
4250 } _resultobj
= Py_BuildValue("i",_result
);
4258 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4259 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4262 wxPyHtmlWindow
* _arg0
;
4264 PyObject
* _argo0
= 0;
4265 PyObject
* _obj1
= 0;
4266 char *_kwnames
[] = { "self","location", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4279 _arg1
= wxString_in_helper(_obj1
);
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) return NULL
;
4289 } _resultobj
= Py_BuildValue("i",_result
);
4297 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4298 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4301 wxPyHtmlWindow
* _arg0
;
4303 PyObject
* _argo0
= 0;
4304 PyObject
* _obj1
= 0;
4305 char *_kwnames
[] = { "self","source", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4318 _arg1
= wxString_in_helper(_obj1
);
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } _resultobj
= Py_BuildValue("i",_result
);
4336 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4337 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4340 wxPyHtmlWindow
* _arg0
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4362 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4364 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4373 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4374 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4377 wxPyHtmlWindow
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) return NULL
;
4399 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4401 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4410 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4411 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4414 wxPyHtmlWindow
* _arg0
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) return NULL
;
4436 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4447 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4448 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
* _resultobj
;
4450 wxPyHtmlWindow
* _arg0
;
4453 PyObject
* _argo0
= 0;
4454 PyObject
* _argo1
= 0;
4455 char *_kwnames
[] = { "self","frame","format", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4468 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4486 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4489 wxPyHtmlWindow
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4509 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4513 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4514 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4516 wxPyHtmlWindow
* _arg0
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self","bar", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) return NULL
;
4537 } Py_INCREF(Py_None
);
4538 _resultobj
= Py_None
;
4542 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4543 int* temp
= int_LIST_helper(sizes
);
4545 self
->SetFonts(normal_face
, fixed_face
, temp
);
4549 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4551 wxPyHtmlWindow
* _arg0
;
4555 PyObject
* _argo0
= 0;
4556 PyObject
* _obj1
= 0;
4557 PyObject
* _obj2
= 0;
4558 PyObject
* _obj3
= 0;
4559 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4572 _arg1
= wxString_in_helper(_obj1
);
4577 _arg2
= wxString_in_helper(_obj2
);
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) return NULL
;
4590 } Py_INCREF(Py_None
);
4591 _resultobj
= Py_None
;
4603 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4604 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4606 wxPyHtmlWindow
* _arg0
;
4608 PyObject
* _argo0
= 0;
4609 PyObject
* _obj1
= 0;
4610 char *_kwnames
[] = { "self","title", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4623 _arg1
= wxString_in_helper(_obj1
);
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } Py_INCREF(Py_None
);
4634 _resultobj
= Py_None
;
4642 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4643 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4645 wxPyHtmlWindow
* _arg0
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self","b", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) return NULL
;
4666 } Py_INCREF(Py_None
);
4667 _resultobj
= Py_None
;
4671 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4672 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4674 wxPyHtmlWindow
* _arg0
;
4675 wxConfigBase
* _arg1
;
4676 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4677 PyObject
* _argo0
= 0;
4678 PyObject
* _argo1
= 0;
4679 PyObject
* _obj2
= 0;
4680 char *_kwnames
[] = { "self","cfg","path", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4701 _arg2
= wxString_in_helper(_obj2
);
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } Py_INCREF(Py_None
);
4712 _resultobj
= Py_None
;
4720 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4721 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 wxPyHtmlWindow
* _arg0
;
4724 wxConfigBase
* _arg1
;
4725 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4726 PyObject
* _argo0
= 0;
4727 PyObject
* _argo1
= 0;
4728 PyObject
* _obj2
= 0;
4729 char *_kwnames
[] = { "self","cfg","path", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4750 _arg2
= wxString_in_helper(_obj2
);
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4760 } Py_INCREF(Py_None
);
4761 _resultobj
= Py_None
;
4769 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4770 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4773 wxPyHtmlWindow
* _arg0
;
4774 PyObject
* _argo0
= 0;
4775 char *_kwnames
[] = { "self", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4793 } _resultobj
= Py_BuildValue("i",_result
);
4797 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4798 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
* _resultobj
;
4801 wxPyHtmlWindow
* _arg0
;
4802 PyObject
* _argo0
= 0;
4803 char *_kwnames
[] = { "self", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) return NULL
;
4821 } _resultobj
= Py_BuildValue("i",_result
);
4825 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4826 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4829 wxPyHtmlWindow
* _arg0
;
4830 PyObject
* _argo0
= 0;
4831 char *_kwnames
[] = { "self", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) return NULL
;
4849 } _resultobj
= Py_BuildValue("i",_result
);
4853 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4854 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
* _resultobj
;
4857 wxPyHtmlWindow
* _arg0
;
4858 PyObject
* _argo0
= 0;
4859 char *_kwnames
[] = { "self", NULL
};
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) return NULL
;
4877 } _resultobj
= Py_BuildValue("i",_result
);
4881 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4882 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4884 wxPyHtmlWindow
* _arg0
;
4885 PyObject
* _argo0
= 0;
4886 char *_kwnames
[] = { "self", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 wxHtmlWindow_HistoryClear(_arg0
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) return NULL
;
4904 } Py_INCREF(Py_None
);
4905 _resultobj
= Py_None
;
4909 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4910 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
* _resultobj
;
4912 wxHtmlContainerCell
* _result
;
4913 wxPyHtmlWindow
* _arg0
;
4914 PyObject
* _argo0
= 0;
4915 char *_kwnames
[] = { "self", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4936 _resultobj
= Py_BuildValue("s",_ptemp
);
4939 _resultobj
= Py_None
;
4944 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4945 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4947 wxHtmlWinParser
* _result
;
4948 wxPyHtmlWindow
* _arg0
;
4949 PyObject
* _argo0
= 0;
4950 char *_kwnames
[] = { "self", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) return NULL
;
4970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4971 _resultobj
= Py_BuildValue("s",_ptemp
);
4974 _resultobj
= Py_None
;
4979 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
4980 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4983 wxPyHtmlWindow
* _arg0
;
4985 PyObject
* _argo0
= 0;
4986 PyObject
* _obj1
= 0;
4987 char *_kwnames
[] = { "self","anchor", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5000 _arg1
= wxString_in_helper(_obj1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } _resultobj
= Py_BuildValue("i",_result
);
5018 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5019 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 wxPyHtmlWindow
* _arg0
;
5024 PyObject
* _argo0
= 0;
5025 PyObject
* _obj1
= 0;
5026 char *_kwnames
[] = { "self","anchor", NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5039 _arg1
= wxString_in_helper(_obj1
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) return NULL
;
5049 } _resultobj
= Py_BuildValue("i",_result
);
5057 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5058 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5060 wxPyHtmlWindow
* _arg0
;
5061 wxHtmlLinkInfo
* _arg1
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo1
= 0;
5064 char *_kwnames
[] = { "self","link", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5095 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5097 wxPyHtmlWindow
* _arg0
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self","title", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5118 } Py_INCREF(Py_None
);
5119 _resultobj
= Py_None
;
5123 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5124 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5126 wxPyHtmlWindow
* _arg0
;
5130 PyObject
* _argo0
= 0;
5131 PyObject
* _argo1
= 0;
5132 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } Py_INCREF(Py_None
);
5158 _resultobj
= Py_None
;
5162 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5163 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5165 wxPyHtmlWindow
* _arg0
;
5169 wxMouseEvent
* _arg4
;
5170 PyObject
* _argo0
= 0;
5171 PyObject
* _argo1
= 0;
5172 PyObject
* _argo4
= 0;
5173 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5193 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) return NULL
;
5205 } Py_INCREF(Py_None
);
5206 _resultobj
= Py_None
;
5210 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5211 wxHtmlDCRenderer
*src
;
5213 src
= (wxHtmlDCRenderer
*) ptr
;
5214 dest
= (wxObject
*) src
;
5215 return (void *) dest
;
5218 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5219 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5221 wxHtmlDCRenderer
* _result
;
5222 char *_kwnames
[] = { NULL
};
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) return NULL
;
5235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5236 _resultobj
= Py_BuildValue("s",_ptemp
);
5239 _resultobj
= Py_None
;
5244 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5245 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5247 wxHtmlDCRenderer
* _arg0
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 delete_wxHtmlDCRenderer(_arg0
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) return NULL
;
5267 } Py_INCREF(Py_None
);
5268 _resultobj
= Py_None
;
5272 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5273 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxHtmlDCRenderer
* _arg0
;
5278 PyObject
* _argo0
= 0;
5279 PyObject
* _argo1
= 0;
5280 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) return NULL
;
5305 } Py_INCREF(Py_None
);
5306 _resultobj
= Py_None
;
5310 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5311 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5313 wxHtmlDCRenderer
* _arg0
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self","width","height", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5335 } Py_INCREF(Py_None
);
5336 _resultobj
= Py_None
;
5340 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5341 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 wxHtmlDCRenderer
* _arg0
;
5345 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5346 bool _arg3
= (bool ) TRUE
;
5347 PyObject
* _argo0
= 0;
5348 PyObject
* _obj1
= 0;
5349 PyObject
* _obj2
= 0;
5350 int tempbool3
= (int) TRUE
;
5351 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5364 _arg1
= wxString_in_helper(_obj1
);
5370 _arg2
= wxString_in_helper(_obj2
);
5374 _arg3
= (bool ) tempbool3
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) return NULL
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5394 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5395 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5398 wxHtmlDCRenderer
* _arg0
;
5401 int _arg3
= (int ) 0;
5402 int _arg4
= (int ) FALSE
;
5403 PyObject
* _argo0
= 0;
5404 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5422 } _resultobj
= Py_BuildValue("i",_result
);
5426 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5427 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5430 wxHtmlDCRenderer
* _arg0
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 } _resultobj
= Py_BuildValue("i",_result
);
5454 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5455 wxHtmlPrintout
*src
;
5457 src
= (wxHtmlPrintout
*) ptr
;
5458 dest
= (wxPyPrintout
*) src
;
5459 return (void *) dest
;
5462 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5463 wxHtmlPrintout
*src
;
5465 src
= (wxHtmlPrintout
*) ptr
;
5466 dest
= (wxObject
*) src
;
5467 return (void *) dest
;
5470 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5471 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5473 wxHtmlPrintout
* _result
;
5474 char * _arg0
= (char *) "Printout";
5475 char *_kwnames
[] = { "title", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) return NULL
;
5488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5489 _resultobj
= Py_BuildValue("s",_ptemp
);
5492 _resultobj
= Py_None
;
5497 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5498 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5500 wxHtmlPrintout
* _arg0
;
5502 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5503 bool _arg3
= (bool ) TRUE
;
5504 PyObject
* _argo0
= 0;
5505 PyObject
* _obj1
= 0;
5506 PyObject
* _obj2
= 0;
5507 int tempbool3
= (int) TRUE
;
5508 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5521 _arg1
= wxString_in_helper(_obj1
);
5527 _arg2
= wxString_in_helper(_obj2
);
5531 _arg3
= (bool ) tempbool3
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) return NULL
;
5538 } Py_INCREF(Py_None
);
5539 _resultobj
= Py_None
;
5551 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5552 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5554 wxHtmlPrintout
* _arg0
;
5556 PyObject
* _argo0
= 0;
5557 PyObject
* _obj1
= 0;
5558 char *_kwnames
[] = { "self","htmlfile", NULL
};
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5571 _arg1
= wxString_in_helper(_obj1
);
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) return NULL
;
5581 } Py_INCREF(Py_None
);
5582 _resultobj
= Py_None
;
5590 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5591 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5593 wxHtmlPrintout
* _arg0
;
5595 int _arg2
= (int ) (wxPAGE_ALL
);
5596 PyObject
* _argo0
= 0;
5597 PyObject
* _obj1
= 0;
5598 char *_kwnames
[] = { "self","header","pg", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5611 _arg1
= wxString_in_helper(_obj1
);
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) return NULL
;
5621 } Py_INCREF(Py_None
);
5622 _resultobj
= Py_None
;
5630 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5631 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5633 wxHtmlPrintout
* _arg0
;
5635 int _arg2
= (int ) (wxPAGE_ALL
);
5636 PyObject
* _argo0
= 0;
5637 PyObject
* _obj1
= 0;
5638 char *_kwnames
[] = { "self","footer","pg", NULL
};
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5651 _arg1
= wxString_in_helper(_obj1
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5670 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5671 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5673 wxHtmlPrintout
* _arg0
;
5674 float _arg1
= (float ) 25.2;
5675 float _arg2
= (float ) 25.2;
5676 float _arg3
= (float ) 25.2;
5677 float _arg4
= (float ) 25.2;
5678 float _arg5
= (float ) 5;
5679 PyObject
* _argo0
= 0;
5680 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) return NULL
;
5698 } Py_INCREF(Py_None
);
5699 _resultobj
= Py_None
;
5703 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5704 wxHtmlEasyPrinting
*src
;
5706 src
= (wxHtmlEasyPrinting
*) ptr
;
5707 dest
= (wxObject
*) src
;
5708 return (void *) dest
;
5711 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5712 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5714 wxHtmlEasyPrinting
* _result
;
5715 char * _arg0
= (char *) "Printing";
5716 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5717 PyObject
* _argo1
= 0;
5718 char *_kwnames
[] = { "name","parent_frame", NULL
};
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) return NULL
;
5738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5739 _resultobj
= Py_BuildValue("s",_ptemp
);
5742 _resultobj
= Py_None
;
5747 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5748 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxHtmlEasyPrinting
* _arg0
;
5751 PyObject
* _argo0
= 0;
5752 char *_kwnames
[] = { "self", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 delete_wxHtmlEasyPrinting(_arg0
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) return NULL
;
5770 } Py_INCREF(Py_None
);
5771 _resultobj
= Py_None
;
5775 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5776 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
* _resultobj
;
5778 wxHtmlEasyPrinting
* _arg0
;
5780 PyObject
* _argo0
= 0;
5781 PyObject
* _obj1
= 0;
5782 char *_kwnames
[] = { "self","htmlfile", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5795 _arg1
= wxString_in_helper(_obj1
);
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) return NULL
;
5805 } Py_INCREF(Py_None
);
5806 _resultobj
= Py_None
;
5814 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5815 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5817 wxHtmlEasyPrinting
* _arg0
;
5819 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5820 PyObject
* _argo0
= 0;
5821 PyObject
* _obj1
= 0;
5822 PyObject
* _obj2
= 0;
5823 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5836 _arg1
= wxString_in_helper(_obj1
);
5842 _arg2
= wxString_in_helper(_obj2
);
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) return NULL
;
5852 } Py_INCREF(Py_None
);
5853 _resultobj
= Py_None
;
5865 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5866 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
* _resultobj
;
5868 wxHtmlEasyPrinting
* _arg0
;
5870 PyObject
* _argo0
= 0;
5871 PyObject
* _obj1
= 0;
5872 char *_kwnames
[] = { "self","htmlfile", NULL
};
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5885 _arg1
= wxString_in_helper(_obj1
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5895 } Py_INCREF(Py_None
);
5896 _resultobj
= Py_None
;
5904 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5905 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxHtmlEasyPrinting
* _arg0
;
5909 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5910 PyObject
* _argo0
= 0;
5911 PyObject
* _obj1
= 0;
5912 PyObject
* _obj2
= 0;
5913 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5926 _arg1
= wxString_in_helper(_obj1
);
5932 _arg2
= wxString_in_helper(_obj2
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) return NULL
;
5942 } Py_INCREF(Py_None
);
5943 _resultobj
= Py_None
;
5955 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5956 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxHtmlEasyPrinting
* _arg0
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5978 } Py_INCREF(Py_None
);
5979 _resultobj
= Py_None
;
5983 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5984 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5986 wxHtmlEasyPrinting
* _arg0
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 wxHtmlEasyPrinting_PageSetup(_arg0
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) return NULL
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6011 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6012 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6014 wxHtmlEasyPrinting
* _arg0
;
6016 int _arg2
= (int ) (wxPAGE_ALL
);
6017 PyObject
* _argo0
= 0;
6018 PyObject
* _obj1
= 0;
6019 char *_kwnames
[] = { "self","header","pg", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6032 _arg1
= wxString_in_helper(_obj1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) return NULL
;
6042 } Py_INCREF(Py_None
);
6043 _resultobj
= Py_None
;
6051 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6052 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6054 wxHtmlEasyPrinting
* _arg0
;
6056 int _arg2
= (int ) (wxPAGE_ALL
);
6057 PyObject
* _argo0
= 0;
6058 PyObject
* _obj1
= 0;
6059 char *_kwnames
[] = { "self","footer","pg", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6072 _arg1
= wxString_in_helper(_obj1
);
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6082 } Py_INCREF(Py_None
);
6083 _resultobj
= Py_None
;
6091 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6092 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
* _resultobj
;
6094 wxPrintData
* _result
;
6095 wxHtmlEasyPrinting
* _arg0
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) return NULL
;
6117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6118 _resultobj
= Py_BuildValue("s",_ptemp
);
6121 _resultobj
= Py_None
;
6126 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6127 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
* _resultobj
;
6129 wxPageSetupDialogData
* _result
;
6130 wxHtmlEasyPrinting
* _arg0
;
6131 PyObject
* _argo0
= 0;
6132 char *_kwnames
[] = { "self", NULL
};
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) return NULL
;
6152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6153 _resultobj
= Py_BuildValue("s",_ptemp
);
6156 _resultobj
= Py_None
;
6161 static PyMethodDef htmlcMethods
[] = {
6162 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6330 * This table is used by the pointer type-checker
6332 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6333 { "_signed_long","_long",0},
6334 { "_wxPrintQuality","_wxCoord",0},
6335 { "_wxPrintQuality","_int",0},
6336 { "_wxPrintQuality","_signed_int",0},
6337 { "_wxPrintQuality","_unsigned_int",0},
6338 { "_wxPrintQuality","_wxWindowID",0},
6339 { "_wxPrintQuality","_uint",0},
6340 { "_wxPrintQuality","_EBool",0},
6341 { "_wxPrintQuality","_size_t",0},
6342 { "_wxPrintQuality","_time_t",0},
6343 { "_byte","_unsigned_char",0},
6344 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6345 { "_long","_unsigned_long",0},
6346 { "_long","_signed_long",0},
6347 { "_size_t","_wxCoord",0},
6348 { "_size_t","_wxPrintQuality",0},
6349 { "_size_t","_time_t",0},
6350 { "_size_t","_unsigned_int",0},
6351 { "_size_t","_int",0},
6352 { "_size_t","_wxWindowID",0},
6353 { "_size_t","_uint",0},
6354 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6355 { "_uint","_wxCoord",0},
6356 { "_uint","_wxPrintQuality",0},
6357 { "_uint","_time_t",0},
6358 { "_uint","_size_t",0},
6359 { "_uint","_unsigned_int",0},
6360 { "_uint","_int",0},
6361 { "_uint","_wxWindowID",0},
6362 { "_wxChar","_char",0},
6363 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6364 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6365 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6366 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6367 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6368 { "_char","_wxChar",0},
6369 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6370 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6371 { "_EBool","_wxCoord",0},
6372 { "_EBool","_wxPrintQuality",0},
6373 { "_EBool","_signed_int",0},
6374 { "_EBool","_int",0},
6375 { "_EBool","_wxWindowID",0},
6376 { "_unsigned_long","_long",0},
6377 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6378 { "_signed_int","_wxCoord",0},
6379 { "_signed_int","_wxPrintQuality",0},
6380 { "_signed_int","_EBool",0},
6381 { "_signed_int","_wxWindowID",0},
6382 { "_signed_int","_int",0},
6383 { "_WXTYPE","_wxDateTime_t",0},
6384 { "_WXTYPE","_short",0},
6385 { "_WXTYPE","_signed_short",0},
6386 { "_WXTYPE","_unsigned_short",0},
6387 { "_unsigned_short","_wxDateTime_t",0},
6388 { "_unsigned_short","_WXTYPE",0},
6389 { "_unsigned_short","_short",0},
6390 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6391 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6392 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6393 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6394 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6395 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6396 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6397 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6398 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6399 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6400 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6401 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6402 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6403 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6404 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6405 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6406 { "_signed_short","_WXTYPE",0},
6407 { "_signed_short","_short",0},
6408 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6409 { "_unsigned_char","_byte",0},
6410 { "_unsigned_int","_wxCoord",0},
6411 { "_unsigned_int","_wxPrintQuality",0},
6412 { "_unsigned_int","_time_t",0},
6413 { "_unsigned_int","_size_t",0},
6414 { "_unsigned_int","_uint",0},
6415 { "_unsigned_int","_wxWindowID",0},
6416 { "_unsigned_int","_int",0},
6417 { "_short","_wxDateTime_t",0},
6418 { "_short","_WXTYPE",0},
6419 { "_short","_unsigned_short",0},
6420 { "_short","_signed_short",0},
6421 { "_wxWindowID","_wxCoord",0},
6422 { "_wxWindowID","_wxPrintQuality",0},
6423 { "_wxWindowID","_time_t",0},
6424 { "_wxWindowID","_size_t",0},
6425 { "_wxWindowID","_EBool",0},
6426 { "_wxWindowID","_uint",0},
6427 { "_wxWindowID","_int",0},
6428 { "_wxWindowID","_signed_int",0},
6429 { "_wxWindowID","_unsigned_int",0},
6430 { "_int","_wxCoord",0},
6431 { "_int","_wxPrintQuality",0},
6432 { "_int","_time_t",0},
6433 { "_int","_size_t",0},
6434 { "_int","_EBool",0},
6435 { "_int","_uint",0},
6436 { "_int","_wxWindowID",0},
6437 { "_int","_unsigned_int",0},
6438 { "_int","_signed_int",0},
6439 { "_wxDateTime_t","_unsigned_short",0},
6440 { "_wxDateTime_t","_short",0},
6441 { "_wxDateTime_t","_WXTYPE",0},
6442 { "_time_t","_wxCoord",0},
6443 { "_time_t","_wxPrintQuality",0},
6444 { "_time_t","_unsigned_int",0},
6445 { "_time_t","_int",0},
6446 { "_time_t","_wxWindowID",0},
6447 { "_time_t","_uint",0},
6448 { "_time_t","_size_t",0},
6449 { "_wxCoord","_int",0},
6450 { "_wxCoord","_signed_int",0},
6451 { "_wxCoord","_unsigned_int",0},
6452 { "_wxCoord","_wxWindowID",0},
6453 { "_wxCoord","_uint",0},
6454 { "_wxCoord","_EBool",0},
6455 { "_wxCoord","_size_t",0},
6456 { "_wxCoord","_time_t",0},
6457 { "_wxCoord","_wxPrintQuality",0},
6458 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6459 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6460 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6463 static PyObject
*SWIG_globals
;
6467 SWIGEXPORT(void) inithtmlc() {
6469 SWIG_globals
= SWIG_newvarlink();
6470 m
= Py_InitModule("htmlc", htmlcMethods
);
6471 d
= PyModule_GetDict(m
);
6472 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6473 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6474 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6475 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6476 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6477 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6478 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6479 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6480 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6481 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6482 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6483 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6484 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6485 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6486 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6487 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6488 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6489 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6490 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6491 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6492 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6493 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6494 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6495 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6496 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6497 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6498 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6499 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6500 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6501 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6506 wxClassInfo::CleanUpClasses();
6507 wxClassInfo::InitializeClasses();
6509 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6510 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6511 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6514 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6515 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);