2 * FILE : src/mac/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlc
56 #define SWIG_name "htmlc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/htmprint.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 #if PYTHON_API_VERSION >= 1009
96 static char* wxStringErrorMsg
= "String or Unicode type required";
98 static char* wxStringErrorMsg
= "String type required";
101 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
102 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
104 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
106 wxHtmlParser
* GetParser() { return m_Parser
; }
107 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
109 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
110 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
115 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
117 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
118 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
120 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
121 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
123 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
125 wxHtmlWinParser
* GetParser() { return m_WParser
; }
126 void ParseInner(const wxHtmlTag
& tag
)
127 { wxHtmlWinTagHandler::ParseInner(tag
); }
129 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
130 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
135 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
137 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
138 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
141 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
143 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
144 m_tagHandlerClass
= thc
;
145 Py_INCREF(m_tagHandlerClass
);
146 RegisterModule(this);
147 wxHtmlWinParser::AddModule(this);
151 wxPyBeginBlockThreads();
152 Py_DECREF(m_tagHandlerClass
);
153 m_tagHandlerClass
= NULL
;
154 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
155 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
158 wxPyEndBlockThreads();
161 void FillHandlersTable(wxHtmlWinParser
*parser
) {
162 // Wave our magic wand... (if it works it's a miracle! ;-)
164 // First, make a new instance of the tag handler
165 wxPyBeginBlockThreads();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPyEndBlockThreads();
171 // now figure out where it's C++ object is...
172 wxPyHtmlWinTagHandler
* thPtr
;
173 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
177 parser
->AddTagHandler(thPtr
);
184 PyObject
* m_tagHandlerClass
;
185 wxArrayPtrVoid m_objArray
;
189 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
190 // Dynamically create a new wxModule. Refcounts tagHandlerClass
191 // and adds itself to the wxModules list and to the wxHtmlWinParser.
192 new wxPyHtmlTagsModule(tagHandlerClass
);
195 class wxPyHtmlWindow
: public wxHtmlWindow
{
196 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
198 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
199 const wxPoint
& pos
= wxDefaultPosition
,
200 const wxSize
& size
= wxDefaultSize
,
201 long style
= wxHW_SCROLLBAR_AUTO
,
202 const wxString
& name
= "htmlWindow")
203 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
204 wxPyHtmlWindow() : wxHtmlWindow() {};
206 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
207 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
209 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
211 wxString
*redirect
) const;
213 DEC_PYCALLBACK__STRING(OnSetTitle
);
214 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
215 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
216 // DEC_PYCALLBACK_BOOL_STRING(OnOpeningURL);
220 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
221 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
222 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
223 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
224 // IMP_PYCALLBACK_BOOL_STRING(wxPyHtmlWindow, wxHtmlWindow, OnOpeningURL);
227 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
229 wxPyBeginBlockThreads();
230 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
231 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
232 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
235 wxPyEndBlockThreads();
237 wxHtmlWindow::OnLinkClicked(link
);
239 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
240 wxHtmlWindow::OnLinkClicked(link
);
244 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
246 wxString
*redirect
) const {
248 wxHtmlOpeningStatus rval
;
249 wxPyBeginBlockThreads();
250 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
252 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(is)", type
, url
.c_str()));
253 if (PyString_Check(ro
)
254 #if PYTHON_API_VERSION >= 1009
255 || PyUnicode_Check(ro
)
258 PyObject
* str
= PyObject_Str(ro
);
259 *redirect
= PyString_AsString(str
);
261 rval
= wxHTML_REDIRECT
;
264 PyObject
* num
= PyNumber_Int(ro
);
265 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
270 wxPyEndBlockThreads();
272 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
278 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
279 wxHtmlWindow::AddFilter(filter
);
282 extern "C" SWIGEXPORT(void) inithtmlhelpc();
286 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
289 PyObject
* _obj0
= 0;
290 char *_kwnames
[] = { "tagHandlerClass", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
300 wxHtmlWinParser_AddTagHandler(_arg0
);
302 wxPyEndAllowThreads(__tstate
);
303 if (PyErr_Occurred()) return NULL
;
304 } Py_INCREF(Py_None
);
305 _resultobj
= Py_None
;
309 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
311 wxHtmlFilter
* _arg0
;
312 PyObject
* _argo0
= 0;
313 char *_kwnames
[] = { "filter", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
327 wxHtmlWindow_AddFilter(_arg0
);
329 wxPyEndAllowThreads(__tstate
);
330 if (PyErr_Occurred()) return NULL
;
331 } Py_INCREF(Py_None
);
332 _resultobj
= Py_None
;
336 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
339 src
= (wxHtmlLinkInfo
*) ptr
;
340 dest
= (wxObject
*) src
;
341 return (void *) dest
;
344 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
345 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
347 wxHtmlLinkInfo
* _result
;
349 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
350 PyObject
* _obj0
= 0;
351 PyObject
* _obj1
= 0;
352 char *_kwnames
[] = { "href","target", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
359 #if PYTHON_API_VERSION >= 1009
360 char* tmpPtr
; int tmpSize
;
361 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
365 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
367 _arg0
= new wxString(tmpPtr
, tmpSize
);
369 if (!PyString_Check(_obj0
)) {
370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
373 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
378 #if PYTHON_API_VERSION >= 1009
379 char* tmpPtr
; int tmpSize
;
380 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
384 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
386 _arg1
= new wxString(tmpPtr
, tmpSize
);
388 if (!PyString_Check(_obj1
)) {
389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
392 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
397 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
399 wxPyEndAllowThreads(__tstate
);
400 if (PyErr_Occurred()) return NULL
;
402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
403 _resultobj
= Py_BuildValue("s",_ptemp
);
406 _resultobj
= Py_None
;
419 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
420 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
423 wxHtmlLinkInfo
* _arg0
;
424 PyObject
* _argo0
= 0;
425 char *_kwnames
[] = { "self", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
439 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
441 wxPyEndAllowThreads(__tstate
);
442 if (PyErr_Occurred()) return NULL
;
444 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
452 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
453 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
456 wxHtmlLinkInfo
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
485 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
486 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
488 wxMouseEvent
* _result
;
489 wxHtmlLinkInfo
* _arg0
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
505 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
507 wxPyEndAllowThreads(__tstate
);
508 if (PyErr_Occurred()) return NULL
;
509 }{ _resultobj
= wxPyMake_wxObject(_result
); }
513 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
514 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
516 wxHtmlCell
* _result
;
517 wxHtmlLinkInfo
* _arg0
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self", NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
534 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
536 wxPyEndAllowThreads(__tstate
);
537 if (PyErr_Occurred()) return NULL
;
539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
540 _resultobj
= Py_BuildValue("s",_ptemp
);
543 _resultobj
= Py_None
;
548 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
549 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
551 wxHtmlLinkInfo
* _arg0
;
552 wxMouseEvent
* _arg1
;
553 PyObject
* _argo0
= 0;
554 PyObject
* _argo1
= 0;
555 char *_kwnames
[] = { "self","e", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
586 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
588 wxHtmlLinkInfo
* _arg0
;
590 PyObject
* _argo0
= 0;
591 PyObject
* _argo1
= 0;
592 char *_kwnames
[] = { "self","e", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
617 } Py_INCREF(Py_None
);
618 _resultobj
= Py_None
;
622 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
625 src
= (wxHtmlTag
*) ptr
;
626 dest
= (wxObject
*) src
;
627 return (void *) dest
;
630 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
631 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
635 PyObject
* _argo0
= 0;
636 char *_kwnames
[] = { "self", NULL
};
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
650 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
652 wxPyEndAllowThreads(__tstate
);
653 if (PyErr_Occurred()) return NULL
;
655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
663 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
664 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
669 PyObject
* _argo0
= 0;
670 PyObject
* _obj1
= 0;
671 char *_kwnames
[] = { "self","par", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
684 #if PYTHON_API_VERSION >= 1009
685 char* tmpPtr
; int tmpSize
;
686 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
690 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
692 _arg1
= new wxString(tmpPtr
, tmpSize
);
694 if (!PyString_Check(_obj1
)) {
695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
698 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
703 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
705 wxPyEndAllowThreads(__tstate
);
706 if (PyErr_Occurred()) return NULL
;
707 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
716 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
721 int _arg2
= (int ) FALSE
;
722 PyObject
* _argo0
= 0;
723 PyObject
* _obj1
= 0;
724 char *_kwnames
[] = { "self","par","with_commas", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
737 #if PYTHON_API_VERSION >= 1009
738 char* tmpPtr
; int tmpSize
;
739 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
743 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
745 _arg1
= new wxString(tmpPtr
, tmpSize
);
747 if (!PyString_Check(_obj1
)) {
748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
751 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
773 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
774 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
806 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
807 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
830 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
835 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
839 PyObject
* _argo0
= 0;
840 char *_kwnames
[] = { "self", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
854 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
856 wxPyEndAllowThreads(__tstate
);
857 if (PyErr_Occurred()) return NULL
;
858 } _resultobj
= Py_BuildValue("i",_result
);
862 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
863 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) return NULL
;
886 } _resultobj
= Py_BuildValue("i",_result
);
890 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
891 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) return NULL
;
914 } _resultobj
= Py_BuildValue("i",_result
);
918 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
921 src
= (wxHtmlParser
*) ptr
;
922 dest
= (wxObject
*) src
;
923 return (void *) dest
;
926 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
927 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
929 wxHtmlParser
* _arg0
;
930 wxFileSystem
* _arg1
;
931 PyObject
* _argo0
= 0;
932 PyObject
* _argo1
= 0;
933 char *_kwnames
[] = { "self","fs", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
954 wxHtmlParser_SetFS(_arg0
,_arg1
);
956 wxPyEndAllowThreads(__tstate
);
957 if (PyErr_Occurred()) return NULL
;
958 } Py_INCREF(Py_None
);
959 _resultobj
= Py_None
;
963 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
964 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
966 wxFileSystem
* _result
;
967 wxHtmlParser
* _arg0
;
968 PyObject
* _argo0
= 0;
969 char *_kwnames
[] = { "self", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
983 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
985 wxPyEndAllowThreads(__tstate
);
986 if (PyErr_Occurred()) return NULL
;
987 }{ _resultobj
= wxPyMake_wxObject(_result
); }
991 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
992 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 wxHtmlParser
* _arg0
;
997 PyObject
* _argo0
= 0;
998 PyObject
* _obj1
= 0;
999 char *_kwnames
[] = { "self","source", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
1012 #if PYTHON_API_VERSION >= 1009
1013 char* tmpPtr
; int tmpSize
;
1014 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1018 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1020 _arg1
= new wxString(tmpPtr
, tmpSize
);
1022 if (!PyString_Check(_obj1
)) {
1023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1026 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) return NULL
;
1035 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1043 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1044 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1046 wxHtmlParser
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 PyObject
* _obj1
= 0;
1050 char *_kwnames
[] = { "self","source", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1063 #if PYTHON_API_VERSION >= 1009
1064 char* tmpPtr
; int tmpSize
;
1065 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1069 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1071 _arg1
= new wxString(tmpPtr
, tmpSize
);
1073 if (!PyString_Check(_obj1
)) {
1074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1077 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1082 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) return NULL
;
1086 } Py_INCREF(Py_None
);
1087 _resultobj
= Py_None
;
1095 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1096 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1098 wxHtmlParser
* _arg0
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 wxHtmlParser_DoneParser(_arg0
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) return NULL
;
1118 } Py_INCREF(Py_None
);
1119 _resultobj
= Py_None
;
1123 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1124 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1126 wxHtmlParser
* _arg0
;
1129 PyObject
* _argo0
= 0;
1130 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) return NULL
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1154 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1156 wxHtmlParser
* _arg0
;
1157 wxHtmlTagHandler
* _arg1
;
1158 PyObject
* _argo0
= 0;
1159 PyObject
* _argo1
= 0;
1160 char *_kwnames
[] = { "self","handler", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1181 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1183 wxPyEndAllowThreads(__tstate
);
1184 if (PyErr_Occurred()) return NULL
;
1185 } Py_INCREF(Py_None
);
1186 _resultobj
= Py_None
;
1190 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1191 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1194 wxHtmlParser
* _arg0
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1220 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1221 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1223 wxHtmlParser
* _arg0
;
1224 wxHtmlTagHandler
* _arg1
;
1226 PyObject
* _argo0
= 0;
1227 PyObject
* _argo1
= 0;
1228 PyObject
* _obj2
= 0;
1229 char *_kwnames
[] = { "self","handler","tags", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1249 #if PYTHON_API_VERSION >= 1009
1250 char* tmpPtr
; int tmpSize
;
1251 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1255 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1257 _arg2
= new wxString(tmpPtr
, tmpSize
);
1259 if (!PyString_Check(_obj2
)) {
1260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1263 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) return NULL
;
1272 } Py_INCREF(Py_None
);
1273 _resultobj
= Py_None
;
1281 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1282 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxHtmlParser
* _arg0
;
1285 PyObject
* _argo0
= 0;
1286 char *_kwnames
[] = { "self", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 wxHtmlParser_PopTagHandler(_arg0
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) return NULL
;
1304 } Py_INCREF(Py_None
);
1305 _resultobj
= Py_None
;
1309 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1310 wxHtmlWinParser
*src
;
1312 src
= (wxHtmlWinParser
*) ptr
;
1313 dest
= (wxHtmlParser
*) src
;
1314 return (void *) dest
;
1317 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1318 wxHtmlWinParser
*src
;
1320 src
= (wxHtmlWinParser
*) ptr
;
1321 dest
= (wxObject
*) src
;
1322 return (void *) dest
;
1325 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1326 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1328 wxHtmlWinParser
* _result
;
1329 wxHtmlWindow
* _arg0
= (wxHtmlWindow
*) NULL
;
1330 PyObject
* _argo0
= 0;
1331 char *_kwnames
[] = { "wnd", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxHtmlWindow_p.");
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1352 _resultobj
= Py_BuildValue("s",_ptemp
);
1355 _resultobj
= Py_None
;
1360 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1361 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1363 wxHtmlWinParser
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 PyObject
* _argo1
= 0;
1367 char *_kwnames
[] = { "self","dc", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) return NULL
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1397 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1398 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1401 wxHtmlWinParser
* _arg0
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1421 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1425 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1426 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 wxHtmlWinParser
* _arg0
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) return NULL
;
1449 } _resultobj
= Py_BuildValue("i",_result
);
1453 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1454 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1457 wxHtmlWinParser
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } _resultobj
= Py_BuildValue("i",_result
);
1481 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1482 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1484 wxHtmlWindow
* _result
;
1485 wxHtmlWinParser
* _arg0
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 _result
= (wxHtmlWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1505 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1509 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1510 int* temp
= int_LIST_helper(sizes
);
1512 self
->SetFonts(normal_face
, fixed_face
, temp
);
1516 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1518 wxHtmlWinParser
* _arg0
;
1522 PyObject
* _argo0
= 0;
1523 PyObject
* _obj1
= 0;
1524 PyObject
* _obj2
= 0;
1525 PyObject
* _obj3
= 0;
1526 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1539 #if PYTHON_API_VERSION >= 1009
1540 char* tmpPtr
; int tmpSize
;
1541 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1545 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1547 _arg1
= new wxString(tmpPtr
, tmpSize
);
1549 if (!PyString_Check(_obj1
)) {
1550 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1553 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1557 #if PYTHON_API_VERSION >= 1009
1558 char* tmpPtr
; int tmpSize
;
1559 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1560 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1563 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1565 _arg2
= new wxString(tmpPtr
, tmpSize
);
1567 if (!PyString_Check(_obj2
)) {
1568 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1571 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } Py_INCREF(Py_None
);
1584 _resultobj
= Py_None
;
1596 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1597 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1599 wxHtmlContainerCell
* _result
;
1600 wxHtmlWinParser
* _arg0
;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) return NULL
;
1622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1623 _resultobj
= Py_BuildValue("s",_ptemp
);
1626 _resultobj
= Py_None
;
1631 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1632 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 wxHtmlContainerCell
* _result
;
1635 wxHtmlWinParser
* _arg0
;
1636 PyObject
* _argo0
= 0;
1637 char *_kwnames
[] = { "self", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1661 _resultobj
= Py_None
;
1666 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1667 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxHtmlContainerCell
* _result
;
1670 wxHtmlWinParser
* _arg0
;
1671 wxHtmlContainerCell
* _arg1
;
1672 PyObject
* _argo0
= 0;
1673 PyObject
* _argo1
= 0;
1674 char *_kwnames
[] = { "self","c", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 _resultobj
= Py_None
;
1710 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1711 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1713 wxHtmlContainerCell
* _result
;
1714 wxHtmlWinParser
* _arg0
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) return NULL
;
1736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1737 _resultobj
= Py_BuildValue("s",_ptemp
);
1740 _resultobj
= Py_None
;
1745 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1746 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1749 wxHtmlWinParser
* _arg0
;
1750 PyObject
* _argo0
= 0;
1751 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1769 } _resultobj
= Py_BuildValue("i",_result
);
1773 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1774 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1776 wxHtmlWinParser
* _arg0
;
1778 PyObject
* _argo0
= 0;
1779 char *_kwnames
[] = { "self","s", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) return NULL
;
1797 } Py_INCREF(Py_None
);
1798 _resultobj
= Py_None
;
1802 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1803 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1806 wxHtmlWinParser
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1830 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1831 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 wxHtmlWinParser
* _arg0
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","x", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1860 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 wxHtmlWinParser
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) return NULL
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1888 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxHtmlWinParser
* _arg0
;
1892 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self","x", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) return NULL
;
1911 } Py_INCREF(Py_None
);
1912 _resultobj
= Py_None
;
1916 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1917 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1920 wxHtmlWinParser
* _arg0
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1940 } _resultobj
= Py_BuildValue("i",_result
);
1944 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1945 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1947 wxHtmlWinParser
* _arg0
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self","x", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1974 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1977 wxHtmlWinParser
* _arg0
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) return NULL
;
1997 } _resultobj
= Py_BuildValue("i",_result
);
2001 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
2002 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2004 wxHtmlWinParser
* _arg0
;
2006 PyObject
* _argo0
= 0;
2007 char *_kwnames
[] = { "self","x", NULL
};
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
2013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } Py_INCREF(Py_None
);
2026 _resultobj
= Py_None
;
2030 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
2031 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 wxHtmlWinParser
* _arg0
;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } _resultobj
= Py_BuildValue("i",_result
);
2058 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2059 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2061 wxHtmlWinParser
* _arg0
;
2063 PyObject
* _argo0
= 0;
2064 char *_kwnames
[] = { "self","a", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) return NULL
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2088 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 wxHtmlWinParser
* _arg0
;
2092 PyObject
* _argo0
= 0;
2093 char *_kwnames
[] = { "self", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2113 _resultobj
= Py_BuildValue("s",_ptemp
);
2117 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2118 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2120 wxHtmlWinParser
* _arg0
;
2122 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 char *_kwnames
[] = { "self","clr", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2139 if (! wxColour_helper(_obj1
, &_arg1
))
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2154 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2157 wxHtmlWinParser
* _arg0
;
2158 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "self", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2179 _resultobj
= Py_BuildValue("s",_ptemp
);
2183 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2184 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2186 wxHtmlWinParser
* _arg0
;
2188 PyObject
* _argo0
= 0;
2190 PyObject
* _obj1
= 0;
2191 char *_kwnames
[] = { "self","clr", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2205 if (! wxColour_helper(_obj1
, &_arg1
))
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2220 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxHtmlWinParser
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 PyObject
* _obj1
= 0;
2226 char *_kwnames
[] = { "self","link", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2239 #if PYTHON_API_VERSION >= 1009
2240 char* tmpPtr
; int tmpSize
;
2241 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2245 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2247 _arg1
= new wxString(tmpPtr
, tmpSize
);
2249 if (!PyString_Check(_obj1
)) {
2250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2253 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2271 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2272 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 wxHtmlWinParser
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 _resultobj
= Py_None
;
2306 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2307 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2309 wxHtmlLinkInfo
* _result
;
2310 wxHtmlWinParser
* _arg0
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) return NULL
;
2331 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2332 _resultobj
= Py_BuildValue("s",_ptemp
);
2336 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2337 wxPyHtmlTagHandler
*src
;
2339 src
= (wxPyHtmlTagHandler
*) ptr
;
2340 dest
= (wxObject
*) src
;
2341 return (void *) dest
;
2344 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2345 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2347 wxPyHtmlTagHandler
* _result
;
2348 char *_kwnames
[] = { NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) return NULL
;
2361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2362 _resultobj
= Py_BuildValue("s",_ptemp
);
2365 _resultobj
= Py_None
;
2370 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2371 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2373 wxPyHtmlTagHandler
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 PyObject
* _obj1
= 0;
2378 PyObject
* _obj2
= 0;
2379 char *_kwnames
[] = { "self","self","_class", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2408 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2409 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2411 wxPyHtmlTagHandler
* _arg0
;
2412 wxHtmlParser
* _arg1
;
2413 PyObject
* _argo0
= 0;
2414 PyObject
* _argo1
= 0;
2415 char *_kwnames
[] = { "self","parser", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2446 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2448 wxHtmlParser
* _result
;
2449 wxPyHtmlTagHandler
* _arg0
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) return NULL
;
2471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2472 _resultobj
= Py_BuildValue("s",_ptemp
);
2475 _resultobj
= Py_None
;
2480 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2481 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2483 wxPyHtmlTagHandler
* _arg0
;
2485 PyObject
* _argo0
= 0;
2486 PyObject
* _argo1
= 0;
2487 char *_kwnames
[] = { "self","tag", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2518 wxPyHtmlWinTagHandler
*src
;
2519 wxPyHtmlTagHandler
*dest
;
2520 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2521 dest
= (wxPyHtmlTagHandler
*) src
;
2522 return (void *) dest
;
2525 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2526 wxPyHtmlWinTagHandler
*src
;
2528 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2529 dest
= (wxObject
*) src
;
2530 return (void *) dest
;
2533 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2534 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxPyHtmlWinTagHandler
* _result
;
2537 char *_kwnames
[] = { NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) return NULL
;
2550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2551 _resultobj
= Py_BuildValue("s",_ptemp
);
2554 _resultobj
= Py_None
;
2559 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2560 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2562 wxPyHtmlWinTagHandler
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 PyObject
* _obj1
= 0;
2567 PyObject
* _obj2
= 0;
2568 char *_kwnames
[] = { "self","self","_class", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } Py_INCREF(Py_None
);
2593 _resultobj
= Py_None
;
2597 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2598 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2600 wxPyHtmlWinTagHandler
* _arg0
;
2601 wxHtmlParser
* _arg1
;
2602 PyObject
* _argo0
= 0;
2603 PyObject
* _argo1
= 0;
2604 char *_kwnames
[] = { "self","parser", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2635 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2637 wxHtmlWinParser
* _result
;
2638 wxPyHtmlWinTagHandler
* _arg0
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2661 _resultobj
= Py_BuildValue("s",_ptemp
);
2664 _resultobj
= Py_None
;
2669 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2670 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2672 wxPyHtmlWinTagHandler
* _arg0
;
2674 PyObject
* _argo0
= 0;
2675 PyObject
* _argo1
= 0;
2676 char *_kwnames
[] = { "self","tag", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) return NULL
;
2701 } Py_INCREF(Py_None
);
2702 _resultobj
= Py_None
;
2706 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2709 src
= (wxHtmlCell
*) ptr
;
2710 dest
= (wxObject
*) src
;
2711 return (void *) dest
;
2714 #define new_wxHtmlCell() (new wxHtmlCell())
2715 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2717 wxHtmlCell
* _result
;
2718 char *_kwnames
[] = { NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) return NULL
;
2731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2732 _resultobj
= Py_BuildValue("s",_ptemp
);
2735 _resultobj
= Py_None
;
2740 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2741 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2745 PyObject
* _argo0
= 0;
2746 char *_kwnames
[] = { "self", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) return NULL
;
2764 } _resultobj
= Py_BuildValue("i",_result
);
2768 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2769 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } _resultobj
= Py_BuildValue("i",_result
);
2796 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2797 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2825 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } _resultobj
= Py_BuildValue("i",_result
);
2852 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2853 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2876 } _resultobj
= Py_BuildValue("i",_result
);
2880 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2881 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2883 wxHtmlLinkInfo
* _result
;
2885 int _arg1
= (int ) 0;
2886 int _arg2
= (int ) 0;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self","x","y", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2909 _resultobj
= Py_BuildValue("s",_ptemp
);
2912 _resultobj
= Py_None
;
2917 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2918 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxHtmlCell
* _result
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2944 _resultobj
= Py_BuildValue("s",_ptemp
);
2947 _resultobj
= Py_None
;
2952 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2953 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2955 wxHtmlContainerCell
* _result
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2979 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 _resultobj
= Py_None
;
2987 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2988 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2991 wxHtmlLinkInfo
* _arg1
;
2992 PyObject
* _argo0
= 0;
2993 PyObject
* _argo1
= 0;
2994 char *_kwnames
[] = { "self","link", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
3007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 wxHtmlCell_SetLink(_arg0
,*_arg1
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
3025 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3029 PyObject
* _argo0
= 0;
3030 PyObject
* _argo1
= 0;
3031 char *_kwnames
[] = { "self","cell", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 wxHtmlCell_SetNext(_arg0
,_arg1
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3062 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 wxHtmlContainerCell
* _arg1
;
3066 PyObject
* _argo0
= 0;
3067 PyObject
* _argo1
= 0;
3068 char *_kwnames
[] = { "self","p", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
3081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 wxHtmlCell_SetParent(_arg0
,_arg1
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) return NULL
;
3093 } Py_INCREF(Py_None
);
3094 _resultobj
= Py_None
;
3098 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3099 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3104 PyObject
* _argo0
= 0;
3105 char *_kwnames
[] = { "self","x","y", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) return NULL
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3129 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3133 PyObject
* _argo0
= 0;
3134 char *_kwnames
[] = { "self","w", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 wxHtmlCell_Layout(_arg0
,_arg1
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3158 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3167 PyObject
* _argo1
= 0;
3168 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3199 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3206 PyObject
* _argo1
= 0;
3207 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) return NULL
;
3232 } Py_INCREF(Py_None
);
3233 _resultobj
= Py_None
;
3237 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3238 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3240 wxHtmlCell
* _result
;
3244 PyObject
* _argo0
= 0;
3245 PyObject
* _argo2
= 0;
3246 char *_kwnames
[] = { "self","condition","param", NULL
};
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3260 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) return NULL
;
3273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3274 _resultobj
= Py_BuildValue("s",_ptemp
);
3277 _resultobj
= Py_None
;
3282 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3283 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3288 PyObject
* _argo0
= 0;
3289 PyObject
* _argo1
= 0;
3290 char *_kwnames
[] = { "self","pagebreak", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3320 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3324 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","can", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3338 _arg1
= (bool ) tempbool1
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) return NULL
;
3345 } Py_INCREF(Py_None
);
3346 _resultobj
= Py_None
;
3350 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3351 wxHtmlWordCell
*src
;
3353 src
= (wxHtmlWordCell
*) ptr
;
3354 dest
= (wxHtmlCell
*) src
;
3355 return (void *) dest
;
3358 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3359 wxHtmlWordCell
*src
;
3361 src
= (wxHtmlWordCell
*) ptr
;
3362 dest
= (wxObject
*) src
;
3363 return (void *) dest
;
3366 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3367 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
* _resultobj
;
3369 wxHtmlWordCell
* _result
;
3372 PyObject
* _obj0
= 0;
3373 PyObject
* _argo1
= 0;
3374 char *_kwnames
[] = { "word","dc", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3381 #if PYTHON_API_VERSION >= 1009
3382 char* tmpPtr
; int tmpSize
;
3383 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3387 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3389 _arg0
= new wxString(tmpPtr
, tmpSize
);
3391 if (!PyString_Check(_obj0
)) {
3392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3395 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3413 _resultobj
= Py_BuildValue("s",_ptemp
);
3416 _resultobj
= Py_None
;
3425 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3426 wxHtmlContainerCell
*src
;
3428 src
= (wxHtmlContainerCell
*) ptr
;
3429 dest
= (wxHtmlCell
*) src
;
3430 return (void *) dest
;
3433 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3434 wxHtmlContainerCell
*src
;
3436 src
= (wxHtmlContainerCell
*) ptr
;
3437 dest
= (wxObject
*) src
;
3438 return (void *) dest
;
3441 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3442 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3444 wxHtmlContainerCell
* _result
;
3445 wxHtmlContainerCell
* _arg0
;
3446 PyObject
* _argo0
= 0;
3447 char *_kwnames
[] = { "parent", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3471 _resultobj
= Py_None
;
3476 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3477 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxHtmlContainerCell
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 PyObject
* _argo1
= 0;
3483 char *_kwnames
[] = { "self","cell", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) return NULL
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3514 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3516 wxHtmlContainerCell
* _arg0
;
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self","al", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) return NULL
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3543 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxHtmlContainerCell
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3571 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3573 wxHtmlContainerCell
* _arg0
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self","al", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3594 } Py_INCREF(Py_None
);
3595 _resultobj
= Py_None
;
3599 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3600 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3603 wxHtmlContainerCell
* _arg0
;
3604 PyObject
* _argo0
= 0;
3605 char *_kwnames
[] = { "self", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3623 } _resultobj
= Py_BuildValue("i",_result
);
3627 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3628 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3630 wxHtmlContainerCell
* _arg0
;
3633 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self","i","what","units", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } Py_INCREF(Py_None
);
3654 _resultobj
= Py_None
;
3658 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3659 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3662 wxHtmlContainerCell
* _arg0
;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self","ind", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) return NULL
;
3683 } _resultobj
= Py_BuildValue("i",_result
);
3687 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3688 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3691 wxHtmlContainerCell
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self","ind", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) return NULL
;
3712 } _resultobj
= Py_BuildValue("i",_result
);
3716 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3717 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3719 wxHtmlContainerCell
* _arg0
;
3721 PyObject
* _argo0
= 0;
3722 PyObject
* _argo1
= 0;
3723 char *_kwnames
[] = { "self","tag", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
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_SetAlign. Expected _wxHtmlContainerCell_p.");
3736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) return NULL
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3753 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3754 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxHtmlContainerCell
* _arg0
;
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self","w","units", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) return NULL
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3783 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3784 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3786 wxHtmlContainerCell
* _arg0
;
3788 PyObject
* _argo0
= 0;
3789 PyObject
* _argo1
= 0;
3790 char *_kwnames
[] = { "self","tag", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) return NULL
;
3815 } Py_INCREF(Py_None
);
3816 _resultobj
= Py_None
;
3820 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3821 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3823 wxHtmlContainerCell
* _arg0
;
3825 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3826 PyObject
* _argo0
= 0;
3827 char *_kwnames
[] = { "self","h","align", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) return NULL
;
3845 } Py_INCREF(Py_None
);
3846 _resultobj
= Py_None
;
3850 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3851 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3853 wxHtmlContainerCell
* _arg0
;
3855 PyObject
* _argo0
= 0;
3857 PyObject
* _obj1
= 0;
3858 char *_kwnames
[] = { "self","clr", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3872 if (! wxColour_helper(_obj1
, &_arg1
))
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) return NULL
;
3881 } Py_INCREF(Py_None
);
3882 _resultobj
= Py_None
;
3886 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3887 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3889 wxHtmlContainerCell
* _arg0
;
3892 PyObject
* _argo0
= 0;
3894 PyObject
* _obj1
= 0;
3896 PyObject
* _obj2
= 0;
3897 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3911 if (! wxColour_helper(_obj1
, &_arg1
))
3916 if (! wxColour_helper(_obj2
, &_arg2
))
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } Py_INCREF(Py_None
);
3926 _resultobj
= Py_None
;
3930 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3931 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3933 wxHtmlCell
* _result
;
3934 wxHtmlContainerCell
* _arg0
;
3935 PyObject
* _argo0
= 0;
3936 char *_kwnames
[] = { "self", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) return NULL
;
3956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3957 _resultobj
= Py_BuildValue("s",_ptemp
);
3960 _resultobj
= Py_None
;
3965 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3966 wxHtmlColourCell
*src
;
3968 src
= (wxHtmlColourCell
*) ptr
;
3969 dest
= (wxHtmlCell
*) src
;
3970 return (void *) dest
;
3973 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3974 wxHtmlColourCell
*src
;
3976 src
= (wxHtmlColourCell
*) ptr
;
3977 dest
= (wxObject
*) src
;
3978 return (void *) dest
;
3981 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3982 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3984 wxHtmlColourCell
* _result
;
3986 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3988 PyObject
* _obj0
= 0;
3989 char *_kwnames
[] = { "clr","flags", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3997 if (! wxColour_helper(_obj0
, &_arg0
))
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) return NULL
;
4007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
4008 _resultobj
= Py_BuildValue("s",_ptemp
);
4011 _resultobj
= Py_None
;
4016 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
4017 wxHtmlFontCell
*src
;
4019 src
= (wxHtmlFontCell
*) ptr
;
4020 dest
= (wxHtmlCell
*) src
;
4021 return (void *) dest
;
4024 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
4025 wxHtmlFontCell
*src
;
4027 src
= (wxHtmlFontCell
*) ptr
;
4028 dest
= (wxObject
*) src
;
4029 return (void *) dest
;
4032 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
4033 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
* _resultobj
;
4035 wxHtmlFontCell
* _result
;
4037 PyObject
* _argo0
= 0;
4038 char *_kwnames
[] = { "font", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4059 _resultobj
= Py_BuildValue("s",_ptemp
);
4062 _resultobj
= Py_None
;
4067 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4068 wxHtmlWidgetCell
*src
;
4070 src
= (wxHtmlWidgetCell
*) ptr
;
4071 dest
= (wxHtmlCell
*) src
;
4072 return (void *) dest
;
4075 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4076 wxHtmlWidgetCell
*src
;
4078 src
= (wxHtmlWidgetCell
*) ptr
;
4079 dest
= (wxObject
*) src
;
4080 return (void *) dest
;
4083 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4084 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
* _resultobj
;
4086 wxHtmlWidgetCell
* _result
;
4088 int _arg1
= (int ) 0;
4089 PyObject
* _argo0
= 0;
4090 char *_kwnames
[] = { "wnd","w", NULL
};
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) return NULL
;
4110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4111 _resultobj
= Py_BuildValue("s",_ptemp
);
4114 _resultobj
= Py_None
;
4119 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4120 wxPyHtmlWindow
*src
;
4121 wxScrolledWindow
*dest
;
4122 src
= (wxPyHtmlWindow
*) ptr
;
4123 dest
= (wxScrolledWindow
*) src
;
4124 return (void *) dest
;
4127 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4128 wxPyHtmlWindow
*src
;
4130 src
= (wxPyHtmlWindow
*) ptr
;
4131 dest
= (wxPanel
*) src
;
4132 return (void *) dest
;
4135 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4136 wxPyHtmlWindow
*src
;
4138 src
= (wxPyHtmlWindow
*) ptr
;
4139 dest
= (wxWindow
*) src
;
4140 return (void *) dest
;
4143 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4144 wxPyHtmlWindow
*src
;
4146 src
= (wxPyHtmlWindow
*) ptr
;
4147 dest
= (wxEvtHandler
*) src
;
4148 return (void *) dest
;
4151 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4152 wxPyHtmlWindow
*src
;
4154 src
= (wxPyHtmlWindow
*) ptr
;
4155 dest
= (wxObject
*) src
;
4156 return (void *) dest
;
4159 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4160 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4162 wxPyHtmlWindow
* _result
;
4164 int _arg1
= (int ) -1;
4165 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4166 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4167 int _arg4
= (int ) (wxHW_SCROLLBAR_AUTO
);
4168 char * _arg5
= (char *) "htmlWindow";
4169 PyObject
* _argo0
= 0;
4171 PyObject
* _obj2
= 0;
4173 PyObject
* _obj3
= 0;
4174 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4190 if (! wxPoint_helper(_obj2
, &_arg2
))
4196 if (! wxSize_helper(_obj3
, &_arg3
))
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) return NULL
;
4206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4207 _resultobj
= Py_BuildValue("s",_ptemp
);
4210 _resultobj
= Py_None
;
4215 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4216 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4218 wxPyHtmlWindow
* _result
;
4219 char *_kwnames
[] = { NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) return NULL
;
4232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4233 _resultobj
= Py_BuildValue("s",_ptemp
);
4236 _resultobj
= Py_None
;
4241 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4242 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4245 wxPyHtmlWindow
* _arg0
;
4247 int _arg2
= (int ) -1;
4248 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4249 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4250 int _arg5
= (int ) (wxHW_SCROLLBAR_AUTO
);
4251 char * _arg6
= (char *) "htmlWindow";
4252 PyObject
* _argo0
= 0;
4253 PyObject
* _argo1
= 0;
4255 PyObject
* _obj3
= 0;
4257 PyObject
* _obj4
= 0;
4258 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4280 if (! wxPoint_helper(_obj3
, &_arg3
))
4286 if (! wxSize_helper(_obj4
, &_arg4
))
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) return NULL
;
4295 } _resultobj
= Py_BuildValue("i",_result
);
4299 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4300 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4302 wxPyHtmlWindow
* _arg0
;
4305 PyObject
* _argo0
= 0;
4306 PyObject
* _obj1
= 0;
4307 PyObject
* _obj2
= 0;
4308 char *_kwnames
[] = { "self","self","_class", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) return NULL
;
4332 } Py_INCREF(Py_None
);
4333 _resultobj
= Py_None
;
4337 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4338 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4341 wxPyHtmlWindow
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 PyObject
* _obj1
= 0;
4345 char *_kwnames
[] = { "self","source", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4358 #if PYTHON_API_VERSION >= 1009
4359 char* tmpPtr
; int tmpSize
;
4360 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4361 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4364 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4366 _arg1
= new wxString(tmpPtr
, tmpSize
);
4368 if (!PyString_Check(_obj1
)) {
4369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4372 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) return NULL
;
4381 } _resultobj
= Py_BuildValue("i",_result
);
4389 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4390 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 wxPyHtmlWindow
* _arg0
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _obj1
= 0;
4397 char *_kwnames
[] = { "self","location", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4410 #if PYTHON_API_VERSION >= 1009
4411 char* tmpPtr
; int tmpSize
;
4412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4418 _arg1
= new wxString(tmpPtr
, tmpSize
);
4420 if (!PyString_Check(_obj1
)) {
4421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } _resultobj
= Py_BuildValue("i",_result
);
4441 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4442 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
* _resultobj
;
4445 wxPyHtmlWindow
* _arg0
;
4447 PyObject
* _argo0
= 0;
4448 PyObject
* _obj1
= 0;
4449 char *_kwnames
[] = { "self","source", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4462 #if PYTHON_API_VERSION >= 1009
4463 char* tmpPtr
; int tmpSize
;
4464 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4468 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4470 _arg1
= new wxString(tmpPtr
, tmpSize
);
4472 if (!PyString_Check(_obj1
)) {
4473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4476 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) return NULL
;
4485 } _resultobj
= Py_BuildValue("i",_result
);
4493 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4494 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
* _resultobj
;
4497 wxPyHtmlWindow
* _arg0
;
4498 PyObject
* _argo0
= 0;
4499 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4518 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4526 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4527 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4530 wxPyHtmlWindow
* _arg0
;
4531 PyObject
* _argo0
= 0;
4532 char *_kwnames
[] = { "self", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) return NULL
;
4551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4559 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4560 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4563 wxPyHtmlWindow
* _arg0
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
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_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4584 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4592 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4593 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4595 wxPyHtmlWindow
* _arg0
;
4598 PyObject
* _argo0
= 0;
4599 PyObject
* _argo1
= 0;
4600 char *_kwnames
[] = { "self","frame","format", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4625 } Py_INCREF(Py_None
);
4626 _resultobj
= Py_None
;
4630 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4631 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
* _resultobj
;
4634 wxPyHtmlWindow
* _arg0
;
4635 PyObject
* _argo0
= 0;
4636 char *_kwnames
[] = { "self", NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4654 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4658 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4659 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
* _resultobj
;
4661 wxPyHtmlWindow
* _arg0
;
4663 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self","bar", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) return NULL
;
4682 } Py_INCREF(Py_None
);
4683 _resultobj
= Py_None
;
4687 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4688 int* temp
= int_LIST_helper(sizes
);
4690 self
->SetFonts(normal_face
, fixed_face
, temp
);
4694 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxPyHtmlWindow
* _arg0
;
4700 PyObject
* _argo0
= 0;
4701 PyObject
* _obj1
= 0;
4702 PyObject
* _obj2
= 0;
4703 PyObject
* _obj3
= 0;
4704 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4717 #if PYTHON_API_VERSION >= 1009
4718 char* tmpPtr
; int tmpSize
;
4719 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4723 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4725 _arg1
= new wxString(tmpPtr
, tmpSize
);
4727 if (!PyString_Check(_obj1
)) {
4728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4731 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4735 #if PYTHON_API_VERSION >= 1009
4736 char* tmpPtr
; int tmpSize
;
4737 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4741 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4743 _arg2
= new wxString(tmpPtr
, tmpSize
);
4745 if (!PyString_Check(_obj2
)) {
4746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4749 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } Py_INCREF(Py_None
);
4762 _resultobj
= Py_None
;
4774 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4775 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4777 wxPyHtmlWindow
* _arg0
;
4779 PyObject
* _argo0
= 0;
4780 PyObject
* _obj1
= 0;
4781 char *_kwnames
[] = { "self","title", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4794 #if PYTHON_API_VERSION >= 1009
4795 char* tmpPtr
; int tmpSize
;
4796 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4800 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4802 _arg1
= new wxString(tmpPtr
, tmpSize
);
4804 if (!PyString_Check(_obj1
)) {
4805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4808 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) return NULL
;
4817 } Py_INCREF(Py_None
);
4818 _resultobj
= Py_None
;
4826 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4827 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4829 wxPyHtmlWindow
* _arg0
;
4831 PyObject
* _argo0
= 0;
4832 char *_kwnames
[] = { "self","b", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) return NULL
;
4850 } Py_INCREF(Py_None
);
4851 _resultobj
= Py_None
;
4855 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4856 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxPyHtmlWindow
* _arg0
;
4859 wxConfigBase
* _arg1
;
4860 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _argo1
= 0;
4863 PyObject
* _obj2
= 0;
4864 char *_kwnames
[] = { "self","cfg","path", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4885 #if PYTHON_API_VERSION >= 1009
4886 char* tmpPtr
; int tmpSize
;
4887 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4891 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4893 _arg2
= new wxString(tmpPtr
, tmpSize
);
4895 if (!PyString_Check(_obj2
)) {
4896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4899 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4917 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4918 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4920 wxPyHtmlWindow
* _arg0
;
4921 wxConfigBase
* _arg1
;
4922 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4923 PyObject
* _argo0
= 0;
4924 PyObject
* _argo1
= 0;
4925 PyObject
* _obj2
= 0;
4926 char *_kwnames
[] = { "self","cfg","path", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4947 #if PYTHON_API_VERSION >= 1009
4948 char* tmpPtr
; int tmpSize
;
4949 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4950 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4953 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4955 _arg2
= new wxString(tmpPtr
, tmpSize
);
4957 if (!PyString_Check(_obj2
)) {
4958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4961 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) return NULL
;
4970 } Py_INCREF(Py_None
);
4971 _resultobj
= Py_None
;
4979 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4980 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4983 wxPyHtmlWindow
* _arg0
;
4984 PyObject
* _argo0
= 0;
4985 char *_kwnames
[] = { "self", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) return NULL
;
5003 } _resultobj
= Py_BuildValue("i",_result
);
5007 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
5008 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5011 wxPyHtmlWindow
* _arg0
;
5012 PyObject
* _argo0
= 0;
5013 char *_kwnames
[] = { "self", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5031 } _resultobj
= Py_BuildValue("i",_result
);
5035 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
5036 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5039 wxPyHtmlWindow
* _arg0
;
5040 PyObject
* _argo0
= 0;
5041 char *_kwnames
[] = { "self", NULL
};
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) return NULL
;
5059 } _resultobj
= Py_BuildValue("i",_result
);
5063 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5064 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5067 wxPyHtmlWindow
* _arg0
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 } _resultobj
= Py_BuildValue("i",_result
);
5091 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5092 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5094 wxPyHtmlWindow
* _arg0
;
5095 PyObject
* _argo0
= 0;
5096 char *_kwnames
[] = { "self", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 wxHtmlWindow_HistoryClear(_arg0
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) return NULL
;
5114 } Py_INCREF(Py_None
);
5115 _resultobj
= Py_None
;
5119 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5120 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5122 wxHtmlContainerCell
* _result
;
5123 wxPyHtmlWindow
* _arg0
;
5124 PyObject
* _argo0
= 0;
5125 char *_kwnames
[] = { "self", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) return NULL
;
5145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5146 _resultobj
= Py_BuildValue("s",_ptemp
);
5149 _resultobj
= Py_None
;
5154 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5155 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5157 wxHtmlWinParser
* _result
;
5158 wxPyHtmlWindow
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self", NULL
};
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) return NULL
;
5180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5181 _resultobj
= Py_BuildValue("s",_ptemp
);
5184 _resultobj
= Py_None
;
5189 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5190 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5192 wxPyHtmlWindow
* _arg0
;
5193 wxHtmlLinkInfo
* _arg1
;
5194 PyObject
* _argo0
= 0;
5195 PyObject
* _argo1
= 0;
5196 char *_kwnames
[] = { "self","link", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) return NULL
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5226 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5227 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5229 wxPyHtmlWindow
* _arg0
;
5231 PyObject
* _argo0
= 0;
5232 char *_kwnames
[] = { "self","title", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) return NULL
;
5250 } Py_INCREF(Py_None
);
5251 _resultobj
= Py_None
;
5255 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5256 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5258 wxPyHtmlWindow
* _arg0
;
5262 PyObject
* _argo0
= 0;
5263 PyObject
* _argo1
= 0;
5264 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) return NULL
;
5289 } Py_INCREF(Py_None
);
5290 _resultobj
= Py_None
;
5294 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5295 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
* _resultobj
;
5297 wxPyHtmlWindow
* _arg0
;
5301 wxMouseEvent
* _arg4
;
5302 PyObject
* _argo0
= 0;
5303 PyObject
* _argo1
= 0;
5304 PyObject
* _argo4
= 0;
5305 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5325 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) return NULL
;
5337 } Py_INCREF(Py_None
);
5338 _resultobj
= Py_None
;
5342 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5343 wxHtmlDCRenderer
*src
;
5345 src
= (wxHtmlDCRenderer
*) ptr
;
5346 dest
= (wxObject
*) src
;
5347 return (void *) dest
;
5350 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5351 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5353 wxHtmlDCRenderer
* _result
;
5354 char *_kwnames
[] = { NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5368 _resultobj
= Py_BuildValue("s",_ptemp
);
5371 _resultobj
= Py_None
;
5376 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5377 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5379 wxHtmlDCRenderer
* _arg0
;
5380 PyObject
* _argo0
= 0;
5381 char *_kwnames
[] = { "self", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 delete_wxHtmlDCRenderer(_arg0
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5399 } Py_INCREF(Py_None
);
5400 _resultobj
= Py_None
;
5404 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5405 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
* _resultobj
;
5407 wxHtmlDCRenderer
* _arg0
;
5410 PyObject
* _argo0
= 0;
5411 PyObject
* _argo1
= 0;
5412 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) return NULL
;
5437 } Py_INCREF(Py_None
);
5438 _resultobj
= Py_None
;
5442 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5443 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5445 wxHtmlDCRenderer
* _arg0
;
5448 PyObject
* _argo0
= 0;
5449 char *_kwnames
[] = { "self","width","height", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) return NULL
;
5467 } Py_INCREF(Py_None
);
5468 _resultobj
= Py_None
;
5472 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5473 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxHtmlDCRenderer
* _arg0
;
5477 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5478 bool _arg3
= (bool ) TRUE
;
5479 PyObject
* _argo0
= 0;
5480 PyObject
* _obj1
= 0;
5481 PyObject
* _obj2
= 0;
5482 int tempbool3
= (int) TRUE
;
5483 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5496 #if PYTHON_API_VERSION >= 1009
5497 char* tmpPtr
; int tmpSize
;
5498 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5502 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5504 _arg1
= new wxString(tmpPtr
, tmpSize
);
5506 if (!PyString_Check(_obj1
)) {
5507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5510 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5515 #if PYTHON_API_VERSION >= 1009
5516 char* tmpPtr
; int tmpSize
;
5517 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5521 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5523 _arg2
= new wxString(tmpPtr
, tmpSize
);
5525 if (!PyString_Check(_obj2
)) {
5526 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5529 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5532 _arg3
= (bool ) tempbool3
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) return NULL
;
5539 } Py_INCREF(Py_None
);
5540 _resultobj
= Py_None
;
5552 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5553 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5556 wxHtmlDCRenderer
* _arg0
;
5559 int _arg3
= (int ) 0;
5560 int _arg4
= (int ) FALSE
;
5561 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) return NULL
;
5580 } _resultobj
= Py_BuildValue("i",_result
);
5584 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5585 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
* _resultobj
;
5588 wxHtmlDCRenderer
* _arg0
;
5589 PyObject
* _argo0
= 0;
5590 char *_kwnames
[] = { "self", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) return NULL
;
5608 } _resultobj
= Py_BuildValue("i",_result
);
5612 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5613 wxHtmlPrintout
*src
;
5615 src
= (wxHtmlPrintout
*) ptr
;
5616 dest
= (wxPyPrintout
*) src
;
5617 return (void *) dest
;
5620 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5621 wxHtmlPrintout
*src
;
5623 src
= (wxHtmlPrintout
*) ptr
;
5624 dest
= (wxObject
*) src
;
5625 return (void *) dest
;
5628 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5629 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5631 wxHtmlPrintout
* _result
;
5632 char * _arg0
= (char *) "Printout";
5633 char *_kwnames
[] = { "title", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) return NULL
;
5646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5647 _resultobj
= Py_BuildValue("s",_ptemp
);
5650 _resultobj
= Py_None
;
5655 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5656 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5658 wxHtmlPrintout
* _arg0
;
5660 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5661 bool _arg3
= (bool ) TRUE
;
5662 PyObject
* _argo0
= 0;
5663 PyObject
* _obj1
= 0;
5664 PyObject
* _obj2
= 0;
5665 int tempbool3
= (int) TRUE
;
5666 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5679 #if PYTHON_API_VERSION >= 1009
5680 char* tmpPtr
; int tmpSize
;
5681 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5685 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5687 _arg1
= new wxString(tmpPtr
, tmpSize
);
5689 if (!PyString_Check(_obj1
)) {
5690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5693 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5698 #if PYTHON_API_VERSION >= 1009
5699 char* tmpPtr
; int tmpSize
;
5700 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5704 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5706 _arg2
= new wxString(tmpPtr
, tmpSize
);
5708 if (!PyString_Check(_obj2
)) {
5709 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5712 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5715 _arg3
= (bool ) tempbool3
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) return NULL
;
5722 } Py_INCREF(Py_None
);
5723 _resultobj
= Py_None
;
5735 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5736 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5738 wxHtmlPrintout
* _arg0
;
5740 PyObject
* _argo0
= 0;
5741 PyObject
* _obj1
= 0;
5742 char *_kwnames
[] = { "self","htmlfile", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5755 #if PYTHON_API_VERSION >= 1009
5756 char* tmpPtr
; int tmpSize
;
5757 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5761 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5763 _arg1
= new wxString(tmpPtr
, tmpSize
);
5765 if (!PyString_Check(_obj1
)) {
5766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5769 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) return NULL
;
5778 } Py_INCREF(Py_None
);
5779 _resultobj
= Py_None
;
5787 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5788 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxHtmlPrintout
* _arg0
;
5792 int _arg2
= (int ) (wxPAGE_ALL
);
5793 PyObject
* _argo0
= 0;
5794 PyObject
* _obj1
= 0;
5795 char *_kwnames
[] = { "self","header","pg", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5808 #if PYTHON_API_VERSION >= 1009
5809 char* tmpPtr
; int tmpSize
;
5810 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5814 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5816 _arg1
= new wxString(tmpPtr
, tmpSize
);
5818 if (!PyString_Check(_obj1
)) {
5819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5822 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) return NULL
;
5831 } Py_INCREF(Py_None
);
5832 _resultobj
= Py_None
;
5840 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5841 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5843 wxHtmlPrintout
* _arg0
;
5845 int _arg2
= (int ) (wxPAGE_ALL
);
5846 PyObject
* _argo0
= 0;
5847 PyObject
* _obj1
= 0;
5848 char *_kwnames
[] = { "self","footer","pg", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5861 #if PYTHON_API_VERSION >= 1009
5862 char* tmpPtr
; int tmpSize
;
5863 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5867 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5869 _arg1
= new wxString(tmpPtr
, tmpSize
);
5871 if (!PyString_Check(_obj1
)) {
5872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5875 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) return NULL
;
5884 } Py_INCREF(Py_None
);
5885 _resultobj
= Py_None
;
5893 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5894 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5896 wxHtmlPrintout
* _arg0
;
5897 float _arg1
= (float ) 25.2;
5898 float _arg2
= (float ) 25.2;
5899 float _arg3
= (float ) 25.2;
5900 float _arg4
= (float ) 25.2;
5901 float _arg5
= (float ) 5;
5902 PyObject
* _argo0
= 0;
5903 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5926 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5927 wxHtmlEasyPrinting
*src
;
5929 src
= (wxHtmlEasyPrinting
*) ptr
;
5930 dest
= (wxObject
*) src
;
5931 return (void *) dest
;
5934 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5935 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5937 wxHtmlEasyPrinting
* _result
;
5938 char * _arg0
= (char *) "Printing";
5939 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5940 PyObject
* _argo1
= 0;
5941 char *_kwnames
[] = { "name","parent_frame", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) return NULL
;
5961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5962 _resultobj
= Py_BuildValue("s",_ptemp
);
5965 _resultobj
= Py_None
;
5970 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5971 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5973 wxHtmlEasyPrinting
* _arg0
;
5974 PyObject
* _argo0
= 0;
5975 char *_kwnames
[] = { "self", NULL
};
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 delete_wxHtmlEasyPrinting(_arg0
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5993 } Py_INCREF(Py_None
);
5994 _resultobj
= Py_None
;
5998 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5999 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6001 wxHtmlEasyPrinting
* _arg0
;
6003 PyObject
* _argo0
= 0;
6004 PyObject
* _obj1
= 0;
6005 char *_kwnames
[] = { "self","htmlfile", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
6018 #if PYTHON_API_VERSION >= 1009
6019 char* tmpPtr
; int tmpSize
;
6020 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6024 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6026 _arg1
= new wxString(tmpPtr
, tmpSize
);
6028 if (!PyString_Check(_obj1
)) {
6029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6032 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } Py_INCREF(Py_None
);
6042 _resultobj
= Py_None
;
6050 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6051 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
* _resultobj
;
6053 wxHtmlEasyPrinting
* _arg0
;
6055 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6056 PyObject
* _argo0
= 0;
6057 PyObject
* _obj1
= 0;
6058 PyObject
* _obj2
= 0;
6059 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6072 #if PYTHON_API_VERSION >= 1009
6073 char* tmpPtr
; int tmpSize
;
6074 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6075 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6078 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6080 _arg1
= new wxString(tmpPtr
, tmpSize
);
6082 if (!PyString_Check(_obj1
)) {
6083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6086 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6091 #if PYTHON_API_VERSION >= 1009
6092 char* tmpPtr
; int tmpSize
;
6093 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6097 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6099 _arg2
= new wxString(tmpPtr
, tmpSize
);
6101 if (!PyString_Check(_obj2
)) {
6102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6105 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) return NULL
;
6114 } Py_INCREF(Py_None
);
6115 _resultobj
= Py_None
;
6127 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6128 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6130 wxHtmlEasyPrinting
* _arg0
;
6132 PyObject
* _argo0
= 0;
6133 PyObject
* _obj1
= 0;
6134 char *_kwnames
[] = { "self","htmlfile", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
6147 #if PYTHON_API_VERSION >= 1009
6148 char* tmpPtr
; int tmpSize
;
6149 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6153 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6155 _arg1
= new wxString(tmpPtr
, tmpSize
);
6157 if (!PyString_Check(_obj1
)) {
6158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6161 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) return NULL
;
6170 } Py_INCREF(Py_None
);
6171 _resultobj
= Py_None
;
6179 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6180 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
* _resultobj
;
6182 wxHtmlEasyPrinting
* _arg0
;
6184 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6185 PyObject
* _argo0
= 0;
6186 PyObject
* _obj1
= 0;
6187 PyObject
* _obj2
= 0;
6188 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6201 #if PYTHON_API_VERSION >= 1009
6202 char* tmpPtr
; int tmpSize
;
6203 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6207 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6209 _arg1
= new wxString(tmpPtr
, tmpSize
);
6211 if (!PyString_Check(_obj1
)) {
6212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6215 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6220 #if PYTHON_API_VERSION >= 1009
6221 char* tmpPtr
; int tmpSize
;
6222 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6226 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6228 _arg2
= new wxString(tmpPtr
, tmpSize
);
6230 if (!PyString_Check(_obj2
)) {
6231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6234 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6243 } Py_INCREF(Py_None
);
6244 _resultobj
= Py_None
;
6256 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6257 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
* _resultobj
;
6259 wxHtmlEasyPrinting
* _arg0
;
6260 PyObject
* _argo0
= 0;
6261 char *_kwnames
[] = { "self", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) return NULL
;
6279 } Py_INCREF(Py_None
);
6280 _resultobj
= Py_None
;
6284 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6285 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6287 wxHtmlEasyPrinting
* _arg0
;
6288 PyObject
* _argo0
= 0;
6289 char *_kwnames
[] = { "self", NULL
};
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 wxHtmlEasyPrinting_PageSetup(_arg0
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) return NULL
;
6307 } Py_INCREF(Py_None
);
6308 _resultobj
= Py_None
;
6312 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6313 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxHtmlEasyPrinting
* _arg0
;
6317 int _arg2
= (int ) (wxPAGE_ALL
);
6318 PyObject
* _argo0
= 0;
6319 PyObject
* _obj1
= 0;
6320 char *_kwnames
[] = { "self","header","pg", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6333 #if PYTHON_API_VERSION >= 1009
6334 char* tmpPtr
; int tmpSize
;
6335 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6339 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6341 _arg1
= new wxString(tmpPtr
, tmpSize
);
6343 if (!PyString_Check(_obj1
)) {
6344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6347 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) return NULL
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6365 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6366 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6368 wxHtmlEasyPrinting
* _arg0
;
6370 int _arg2
= (int ) (wxPAGE_ALL
);
6371 PyObject
* _argo0
= 0;
6372 PyObject
* _obj1
= 0;
6373 char *_kwnames
[] = { "self","footer","pg", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6386 #if PYTHON_API_VERSION >= 1009
6387 char* tmpPtr
; int tmpSize
;
6388 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6392 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6394 _arg1
= new wxString(tmpPtr
, tmpSize
);
6396 if (!PyString_Check(_obj1
)) {
6397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6400 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) return NULL
;
6409 } Py_INCREF(Py_None
);
6410 _resultobj
= Py_None
;
6418 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6419 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6421 wxPrintData
* _result
;
6422 wxHtmlEasyPrinting
* _arg0
;
6423 PyObject
* _argo0
= 0;
6424 char *_kwnames
[] = { "self", NULL
};
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) return NULL
;
6444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6445 _resultobj
= Py_BuildValue("s",_ptemp
);
6448 _resultobj
= Py_None
;
6453 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6454 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
* _resultobj
;
6456 wxPageSetupDialogData
* _result
;
6457 wxHtmlEasyPrinting
* _arg0
;
6458 PyObject
* _argo0
= 0;
6459 char *_kwnames
[] = { "self", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) return NULL
;
6479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6480 _resultobj
= Py_BuildValue("s",_ptemp
);
6483 _resultobj
= Py_None
;
6488 static PyMethodDef htmlcMethods
[] = {
6489 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6490 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6491 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6492 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6493 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6494 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6495 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6496 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6497 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6498 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6499 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6500 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6501 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6502 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6503 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6565 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6566 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6567 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6568 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6569 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6570 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6571 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6572 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6573 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6574 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6575 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6576 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6577 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6578 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6579 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6580 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6581 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6582 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6583 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6584 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6585 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6586 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6587 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6599 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6600 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6601 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6602 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6609 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6610 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6611 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6612 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6613 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6614 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6615 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6616 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6617 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6618 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6619 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6620 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6621 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6622 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6623 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6624 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6625 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6626 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6627 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6655 * This table is used by the pointer type-checker
6657 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6658 { "_signed_long","_long",0},
6659 { "_wxPrintQuality","_wxCoord",0},
6660 { "_wxPrintQuality","_int",0},
6661 { "_wxPrintQuality","_signed_int",0},
6662 { "_wxPrintQuality","_unsigned_int",0},
6663 { "_wxPrintQuality","_wxWindowID",0},
6664 { "_wxPrintQuality","_uint",0},
6665 { "_wxPrintQuality","_EBool",0},
6666 { "_wxPrintQuality","_size_t",0},
6667 { "_wxPrintQuality","_time_t",0},
6668 { "_byte","_unsigned_char",0},
6669 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6670 { "_long","_unsigned_long",0},
6671 { "_long","_signed_long",0},
6672 { "_size_t","_wxCoord",0},
6673 { "_size_t","_wxPrintQuality",0},
6674 { "_size_t","_time_t",0},
6675 { "_size_t","_unsigned_int",0},
6676 { "_size_t","_int",0},
6677 { "_size_t","_wxWindowID",0},
6678 { "_size_t","_uint",0},
6679 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6680 { "_uint","_wxCoord",0},
6681 { "_uint","_wxPrintQuality",0},
6682 { "_uint","_time_t",0},
6683 { "_uint","_size_t",0},
6684 { "_uint","_unsigned_int",0},
6685 { "_uint","_int",0},
6686 { "_uint","_wxWindowID",0},
6687 { "_wxChar","_char",0},
6688 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6689 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6690 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6691 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6692 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6693 { "_char","_wxChar",0},
6694 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6695 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6696 { "_EBool","_wxCoord",0},
6697 { "_EBool","_wxPrintQuality",0},
6698 { "_EBool","_signed_int",0},
6699 { "_EBool","_int",0},
6700 { "_EBool","_wxWindowID",0},
6701 { "_unsigned_long","_long",0},
6702 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6703 { "_signed_int","_wxCoord",0},
6704 { "_signed_int","_wxPrintQuality",0},
6705 { "_signed_int","_EBool",0},
6706 { "_signed_int","_wxWindowID",0},
6707 { "_signed_int","_int",0},
6708 { "_WXTYPE","_wxDateTime_t",0},
6709 { "_WXTYPE","_short",0},
6710 { "_WXTYPE","_signed_short",0},
6711 { "_WXTYPE","_unsigned_short",0},
6712 { "_unsigned_short","_wxDateTime_t",0},
6713 { "_unsigned_short","_WXTYPE",0},
6714 { "_unsigned_short","_short",0},
6715 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6716 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6717 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6718 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6719 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6720 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6721 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6722 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6723 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6724 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6725 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6726 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6727 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6728 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6729 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6730 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6731 { "_signed_short","_WXTYPE",0},
6732 { "_signed_short","_short",0},
6733 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6734 { "_unsigned_char","_byte",0},
6735 { "_unsigned_int","_wxCoord",0},
6736 { "_unsigned_int","_wxPrintQuality",0},
6737 { "_unsigned_int","_time_t",0},
6738 { "_unsigned_int","_size_t",0},
6739 { "_unsigned_int","_uint",0},
6740 { "_unsigned_int","_wxWindowID",0},
6741 { "_unsigned_int","_int",0},
6742 { "_short","_wxDateTime_t",0},
6743 { "_short","_WXTYPE",0},
6744 { "_short","_unsigned_short",0},
6745 { "_short","_signed_short",0},
6746 { "_wxWindowID","_wxCoord",0},
6747 { "_wxWindowID","_wxPrintQuality",0},
6748 { "_wxWindowID","_time_t",0},
6749 { "_wxWindowID","_size_t",0},
6750 { "_wxWindowID","_EBool",0},
6751 { "_wxWindowID","_uint",0},
6752 { "_wxWindowID","_int",0},
6753 { "_wxWindowID","_signed_int",0},
6754 { "_wxWindowID","_unsigned_int",0},
6755 { "_int","_wxCoord",0},
6756 { "_int","_wxPrintQuality",0},
6757 { "_int","_time_t",0},
6758 { "_int","_size_t",0},
6759 { "_int","_EBool",0},
6760 { "_int","_uint",0},
6761 { "_int","_wxWindowID",0},
6762 { "_int","_unsigned_int",0},
6763 { "_int","_signed_int",0},
6764 { "_wxDateTime_t","_unsigned_short",0},
6765 { "_wxDateTime_t","_short",0},
6766 { "_wxDateTime_t","_WXTYPE",0},
6767 { "_time_t","_wxCoord",0},
6768 { "_time_t","_wxPrintQuality",0},
6769 { "_time_t","_unsigned_int",0},
6770 { "_time_t","_int",0},
6771 { "_time_t","_wxWindowID",0},
6772 { "_time_t","_uint",0},
6773 { "_time_t","_size_t",0},
6774 { "_wxCoord","_int",0},
6775 { "_wxCoord","_signed_int",0},
6776 { "_wxCoord","_unsigned_int",0},
6777 { "_wxCoord","_wxWindowID",0},
6778 { "_wxCoord","_uint",0},
6779 { "_wxCoord","_EBool",0},
6780 { "_wxCoord","_size_t",0},
6781 { "_wxCoord","_time_t",0},
6782 { "_wxCoord","_wxPrintQuality",0},
6783 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6784 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6785 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6788 static PyObject
*SWIG_globals
;
6792 SWIGEXPORT(void) inithtmlc() {
6794 SWIG_globals
= SWIG_newvarlink();
6795 m
= Py_InitModule("htmlc", htmlcMethods
);
6796 d
= PyModule_GetDict(m
);
6797 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6798 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6799 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6800 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6801 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6802 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6803 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6804 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6805 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6806 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6807 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6808 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6809 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6810 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6811 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6812 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6813 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6814 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6815 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6816 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER
));
6817 PyDict_SetItemString(d
,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO
));
6818 PyDict_SetItemString(d
,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN
));
6819 PyDict_SetItemString(d
,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK
));
6820 PyDict_SetItemString(d
,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT
));
6821 PyDict_SetItemString(d
,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE
));
6822 PyDict_SetItemString(d
,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE
));
6823 PyDict_SetItemString(d
,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER
));
6824 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6825 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6826 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6831 wxClassInfo::CleanUpClasses();
6832 wxClassInfo::InitializeClasses();
6834 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6835 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6836 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6839 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6840 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);