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 // Put some wx default wxChar* values into wxStrings.
96 static const wxChar
* wxHtmlWindowNameStr
= wxT("htmlWindow");
97 DECLARE_DEF_STRING(HtmlWindowNameStr
);
99 static const wxChar
* wxHtmlPrintoutTitleStr
= wxT("Printout");
100 DECLARE_DEF_STRING(HtmlPrintoutTitleStr
);
102 static const wxChar
* wxHtmlPrintingTitleStr
= wxT("Printing");
103 DECLARE_DEF_STRING(HtmlPrintingTitleStr
);
105 static const wxString
wxPyEmptyString(wxT(""));
107 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
108 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
110 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
112 wxHtmlParser
* GetParser() { return m_Parser
; }
113 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
115 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
116 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
121 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
123 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
124 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
126 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
127 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
129 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
131 wxHtmlWinParser
* GetParser() { return m_WParser
; }
132 void ParseInner(const wxHtmlTag
& tag
)
133 { wxHtmlWinTagHandler::ParseInner(tag
); }
135 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
136 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
141 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
143 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
144 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
147 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
149 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
150 m_tagHandlerClass
= thc
;
151 Py_INCREF(m_tagHandlerClass
);
152 RegisterModule(this);
153 wxHtmlWinParser::AddModule(this);
157 wxPyBeginBlockThreads();
158 Py_DECREF(m_tagHandlerClass
);
159 m_tagHandlerClass
= NULL
;
160 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
161 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
164 wxPyEndBlockThreads();
167 void FillHandlersTable(wxHtmlWinParser
*parser
) {
168 // Wave our magic wand... (if it works it's a miracle! ;-)
170 // First, make a new instance of the tag handler
171 wxPyBeginBlockThreads();
172 PyObject
* arg
= Py_BuildValue("()");
173 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
175 wxPyEndBlockThreads();
177 // now figure out where it's C++ object is...
178 wxPyHtmlWinTagHandler
* thPtr
;
179 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
183 parser
->AddTagHandler(thPtr
);
190 PyObject
* m_tagHandlerClass
;
191 wxArrayPtrVoid m_objArray
;
195 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
196 // Dynamically create a new wxModule. Refcounts tagHandlerClass
197 // and adds itself to the wxModules list and to the wxHtmlWinParser.
198 new wxPyHtmlTagsModule(tagHandlerClass
);
201 class wxPyHtmlWindow
: public wxHtmlWindow
{
202 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
204 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
205 const wxPoint
& pos
= wxDefaultPosition
,
206 const wxSize
& size
= wxDefaultSize
,
207 long style
= wxHW_SCROLLBAR_AUTO
,
208 const wxString
& name
= "htmlWindow")
209 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
210 wxPyHtmlWindow() : wxHtmlWindow() {};
212 bool ScrollToAnchor(const wxString
& anchor
) {
213 return wxHtmlWindow::ScrollToAnchor(anchor
);
216 bool HasAnchor(const wxString
& anchor
) {
217 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
221 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
222 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
224 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
226 wxString
*redirect
) const;
228 DEC_PYCALLBACK__STRING(OnSetTitle
);
229 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
230 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
231 // DEC_PYCALLBACK_BOOL_STRING(OnOpeningURL);
235 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
236 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
237 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
238 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
239 // IMP_PYCALLBACK_BOOL_STRING(wxPyHtmlWindow, wxHtmlWindow, OnOpeningURL);
242 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
244 wxPyBeginBlockThreads();
245 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
246 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
247 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
250 wxPyEndBlockThreads();
252 wxHtmlWindow::OnLinkClicked(link
);
254 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
255 wxHtmlWindow::OnLinkClicked(link
);
259 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
261 wxString
*redirect
) const {
263 wxHtmlOpeningStatus rval
;
264 wxPyBeginBlockThreads();
265 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
267 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, wx2PyString(url
)));
268 if (PyString_Check(ro
)
269 #if PYTHON_API_VERSION >= 1009
270 || PyUnicode_Check(ro
)
273 *redirect
= Py2wxString(ro
);
274 rval
= wxHTML_REDIRECT
;
277 PyObject
* num
= PyNumber_Int(ro
);
278 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
283 wxPyEndBlockThreads();
285 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
291 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
292 wxHtmlWindow::AddFilter(filter
);
295 extern "C" SWIGEXPORT(void) inithtmlhelpc();
299 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
302 PyObject
* _obj0
= 0;
303 char *_kwnames
[] = { "tagHandlerClass", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
313 wxHtmlWinParser_AddTagHandler(_arg0
);
315 wxPyEndAllowThreads(__tstate
);
316 if (PyErr_Occurred()) return NULL
;
317 } Py_INCREF(Py_None
);
318 _resultobj
= Py_None
;
322 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
324 wxHtmlFilter
* _arg0
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "filter", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
340 wxHtmlWindow_AddFilter(_arg0
);
342 wxPyEndAllowThreads(__tstate
);
343 if (PyErr_Occurred()) return NULL
;
344 } Py_INCREF(Py_None
);
345 _resultobj
= Py_None
;
349 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
352 src
= (wxHtmlLinkInfo
*) ptr
;
353 dest
= (wxObject
*) src
;
354 return (void *) dest
;
357 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
358 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxHtmlLinkInfo
* _result
;
362 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
363 PyObject
* _obj0
= 0;
364 PyObject
* _obj1
= 0;
365 char *_kwnames
[] = { "href","target", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
372 _arg0
= wxString_in_helper(_obj0
);
378 _arg1
= wxString_in_helper(_obj1
);
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
390 _resultobj
= Py_BuildValue("s",_ptemp
);
393 _resultobj
= Py_None
;
406 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
407 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
410 wxHtmlLinkInfo
* _arg0
;
411 PyObject
* _argo0
= 0;
412 char *_kwnames
[] = { "self", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
426 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
428 wxPyEndAllowThreads(__tstate
);
429 if (PyErr_Occurred()) return NULL
;
432 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
434 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
443 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
444 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
447 wxHtmlLinkInfo
* _arg0
;
448 PyObject
* _argo0
= 0;
449 char *_kwnames
[] = { "self", NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
469 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
480 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
481 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxMouseEvent
* _result
;
484 wxHtmlLinkInfo
* _arg0
;
485 PyObject
* _argo0
= 0;
486 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
500 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
502 wxPyEndAllowThreads(__tstate
);
503 if (PyErr_Occurred()) return NULL
;
504 }{ _resultobj
= wxPyMake_wxObject(_result
); }
508 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
509 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
511 wxHtmlCell
* _result
;
512 wxHtmlLinkInfo
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
535 _resultobj
= Py_BuildValue("s",_ptemp
);
538 _resultobj
= Py_None
;
543 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
544 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
546 wxHtmlLinkInfo
* _arg0
;
547 wxMouseEvent
* _arg1
;
548 PyObject
* _argo0
= 0;
549 PyObject
* _argo1
= 0;
550 char *_kwnames
[] = { "self","e", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
571 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
573 wxPyEndAllowThreads(__tstate
);
574 if (PyErr_Occurred()) return NULL
;
575 } Py_INCREF(Py_None
);
576 _resultobj
= Py_None
;
580 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
581 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
583 wxHtmlLinkInfo
* _arg0
;
585 PyObject
* _argo0
= 0;
586 PyObject
* _argo1
= 0;
587 char *_kwnames
[] = { "self","e", NULL
};
590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
608 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
610 wxPyEndAllowThreads(__tstate
);
611 if (PyErr_Occurred()) return NULL
;
612 } Py_INCREF(Py_None
);
613 _resultobj
= Py_None
;
617 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
620 src
= (wxHtmlTag
*) ptr
;
621 dest
= (wxObject
*) src
;
622 return (void *) dest
;
625 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
626 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
651 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
662 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
663 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
668 PyObject
* _argo0
= 0;
669 PyObject
* _obj1
= 0;
670 char *_kwnames
[] = { "self","par", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
683 _arg1
= wxString_in_helper(_obj1
);
688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
689 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
691 wxPyEndAllowThreads(__tstate
);
692 if (PyErr_Occurred()) return NULL
;
693 } _resultobj
= Py_BuildValue("i",_result
);
701 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
702 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
707 int _arg2
= (int ) FALSE
;
708 PyObject
* _argo0
= 0;
709 PyObject
* _obj1
= 0;
710 char *_kwnames
[] = { "self","par","with_commas", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
723 _arg1
= wxString_in_helper(_obj1
);
728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
729 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
731 wxPyEndAllowThreads(__tstate
);
732 if (PyErr_Occurred()) return NULL
;
735 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
737 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
750 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
751 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
755 PyObject
* _argo0
= 0;
756 char *_kwnames
[] = { "self", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
770 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
772 wxPyEndAllowThreads(__tstate
);
773 if (PyErr_Occurred()) return NULL
;
776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
787 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
788 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
811 } _resultobj
= Py_BuildValue("i",_result
);
815 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
816 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) return NULL
;
839 } _resultobj
= Py_BuildValue("i",_result
);
843 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
844 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
848 PyObject
* _argo0
= 0;
849 char *_kwnames
[] = { "self", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
863 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
865 wxPyEndAllowThreads(__tstate
);
866 if (PyErr_Occurred()) return NULL
;
867 } _resultobj
= Py_BuildValue("i",_result
);
871 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
872 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
895 } _resultobj
= Py_BuildValue("i",_result
);
899 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
902 src
= (wxHtmlParser
*) ptr
;
903 dest
= (wxObject
*) src
;
904 return (void *) dest
;
907 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
908 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
910 wxHtmlParser
* _arg0
;
911 wxFileSystem
* _arg1
;
912 PyObject
* _argo0
= 0;
913 PyObject
* _argo1
= 0;
914 char *_kwnames
[] = { "self","fs", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 wxHtmlParser_SetFS(_arg0
,_arg1
);
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) return NULL
;
939 } Py_INCREF(Py_None
);
940 _resultobj
= Py_None
;
944 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
945 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
947 wxFileSystem
* _result
;
948 wxHtmlParser
* _arg0
;
949 PyObject
* _argo0
= 0;
950 char *_kwnames
[] = { "self", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) return NULL
;
968 }{ _resultobj
= wxPyMake_wxObject(_result
); }
972 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
973 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 wxHtmlParser
* _arg0
;
978 PyObject
* _argo0
= 0;
979 PyObject
* _obj1
= 0;
980 char *_kwnames
[] = { "self","source", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
993 _arg1
= wxString_in_helper(_obj1
);
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) return NULL
;
1003 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1011 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1012 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1014 wxHtmlParser
* _arg0
;
1016 PyObject
* _argo0
= 0;
1017 PyObject
* _obj1
= 0;
1018 char *_kwnames
[] = { "self","source", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1031 _arg1
= wxString_in_helper(_obj1
);
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) return NULL
;
1041 } Py_INCREF(Py_None
);
1042 _resultobj
= Py_None
;
1050 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1051 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1053 wxHtmlParser
* _arg0
;
1054 PyObject
* _argo0
= 0;
1055 char *_kwnames
[] = { "self", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 wxHtmlParser_DoneParser(_arg0
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } Py_INCREF(Py_None
);
1074 _resultobj
= Py_None
;
1078 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1079 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1081 wxHtmlParser
* _arg0
;
1084 PyObject
* _argo0
= 0;
1085 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1099 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1101 wxPyEndAllowThreads(__tstate
);
1102 if (PyErr_Occurred()) return NULL
;
1103 } Py_INCREF(Py_None
);
1104 _resultobj
= Py_None
;
1108 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1109 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1111 wxHtmlParser
* _arg0
;
1112 wxHtmlTagHandler
* _arg1
;
1113 PyObject
* _argo0
= 0;
1114 PyObject
* _argo1
= 0;
1115 char *_kwnames
[] = { "self","handler", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) return NULL
;
1140 } Py_INCREF(Py_None
);
1141 _resultobj
= Py_None
;
1145 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1146 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1149 wxHtmlParser
* _arg0
;
1150 PyObject
* _argo0
= 0;
1151 char *_kwnames
[] = { "self", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) return NULL
;
1171 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1173 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1179 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1180 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1182 wxHtmlParser
* _arg0
;
1183 wxHtmlTagHandler
* _arg1
;
1185 PyObject
* _argo0
= 0;
1186 PyObject
* _argo1
= 0;
1187 PyObject
* _obj2
= 0;
1188 char *_kwnames
[] = { "self","handler","tags", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1208 _arg2
= wxString_in_helper(_obj2
);
1213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1216 wxPyEndAllowThreads(__tstate
);
1217 if (PyErr_Occurred()) return NULL
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1227 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1228 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxHtmlParser
* _arg0
;
1231 PyObject
* _argo0
= 0;
1232 char *_kwnames
[] = { "self", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1246 wxHtmlParser_PopTagHandler(_arg0
);
1248 wxPyEndAllowThreads(__tstate
);
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1256 wxHtmlWinParser
*src
;
1258 src
= (wxHtmlWinParser
*) ptr
;
1259 dest
= (wxHtmlParser
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1264 wxHtmlWinParser
*src
;
1266 src
= (wxHtmlWinParser
*) ptr
;
1267 dest
= (wxObject
*) src
;
1268 return (void *) dest
;
1271 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1272 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxHtmlWinParser
* _result
;
1275 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "wnd", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1298 _resultobj
= Py_BuildValue("s",_ptemp
);
1301 _resultobj
= Py_None
;
1306 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1307 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxHtmlWinParser
* _arg0
;
1311 PyObject
* _argo0
= 0;
1312 PyObject
* _argo1
= 0;
1313 char *_kwnames
[] = { "self","dc", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1338 } Py_INCREF(Py_None
);
1339 _resultobj
= Py_None
;
1343 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1344 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1347 wxHtmlWinParser
* _arg0
;
1348 PyObject
* _argo0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) return NULL
;
1367 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1371 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1372 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1375 wxHtmlWinParser
* _arg0
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1399 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1400 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 wxHtmlWinParser
* _arg0
;
1404 PyObject
* _argo0
= 0;
1405 char *_kwnames
[] = { "self", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) return NULL
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1428 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 wxHtmlWindow
* _result
;
1431 wxHtmlWinParser
* _arg0
;
1432 PyObject
* _argo0
= 0;
1433 char *_kwnames
[] = { "self", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) return NULL
;
1451 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1455 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1456 int* temp
= int_LIST_helper(sizes
);
1458 self
->SetFonts(normal_face
, fixed_face
, temp
);
1462 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1464 wxHtmlWinParser
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _obj1
= 0;
1470 PyObject
* _obj2
= 0;
1471 PyObject
* _obj3
= 0;
1472 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1485 _arg1
= wxString_in_helper(_obj1
);
1490 _arg2
= wxString_in_helper(_obj2
);
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } Py_INCREF(Py_None
);
1504 _resultobj
= Py_None
;
1516 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1517 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1519 wxHtmlContainerCell
* _result
;
1520 wxHtmlWinParser
* _arg0
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1543 _resultobj
= Py_BuildValue("s",_ptemp
);
1546 _resultobj
= Py_None
;
1551 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1552 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxHtmlContainerCell
* _result
;
1555 wxHtmlWinParser
* _arg0
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) return NULL
;
1577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1578 _resultobj
= Py_BuildValue("s",_ptemp
);
1581 _resultobj
= Py_None
;
1586 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1587 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxHtmlContainerCell
* _result
;
1590 wxHtmlWinParser
* _arg0
;
1591 wxHtmlContainerCell
* _arg1
;
1592 PyObject
* _argo0
= 0;
1593 PyObject
* _argo1
= 0;
1594 char *_kwnames
[] = { "self","c", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1622 _resultobj
= Py_BuildValue("s",_ptemp
);
1625 _resultobj
= Py_None
;
1630 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1631 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1633 wxHtmlContainerCell
* _result
;
1634 wxHtmlWinParser
* _arg0
;
1635 PyObject
* _argo0
= 0;
1636 char *_kwnames
[] = { "self", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) return NULL
;
1656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1657 _resultobj
= Py_BuildValue("s",_ptemp
);
1660 _resultobj
= Py_None
;
1665 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1666 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1669 wxHtmlWinParser
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) return NULL
;
1689 } _resultobj
= Py_BuildValue("i",_result
);
1693 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1694 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxHtmlWinParser
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 char *_kwnames
[] = { "self","s", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) return NULL
;
1717 } Py_INCREF(Py_None
);
1718 _resultobj
= Py_None
;
1722 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1723 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 wxHtmlWinParser
* _arg0
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) return NULL
;
1746 } _resultobj
= Py_BuildValue("i",_result
);
1750 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1751 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1753 wxHtmlWinParser
* _arg0
;
1755 PyObject
* _argo0
= 0;
1756 char *_kwnames
[] = { "self","x", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) return NULL
;
1774 } Py_INCREF(Py_None
);
1775 _resultobj
= Py_None
;
1779 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1780 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1783 wxHtmlWinParser
* _arg0
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } _resultobj
= Py_BuildValue("i",_result
);
1807 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1808 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1810 wxHtmlWinParser
* _arg0
;
1812 PyObject
* _argo0
= 0;
1813 char *_kwnames
[] = { "self","x", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) return NULL
;
1831 } Py_INCREF(Py_None
);
1832 _resultobj
= Py_None
;
1836 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1837 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1840 wxHtmlWinParser
* _arg0
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) return NULL
;
1860 } _resultobj
= Py_BuildValue("i",_result
);
1864 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1865 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxHtmlWinParser
* _arg0
;
1869 PyObject
* _argo0
= 0;
1870 char *_kwnames
[] = { "self","x", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) return NULL
;
1888 } Py_INCREF(Py_None
);
1889 _resultobj
= Py_None
;
1893 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1894 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 wxHtmlWinParser
* _arg0
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } _resultobj
= Py_BuildValue("i",_result
);
1921 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1922 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 wxHtmlWinParser
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","x", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1950 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1951 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1954 wxHtmlWinParser
* _arg0
;
1955 PyObject
* _argo0
= 0;
1956 char *_kwnames
[] = { "self", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } _resultobj
= Py_BuildValue("i",_result
);
1978 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1979 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1981 wxHtmlWinParser
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self","a", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) return NULL
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2008 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2011 wxHtmlWinParser
* _arg0
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) return NULL
;
2032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2033 _resultobj
= Py_BuildValue("s",_ptemp
);
2037 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2038 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2040 wxHtmlWinParser
* _arg0
;
2042 PyObject
* _argo0
= 0;
2044 PyObject
* _obj1
= 0;
2045 char *_kwnames
[] = { "self","clr", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2059 if (! wxColour_helper(_obj1
, &_arg1
))
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) return NULL
;
2068 } Py_INCREF(Py_None
);
2069 _resultobj
= Py_None
;
2073 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2074 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 wxHtmlWinParser
* _arg0
;
2078 PyObject
* _argo0
= 0;
2079 char *_kwnames
[] = { "self", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) return NULL
;
2098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2099 _resultobj
= Py_BuildValue("s",_ptemp
);
2103 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2104 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2106 wxHtmlWinParser
* _arg0
;
2108 PyObject
* _argo0
= 0;
2110 PyObject
* _obj1
= 0;
2111 char *_kwnames
[] = { "self","clr", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2125 if (! wxColour_helper(_obj1
, &_arg1
))
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) return NULL
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2140 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2142 wxHtmlWinParser
* _arg0
;
2144 PyObject
* _argo0
= 0;
2145 PyObject
* _obj1
= 0;
2146 char *_kwnames
[] = { "self","link", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2159 _arg1
= wxString_in_helper(_obj1
);
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) return NULL
;
2169 } Py_INCREF(Py_None
);
2170 _resultobj
= Py_None
;
2178 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2179 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2182 wxHtmlWinParser
* _arg0
;
2183 PyObject
* _argo0
= 0;
2184 char *_kwnames
[] = { "self", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) return NULL
;
2204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2205 _resultobj
= Py_BuildValue("s",_ptemp
);
2208 _resultobj
= Py_None
;
2213 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2214 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2216 wxHtmlLinkInfo
* _result
;
2217 wxHtmlWinParser
* _arg0
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2244 wxPyHtmlTagHandler
*src
;
2246 src
= (wxPyHtmlTagHandler
*) ptr
;
2247 dest
= (wxObject
*) src
;
2248 return (void *) dest
;
2251 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2252 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2254 wxPyHtmlTagHandler
* _result
;
2255 char *_kwnames
[] = { NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) return NULL
;
2268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2269 _resultobj
= Py_BuildValue("s",_ptemp
);
2272 _resultobj
= Py_None
;
2277 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2278 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxPyHtmlTagHandler
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 PyObject
* _obj1
= 0;
2285 PyObject
* _obj2
= 0;
2286 char *_kwnames
[] = { "self","self","_class", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2310 } Py_INCREF(Py_None
);
2311 _resultobj
= Py_None
;
2315 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2316 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2318 wxPyHtmlTagHandler
* _arg0
;
2319 wxHtmlParser
* _arg1
;
2320 PyObject
* _argo0
= 0;
2321 PyObject
* _argo1
= 0;
2322 char *_kwnames
[] = { "self","parser", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) return NULL
;
2347 } Py_INCREF(Py_None
);
2348 _resultobj
= Py_None
;
2352 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2353 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2355 wxHtmlParser
* _result
;
2356 wxPyHtmlTagHandler
* _arg0
;
2357 PyObject
* _argo0
= 0;
2358 char *_kwnames
[] = { "self", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) return NULL
;
2378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2379 _resultobj
= Py_BuildValue("s",_ptemp
);
2382 _resultobj
= Py_None
;
2387 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2388 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2390 wxPyHtmlTagHandler
* _arg0
;
2392 PyObject
* _argo0
= 0;
2393 PyObject
* _argo1
= 0;
2394 char *_kwnames
[] = { "self","tag", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } Py_INCREF(Py_None
);
2420 _resultobj
= Py_None
;
2424 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2425 wxPyHtmlWinTagHandler
*src
;
2426 wxPyHtmlTagHandler
*dest
;
2427 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2428 dest
= (wxPyHtmlTagHandler
*) src
;
2429 return (void *) dest
;
2432 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2433 wxPyHtmlWinTagHandler
*src
;
2435 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2436 dest
= (wxObject
*) src
;
2437 return (void *) dest
;
2440 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2441 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2443 wxPyHtmlWinTagHandler
* _result
;
2444 char *_kwnames
[] = { NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) return NULL
;
2457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2458 _resultobj
= Py_BuildValue("s",_ptemp
);
2461 _resultobj
= Py_None
;
2466 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2467 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2469 wxPyHtmlWinTagHandler
* _arg0
;
2472 PyObject
* _argo0
= 0;
2473 PyObject
* _obj1
= 0;
2474 PyObject
* _obj2
= 0;
2475 char *_kwnames
[] = { "self","self","_class", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2504 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2505 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2507 wxPyHtmlWinTagHandler
* _arg0
;
2508 wxHtmlParser
* _arg1
;
2509 PyObject
* _argo0
= 0;
2510 PyObject
* _argo1
= 0;
2511 char *_kwnames
[] = { "self","parser", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2542 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxHtmlWinParser
* _result
;
2545 wxPyHtmlWinTagHandler
* _arg0
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) return NULL
;
2567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2568 _resultobj
= Py_BuildValue("s",_ptemp
);
2571 _resultobj
= Py_None
;
2576 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2577 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2579 wxPyHtmlWinTagHandler
* _arg0
;
2581 PyObject
* _argo0
= 0;
2582 PyObject
* _argo1
= 0;
2583 char *_kwnames
[] = { "self","tag", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } Py_INCREF(Py_None
);
2609 _resultobj
= Py_None
;
2613 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2616 src
= (wxHtmlCell
*) ptr
;
2617 dest
= (wxObject
*) src
;
2618 return (void *) dest
;
2621 #define new_wxHtmlCell() (new wxHtmlCell())
2622 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2624 wxHtmlCell
* _result
;
2625 char *_kwnames
[] = { NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) return NULL
;
2638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2639 _resultobj
= Py_BuildValue("s",_ptemp
);
2642 _resultobj
= Py_None
;
2647 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2648 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
* _resultobj
;
2652 PyObject
* _argo0
= 0;
2653 char *_kwnames
[] = { "self", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) return NULL
;
2671 } _resultobj
= Py_BuildValue("i",_result
);
2675 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2676 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) return NULL
;
2699 } _resultobj
= Py_BuildValue("i",_result
);
2703 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2704 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) return NULL
;
2727 } _resultobj
= Py_BuildValue("i",_result
);
2731 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2732 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } _resultobj
= Py_BuildValue("i",_result
);
2759 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2760 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) return NULL
;
2783 } _resultobj
= Py_BuildValue("i",_result
);
2787 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2788 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2790 wxHtmlLinkInfo
* _result
;
2792 int _arg1
= (int ) 0;
2793 int _arg2
= (int ) 0;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self","x","y", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2816 _resultobj
= Py_BuildValue("s",_ptemp
);
2819 _resultobj
= Py_None
;
2824 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2825 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2827 wxHtmlCell
* _result
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) return NULL
;
2850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2851 _resultobj
= Py_BuildValue("s",_ptemp
);
2854 _resultobj
= Py_None
;
2859 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2860 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2862 wxHtmlContainerCell
* _result
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2886 _resultobj
= Py_BuildValue("s",_ptemp
);
2889 _resultobj
= Py_None
;
2894 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2895 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2898 wxHtmlLinkInfo
* _arg1
;
2899 PyObject
* _argo0
= 0;
2900 PyObject
* _argo1
= 0;
2901 char *_kwnames
[] = { "self","link", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) return NULL
;
2926 } Py_INCREF(Py_None
);
2927 _resultobj
= Py_None
;
2931 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2932 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 PyObject
* _argo1
= 0;
2938 char *_kwnames
[] = { "self","cell", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxHtmlCell_SetNext(_arg0
,_arg1
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2969 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2972 wxHtmlContainerCell
* _arg1
;
2973 PyObject
* _argo0
= 0;
2974 PyObject
* _argo1
= 0;
2975 char *_kwnames
[] = { "self","p", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 wxHtmlCell_SetParent(_arg0
,_arg1
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) return NULL
;
3000 } Py_INCREF(Py_None
);
3001 _resultobj
= Py_None
;
3005 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3006 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3011 PyObject
* _argo0
= 0;
3012 char *_kwnames
[] = { "self","x","y", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) return NULL
;
3030 } Py_INCREF(Py_None
);
3031 _resultobj
= Py_None
;
3035 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3036 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self","w", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxHtmlCell_Layout(_arg0
,_arg1
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3065 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3073 PyObject
* _argo0
= 0;
3074 PyObject
* _argo1
= 0;
3075 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3106 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3112 PyObject
* _argo0
= 0;
3113 PyObject
* _argo1
= 0;
3114 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3145 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxHtmlCell
* _result
;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo2
= 0;
3153 char *_kwnames
[] = { "self","condition","param", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3167 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3181 _resultobj
= Py_BuildValue("s",_ptemp
);
3184 _resultobj
= Py_None
;
3189 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3190 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3195 PyObject
* _argo0
= 0;
3196 PyObject
* _argo1
= 0;
3197 char *_kwnames
[] = { "self","pagebreak", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3222 } _resultobj
= Py_BuildValue("i",_result
);
3226 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3227 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
* _resultobj
;
3231 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "self","can", NULL
};
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3245 _arg1
= (bool ) tempbool1
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) return NULL
;
3252 } Py_INCREF(Py_None
);
3253 _resultobj
= Py_None
;
3257 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3258 wxHtmlWordCell
*src
;
3260 src
= (wxHtmlWordCell
*) ptr
;
3261 dest
= (wxHtmlCell
*) src
;
3262 return (void *) dest
;
3265 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3266 wxHtmlWordCell
*src
;
3268 src
= (wxHtmlWordCell
*) ptr
;
3269 dest
= (wxObject
*) src
;
3270 return (void *) dest
;
3273 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3274 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3276 wxHtmlWordCell
* _result
;
3279 PyObject
* _obj0
= 0;
3280 PyObject
* _argo1
= 0;
3281 char *_kwnames
[] = { "word","dc", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3288 _arg0
= wxString_in_helper(_obj0
);
3293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) return NULL
;
3306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3307 _resultobj
= Py_BuildValue("s",_ptemp
);
3310 _resultobj
= Py_None
;
3319 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3320 wxHtmlContainerCell
*src
;
3322 src
= (wxHtmlContainerCell
*) ptr
;
3323 dest
= (wxHtmlCell
*) src
;
3324 return (void *) dest
;
3327 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3328 wxHtmlContainerCell
*src
;
3330 src
= (wxHtmlContainerCell
*) ptr
;
3331 dest
= (wxObject
*) src
;
3332 return (void *) dest
;
3335 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3336 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3338 wxHtmlContainerCell
* _result
;
3339 wxHtmlContainerCell
* _arg0
;
3340 PyObject
* _argo0
= 0;
3341 char *_kwnames
[] = { "parent", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) return NULL
;
3361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3362 _resultobj
= Py_BuildValue("s",_ptemp
);
3365 _resultobj
= Py_None
;
3370 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3371 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3373 wxHtmlContainerCell
* _arg0
;
3375 PyObject
* _argo0
= 0;
3376 PyObject
* _argo1
= 0;
3377 char *_kwnames
[] = { "self","cell", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) return NULL
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3408 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 wxHtmlContainerCell
* _arg0
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self","al", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3431 } Py_INCREF(Py_None
);
3432 _resultobj
= Py_None
;
3436 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3437 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3440 wxHtmlContainerCell
* _arg0
;
3441 PyObject
* _argo0
= 0;
3442 char *_kwnames
[] = { "self", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) return NULL
;
3460 } _resultobj
= Py_BuildValue("i",_result
);
3464 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3465 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxHtmlContainerCell
* _arg0
;
3469 PyObject
* _argo0
= 0;
3470 char *_kwnames
[] = { "self","al", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) return NULL
;
3488 } Py_INCREF(Py_None
);
3489 _resultobj
= Py_None
;
3493 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3494 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3497 wxHtmlContainerCell
* _arg0
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) return NULL
;
3517 } _resultobj
= Py_BuildValue("i",_result
);
3521 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3522 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3524 wxHtmlContainerCell
* _arg0
;
3527 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","i","what","units", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) return NULL
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3553 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxHtmlContainerCell
* _arg0
;
3558 PyObject
* _argo0
= 0;
3559 char *_kwnames
[] = { "self","ind", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3577 } _resultobj
= Py_BuildValue("i",_result
);
3581 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3582 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3585 wxHtmlContainerCell
* _arg0
;
3587 PyObject
* _argo0
= 0;
3588 char *_kwnames
[] = { "self","ind", NULL
};
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) return NULL
;
3606 } _resultobj
= Py_BuildValue("i",_result
);
3610 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3611 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3613 wxHtmlContainerCell
* _arg0
;
3615 PyObject
* _argo0
= 0;
3616 PyObject
* _argo1
= 0;
3617 char *_kwnames
[] = { "self","tag", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3642 } Py_INCREF(Py_None
);
3643 _resultobj
= Py_None
;
3647 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3648 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3650 wxHtmlContainerCell
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self","w","units", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) return NULL
;
3672 } Py_INCREF(Py_None
);
3673 _resultobj
= Py_None
;
3677 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3678 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3680 wxHtmlContainerCell
* _arg0
;
3682 PyObject
* _argo0
= 0;
3683 PyObject
* _argo1
= 0;
3684 char *_kwnames
[] = { "self","tag", NULL
};
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) return NULL
;
3709 } Py_INCREF(Py_None
);
3710 _resultobj
= Py_None
;
3714 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3715 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3717 wxHtmlContainerCell
* _arg0
;
3719 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","h","align", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } Py_INCREF(Py_None
);
3740 _resultobj
= Py_None
;
3744 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3745 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3747 wxHtmlContainerCell
* _arg0
;
3749 PyObject
* _argo0
= 0;
3751 PyObject
* _obj1
= 0;
3752 char *_kwnames
[] = { "self","clr", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3766 if (! wxColour_helper(_obj1
, &_arg1
))
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) return NULL
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3781 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3783 wxHtmlContainerCell
* _arg0
;
3786 PyObject
* _argo0
= 0;
3788 PyObject
* _obj1
= 0;
3790 PyObject
* _obj2
= 0;
3791 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3805 if (! wxColour_helper(_obj1
, &_arg1
))
3810 if (! wxColour_helper(_obj2
, &_arg2
))
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3825 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3827 wxHtmlCell
* _result
;
3828 wxHtmlContainerCell
* _arg0
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) return NULL
;
3850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3851 _resultobj
= Py_BuildValue("s",_ptemp
);
3854 _resultobj
= Py_None
;
3859 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3860 wxHtmlColourCell
*src
;
3862 src
= (wxHtmlColourCell
*) ptr
;
3863 dest
= (wxHtmlCell
*) src
;
3864 return (void *) dest
;
3867 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3868 wxHtmlColourCell
*src
;
3870 src
= (wxHtmlColourCell
*) ptr
;
3871 dest
= (wxObject
*) src
;
3872 return (void *) dest
;
3875 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3876 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3878 wxHtmlColourCell
* _result
;
3880 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3882 PyObject
* _obj0
= 0;
3883 char *_kwnames
[] = { "clr","flags", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3891 if (! wxColour_helper(_obj0
, &_arg0
))
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3902 _resultobj
= Py_BuildValue("s",_ptemp
);
3905 _resultobj
= Py_None
;
3910 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3911 wxHtmlFontCell
*src
;
3913 src
= (wxHtmlFontCell
*) ptr
;
3914 dest
= (wxHtmlCell
*) src
;
3915 return (void *) dest
;
3918 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3919 wxHtmlFontCell
*src
;
3921 src
= (wxHtmlFontCell
*) ptr
;
3922 dest
= (wxObject
*) src
;
3923 return (void *) dest
;
3926 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3927 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3929 wxHtmlFontCell
* _result
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "font", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) return NULL
;
3952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3953 _resultobj
= Py_BuildValue("s",_ptemp
);
3956 _resultobj
= Py_None
;
3961 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3962 wxHtmlWidgetCell
*src
;
3964 src
= (wxHtmlWidgetCell
*) ptr
;
3965 dest
= (wxHtmlCell
*) src
;
3966 return (void *) dest
;
3969 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3970 wxHtmlWidgetCell
*src
;
3972 src
= (wxHtmlWidgetCell
*) ptr
;
3973 dest
= (wxObject
*) src
;
3974 return (void *) dest
;
3977 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3978 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3980 wxHtmlWidgetCell
* _result
;
3982 int _arg1
= (int ) 0;
3983 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "wnd","w", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4005 _resultobj
= Py_BuildValue("s",_ptemp
);
4008 _resultobj
= Py_None
;
4013 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4014 wxPyHtmlWindow
*src
;
4015 wxScrolledWindow
*dest
;
4016 src
= (wxPyHtmlWindow
*) ptr
;
4017 dest
= (wxScrolledWindow
*) src
;
4018 return (void *) dest
;
4021 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4022 wxPyHtmlWindow
*src
;
4024 src
= (wxPyHtmlWindow
*) ptr
;
4025 dest
= (wxPanel
*) src
;
4026 return (void *) dest
;
4029 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4030 wxPyHtmlWindow
*src
;
4032 src
= (wxPyHtmlWindow
*) ptr
;
4033 dest
= (wxWindow
*) src
;
4034 return (void *) dest
;
4037 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4038 wxPyHtmlWindow
*src
;
4040 src
= (wxPyHtmlWindow
*) ptr
;
4041 dest
= (wxEvtHandler
*) src
;
4042 return (void *) dest
;
4045 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4046 wxPyHtmlWindow
*src
;
4048 src
= (wxPyHtmlWindow
*) ptr
;
4049 dest
= (wxObject
*) src
;
4050 return (void *) dest
;
4053 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4054 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4056 wxPyHtmlWindow
* _result
;
4058 int _arg1
= (int ) -1;
4059 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4060 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4061 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4062 wxString
* _arg5
= (wxString
*) &wxPyHtmlWindowNameStr
;
4063 PyObject
* _argo0
= 0;
4065 PyObject
* _obj2
= 0;
4067 PyObject
* _obj3
= 0;
4068 PyObject
* _obj5
= 0;
4069 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOiO:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4085 if (! wxPoint_helper(_obj2
, &_arg2
))
4091 if (! wxSize_helper(_obj3
, &_arg3
))
4096 _arg5
= wxString_in_helper(_obj5
);
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) return NULL
;
4107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4108 _resultobj
= Py_BuildValue("s",_ptemp
);
4111 _resultobj
= Py_None
;
4120 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4121 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4123 wxPyHtmlWindow
* _result
;
4124 char *_kwnames
[] = { NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) return NULL
;
4137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4138 _resultobj
= Py_BuildValue("s",_ptemp
);
4141 _resultobj
= Py_None
;
4146 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4147 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4150 wxPyHtmlWindow
* _arg0
;
4152 int _arg2
= (int ) -1;
4153 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4154 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4155 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4156 wxString
* _arg6
= (wxString
*) &wxPyHtmlWindowNameStr
;
4157 PyObject
* _argo0
= 0;
4158 PyObject
* _argo1
= 0;
4160 PyObject
* _obj3
= 0;
4162 PyObject
* _obj4
= 0;
4163 PyObject
* _obj6
= 0;
4164 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOiO:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4186 if (! wxPoint_helper(_obj3
, &_arg3
))
4192 if (! wxSize_helper(_obj4
, &_arg4
))
4197 _arg6
= wxString_in_helper(_obj6
);
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4207 } _resultobj
= Py_BuildValue("i",_result
);
4215 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4216 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4218 wxPyHtmlWindow
* _arg0
;
4221 PyObject
* _argo0
= 0;
4222 PyObject
* _obj1
= 0;
4223 PyObject
* _obj2
= 0;
4224 char *_kwnames
[] = { "self","self","_class", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4248 } Py_INCREF(Py_None
);
4249 _resultobj
= Py_None
;
4253 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4254 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
* _resultobj
;
4257 wxPyHtmlWindow
* _arg0
;
4259 PyObject
* _argo0
= 0;
4260 PyObject
* _obj1
= 0;
4261 char *_kwnames
[] = { "self","source", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4274 _arg1
= wxString_in_helper(_obj1
);
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } _resultobj
= Py_BuildValue("i",_result
);
4292 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4293 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4296 wxPyHtmlWindow
* _arg0
;
4298 PyObject
* _argo0
= 0;
4299 PyObject
* _obj1
= 0;
4300 char *_kwnames
[] = { "self","location", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4313 _arg1
= wxString_in_helper(_obj1
);
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) return NULL
;
4323 } _resultobj
= Py_BuildValue("i",_result
);
4331 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4332 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4335 wxPyHtmlWindow
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 PyObject
* _obj1
= 0;
4339 char *_kwnames
[] = { "self","source", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4352 _arg1
= wxString_in_helper(_obj1
);
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) return NULL
;
4362 } _resultobj
= Py_BuildValue("i",_result
);
4370 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4371 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4374 wxPyHtmlWindow
* _arg0
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4396 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4398 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4407 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4408 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
* _resultobj
;
4411 wxPyHtmlWindow
* _arg0
;
4412 PyObject
* _argo0
= 0;
4413 char *_kwnames
[] = { "self", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) return NULL
;
4433 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4444 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4445 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4448 wxPyHtmlWindow
* _arg0
;
4449 PyObject
* _argo0
= 0;
4450 char *_kwnames
[] = { "self", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) return NULL
;
4470 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4472 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4481 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4482 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4484 wxPyHtmlWindow
* _arg0
;
4487 PyObject
* _argo0
= 0;
4488 PyObject
* _argo1
= 0;
4489 PyObject
* _obj2
= 0;
4490 char *_kwnames
[] = { "self","frame","format", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4510 _arg2
= wxString_in_helper(_obj2
);
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,*_arg2
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) return NULL
;
4520 } Py_INCREF(Py_None
);
4521 _resultobj
= Py_None
;
4529 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4530 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4533 wxPyHtmlWindow
* _arg0
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) return NULL
;
4553 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4557 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4558 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4560 wxPyHtmlWindow
* _arg0
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self","bar", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) return NULL
;
4581 } Py_INCREF(Py_None
);
4582 _resultobj
= Py_None
;
4586 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4587 int* temp
= int_LIST_helper(sizes
);
4589 self
->SetFonts(normal_face
, fixed_face
, temp
);
4593 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4595 wxPyHtmlWindow
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 PyObject
* _obj1
= 0;
4601 PyObject
* _obj2
= 0;
4602 PyObject
* _obj3
= 0;
4603 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4616 _arg1
= wxString_in_helper(_obj1
);
4621 _arg2
= wxString_in_helper(_obj2
);
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) return NULL
;
4634 } Py_INCREF(Py_None
);
4635 _resultobj
= Py_None
;
4647 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4648 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 wxPyHtmlWindow
* _arg0
;
4652 PyObject
* _argo0
= 0;
4653 PyObject
* _obj1
= 0;
4654 char *_kwnames
[] = { "self","title", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4667 _arg1
= wxString_in_helper(_obj1
);
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) return NULL
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4686 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4687 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 wxPyHtmlWindow
* _arg0
;
4691 PyObject
* _argo0
= 0;
4692 char *_kwnames
[] = { "self","b", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4710 } Py_INCREF(Py_None
);
4711 _resultobj
= Py_None
;
4715 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4716 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4718 wxPyHtmlWindow
* _arg0
;
4719 wxConfigBase
* _arg1
;
4720 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4721 PyObject
* _argo0
= 0;
4722 PyObject
* _argo1
= 0;
4723 PyObject
* _obj2
= 0;
4724 char *_kwnames
[] = { "self","cfg","path", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4745 _arg2
= wxString_in_helper(_obj2
);
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4755 } Py_INCREF(Py_None
);
4756 _resultobj
= Py_None
;
4764 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4765 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4767 wxPyHtmlWindow
* _arg0
;
4768 wxConfigBase
* _arg1
;
4769 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4770 PyObject
* _argo0
= 0;
4771 PyObject
* _argo1
= 0;
4772 PyObject
* _obj2
= 0;
4773 char *_kwnames
[] = { "self","cfg","path", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4794 _arg2
= wxString_in_helper(_obj2
);
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4813 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4814 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4817 wxPyHtmlWindow
* _arg0
;
4818 PyObject
* _argo0
= 0;
4819 char *_kwnames
[] = { "self", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) return NULL
;
4837 } _resultobj
= Py_BuildValue("i",_result
);
4841 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4842 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4845 wxPyHtmlWindow
* _arg0
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) return NULL
;
4865 } _resultobj
= Py_BuildValue("i",_result
);
4869 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4870 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4873 wxPyHtmlWindow
* _arg0
;
4874 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) return NULL
;
4893 } _resultobj
= Py_BuildValue("i",_result
);
4897 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4898 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4901 wxPyHtmlWindow
* _arg0
;
4902 PyObject
* _argo0
= 0;
4903 char *_kwnames
[] = { "self", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) return NULL
;
4921 } _resultobj
= Py_BuildValue("i",_result
);
4925 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4926 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4928 wxPyHtmlWindow
* _arg0
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 wxHtmlWindow_HistoryClear(_arg0
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) return NULL
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4953 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4954 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4956 wxHtmlContainerCell
* _result
;
4957 wxPyHtmlWindow
* _arg0
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) return NULL
;
4979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4980 _resultobj
= Py_BuildValue("s",_ptemp
);
4983 _resultobj
= Py_None
;
4988 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4989 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4991 wxHtmlWinParser
* _result
;
4992 wxPyHtmlWindow
* _arg0
;
4993 PyObject
* _argo0
= 0;
4994 char *_kwnames
[] = { "self", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) return NULL
;
5014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5015 _resultobj
= Py_BuildValue("s",_ptemp
);
5018 _resultobj
= Py_None
;
5023 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
5024 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5027 wxPyHtmlWindow
* _arg0
;
5029 PyObject
* _argo0
= 0;
5030 PyObject
* _obj1
= 0;
5031 char *_kwnames
[] = { "self","anchor", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5044 _arg1
= wxString_in_helper(_obj1
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) return NULL
;
5054 } _resultobj
= Py_BuildValue("i",_result
);
5062 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5063 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5066 wxPyHtmlWindow
* _arg0
;
5068 PyObject
* _argo0
= 0;
5069 PyObject
* _obj1
= 0;
5070 char *_kwnames
[] = { "self","anchor", NULL
};
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5083 _arg1
= wxString_in_helper(_obj1
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5093 } _resultobj
= Py_BuildValue("i",_result
);
5101 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5102 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5104 wxPyHtmlWindow
* _arg0
;
5105 wxHtmlLinkInfo
* _arg1
;
5106 PyObject
* _argo0
= 0;
5107 PyObject
* _argo1
= 0;
5108 char *_kwnames
[] = { "self","link", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5139 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5141 wxPyHtmlWindow
* _arg0
;
5143 PyObject
* _argo0
= 0;
5144 PyObject
* _obj1
= 0;
5145 char *_kwnames
[] = { "self","title", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_obj1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5158 _arg1
= wxString_in_helper(_obj1
);
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 wxHtmlWindow_base_OnSetTitle(_arg0
,*_arg1
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) return NULL
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5177 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5178 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5180 wxPyHtmlWindow
* _arg0
;
5184 PyObject
* _argo0
= 0;
5185 PyObject
* _argo1
= 0;
5186 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5211 } Py_INCREF(Py_None
);
5212 _resultobj
= Py_None
;
5216 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5217 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5219 wxPyHtmlWindow
* _arg0
;
5223 wxMouseEvent
* _arg4
;
5224 PyObject
* _argo0
= 0;
5225 PyObject
* _argo1
= 0;
5226 PyObject
* _argo4
= 0;
5227 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5247 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5248 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5264 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5265 wxHtmlDCRenderer
*src
;
5267 src
= (wxHtmlDCRenderer
*) ptr
;
5268 dest
= (wxObject
*) src
;
5269 return (void *) dest
;
5272 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5273 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxHtmlDCRenderer
* _result
;
5276 char *_kwnames
[] = { NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) return NULL
;
5289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5290 _resultobj
= Py_BuildValue("s",_ptemp
);
5293 _resultobj
= Py_None
;
5298 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5299 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5301 wxHtmlDCRenderer
* _arg0
;
5302 PyObject
* _argo0
= 0;
5303 char *_kwnames
[] = { "self", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 delete_wxHtmlDCRenderer(_arg0
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) return NULL
;
5321 } Py_INCREF(Py_None
);
5322 _resultobj
= Py_None
;
5326 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5327 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5329 wxHtmlDCRenderer
* _arg0
;
5332 PyObject
* _argo0
= 0;
5333 PyObject
* _argo1
= 0;
5334 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) return NULL
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5365 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5367 wxHtmlDCRenderer
* _arg0
;
5370 PyObject
* _argo0
= 0;
5371 char *_kwnames
[] = { "self","width","height", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) return NULL
;
5389 } Py_INCREF(Py_None
);
5390 _resultobj
= Py_None
;
5394 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5395 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5397 wxHtmlDCRenderer
* _arg0
;
5399 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5400 bool _arg3
= (bool ) TRUE
;
5401 PyObject
* _argo0
= 0;
5402 PyObject
* _obj1
= 0;
5403 PyObject
* _obj2
= 0;
5404 int tempbool3
= (int) TRUE
;
5405 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5418 _arg1
= wxString_in_helper(_obj1
);
5424 _arg2
= wxString_in_helper(_obj2
);
5428 _arg3
= (bool ) tempbool3
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) return NULL
;
5435 } Py_INCREF(Py_None
);
5436 _resultobj
= Py_None
;
5448 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5449 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5452 wxHtmlDCRenderer
* _arg0
;
5455 int _arg3
= (int ) 0;
5456 int _arg4
= (int ) FALSE
;
5457 PyObject
* _argo0
= 0;
5458 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) return NULL
;
5476 } _resultobj
= Py_BuildValue("i",_result
);
5480 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5481 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5484 wxHtmlDCRenderer
* _arg0
;
5485 PyObject
* _argo0
= 0;
5486 char *_kwnames
[] = { "self", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) return NULL
;
5504 } _resultobj
= Py_BuildValue("i",_result
);
5508 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5509 wxHtmlPrintout
*src
;
5511 src
= (wxHtmlPrintout
*) ptr
;
5512 dest
= (wxPyPrintout
*) src
;
5513 return (void *) dest
;
5516 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5517 wxHtmlPrintout
*src
;
5519 src
= (wxHtmlPrintout
*) ptr
;
5520 dest
= (wxObject
*) src
;
5521 return (void *) dest
;
5524 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5525 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5527 wxHtmlPrintout
* _result
;
5528 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintoutTitleStr
;
5529 PyObject
* _obj0
= 0;
5530 char *_kwnames
[] = { "title", NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlPrintout",_kwnames
,&_obj0
))
5538 _arg0
= wxString_in_helper(_obj0
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(*_arg0
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) return NULL
;
5549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5550 _resultobj
= Py_BuildValue("s",_ptemp
);
5553 _resultobj
= Py_None
;
5562 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5563 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5565 wxHtmlPrintout
* _arg0
;
5567 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5568 bool _arg3
= (bool ) TRUE
;
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _obj1
= 0;
5571 PyObject
* _obj2
= 0;
5572 int tempbool3
= (int) TRUE
;
5573 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5586 _arg1
= wxString_in_helper(_obj1
);
5592 _arg2
= wxString_in_helper(_obj2
);
5596 _arg3
= (bool ) tempbool3
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5616 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5617 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5619 wxHtmlPrintout
* _arg0
;
5621 PyObject
* _argo0
= 0;
5622 PyObject
* _obj1
= 0;
5623 char *_kwnames
[] = { "self","htmlfile", NULL
};
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5636 _arg1
= wxString_in_helper(_obj1
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) return NULL
;
5646 } Py_INCREF(Py_None
);
5647 _resultobj
= Py_None
;
5655 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5656 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5658 wxHtmlPrintout
* _arg0
;
5660 int _arg2
= (int ) (wxPAGE_ALL
);
5661 PyObject
* _argo0
= 0;
5662 PyObject
* _obj1
= 0;
5663 char *_kwnames
[] = { "self","header","pg", NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5676 _arg1
= wxString_in_helper(_obj1
);
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5695 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5696 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5698 wxHtmlPrintout
* _arg0
;
5700 int _arg2
= (int ) (wxPAGE_ALL
);
5701 PyObject
* _argo0
= 0;
5702 PyObject
* _obj1
= 0;
5703 char *_kwnames
[] = { "self","footer","pg", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5716 _arg1
= wxString_in_helper(_obj1
);
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) return NULL
;
5726 } Py_INCREF(Py_None
);
5727 _resultobj
= Py_None
;
5735 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5736 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5738 wxHtmlPrintout
* _arg0
;
5739 float _arg1
= (float ) 25.2;
5740 float _arg2
= (float ) 25.2;
5741 float _arg3
= (float ) 25.2;
5742 float _arg4
= (float ) 25.2;
5743 float _arg5
= (float ) 5;
5744 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) return NULL
;
5763 } Py_INCREF(Py_None
);
5764 _resultobj
= Py_None
;
5768 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5769 wxHtmlEasyPrinting
*src
;
5771 src
= (wxHtmlEasyPrinting
*) ptr
;
5772 dest
= (wxObject
*) src
;
5773 return (void *) dest
;
5776 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5777 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5779 wxHtmlEasyPrinting
* _result
;
5780 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintingTitleStr
;
5781 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5782 PyObject
* _obj0
= 0;
5783 PyObject
* _argo1
= 0;
5784 char *_kwnames
[] = { "name","parent_frame", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxHtmlEasyPrinting",_kwnames
,&_obj0
,&_argo1
))
5792 _arg0
= wxString_in_helper(_obj0
);
5797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(*_arg0
,_arg1
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) return NULL
;
5810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5811 _resultobj
= Py_BuildValue("s",_ptemp
);
5814 _resultobj
= Py_None
;
5823 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5824 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5826 wxHtmlEasyPrinting
* _arg0
;
5827 PyObject
* _argo0
= 0;
5828 char *_kwnames
[] = { "self", NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 delete_wxHtmlEasyPrinting(_arg0
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) return NULL
;
5846 } Py_INCREF(Py_None
);
5847 _resultobj
= Py_None
;
5851 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5852 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
* _resultobj
;
5854 wxHtmlEasyPrinting
* _arg0
;
5856 PyObject
* _argo0
= 0;
5857 PyObject
* _obj1
= 0;
5858 char *_kwnames
[] = { "self","htmlfile", NULL
};
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5871 _arg1
= wxString_in_helper(_obj1
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5890 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5891 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5893 wxHtmlEasyPrinting
* _arg0
;
5895 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5896 PyObject
* _argo0
= 0;
5897 PyObject
* _obj1
= 0;
5898 PyObject
* _obj2
= 0;
5899 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5912 _arg1
= wxString_in_helper(_obj1
);
5918 _arg2
= wxString_in_helper(_obj2
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) return NULL
;
5928 } Py_INCREF(Py_None
);
5929 _resultobj
= Py_None
;
5941 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5942 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5944 wxHtmlEasyPrinting
* _arg0
;
5946 PyObject
* _argo0
= 0;
5947 PyObject
* _obj1
= 0;
5948 char *_kwnames
[] = { "self","htmlfile", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5961 _arg1
= wxString_in_helper(_obj1
);
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) return NULL
;
5971 } Py_INCREF(Py_None
);
5972 _resultobj
= Py_None
;
5980 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5981 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5983 wxHtmlEasyPrinting
* _arg0
;
5985 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5986 PyObject
* _argo0
= 0;
5987 PyObject
* _obj1
= 0;
5988 PyObject
* _obj2
= 0;
5989 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6002 _arg1
= wxString_in_helper(_obj1
);
6008 _arg2
= wxString_in_helper(_obj2
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) return NULL
;
6018 } Py_INCREF(Py_None
);
6019 _resultobj
= Py_None
;
6031 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6032 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6034 wxHtmlEasyPrinting
* _arg0
;
6035 PyObject
* _argo0
= 0;
6036 char *_kwnames
[] = { "self", NULL
};
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) return NULL
;
6054 } Py_INCREF(Py_None
);
6055 _resultobj
= Py_None
;
6059 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6060 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6062 wxHtmlEasyPrinting
* _arg0
;
6063 PyObject
* _argo0
= 0;
6064 char *_kwnames
[] = { "self", NULL
};
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 wxHtmlEasyPrinting_PageSetup(_arg0
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6082 } Py_INCREF(Py_None
);
6083 _resultobj
= Py_None
;
6087 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6088 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6090 wxHtmlEasyPrinting
* _arg0
;
6092 int _arg2
= (int ) (wxPAGE_ALL
);
6093 PyObject
* _argo0
= 0;
6094 PyObject
* _obj1
= 0;
6095 char *_kwnames
[] = { "self","header","pg", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6108 _arg1
= wxString_in_helper(_obj1
);
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) return NULL
;
6118 } Py_INCREF(Py_None
);
6119 _resultobj
= Py_None
;
6127 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6128 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6130 wxHtmlEasyPrinting
* _arg0
;
6132 int _arg2
= (int ) (wxPAGE_ALL
);
6133 PyObject
* _argo0
= 0;
6134 PyObject
* _obj1
= 0;
6135 char *_kwnames
[] = { "self","footer","pg", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6148 _arg1
= wxString_in_helper(_obj1
);
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } Py_INCREF(Py_None
);
6159 _resultobj
= Py_None
;
6167 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6168 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
* _resultobj
;
6170 wxPrintData
* _result
;
6171 wxHtmlEasyPrinting
* _arg0
;
6172 PyObject
* _argo0
= 0;
6173 char *_kwnames
[] = { "self", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) return NULL
;
6193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6194 _resultobj
= Py_BuildValue("s",_ptemp
);
6197 _resultobj
= Py_None
;
6202 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6203 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6205 wxPageSetupDialogData
* _result
;
6206 wxHtmlEasyPrinting
* _arg0
;
6207 PyObject
* _argo0
= 0;
6208 char *_kwnames
[] = { "self", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) return NULL
;
6228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6229 _resultobj
= Py_BuildValue("s",_ptemp
);
6232 _resultobj
= Py_None
;
6237 static PyMethodDef htmlcMethods
[] = {
6238 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6376 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6377 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6378 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6379 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6380 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6381 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6382 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6383 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6384 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6385 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6386 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6387 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6388 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6389 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6390 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6391 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6392 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6393 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6394 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6395 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6396 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6397 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6398 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6399 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6406 * This table is used by the pointer type-checker
6408 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6409 { "_signed_long","_long",0},
6410 { "_wxPrintQuality","_wxCoord",0},
6411 { "_wxPrintQuality","_int",0},
6412 { "_wxPrintQuality","_signed_int",0},
6413 { "_wxPrintQuality","_unsigned_int",0},
6414 { "_wxPrintQuality","_wxWindowID",0},
6415 { "_wxPrintQuality","_uint",0},
6416 { "_wxPrintQuality","_EBool",0},
6417 { "_wxPrintQuality","_size_t",0},
6418 { "_wxPrintQuality","_time_t",0},
6419 { "_byte","_unsigned_char",0},
6420 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6421 { "_long","_unsigned_long",0},
6422 { "_long","_signed_long",0},
6423 { "_size_t","_wxCoord",0},
6424 { "_size_t","_wxPrintQuality",0},
6425 { "_size_t","_time_t",0},
6426 { "_size_t","_unsigned_int",0},
6427 { "_size_t","_int",0},
6428 { "_size_t","_wxWindowID",0},
6429 { "_size_t","_uint",0},
6430 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6431 { "_uint","_wxCoord",0},
6432 { "_uint","_wxPrintQuality",0},
6433 { "_uint","_time_t",0},
6434 { "_uint","_size_t",0},
6435 { "_uint","_unsigned_int",0},
6436 { "_uint","_int",0},
6437 { "_uint","_wxWindowID",0},
6438 { "_wxChar","_char",0},
6439 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6440 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6441 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6442 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6443 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6444 { "_char","_wxChar",0},
6445 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6446 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6447 { "_EBool","_wxCoord",0},
6448 { "_EBool","_wxPrintQuality",0},
6449 { "_EBool","_signed_int",0},
6450 { "_EBool","_int",0},
6451 { "_EBool","_wxWindowID",0},
6452 { "_unsigned_long","_long",0},
6453 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6454 { "_signed_int","_wxCoord",0},
6455 { "_signed_int","_wxPrintQuality",0},
6456 { "_signed_int","_EBool",0},
6457 { "_signed_int","_wxWindowID",0},
6458 { "_signed_int","_int",0},
6459 { "_WXTYPE","_wxDateTime_t",0},
6460 { "_WXTYPE","_short",0},
6461 { "_WXTYPE","_signed_short",0},
6462 { "_WXTYPE","_unsigned_short",0},
6463 { "_unsigned_short","_wxDateTime_t",0},
6464 { "_unsigned_short","_WXTYPE",0},
6465 { "_unsigned_short","_short",0},
6466 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6467 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6468 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6469 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6470 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6471 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6472 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6473 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6474 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6475 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6476 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6477 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6478 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6479 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6480 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6481 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6482 { "_signed_short","_WXTYPE",0},
6483 { "_signed_short","_short",0},
6484 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6485 { "_unsigned_char","_byte",0},
6486 { "_unsigned_int","_wxCoord",0},
6487 { "_unsigned_int","_wxPrintQuality",0},
6488 { "_unsigned_int","_time_t",0},
6489 { "_unsigned_int","_size_t",0},
6490 { "_unsigned_int","_uint",0},
6491 { "_unsigned_int","_wxWindowID",0},
6492 { "_unsigned_int","_int",0},
6493 { "_short","_wxDateTime_t",0},
6494 { "_short","_WXTYPE",0},
6495 { "_short","_unsigned_short",0},
6496 { "_short","_signed_short",0},
6497 { "_wxWindowID","_wxCoord",0},
6498 { "_wxWindowID","_wxPrintQuality",0},
6499 { "_wxWindowID","_time_t",0},
6500 { "_wxWindowID","_size_t",0},
6501 { "_wxWindowID","_EBool",0},
6502 { "_wxWindowID","_uint",0},
6503 { "_wxWindowID","_int",0},
6504 { "_wxWindowID","_signed_int",0},
6505 { "_wxWindowID","_unsigned_int",0},
6506 { "_int","_wxCoord",0},
6507 { "_int","_wxPrintQuality",0},
6508 { "_int","_time_t",0},
6509 { "_int","_size_t",0},
6510 { "_int","_EBool",0},
6511 { "_int","_uint",0},
6512 { "_int","_wxWindowID",0},
6513 { "_int","_unsigned_int",0},
6514 { "_int","_signed_int",0},
6515 { "_wxDateTime_t","_unsigned_short",0},
6516 { "_wxDateTime_t","_short",0},
6517 { "_wxDateTime_t","_WXTYPE",0},
6518 { "_time_t","_wxCoord",0},
6519 { "_time_t","_wxPrintQuality",0},
6520 { "_time_t","_unsigned_int",0},
6521 { "_time_t","_int",0},
6522 { "_time_t","_wxWindowID",0},
6523 { "_time_t","_uint",0},
6524 { "_time_t","_size_t",0},
6525 { "_wxCoord","_int",0},
6526 { "_wxCoord","_signed_int",0},
6527 { "_wxCoord","_unsigned_int",0},
6528 { "_wxCoord","_wxWindowID",0},
6529 { "_wxCoord","_uint",0},
6530 { "_wxCoord","_EBool",0},
6531 { "_wxCoord","_size_t",0},
6532 { "_wxCoord","_time_t",0},
6533 { "_wxCoord","_wxPrintQuality",0},
6534 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6535 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6536 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6539 static PyObject
*SWIG_globals
;
6543 SWIGEXPORT(void) inithtmlc() {
6545 SWIG_globals
= SWIG_newvarlink();
6546 m
= Py_InitModule("htmlc", htmlcMethods
);
6547 d
= PyModule_GetDict(m
);
6548 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6549 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6550 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6551 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6552 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6553 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6554 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6555 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6556 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6557 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6558 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6559 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6560 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6561 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6562 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6563 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6564 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6565 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6566 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6567 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6568 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6569 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6570 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6571 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6572 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6573 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6574 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6575 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6576 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6577 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6582 wxClassInfo::CleanUpClasses();
6583 wxClassInfo::InitializeClasses();
6585 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6586 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6587 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6590 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6591 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);