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 PyObject
* s
= wx2PyString(url
);
268 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
270 if (PyString_Check(ro
)
271 #if PYTHON_API_VERSION >= 1009
272 || PyUnicode_Check(ro
)
275 *redirect
= Py2wxString(ro
);
276 rval
= wxHTML_REDIRECT
;
279 PyObject
* num
= PyNumber_Int(ro
);
280 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
285 wxPyEndBlockThreads();
287 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
293 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
294 wxHtmlWindow::AddFilter(filter
);
297 extern "C" SWIGEXPORT(void) inithtmlhelpc();
301 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
304 PyObject
* _obj0
= 0;
305 char *_kwnames
[] = { "tagHandlerClass", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
315 wxHtmlWinParser_AddTagHandler(_arg0
);
317 wxPyEndAllowThreads(__tstate
);
318 if (PyErr_Occurred()) return NULL
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
326 wxHtmlFilter
* _arg0
;
327 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "filter", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
342 wxHtmlWindow_AddFilter(_arg0
);
344 wxPyEndAllowThreads(__tstate
);
345 if (PyErr_Occurred()) return NULL
;
346 } Py_INCREF(Py_None
);
347 _resultobj
= Py_None
;
351 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
354 src
= (wxHtmlLinkInfo
*) ptr
;
355 dest
= (wxObject
*) src
;
356 return (void *) dest
;
359 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
360 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxHtmlLinkInfo
* _result
;
364 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
365 PyObject
* _obj0
= 0;
366 PyObject
* _obj1
= 0;
367 char *_kwnames
[] = { "href","target", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
374 _arg0
= wxString_in_helper(_obj0
);
380 _arg1
= wxString_in_helper(_obj1
);
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
392 _resultobj
= Py_BuildValue("s",_ptemp
);
395 _resultobj
= Py_None
;
408 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
409 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 PyObject
* _resultobj
;
412 wxHtmlLinkInfo
* _arg0
;
413 PyObject
* _argo0
= 0;
414 char *_kwnames
[] = { "self", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
428 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
430 wxPyEndAllowThreads(__tstate
);
431 if (PyErr_Occurred()) return NULL
;
434 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
436 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
445 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
446 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
449 wxHtmlLinkInfo
* _arg0
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
465 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
467 wxPyEndAllowThreads(__tstate
);
468 if (PyErr_Occurred()) return NULL
;
471 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
473 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
482 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
483 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
485 wxMouseEvent
* _result
;
486 wxHtmlLinkInfo
* _arg0
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
502 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
504 wxPyEndAllowThreads(__tstate
);
505 if (PyErr_Occurred()) return NULL
;
506 }{ _resultobj
= wxPyMake_wxObject(_result
); }
510 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
511 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
513 wxHtmlCell
* _result
;
514 wxHtmlLinkInfo
* _arg0
;
515 PyObject
* _argo0
= 0;
516 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
533 wxPyEndAllowThreads(__tstate
);
534 if (PyErr_Occurred()) return NULL
;
536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
537 _resultobj
= Py_BuildValue("s",_ptemp
);
540 _resultobj
= Py_None
;
545 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
546 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
548 wxHtmlLinkInfo
* _arg0
;
549 wxMouseEvent
* _arg1
;
550 PyObject
* _argo0
= 0;
551 PyObject
* _argo1
= 0;
552 char *_kwnames
[] = { "self","e", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
577 } Py_INCREF(Py_None
);
578 _resultobj
= Py_None
;
582 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
583 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
585 wxHtmlLinkInfo
* _arg0
;
587 PyObject
* _argo0
= 0;
588 PyObject
* _argo1
= 0;
589 char *_kwnames
[] = { "self","e", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
614 } Py_INCREF(Py_None
);
615 _resultobj
= Py_None
;
619 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
622 src
= (wxHtmlTag
*) ptr
;
623 dest
= (wxObject
*) src
;
624 return (void *) dest
;
627 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
628 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
653 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
665 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
670 PyObject
* _argo0
= 0;
671 PyObject
* _obj1
= 0;
672 char *_kwnames
[] = { "self","par", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
685 _arg1
= wxString_in_helper(_obj1
);
690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
691 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
693 wxPyEndAllowThreads(__tstate
);
694 if (PyErr_Occurred()) return NULL
;
695 } _resultobj
= Py_BuildValue("i",_result
);
703 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
704 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
709 int _arg2
= (int ) FALSE
;
710 PyObject
* _argo0
= 0;
711 PyObject
* _obj1
= 0;
712 char *_kwnames
[] = { "self","par","with_commas", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
725 _arg1
= wxString_in_helper(_obj1
);
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
737 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
752 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
753 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
772 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
774 wxPyEndAllowThreads(__tstate
);
775 if (PyErr_Occurred()) return NULL
;
778 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
780 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
789 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
790 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
809 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) return NULL
;
813 } _resultobj
= Py_BuildValue("i",_result
);
817 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
818 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
819 PyObject
* _resultobj
;
822 PyObject
* _argo0
= 0;
823 char *_kwnames
[] = { "self", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } _resultobj
= Py_BuildValue("i",_result
);
845 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
846 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
850 PyObject
* _argo0
= 0;
851 char *_kwnames
[] = { "self", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) return NULL
;
869 } _resultobj
= Py_BuildValue("i",_result
);
873 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
874 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
878 PyObject
* _argo0
= 0;
879 char *_kwnames
[] = { "self", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
893 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
895 wxPyEndAllowThreads(__tstate
);
896 if (PyErr_Occurred()) return NULL
;
897 } _resultobj
= Py_BuildValue("i",_result
);
901 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
904 src
= (wxHtmlParser
*) ptr
;
905 dest
= (wxObject
*) src
;
906 return (void *) dest
;
909 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
910 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
912 wxHtmlParser
* _arg0
;
913 wxFileSystem
* _arg1
;
914 PyObject
* _argo0
= 0;
915 PyObject
* _argo1
= 0;
916 char *_kwnames
[] = { "self","fs", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 wxHtmlParser_SetFS(_arg0
,_arg1
);
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) return NULL
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
947 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
949 wxFileSystem
* _result
;
950 wxHtmlParser
* _arg0
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 }{ _resultobj
= wxPyMake_wxObject(_result
); }
974 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
975 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 wxHtmlParser
* _arg0
;
980 PyObject
* _argo0
= 0;
981 PyObject
* _obj1
= 0;
982 char *_kwnames
[] = { "self","source", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
995 _arg1
= wxString_in_helper(_obj1
);
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) return NULL
;
1005 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1013 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1014 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1016 wxHtmlParser
* _arg0
;
1018 PyObject
* _argo0
= 0;
1019 PyObject
* _obj1
= 0;
1020 char *_kwnames
[] = { "self","source", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1033 _arg1
= wxString_in_helper(_obj1
);
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) return NULL
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1052 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1053 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1055 wxHtmlParser
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 char *_kwnames
[] = { "self", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 wxHtmlParser_DoneParser(_arg0
);
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1075 } Py_INCREF(Py_None
);
1076 _resultobj
= Py_None
;
1080 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1081 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxHtmlParser
* _arg0
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1110 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1111 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1113 wxHtmlParser
* _arg0
;
1114 wxHtmlTagHandler
* _arg1
;
1115 PyObject
* _argo0
= 0;
1116 PyObject
* _argo1
= 0;
1117 char *_kwnames
[] = { "self","handler", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) return NULL
;
1142 } Py_INCREF(Py_None
);
1143 _resultobj
= Py_None
;
1147 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1148 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1151 wxHtmlParser
* _arg0
;
1152 PyObject
* _argo0
= 0;
1153 char *_kwnames
[] = { "self", NULL
};
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1167 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1169 wxPyEndAllowThreads(__tstate
);
1170 if (PyErr_Occurred()) return NULL
;
1173 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1175 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1181 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1182 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1184 wxHtmlParser
* _arg0
;
1185 wxHtmlTagHandler
* _arg1
;
1187 PyObject
* _argo0
= 0;
1188 PyObject
* _argo1
= 0;
1189 PyObject
* _obj2
= 0;
1190 char *_kwnames
[] = { "self","handler","tags", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1210 _arg2
= wxString_in_helper(_obj2
);
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) return NULL
;
1220 } Py_INCREF(Py_None
);
1221 _resultobj
= Py_None
;
1229 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1230 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1232 wxHtmlParser
* _arg0
;
1233 PyObject
* _argo0
= 0;
1234 char *_kwnames
[] = { "self", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 wxHtmlParser_PopTagHandler(_arg0
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1258 wxHtmlWinParser
*src
;
1260 src
= (wxHtmlWinParser
*) ptr
;
1261 dest
= (wxHtmlParser
*) src
;
1262 return (void *) dest
;
1265 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1266 wxHtmlWinParser
*src
;
1268 src
= (wxHtmlWinParser
*) ptr
;
1269 dest
= (wxObject
*) src
;
1270 return (void *) dest
;
1273 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1274 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1276 wxHtmlWinParser
* _result
;
1277 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1278 PyObject
* _argo0
= 0;
1279 char *_kwnames
[] = { "wnd", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) return NULL
;
1299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1300 _resultobj
= Py_BuildValue("s",_ptemp
);
1303 _resultobj
= Py_None
;
1308 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1309 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxHtmlWinParser
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 PyObject
* _argo1
= 0;
1315 char *_kwnames
[] = { "self","dc", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1340 } Py_INCREF(Py_None
);
1341 _resultobj
= Py_None
;
1345 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1346 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1349 wxHtmlWinParser
* _arg0
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1369 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1373 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1374 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 wxHtmlWinParser
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1402 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1405 wxHtmlWinParser
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1430 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1432 wxHtmlWindow
* _result
;
1433 wxHtmlWinParser
* _arg0
;
1434 PyObject
* _argo0
= 0;
1435 char *_kwnames
[] = { "self", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) return NULL
;
1453 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1457 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1458 int* temp
= int_LIST_helper(sizes
);
1460 self
->SetFonts(normal_face
, fixed_face
, temp
);
1464 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 wxHtmlWinParser
* _arg0
;
1470 PyObject
* _argo0
= 0;
1471 PyObject
* _obj1
= 0;
1472 PyObject
* _obj2
= 0;
1473 PyObject
* _obj3
= 0;
1474 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1487 _arg1
= wxString_in_helper(_obj1
);
1492 _arg2
= wxString_in_helper(_obj2
);
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1518 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1519 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1521 wxHtmlContainerCell
* _result
;
1522 wxHtmlWinParser
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) return NULL
;
1544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1545 _resultobj
= Py_BuildValue("s",_ptemp
);
1548 _resultobj
= Py_None
;
1553 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1554 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1556 wxHtmlContainerCell
* _result
;
1557 wxHtmlWinParser
* _arg0
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) return NULL
;
1579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1580 _resultobj
= Py_BuildValue("s",_ptemp
);
1583 _resultobj
= Py_None
;
1588 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1589 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1591 wxHtmlContainerCell
* _result
;
1592 wxHtmlWinParser
* _arg0
;
1593 wxHtmlContainerCell
* _arg1
;
1594 PyObject
* _argo0
= 0;
1595 PyObject
* _argo1
= 0;
1596 char *_kwnames
[] = { "self","c", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1624 _resultobj
= Py_BuildValue("s",_ptemp
);
1627 _resultobj
= Py_None
;
1632 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1633 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxHtmlContainerCell
* _result
;
1636 wxHtmlWinParser
* _arg0
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) return NULL
;
1658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1659 _resultobj
= Py_BuildValue("s",_ptemp
);
1662 _resultobj
= Py_None
;
1667 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1668 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1671 wxHtmlWinParser
* _arg0
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1695 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1696 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1698 wxHtmlWinParser
* _arg0
;
1700 PyObject
* _argo0
= 0;
1701 char *_kwnames
[] = { "self","s", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) return NULL
;
1719 } Py_INCREF(Py_None
);
1720 _resultobj
= Py_None
;
1724 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1725 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1728 wxHtmlWinParser
* _arg0
;
1729 PyObject
* _argo0
= 0;
1730 char *_kwnames
[] = { "self", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) return NULL
;
1748 } _resultobj
= Py_BuildValue("i",_result
);
1752 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1753 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1755 wxHtmlWinParser
* _arg0
;
1757 PyObject
* _argo0
= 0;
1758 char *_kwnames
[] = { "self","x", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) return NULL
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1781 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1782 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1785 wxHtmlWinParser
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } _resultobj
= Py_BuildValue("i",_result
);
1809 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1810 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1812 wxHtmlWinParser
* _arg0
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self","x", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1838 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1839 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 wxHtmlWinParser
* _arg0
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1867 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxHtmlWinParser
* _arg0
;
1871 PyObject
* _argo0
= 0;
1872 char *_kwnames
[] = { "self","x", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) return NULL
;
1890 } Py_INCREF(Py_None
);
1891 _resultobj
= Py_None
;
1895 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1896 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1899 wxHtmlWinParser
* _arg0
;
1900 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) return NULL
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1923 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1924 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1926 wxHtmlWinParser
* _arg0
;
1928 PyObject
* _argo0
= 0;
1929 char *_kwnames
[] = { "self","x", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) return NULL
;
1947 } Py_INCREF(Py_None
);
1948 _resultobj
= Py_None
;
1952 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1953 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1956 wxHtmlWinParser
* _arg0
;
1957 PyObject
* _argo0
= 0;
1958 char *_kwnames
[] = { "self", NULL
};
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) return NULL
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1980 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1981 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1983 wxHtmlWinParser
* _arg0
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self","a", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) return NULL
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2009 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2010 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2013 wxHtmlWinParser
* _arg0
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) return NULL
;
2034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2035 _resultobj
= Py_BuildValue("s",_ptemp
);
2039 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2040 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2042 wxHtmlWinParser
* _arg0
;
2044 PyObject
* _argo0
= 0;
2046 PyObject
* _obj1
= 0;
2047 char *_kwnames
[] = { "self","clr", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2061 if (! wxColour_helper(_obj1
, &_arg1
))
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) return NULL
;
2070 } Py_INCREF(Py_None
);
2071 _resultobj
= Py_None
;
2075 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2076 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 wxHtmlWinParser
* _arg0
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2105 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2106 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2108 wxHtmlWinParser
* _arg0
;
2110 PyObject
* _argo0
= 0;
2112 PyObject
* _obj1
= 0;
2113 char *_kwnames
[] = { "self","clr", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2127 if (! wxColour_helper(_obj1
, &_arg1
))
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) return NULL
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2142 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 wxHtmlWinParser
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 PyObject
* _obj1
= 0;
2148 char *_kwnames
[] = { "self","link", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2161 _arg1
= wxString_in_helper(_obj1
);
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) return NULL
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2180 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2181 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2184 wxHtmlWinParser
* _arg0
;
2185 PyObject
* _argo0
= 0;
2186 char *_kwnames
[] = { "self", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) return NULL
;
2206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2207 _resultobj
= Py_BuildValue("s",_ptemp
);
2210 _resultobj
= Py_None
;
2215 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2216 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2218 wxHtmlLinkInfo
* _result
;
2219 wxHtmlWinParser
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) return NULL
;
2240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2241 _resultobj
= Py_BuildValue("s",_ptemp
);
2245 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2246 wxPyHtmlTagHandler
*src
;
2248 src
= (wxPyHtmlTagHandler
*) ptr
;
2249 dest
= (wxObject
*) src
;
2250 return (void *) dest
;
2253 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2254 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2256 wxPyHtmlTagHandler
* _result
;
2257 char *_kwnames
[] = { NULL
};
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) return NULL
;
2270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2271 _resultobj
= Py_BuildValue("s",_ptemp
);
2274 _resultobj
= Py_None
;
2279 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2280 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2282 wxPyHtmlTagHandler
* _arg0
;
2285 PyObject
* _argo0
= 0;
2286 PyObject
* _obj1
= 0;
2287 PyObject
* _obj2
= 0;
2288 char *_kwnames
[] = { "self","self","_class", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) return NULL
;
2312 } Py_INCREF(Py_None
);
2313 _resultobj
= Py_None
;
2317 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2318 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2320 wxPyHtmlTagHandler
* _arg0
;
2321 wxHtmlParser
* _arg1
;
2322 PyObject
* _argo0
= 0;
2323 PyObject
* _argo1
= 0;
2324 char *_kwnames
[] = { "self","parser", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) return NULL
;
2349 } Py_INCREF(Py_None
);
2350 _resultobj
= Py_None
;
2354 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2355 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2357 wxHtmlParser
* _result
;
2358 wxPyHtmlTagHandler
* _arg0
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) return NULL
;
2380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2381 _resultobj
= Py_BuildValue("s",_ptemp
);
2384 _resultobj
= Py_None
;
2389 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2390 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2392 wxPyHtmlTagHandler
* _arg0
;
2394 PyObject
* _argo0
= 0;
2395 PyObject
* _argo1
= 0;
2396 char *_kwnames
[] = { "self","tag", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2426 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2427 wxPyHtmlWinTagHandler
*src
;
2428 wxPyHtmlTagHandler
*dest
;
2429 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2430 dest
= (wxPyHtmlTagHandler
*) src
;
2431 return (void *) dest
;
2434 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2435 wxPyHtmlWinTagHandler
*src
;
2437 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2438 dest
= (wxObject
*) src
;
2439 return (void *) dest
;
2442 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2443 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2445 wxPyHtmlWinTagHandler
* _result
;
2446 char *_kwnames
[] = { NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) return NULL
;
2459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2460 _resultobj
= Py_BuildValue("s",_ptemp
);
2463 _resultobj
= Py_None
;
2468 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2469 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxPyHtmlWinTagHandler
* _arg0
;
2474 PyObject
* _argo0
= 0;
2475 PyObject
* _obj1
= 0;
2476 PyObject
* _obj2
= 0;
2477 char *_kwnames
[] = { "self","self","_class", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) return NULL
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2506 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2507 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxPyHtmlWinTagHandler
* _arg0
;
2510 wxHtmlParser
* _arg1
;
2511 PyObject
* _argo0
= 0;
2512 PyObject
* _argo1
= 0;
2513 char *_kwnames
[] = { "self","parser", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) return NULL
;
2538 } Py_INCREF(Py_None
);
2539 _resultobj
= Py_None
;
2543 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2544 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2546 wxHtmlWinParser
* _result
;
2547 wxPyHtmlWinTagHandler
* _arg0
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2570 _resultobj
= Py_BuildValue("s",_ptemp
);
2573 _resultobj
= Py_None
;
2578 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2579 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2581 wxPyHtmlWinTagHandler
* _arg0
;
2583 PyObject
* _argo0
= 0;
2584 PyObject
* _argo1
= 0;
2585 char *_kwnames
[] = { "self","tag", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) return NULL
;
2610 } Py_INCREF(Py_None
);
2611 _resultobj
= Py_None
;
2615 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2618 src
= (wxHtmlCell
*) ptr
;
2619 dest
= (wxObject
*) src
;
2620 return (void *) dest
;
2623 #define new_wxHtmlCell() (new wxHtmlCell())
2624 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxHtmlCell
* _result
;
2627 char *_kwnames
[] = { NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) return NULL
;
2640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2641 _resultobj
= Py_BuildValue("s",_ptemp
);
2644 _resultobj
= Py_None
;
2649 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2650 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) return NULL
;
2673 } _resultobj
= Py_BuildValue("i",_result
);
2677 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2678 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) return NULL
;
2701 } _resultobj
= Py_BuildValue("i",_result
);
2705 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2706 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) return NULL
;
2729 } _resultobj
= Py_BuildValue("i",_result
);
2733 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2734 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } _resultobj
= Py_BuildValue("i",_result
);
2761 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2762 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } _resultobj
= Py_BuildValue("i",_result
);
2789 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2790 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2792 wxHtmlLinkInfo
* _result
;
2794 int _arg1
= (int ) 0;
2795 int _arg2
= (int ) 0;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self","x","y", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) return NULL
;
2817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2818 _resultobj
= Py_BuildValue("s",_ptemp
);
2821 _resultobj
= Py_None
;
2826 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2827 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2829 wxHtmlCell
* _result
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) return NULL
;
2852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2853 _resultobj
= Py_BuildValue("s",_ptemp
);
2856 _resultobj
= Py_None
;
2861 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2862 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2864 wxHtmlContainerCell
* _result
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2888 _resultobj
= Py_BuildValue("s",_ptemp
);
2891 _resultobj
= Py_None
;
2896 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2897 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2900 wxHtmlLinkInfo
* _arg1
;
2901 PyObject
* _argo0
= 0;
2902 PyObject
* _argo1
= 0;
2903 char *_kwnames
[] = { "self","link", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2934 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2938 PyObject
* _argo0
= 0;
2939 PyObject
* _argo1
= 0;
2940 char *_kwnames
[] = { "self","cell", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 wxHtmlCell_SetNext(_arg0
,_arg1
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) return NULL
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2970 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2971 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2974 wxHtmlContainerCell
* _arg1
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _argo1
= 0;
2977 char *_kwnames
[] = { "self","p", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 wxHtmlCell_SetParent(_arg0
,_arg1
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self","x","y", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) return NULL
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3038 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","w", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 wxHtmlCell_Layout(_arg0
,_arg1
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3067 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3075 PyObject
* _argo0
= 0;
3076 PyObject
* _argo1
= 0;
3077 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3108 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 PyObject
* _argo1
= 0;
3116 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3141 } Py_INCREF(Py_None
);
3142 _resultobj
= Py_None
;
3146 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3147 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3149 wxHtmlCell
* _result
;
3153 PyObject
* _argo0
= 0;
3154 PyObject
* _argo2
= 0;
3155 char *_kwnames
[] = { "self","condition","param", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3169 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3183 _resultobj
= Py_BuildValue("s",_ptemp
);
3186 _resultobj
= Py_None
;
3191 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3192 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3197 PyObject
* _argo0
= 0;
3198 PyObject
* _argo1
= 0;
3199 char *_kwnames
[] = { "self","pagebreak", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } _resultobj
= Py_BuildValue("i",_result
);
3228 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3229 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3233 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self","can", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3247 _arg1
= (bool ) tempbool1
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) return NULL
;
3254 } Py_INCREF(Py_None
);
3255 _resultobj
= Py_None
;
3259 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3260 wxHtmlWordCell
*src
;
3262 src
= (wxHtmlWordCell
*) ptr
;
3263 dest
= (wxHtmlCell
*) src
;
3264 return (void *) dest
;
3267 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3268 wxHtmlWordCell
*src
;
3270 src
= (wxHtmlWordCell
*) ptr
;
3271 dest
= (wxObject
*) src
;
3272 return (void *) dest
;
3275 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3276 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3278 wxHtmlWordCell
* _result
;
3281 PyObject
* _obj0
= 0;
3282 PyObject
* _argo1
= 0;
3283 char *_kwnames
[] = { "word","dc", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3290 _arg0
= wxString_in_helper(_obj0
);
3295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) return NULL
;
3308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3309 _resultobj
= Py_BuildValue("s",_ptemp
);
3312 _resultobj
= Py_None
;
3321 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3322 wxHtmlContainerCell
*src
;
3324 src
= (wxHtmlContainerCell
*) ptr
;
3325 dest
= (wxHtmlCell
*) src
;
3326 return (void *) dest
;
3329 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3330 wxHtmlContainerCell
*src
;
3332 src
= (wxHtmlContainerCell
*) ptr
;
3333 dest
= (wxObject
*) src
;
3334 return (void *) dest
;
3337 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3338 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3340 wxHtmlContainerCell
* _result
;
3341 wxHtmlContainerCell
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "parent", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3364 _resultobj
= Py_BuildValue("s",_ptemp
);
3367 _resultobj
= Py_None
;
3372 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3373 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3375 wxHtmlContainerCell
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 PyObject
* _argo1
= 0;
3379 char *_kwnames
[] = { "self","cell", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) return NULL
;
3404 } Py_INCREF(Py_None
);
3405 _resultobj
= Py_None
;
3409 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3410 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3412 wxHtmlContainerCell
* _arg0
;
3414 PyObject
* _argo0
= 0;
3415 char *_kwnames
[] = { "self","al", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) return NULL
;
3433 } Py_INCREF(Py_None
);
3434 _resultobj
= Py_None
;
3438 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3439 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
* _resultobj
;
3442 wxHtmlContainerCell
* _arg0
;
3443 PyObject
* _argo0
= 0;
3444 char *_kwnames
[] = { "self", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) return NULL
;
3462 } _resultobj
= Py_BuildValue("i",_result
);
3466 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3467 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3469 wxHtmlContainerCell
* _arg0
;
3471 PyObject
* _argo0
= 0;
3472 char *_kwnames
[] = { "self","al", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) return NULL
;
3490 } Py_INCREF(Py_None
);
3491 _resultobj
= Py_None
;
3495 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3496 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3499 wxHtmlContainerCell
* _arg0
;
3500 PyObject
* _argo0
= 0;
3501 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) return NULL
;
3519 } _resultobj
= Py_BuildValue("i",_result
);
3523 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3524 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxHtmlContainerCell
* _arg0
;
3529 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self","i","what","units", NULL
};
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) return NULL
;
3549 } Py_INCREF(Py_None
);
3550 _resultobj
= Py_None
;
3554 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3555 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
* _resultobj
;
3558 wxHtmlContainerCell
* _arg0
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self","ind", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3579 } _resultobj
= Py_BuildValue("i",_result
);
3583 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3584 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3587 wxHtmlContainerCell
* _arg0
;
3589 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self","ind", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3608 } _resultobj
= Py_BuildValue("i",_result
);
3612 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3613 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3615 wxHtmlContainerCell
* _arg0
;
3617 PyObject
* _argo0
= 0;
3618 PyObject
* _argo1
= 0;
3619 char *_kwnames
[] = { "self","tag", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) return NULL
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3649 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3650 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3652 wxHtmlContainerCell
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self","w","units", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3680 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3682 wxHtmlContainerCell
* _arg0
;
3684 PyObject
* _argo0
= 0;
3685 PyObject
* _argo1
= 0;
3686 char *_kwnames
[] = { "self","tag", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3717 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3719 wxHtmlContainerCell
* _arg0
;
3721 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self","h","align", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) return NULL
;
3741 } Py_INCREF(Py_None
);
3742 _resultobj
= Py_None
;
3746 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3747 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3749 wxHtmlContainerCell
* _arg0
;
3751 PyObject
* _argo0
= 0;
3753 PyObject
* _obj1
= 0;
3754 char *_kwnames
[] = { "self","clr", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3768 if (! wxColour_helper(_obj1
, &_arg1
))
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) return NULL
;
3777 } Py_INCREF(Py_None
);
3778 _resultobj
= Py_None
;
3782 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3783 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3785 wxHtmlContainerCell
* _arg0
;
3788 PyObject
* _argo0
= 0;
3790 PyObject
* _obj1
= 0;
3792 PyObject
* _obj2
= 0;
3793 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3807 if (! wxColour_helper(_obj1
, &_arg1
))
3812 if (! wxColour_helper(_obj2
, &_arg2
))
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) return NULL
;
3821 } Py_INCREF(Py_None
);
3822 _resultobj
= Py_None
;
3826 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3827 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3829 wxHtmlCell
* _result
;
3830 wxHtmlContainerCell
* _arg0
;
3831 PyObject
* _argo0
= 0;
3832 char *_kwnames
[] = { "self", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) return NULL
;
3852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3853 _resultobj
= Py_BuildValue("s",_ptemp
);
3856 _resultobj
= Py_None
;
3861 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3862 wxHtmlColourCell
*src
;
3864 src
= (wxHtmlColourCell
*) ptr
;
3865 dest
= (wxHtmlCell
*) src
;
3866 return (void *) dest
;
3869 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3870 wxHtmlColourCell
*src
;
3872 src
= (wxHtmlColourCell
*) ptr
;
3873 dest
= (wxObject
*) src
;
3874 return (void *) dest
;
3877 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3878 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
* _resultobj
;
3880 wxHtmlColourCell
* _result
;
3882 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3884 PyObject
* _obj0
= 0;
3885 char *_kwnames
[] = { "clr","flags", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3893 if (! wxColour_helper(_obj0
, &_arg0
))
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) return NULL
;
3903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3904 _resultobj
= Py_BuildValue("s",_ptemp
);
3907 _resultobj
= Py_None
;
3912 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3913 wxHtmlFontCell
*src
;
3915 src
= (wxHtmlFontCell
*) ptr
;
3916 dest
= (wxHtmlCell
*) src
;
3917 return (void *) dest
;
3920 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3921 wxHtmlFontCell
*src
;
3923 src
= (wxHtmlFontCell
*) ptr
;
3924 dest
= (wxObject
*) src
;
3925 return (void *) dest
;
3928 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3929 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3931 wxHtmlFontCell
* _result
;
3933 PyObject
* _argo0
= 0;
3934 char *_kwnames
[] = { "font", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3954 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3955 _resultobj
= Py_BuildValue("s",_ptemp
);
3958 _resultobj
= Py_None
;
3963 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3964 wxHtmlWidgetCell
*src
;
3966 src
= (wxHtmlWidgetCell
*) ptr
;
3967 dest
= (wxHtmlCell
*) src
;
3968 return (void *) dest
;
3971 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3972 wxHtmlWidgetCell
*src
;
3974 src
= (wxHtmlWidgetCell
*) ptr
;
3975 dest
= (wxObject
*) src
;
3976 return (void *) dest
;
3979 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3980 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3982 wxHtmlWidgetCell
* _result
;
3984 int _arg1
= (int ) 0;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "wnd","w", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4007 _resultobj
= Py_BuildValue("s",_ptemp
);
4010 _resultobj
= Py_None
;
4015 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4016 wxPyHtmlWindow
*src
;
4017 wxScrolledWindow
*dest
;
4018 src
= (wxPyHtmlWindow
*) ptr
;
4019 dest
= (wxScrolledWindow
*) src
;
4020 return (void *) dest
;
4023 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4024 wxPyHtmlWindow
*src
;
4026 src
= (wxPyHtmlWindow
*) ptr
;
4027 dest
= (wxPanel
*) src
;
4028 return (void *) dest
;
4031 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4032 wxPyHtmlWindow
*src
;
4034 src
= (wxPyHtmlWindow
*) ptr
;
4035 dest
= (wxWindow
*) src
;
4036 return (void *) dest
;
4039 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4040 wxPyHtmlWindow
*src
;
4042 src
= (wxPyHtmlWindow
*) ptr
;
4043 dest
= (wxEvtHandler
*) src
;
4044 return (void *) dest
;
4047 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4048 wxPyHtmlWindow
*src
;
4050 src
= (wxPyHtmlWindow
*) ptr
;
4051 dest
= (wxObject
*) src
;
4052 return (void *) dest
;
4055 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4056 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4058 wxPyHtmlWindow
* _result
;
4060 int _arg1
= (int ) -1;
4061 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4062 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4063 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4064 wxString
* _arg5
= (wxString
*) &wxPyHtmlWindowNameStr
;
4065 PyObject
* _argo0
= 0;
4067 PyObject
* _obj2
= 0;
4069 PyObject
* _obj3
= 0;
4070 PyObject
* _obj5
= 0;
4071 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOiO:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4087 if (! wxPoint_helper(_obj2
, &_arg2
))
4093 if (! wxSize_helper(_obj3
, &_arg3
))
4098 _arg5
= wxString_in_helper(_obj5
);
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) return NULL
;
4109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4110 _resultobj
= Py_BuildValue("s",_ptemp
);
4113 _resultobj
= Py_None
;
4122 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4123 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4125 wxPyHtmlWindow
* _result
;
4126 char *_kwnames
[] = { NULL
};
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) return NULL
;
4139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4140 _resultobj
= Py_BuildValue("s",_ptemp
);
4143 _resultobj
= Py_None
;
4148 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4149 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4152 wxPyHtmlWindow
* _arg0
;
4154 int _arg2
= (int ) -1;
4155 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4156 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4157 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4158 wxString
* _arg6
= (wxString
*) &wxPyHtmlWindowNameStr
;
4159 PyObject
* _argo0
= 0;
4160 PyObject
* _argo1
= 0;
4162 PyObject
* _obj3
= 0;
4164 PyObject
* _obj4
= 0;
4165 PyObject
* _obj6
= 0;
4166 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOiO:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4188 if (! wxPoint_helper(_obj3
, &_arg3
))
4194 if (! wxSize_helper(_obj4
, &_arg4
))
4199 _arg6
= wxString_in_helper(_obj6
);
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) return NULL
;
4209 } _resultobj
= Py_BuildValue("i",_result
);
4217 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4218 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4220 wxPyHtmlWindow
* _arg0
;
4223 PyObject
* _argo0
= 0;
4224 PyObject
* _obj1
= 0;
4225 PyObject
* _obj2
= 0;
4226 char *_kwnames
[] = { "self","self","_class", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) return NULL
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4256 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 wxPyHtmlWindow
* _arg0
;
4261 PyObject
* _argo0
= 0;
4262 PyObject
* _obj1
= 0;
4263 char *_kwnames
[] = { "self","source", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4276 _arg1
= wxString_in_helper(_obj1
);
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) return NULL
;
4286 } _resultobj
= Py_BuildValue("i",_result
);
4294 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4295 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4298 wxPyHtmlWindow
* _arg0
;
4300 PyObject
* _argo0
= 0;
4301 PyObject
* _obj1
= 0;
4302 char *_kwnames
[] = { "self","location", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4315 _arg1
= wxString_in_helper(_obj1
);
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) return NULL
;
4325 } _resultobj
= Py_BuildValue("i",_result
);
4333 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4334 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4337 wxPyHtmlWindow
* _arg0
;
4339 PyObject
* _argo0
= 0;
4340 PyObject
* _obj1
= 0;
4341 char *_kwnames
[] = { "self","source", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4354 _arg1
= wxString_in_helper(_obj1
);
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4364 } _resultobj
= Py_BuildValue("i",_result
);
4372 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4373 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4376 wxPyHtmlWindow
* _arg0
;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "self", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) return NULL
;
4398 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4400 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4409 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4410 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxPyHtmlWindow
* _arg0
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4435 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4446 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4447 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
* _resultobj
;
4450 wxPyHtmlWindow
* _arg0
;
4451 PyObject
* _argo0
= 0;
4452 char *_kwnames
[] = { "self", NULL
};
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) return NULL
;
4472 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4474 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4483 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4484 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4486 wxPyHtmlWindow
* _arg0
;
4489 PyObject
* _argo0
= 0;
4490 PyObject
* _argo1
= 0;
4491 PyObject
* _obj2
= 0;
4492 char *_kwnames
[] = { "self","frame","format", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4512 _arg2
= wxString_in_helper(_obj2
);
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,*_arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) return NULL
;
4522 } Py_INCREF(Py_None
);
4523 _resultobj
= Py_None
;
4531 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4532 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4535 wxPyHtmlWindow
* _arg0
;
4536 PyObject
* _argo0
= 0;
4537 char *_kwnames
[] = { "self", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) return NULL
;
4555 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4559 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4560 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4562 wxPyHtmlWindow
* _arg0
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self","bar", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4588 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4589 int* temp
= int_LIST_helper(sizes
);
4591 self
->SetFonts(normal_face
, fixed_face
, temp
);
4595 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4597 wxPyHtmlWindow
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 PyObject
* _obj1
= 0;
4603 PyObject
* _obj2
= 0;
4604 PyObject
* _obj3
= 0;
4605 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4618 _arg1
= wxString_in_helper(_obj1
);
4623 _arg2
= wxString_in_helper(_obj2
);
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) return NULL
;
4636 } Py_INCREF(Py_None
);
4637 _resultobj
= Py_None
;
4649 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4650 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4652 wxPyHtmlWindow
* _arg0
;
4654 PyObject
* _argo0
= 0;
4655 PyObject
* _obj1
= 0;
4656 char *_kwnames
[] = { "self","title", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4669 _arg1
= wxString_in_helper(_obj1
);
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4679 } Py_INCREF(Py_None
);
4680 _resultobj
= Py_None
;
4688 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4689 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4691 wxPyHtmlWindow
* _arg0
;
4693 PyObject
* _argo0
= 0;
4694 char *_kwnames
[] = { "self","b", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) return NULL
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4718 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4720 wxPyHtmlWindow
* _arg0
;
4721 wxConfigBase
* _arg1
;
4722 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4723 PyObject
* _argo0
= 0;
4724 PyObject
* _argo1
= 0;
4725 PyObject
* _obj2
= 0;
4726 char *_kwnames
[] = { "self","cfg","path", NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4747 _arg2
= wxString_in_helper(_obj2
);
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4766 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4767 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4769 wxPyHtmlWindow
* _arg0
;
4770 wxConfigBase
* _arg1
;
4771 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4772 PyObject
* _argo0
= 0;
4773 PyObject
* _argo1
= 0;
4774 PyObject
* _obj2
= 0;
4775 char *_kwnames
[] = { "self","cfg","path", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4796 _arg2
= wxString_in_helper(_obj2
);
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4815 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4816 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4819 wxPyHtmlWindow
* _arg0
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4839 } _resultobj
= Py_BuildValue("i",_result
);
4843 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4844 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4847 wxPyHtmlWindow
* _arg0
;
4848 PyObject
* _argo0
= 0;
4849 char *_kwnames
[] = { "self", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) return NULL
;
4867 } _resultobj
= Py_BuildValue("i",_result
);
4871 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4872 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4875 wxPyHtmlWindow
* _arg0
;
4876 PyObject
* _argo0
= 0;
4877 char *_kwnames
[] = { "self", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) return NULL
;
4895 } _resultobj
= Py_BuildValue("i",_result
);
4899 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4900 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4903 wxPyHtmlWindow
* _arg0
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4923 } _resultobj
= Py_BuildValue("i",_result
);
4927 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4928 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4930 wxPyHtmlWindow
* _arg0
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 wxHtmlWindow_HistoryClear(_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } Py_INCREF(Py_None
);
4951 _resultobj
= Py_None
;
4955 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4956 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4958 wxHtmlContainerCell
* _result
;
4959 wxPyHtmlWindow
* _arg0
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) return NULL
;
4981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4982 _resultobj
= Py_BuildValue("s",_ptemp
);
4985 _resultobj
= Py_None
;
4990 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4991 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4993 wxHtmlWinParser
* _result
;
4994 wxPyHtmlWindow
* _arg0
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5017 _resultobj
= Py_BuildValue("s",_ptemp
);
5020 _resultobj
= Py_None
;
5025 #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0))
5026 static PyObject
*_wrap_wxHtmlWindow_ScrollToAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5029 wxPyHtmlWindow
* _arg0
;
5031 PyObject
* _argo0
= 0;
5032 PyObject
* _obj1
= 0;
5033 char *_kwnames
[] = { "self","anchor", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames
,&_argo0
,&_obj1
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p.");
5046 _arg1
= wxString_in_helper(_obj1
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 _result
= (bool )wxHtmlWindow_ScrollToAnchor(_arg0
,*_arg1
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) return NULL
;
5056 } _resultobj
= Py_BuildValue("i",_result
);
5064 #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0))
5065 static PyObject
*_wrap_wxHtmlWindow_HasAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
* _resultobj
;
5068 wxPyHtmlWindow
* _arg0
;
5070 PyObject
* _argo0
= 0;
5071 PyObject
* _obj1
= 0;
5072 char *_kwnames
[] = { "self","anchor", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_HasAnchor",_kwnames
,&_argo0
,&_obj1
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p.");
5085 _arg1
= wxString_in_helper(_obj1
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 _result
= (bool )wxHtmlWindow_HasAnchor(_arg0
,*_arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) return NULL
;
5095 } _resultobj
= Py_BuildValue("i",_result
);
5103 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5104 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
* _resultobj
;
5106 wxPyHtmlWindow
* _arg0
;
5107 wxHtmlLinkInfo
* _arg1
;
5108 PyObject
* _argo0
= 0;
5109 PyObject
* _argo1
= 0;
5110 char *_kwnames
[] = { "self","link", NULL
};
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) return NULL
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5140 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5141 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxPyHtmlWindow
* _arg0
;
5145 PyObject
* _argo0
= 0;
5146 PyObject
* _obj1
= 0;
5147 char *_kwnames
[] = { "self","title", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_obj1
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5160 _arg1
= wxString_in_helper(_obj1
);
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 wxHtmlWindow_base_OnSetTitle(_arg0
,*_arg1
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) return NULL
;
5170 } Py_INCREF(Py_None
);
5171 _resultobj
= Py_None
;
5179 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5180 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxPyHtmlWindow
* _arg0
;
5186 PyObject
* _argo0
= 0;
5187 PyObject
* _argo1
= 0;
5188 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) return NULL
;
5213 } Py_INCREF(Py_None
);
5214 _resultobj
= Py_None
;
5218 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5219 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5221 wxPyHtmlWindow
* _arg0
;
5225 wxMouseEvent
* _arg4
;
5226 PyObject
* _argo0
= 0;
5227 PyObject
* _argo1
= 0;
5228 PyObject
* _argo4
= 0;
5229 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5249 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) return NULL
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5266 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5267 wxHtmlDCRenderer
*src
;
5269 src
= (wxHtmlDCRenderer
*) ptr
;
5270 dest
= (wxObject
*) src
;
5271 return (void *) dest
;
5274 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5275 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5277 wxHtmlDCRenderer
* _result
;
5278 char *_kwnames
[] = { NULL
};
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) return NULL
;
5291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5292 _resultobj
= Py_BuildValue("s",_ptemp
);
5295 _resultobj
= Py_None
;
5300 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5301 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxHtmlDCRenderer
* _arg0
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 delete_wxHtmlDCRenderer(_arg0
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) return NULL
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5328 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5329 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
* _resultobj
;
5331 wxHtmlDCRenderer
* _arg0
;
5334 PyObject
* _argo0
= 0;
5335 PyObject
* _argo1
= 0;
5336 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) return NULL
;
5361 } Py_INCREF(Py_None
);
5362 _resultobj
= Py_None
;
5366 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5367 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5369 wxHtmlDCRenderer
* _arg0
;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self","width","height", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5391 } Py_INCREF(Py_None
);
5392 _resultobj
= Py_None
;
5396 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5397 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5399 wxHtmlDCRenderer
* _arg0
;
5401 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5402 bool _arg3
= (bool ) TRUE
;
5403 PyObject
* _argo0
= 0;
5404 PyObject
* _obj1
= 0;
5405 PyObject
* _obj2
= 0;
5406 int tempbool3
= (int) TRUE
;
5407 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5420 _arg1
= wxString_in_helper(_obj1
);
5426 _arg2
= wxString_in_helper(_obj2
);
5430 _arg3
= (bool ) tempbool3
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) return NULL
;
5437 } Py_INCREF(Py_None
);
5438 _resultobj
= Py_None
;
5450 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5451 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
* _resultobj
;
5454 wxHtmlDCRenderer
* _arg0
;
5457 int _arg3
= (int ) 0;
5458 int _arg4
= (int ) FALSE
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5478 } _resultobj
= Py_BuildValue("i",_result
);
5482 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5483 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5486 wxHtmlDCRenderer
* _arg0
;
5487 PyObject
* _argo0
= 0;
5488 char *_kwnames
[] = { "self", NULL
};
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) return NULL
;
5506 } _resultobj
= Py_BuildValue("i",_result
);
5510 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5511 wxHtmlPrintout
*src
;
5513 src
= (wxHtmlPrintout
*) ptr
;
5514 dest
= (wxPyPrintout
*) src
;
5515 return (void *) dest
;
5518 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5519 wxHtmlPrintout
*src
;
5521 src
= (wxHtmlPrintout
*) ptr
;
5522 dest
= (wxObject
*) src
;
5523 return (void *) dest
;
5526 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5527 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
* _resultobj
;
5529 wxHtmlPrintout
* _result
;
5530 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintoutTitleStr
;
5531 PyObject
* _obj0
= 0;
5532 char *_kwnames
[] = { "title", NULL
};
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlPrintout",_kwnames
,&_obj0
))
5540 _arg0
= wxString_in_helper(_obj0
);
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(*_arg0
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5552 _resultobj
= Py_BuildValue("s",_ptemp
);
5555 _resultobj
= Py_None
;
5564 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5565 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5567 wxHtmlPrintout
* _arg0
;
5569 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5570 bool _arg3
= (bool ) TRUE
;
5571 PyObject
* _argo0
= 0;
5572 PyObject
* _obj1
= 0;
5573 PyObject
* _obj2
= 0;
5574 int tempbool3
= (int) TRUE
;
5575 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5588 _arg1
= wxString_in_helper(_obj1
);
5594 _arg2
= wxString_in_helper(_obj2
);
5598 _arg3
= (bool ) tempbool3
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) return NULL
;
5605 } Py_INCREF(Py_None
);
5606 _resultobj
= Py_None
;
5618 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5619 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5621 wxHtmlPrintout
* _arg0
;
5623 PyObject
* _argo0
= 0;
5624 PyObject
* _obj1
= 0;
5625 char *_kwnames
[] = { "self","htmlfile", NULL
};
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5638 _arg1
= wxString_in_helper(_obj1
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) return NULL
;
5648 } Py_INCREF(Py_None
);
5649 _resultobj
= Py_None
;
5657 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5658 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
* _resultobj
;
5660 wxHtmlPrintout
* _arg0
;
5662 int _arg2
= (int ) (wxPAGE_ALL
);
5663 PyObject
* _argo0
= 0;
5664 PyObject
* _obj1
= 0;
5665 char *_kwnames
[] = { "self","header","pg", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5678 _arg1
= wxString_in_helper(_obj1
);
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) return NULL
;
5688 } Py_INCREF(Py_None
);
5689 _resultobj
= Py_None
;
5697 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5698 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxHtmlPrintout
* _arg0
;
5702 int _arg2
= (int ) (wxPAGE_ALL
);
5703 PyObject
* _argo0
= 0;
5704 PyObject
* _obj1
= 0;
5705 char *_kwnames
[] = { "self","footer","pg", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5718 _arg1
= wxString_in_helper(_obj1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) return NULL
;
5728 } Py_INCREF(Py_None
);
5729 _resultobj
= Py_None
;
5737 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5738 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5740 wxHtmlPrintout
* _arg0
;
5741 float _arg1
= (float ) 25.2;
5742 float _arg2
= (float ) 25.2;
5743 float _arg3
= (float ) 25.2;
5744 float _arg4
= (float ) 25.2;
5745 float _arg5
= (float ) 5;
5746 PyObject
* _argo0
= 0;
5747 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) return NULL
;
5765 } Py_INCREF(Py_None
);
5766 _resultobj
= Py_None
;
5770 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5771 wxHtmlEasyPrinting
*src
;
5773 src
= (wxHtmlEasyPrinting
*) ptr
;
5774 dest
= (wxObject
*) src
;
5775 return (void *) dest
;
5778 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5779 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5781 wxHtmlEasyPrinting
* _result
;
5782 wxString
* _arg0
= (wxString
*) &wxPyHtmlPrintingTitleStr
;
5783 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5784 PyObject
* _obj0
= 0;
5785 PyObject
* _argo1
= 0;
5786 char *_kwnames
[] = { "name","parent_frame", NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxHtmlEasyPrinting",_kwnames
,&_obj0
,&_argo1
))
5794 _arg0
= wxString_in_helper(_obj0
);
5799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(*_arg0
,_arg1
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) return NULL
;
5812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5813 _resultobj
= Py_BuildValue("s",_ptemp
);
5816 _resultobj
= Py_None
;
5825 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5826 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
* _resultobj
;
5828 wxHtmlEasyPrinting
* _arg0
;
5829 PyObject
* _argo0
= 0;
5830 char *_kwnames
[] = { "self", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 delete_wxHtmlEasyPrinting(_arg0
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) return NULL
;
5848 } Py_INCREF(Py_None
);
5849 _resultobj
= Py_None
;
5853 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5854 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5856 wxHtmlEasyPrinting
* _arg0
;
5858 PyObject
* _argo0
= 0;
5859 PyObject
* _obj1
= 0;
5860 char *_kwnames
[] = { "self","htmlfile", NULL
};
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5873 _arg1
= wxString_in_helper(_obj1
);
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) return NULL
;
5883 } Py_INCREF(Py_None
);
5884 _resultobj
= Py_None
;
5892 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5893 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5895 wxHtmlEasyPrinting
* _arg0
;
5897 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5898 PyObject
* _argo0
= 0;
5899 PyObject
* _obj1
= 0;
5900 PyObject
* _obj2
= 0;
5901 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5914 _arg1
= wxString_in_helper(_obj1
);
5920 _arg2
= wxString_in_helper(_obj2
);
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) return NULL
;
5930 } Py_INCREF(Py_None
);
5931 _resultobj
= Py_None
;
5943 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5944 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5946 wxHtmlEasyPrinting
* _arg0
;
5948 PyObject
* _argo0
= 0;
5949 PyObject
* _obj1
= 0;
5950 char *_kwnames
[] = { "self","htmlfile", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5963 _arg1
= wxString_in_helper(_obj1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } Py_INCREF(Py_None
);
5974 _resultobj
= Py_None
;
5982 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5983 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5985 wxHtmlEasyPrinting
* _arg0
;
5987 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
5988 PyObject
* _argo0
= 0;
5989 PyObject
* _obj1
= 0;
5990 PyObject
* _obj2
= 0;
5991 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6004 _arg1
= wxString_in_helper(_obj1
);
6010 _arg2
= wxString_in_helper(_obj2
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) return NULL
;
6020 } Py_INCREF(Py_None
);
6021 _resultobj
= Py_None
;
6033 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6034 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6036 wxHtmlEasyPrinting
* _arg0
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) return NULL
;
6056 } Py_INCREF(Py_None
);
6057 _resultobj
= Py_None
;
6061 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6062 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
* _resultobj
;
6064 wxHtmlEasyPrinting
* _arg0
;
6065 PyObject
* _argo0
= 0;
6066 char *_kwnames
[] = { "self", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxHtmlEasyPrinting_PageSetup(_arg0
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6089 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6090 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6092 wxHtmlEasyPrinting
* _arg0
;
6094 int _arg2
= (int ) (wxPAGE_ALL
);
6095 PyObject
* _argo0
= 0;
6096 PyObject
* _obj1
= 0;
6097 char *_kwnames
[] = { "self","header","pg", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6110 _arg1
= wxString_in_helper(_obj1
);
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } Py_INCREF(Py_None
);
6121 _resultobj
= Py_None
;
6129 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6130 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6132 wxHtmlEasyPrinting
* _arg0
;
6134 int _arg2
= (int ) (wxPAGE_ALL
);
6135 PyObject
* _argo0
= 0;
6136 PyObject
* _obj1
= 0;
6137 char *_kwnames
[] = { "self","footer","pg", NULL
};
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6150 _arg1
= wxString_in_helper(_obj1
);
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) return NULL
;
6160 } Py_INCREF(Py_None
);
6161 _resultobj
= Py_None
;
6169 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6170 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
* _resultobj
;
6172 wxPrintData
* _result
;
6173 wxHtmlEasyPrinting
* _arg0
;
6174 PyObject
* _argo0
= 0;
6175 char *_kwnames
[] = { "self", NULL
};
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) return NULL
;
6195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6196 _resultobj
= Py_BuildValue("s",_ptemp
);
6199 _resultobj
= Py_None
;
6204 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6205 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6207 wxPageSetupDialogData
* _result
;
6208 wxHtmlEasyPrinting
* _arg0
;
6209 PyObject
* _argo0
= 0;
6210 char *_kwnames
[] = { "self", NULL
};
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) return NULL
;
6230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6231 _resultobj
= Py_BuildValue("s",_ptemp
);
6234 _resultobj
= Py_None
;
6239 static PyMethodDef htmlcMethods
[] = {
6240 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxHtmlWindow_HasAnchor", (PyCFunction
) _wrap_wxHtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxHtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_wxHtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6376 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6377 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6378 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6379 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6380 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6381 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6382 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6383 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6384 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6385 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6386 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6387 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6388 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6389 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6390 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6391 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6392 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6393 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6394 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6395 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6396 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6397 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6398 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6399 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6400 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6401 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6408 * This table is used by the pointer type-checker
6410 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6411 { "_signed_long","_long",0},
6412 { "_wxPrintQuality","_wxCoord",0},
6413 { "_wxPrintQuality","_int",0},
6414 { "_wxPrintQuality","_signed_int",0},
6415 { "_wxPrintQuality","_unsigned_int",0},
6416 { "_wxPrintQuality","_wxWindowID",0},
6417 { "_wxPrintQuality","_uint",0},
6418 { "_wxPrintQuality","_EBool",0},
6419 { "_wxPrintQuality","_size_t",0},
6420 { "_wxPrintQuality","_time_t",0},
6421 { "_byte","_unsigned_char",0},
6422 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6423 { "_long","_unsigned_long",0},
6424 { "_long","_signed_long",0},
6425 { "_size_t","_wxCoord",0},
6426 { "_size_t","_wxPrintQuality",0},
6427 { "_size_t","_time_t",0},
6428 { "_size_t","_unsigned_int",0},
6429 { "_size_t","_int",0},
6430 { "_size_t","_wxWindowID",0},
6431 { "_size_t","_uint",0},
6432 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6433 { "_uint","_wxCoord",0},
6434 { "_uint","_wxPrintQuality",0},
6435 { "_uint","_time_t",0},
6436 { "_uint","_size_t",0},
6437 { "_uint","_unsigned_int",0},
6438 { "_uint","_int",0},
6439 { "_uint","_wxWindowID",0},
6440 { "_wxChar","_char",0},
6441 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6442 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6443 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6444 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6445 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6446 { "_char","_wxChar",0},
6447 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6448 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6449 { "_EBool","_wxCoord",0},
6450 { "_EBool","_wxPrintQuality",0},
6451 { "_EBool","_signed_int",0},
6452 { "_EBool","_int",0},
6453 { "_EBool","_wxWindowID",0},
6454 { "_unsigned_long","_long",0},
6455 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6456 { "_signed_int","_wxCoord",0},
6457 { "_signed_int","_wxPrintQuality",0},
6458 { "_signed_int","_EBool",0},
6459 { "_signed_int","_wxWindowID",0},
6460 { "_signed_int","_int",0},
6461 { "_WXTYPE","_wxDateTime_t",0},
6462 { "_WXTYPE","_short",0},
6463 { "_WXTYPE","_signed_short",0},
6464 { "_WXTYPE","_unsigned_short",0},
6465 { "_unsigned_short","_wxDateTime_t",0},
6466 { "_unsigned_short","_WXTYPE",0},
6467 { "_unsigned_short","_short",0},
6468 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6469 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6470 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6471 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6472 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6473 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6474 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6475 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6476 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6477 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6478 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6479 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6480 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6481 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6482 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6483 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6484 { "_signed_short","_WXTYPE",0},
6485 { "_signed_short","_short",0},
6486 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6487 { "_unsigned_char","_byte",0},
6488 { "_unsigned_int","_wxCoord",0},
6489 { "_unsigned_int","_wxPrintQuality",0},
6490 { "_unsigned_int","_time_t",0},
6491 { "_unsigned_int","_size_t",0},
6492 { "_unsigned_int","_uint",0},
6493 { "_unsigned_int","_wxWindowID",0},
6494 { "_unsigned_int","_int",0},
6495 { "_short","_wxDateTime_t",0},
6496 { "_short","_WXTYPE",0},
6497 { "_short","_unsigned_short",0},
6498 { "_short","_signed_short",0},
6499 { "_wxWindowID","_wxCoord",0},
6500 { "_wxWindowID","_wxPrintQuality",0},
6501 { "_wxWindowID","_time_t",0},
6502 { "_wxWindowID","_size_t",0},
6503 { "_wxWindowID","_EBool",0},
6504 { "_wxWindowID","_uint",0},
6505 { "_wxWindowID","_int",0},
6506 { "_wxWindowID","_signed_int",0},
6507 { "_wxWindowID","_unsigned_int",0},
6508 { "_int","_wxCoord",0},
6509 { "_int","_wxPrintQuality",0},
6510 { "_int","_time_t",0},
6511 { "_int","_size_t",0},
6512 { "_int","_EBool",0},
6513 { "_int","_uint",0},
6514 { "_int","_wxWindowID",0},
6515 { "_int","_unsigned_int",0},
6516 { "_int","_signed_int",0},
6517 { "_wxDateTime_t","_unsigned_short",0},
6518 { "_wxDateTime_t","_short",0},
6519 { "_wxDateTime_t","_WXTYPE",0},
6520 { "_time_t","_wxCoord",0},
6521 { "_time_t","_wxPrintQuality",0},
6522 { "_time_t","_unsigned_int",0},
6523 { "_time_t","_int",0},
6524 { "_time_t","_wxWindowID",0},
6525 { "_time_t","_uint",0},
6526 { "_time_t","_size_t",0},
6527 { "_wxCoord","_int",0},
6528 { "_wxCoord","_signed_int",0},
6529 { "_wxCoord","_unsigned_int",0},
6530 { "_wxCoord","_wxWindowID",0},
6531 { "_wxCoord","_uint",0},
6532 { "_wxCoord","_EBool",0},
6533 { "_wxCoord","_size_t",0},
6534 { "_wxCoord","_time_t",0},
6535 { "_wxCoord","_wxPrintQuality",0},
6536 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6537 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6538 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6541 static PyObject
*SWIG_globals
;
6545 SWIGEXPORT(void) inithtmlc() {
6547 SWIG_globals
= SWIG_newvarlink();
6548 m
= Py_InitModule("htmlc", htmlcMethods
);
6549 d
= PyModule_GetDict(m
);
6550 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6551 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6552 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6553 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6554 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6555 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6556 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6557 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6558 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6559 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6560 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6561 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6562 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6563 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6564 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6565 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6566 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6567 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6568 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6569 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6570 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6571 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6572 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6573 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6574 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6575 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6576 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6577 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6578 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6579 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6584 wxClassInfo::CleanUpClasses();
6585 wxClassInfo::InitializeClasses();
6587 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6588 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6589 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6592 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6593 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);