2 * FILE : src/msw/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 is required for parameter";
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 bool doSave
= wxPyRestoreThread();
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 wxPySaveThread(doSave
);
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 bool doSave
= wxPyRestoreThread();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPySaveThread(doSave
);
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
{
197 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
198 const wxPoint
& pos
= wxDefaultPosition
,
199 const wxSize
& size
= wxDefaultSize
,
200 long style
= wxHW_SCROLLBAR_AUTO
,
201 const wxString
& name
= "htmlWindow")
202 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
204 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
205 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
207 DEC_PYCALLBACK__STRING(OnSetTitle
);
212 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
214 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
215 bool doSave
= wxPyRestoreThread();
216 if (wxPyCBH_findCallback(m_myInst
, "OnLinkClicked")) {
217 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
218 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
222 wxHtmlWindow::OnLinkClicked(link
);
223 wxPySaveThread(doSave
);
225 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
226 wxHtmlWindow::OnLinkClicked(link
);
229 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
230 wxHtmlWindow::AddFilter(filter
);
233 extern "C" SWIGEXPORT(void) inithtmlhelpc();
237 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
240 PyObject
* _obj0
= 0;
241 char *_kwnames
[] = { "tagHandlerClass", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
250 wxPy_BEGIN_ALLOW_THREADS
;
251 wxHtmlWinParser_AddTagHandler(_arg0
);
253 wxPy_END_ALLOW_THREADS
;
254 } Py_INCREF(Py_None
);
255 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 wxHtmlFilter
* _arg0
;
262 PyObject
* _argo0
= 0;
263 char *_kwnames
[] = { "filter", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
276 wxPy_BEGIN_ALLOW_THREADS
;
277 wxHtmlWindow_AddFilter(_arg0
);
279 wxPy_END_ALLOW_THREADS
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
288 src
= (wxHtmlLinkInfo
*) ptr
;
289 dest
= (wxObject
*) src
;
290 return (void *) dest
;
293 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
294 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxHtmlLinkInfo
* _result
;
298 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
299 PyObject
* _obj0
= 0;
300 PyObject
* _obj1
= 0;
301 char *_kwnames
[] = { "href","target", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
308 #if PYTHON_API_VERSION >= 1009
309 char* tmpPtr
; int tmpSize
;
310 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
314 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
316 _arg0
= new wxString(tmpPtr
, tmpSize
);
318 if (!PyString_Check(_obj0
)) {
319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
322 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
327 #if PYTHON_API_VERSION >= 1009
328 char* tmpPtr
; int tmpSize
;
329 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
333 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
335 _arg1
= new wxString(tmpPtr
, tmpSize
);
337 if (!PyString_Check(_obj1
)) {
338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
341 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
348 wxPy_END_ALLOW_THREADS
;
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
354 _resultobj
= Py_None
;
367 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
368 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxHtmlLinkInfo
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
389 wxPy_END_ALLOW_THREADS
;
391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
399 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
400 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxHtmlLinkInfo
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
421 wxPy_END_ALLOW_THREADS
;
423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
431 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
432 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
434 wxMouseEvent
* _result
;
435 wxHtmlLinkInfo
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
450 wxPy_BEGIN_ALLOW_THREADS
;
451 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
453 wxPy_END_ALLOW_THREADS
;
454 }{ _resultobj
= wxPyMake_wxObject(_result
); }
458 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
459 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxHtmlCell
* _result
;
462 wxHtmlLinkInfo
* _arg0
;
463 PyObject
* _argo0
= 0;
464 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
478 wxPy_BEGIN_ALLOW_THREADS
;
479 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
481 wxPy_END_ALLOW_THREADS
;
483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
484 _resultobj
= Py_BuildValue("s",_ptemp
);
487 _resultobj
= Py_None
;
492 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
493 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
495 wxHtmlLinkInfo
* _arg0
;
496 wxMouseEvent
* _arg1
;
497 PyObject
* _argo0
= 0;
498 PyObject
* _argo1
= 0;
499 char *_kwnames
[] = { "self","e", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
522 wxPy_END_ALLOW_THREADS
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
529 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
531 wxHtmlLinkInfo
* _arg0
;
533 PyObject
* _argo0
= 0;
534 PyObject
* _argo1
= 0;
535 char *_kwnames
[] = { "self","e", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
567 src
= (wxHtmlTag
*) ptr
;
568 dest
= (wxObject
*) src
;
569 return (void *) dest
;
572 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
573 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
591 wxPy_BEGIN_ALLOW_THREADS
;
592 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
594 wxPy_END_ALLOW_THREADS
;
596 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
604 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
605 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
610 PyObject
* _argo0
= 0;
611 PyObject
* _obj1
= 0;
612 char *_kwnames
[] = { "self","par", NULL
};
615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
625 #if PYTHON_API_VERSION >= 1009
626 char* tmpPtr
; int tmpSize
;
627 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
631 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
633 _arg1
= new wxString(tmpPtr
, tmpSize
);
635 if (!PyString_Check(_obj1
)) {
636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
639 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
646 wxPy_END_ALLOW_THREADS
;
647 } _resultobj
= Py_BuildValue("i",_result
);
655 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
656 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
661 int _arg2
= (int ) FALSE
;
662 PyObject
* _argo0
= 0;
663 PyObject
* _obj1
= 0;
664 char *_kwnames
[] = { "self","par","with_commas", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
677 #if PYTHON_API_VERSION >= 1009
678 char* tmpPtr
; int tmpSize
;
679 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
683 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
685 _arg1
= new wxString(tmpPtr
, tmpSize
);
687 if (!PyString_Check(_obj1
)) {
688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
691 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
698 wxPy_END_ALLOW_THREADS
;
700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
712 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
713 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
734 wxPy_END_ALLOW_THREADS
;
736 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
744 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
745 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
763 wxPy_BEGIN_ALLOW_THREADS
;
764 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
766 wxPy_END_ALLOW_THREADS
;
767 } _resultobj
= Py_BuildValue("i",_result
);
771 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
772 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
776 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
793 wxPy_END_ALLOW_THREADS
;
794 } _resultobj
= Py_BuildValue("i",_result
);
798 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
799 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
820 wxPy_END_ALLOW_THREADS
;
821 } _resultobj
= Py_BuildValue("i",_result
);
825 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
826 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
855 src
= (wxHtmlParser
*) ptr
;
856 dest
= (wxObject
*) src
;
857 return (void *) dest
;
860 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
861 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
863 wxHtmlParser
* _arg0
;
864 wxFileSystem
* _arg1
;
865 PyObject
* _argo0
= 0;
866 PyObject
* _argo1
= 0;
867 char *_kwnames
[] = { "self","fs", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
887 wxPy_BEGIN_ALLOW_THREADS
;
888 wxHtmlParser_SetFS(_arg0
,_arg1
);
890 wxPy_END_ALLOW_THREADS
;
891 } Py_INCREF(Py_None
);
892 _resultobj
= Py_None
;
896 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
897 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxFileSystem
* _result
;
900 wxHtmlParser
* _arg0
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
918 wxPy_END_ALLOW_THREADS
;
919 }{ _resultobj
= wxPyMake_wxObject(_result
); }
923 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
924 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 PyObject
* _resultobj
;
927 wxHtmlParser
* _arg0
;
929 PyObject
* _argo0
= 0;
930 PyObject
* _obj1
= 0;
931 char *_kwnames
[] = { "self","source", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
944 #if PYTHON_API_VERSION >= 1009
945 char* tmpPtr
; int tmpSize
;
946 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
950 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
952 _arg1
= new wxString(tmpPtr
, tmpSize
);
954 if (!PyString_Check(_obj1
)) {
955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
958 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
962 wxPy_BEGIN_ALLOW_THREADS
;
963 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
965 wxPy_END_ALLOW_THREADS
;
966 }{ _resultobj
= wxPyMake_wxObject(_result
); }
974 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
975 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
977 wxHtmlParser
* _arg0
;
979 PyObject
* _argo0
= 0;
980 PyObject
* _obj1
= 0;
981 char *_kwnames
[] = { "self","source", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
994 #if PYTHON_API_VERSION >= 1009
995 char* tmpPtr
; int tmpSize
;
996 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1000 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1002 _arg1
= new wxString(tmpPtr
, tmpSize
);
1004 if (!PyString_Check(_obj1
)) {
1005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1008 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } Py_INCREF(Py_None
);
1017 _resultobj
= Py_None
;
1025 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1026 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxHtmlParser
* _arg0
;
1029 PyObject
* _argo0
= 0;
1030 char *_kwnames
[] = { "self", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1043 wxPy_BEGIN_ALLOW_THREADS
;
1044 wxHtmlParser_DoneParser(_arg0
);
1046 wxPy_END_ALLOW_THREADS
;
1047 } Py_INCREF(Py_None
);
1048 _resultobj
= Py_None
;
1052 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1053 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1055 wxHtmlParser
* _arg0
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1082 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1084 wxHtmlParser
* _arg0
;
1085 wxHtmlTagHandler
* _arg1
;
1086 PyObject
* _argo0
= 0;
1087 PyObject
* _argo1
= 0;
1088 char *_kwnames
[] = { "self","handler", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } Py_INCREF(Py_None
);
1113 _resultobj
= Py_None
;
1117 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1118 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1121 wxHtmlParser
* _arg0
;
1122 PyObject
* _argo0
= 0;
1123 char *_kwnames
[] = { "self", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1136 wxPy_BEGIN_ALLOW_THREADS
;
1137 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1139 wxPy_END_ALLOW_THREADS
;
1141 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1146 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1147 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1149 wxHtmlParser
* _arg0
;
1150 wxHtmlTagHandler
* _arg1
;
1152 PyObject
* _argo0
= 0;
1153 PyObject
* _argo1
= 0;
1154 PyObject
* _obj2
= 0;
1155 char *_kwnames
[] = { "self","handler","tags", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1175 #if PYTHON_API_VERSION >= 1009
1176 char* tmpPtr
; int tmpSize
;
1177 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1181 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1183 _arg2
= new wxString(tmpPtr
, tmpSize
);
1185 if (!PyString_Check(_obj2
)) {
1186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1189 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1206 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1207 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1209 wxHtmlParser
* _arg0
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 wxHtmlParser_PopTagHandler(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 } Py_INCREF(Py_None
);
1229 _resultobj
= Py_None
;
1233 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1234 wxHtmlWinParser
*src
;
1236 src
= (wxHtmlWinParser
*) ptr
;
1237 dest
= (wxHtmlParser
*) src
;
1238 return (void *) dest
;
1241 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1242 wxHtmlWinParser
*src
;
1244 src
= (wxHtmlWinParser
*) ptr
;
1245 dest
= (wxObject
*) src
;
1246 return (void *) dest
;
1249 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1250 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
* _resultobj
;
1252 wxHtmlWinParser
* _result
;
1254 PyObject
* _argo0
= 0;
1255 char *_kwnames
[] = { "wnd", NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1272 wxPy_END_ALLOW_THREADS
;
1274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1275 _resultobj
= Py_BuildValue("s",_ptemp
);
1278 _resultobj
= Py_None
;
1283 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1284 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1286 wxHtmlWinParser
* _arg0
;
1288 PyObject
* _argo0
= 0;
1289 PyObject
* _argo1
= 0;
1290 char *_kwnames
[] = { "self","dc", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1313 wxPy_END_ALLOW_THREADS
;
1314 } Py_INCREF(Py_None
);
1315 _resultobj
= Py_None
;
1319 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1320 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1323 wxHtmlWinParser
* _arg0
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1341 wxPy_END_ALLOW_THREADS
;
1342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1346 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1347 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1350 wxHtmlWinParser
* _arg0
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1374 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 wxHtmlWinParser
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1401 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 wxHtmlWinParser
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1422 wxPy_END_ALLOW_THREADS
;
1423 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1427 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1428 int* temp
= int_LIST_helper(sizes
);
1430 self
->SetFonts(normal_face
, fixed_face
, temp
);
1434 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1436 wxHtmlWinParser
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 PyObject
* _obj1
= 0;
1442 PyObject
* _obj2
= 0;
1443 PyObject
* _obj3
= 0;
1444 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1457 #if PYTHON_API_VERSION >= 1009
1458 char* tmpPtr
; int tmpSize
;
1459 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1463 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1465 _arg1
= new wxString(tmpPtr
, tmpSize
);
1467 if (!PyString_Check(_obj1
)) {
1468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1471 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1475 #if PYTHON_API_VERSION >= 1009
1476 char* tmpPtr
; int tmpSize
;
1477 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1481 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1483 _arg2
= new wxString(tmpPtr
, tmpSize
);
1485 if (!PyString_Check(_obj2
)) {
1486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1489 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1499 wxPy_END_ALLOW_THREADS
;
1500 } Py_INCREF(Py_None
);
1501 _resultobj
= Py_None
;
1513 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1514 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1516 wxHtmlContainerCell
* _result
;
1517 wxHtmlWinParser
* _arg0
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1536 wxPy_END_ALLOW_THREADS
;
1538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1542 _resultobj
= Py_None
;
1547 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1548 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxHtmlContainerCell
* _result
;
1551 wxHtmlWinParser
* _arg0
;
1552 PyObject
* _argo0
= 0;
1553 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1570 wxPy_END_ALLOW_THREADS
;
1572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1573 _resultobj
= Py_BuildValue("s",_ptemp
);
1576 _resultobj
= Py_None
;
1581 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1582 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 wxHtmlContainerCell
* _result
;
1585 wxHtmlWinParser
* _arg0
;
1586 wxHtmlContainerCell
* _arg1
;
1587 PyObject
* _argo0
= 0;
1588 PyObject
* _argo1
= 0;
1589 char *_kwnames
[] = { "self","c", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1613 wxPy_END_ALLOW_THREADS
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1624 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1625 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1627 wxHtmlContainerCell
* _result
;
1628 wxHtmlWinParser
* _arg0
;
1629 PyObject
* _argo0
= 0;
1630 char *_kwnames
[] = { "self", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1644 wxPy_BEGIN_ALLOW_THREADS
;
1645 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1647 wxPy_END_ALLOW_THREADS
;
1649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1650 _resultobj
= Py_BuildValue("s",_ptemp
);
1653 _resultobj
= Py_None
;
1658 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1659 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1662 wxHtmlWinParser
* _arg0
;
1663 PyObject
* _argo0
= 0;
1664 char *_kwnames
[] = { "self", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1680 wxPy_END_ALLOW_THREADS
;
1681 } _resultobj
= Py_BuildValue("i",_result
);
1685 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1686 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1688 wxHtmlWinParser
* _arg0
;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self","s", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } Py_INCREF(Py_None
);
1709 _resultobj
= Py_None
;
1713 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1714 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1717 wxHtmlWinParser
* _arg0
;
1718 PyObject
* _argo0
= 0;
1719 char *_kwnames
[] = { "self", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1735 wxPy_END_ALLOW_THREADS
;
1736 } _resultobj
= Py_BuildValue("i",_result
);
1740 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1741 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1743 wxHtmlWinParser
* _arg0
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self","x", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } Py_INCREF(Py_None
);
1764 _resultobj
= Py_None
;
1768 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1769 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1772 wxHtmlWinParser
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1796 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1798 wxHtmlWinParser
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self","x", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } Py_INCREF(Py_None
);
1819 _resultobj
= Py_None
;
1823 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1824 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1827 wxHtmlWinParser
* _arg0
;
1828 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1842 wxPy_BEGIN_ALLOW_THREADS
;
1843 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1845 wxPy_END_ALLOW_THREADS
;
1846 } _resultobj
= Py_BuildValue("i",_result
);
1850 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1851 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxHtmlWinParser
* _arg0
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self","x", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } Py_INCREF(Py_None
);
1874 _resultobj
= Py_None
;
1878 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1879 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1882 wxHtmlWinParser
* _arg0
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1906 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1908 wxHtmlWinParser
* _arg0
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self","x", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1933 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1934 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 wxHtmlWinParser
* _arg0
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1952 wxPy_BEGIN_ALLOW_THREADS
;
1953 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1955 wxPy_END_ALLOW_THREADS
;
1956 } _resultobj
= Py_BuildValue("i",_result
);
1960 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1961 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1963 wxHtmlWinParser
* _arg0
;
1965 PyObject
* _argo0
= 0;
1966 char *_kwnames
[] = { "self","a", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1979 wxPy_BEGIN_ALLOW_THREADS
;
1980 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1982 wxPy_END_ALLOW_THREADS
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1988 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1989 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 wxHtmlWinParser
* _arg0
;
1993 PyObject
* _argo0
= 0;
1994 char *_kwnames
[] = { "self", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2010 _result
= (wxColour
*) &_result_ref
;
2012 wxPy_END_ALLOW_THREADS
;
2014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2015 _resultobj
= Py_BuildValue("s",_ptemp
);
2018 _resultobj
= Py_None
;
2023 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2024 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2026 wxHtmlWinParser
* _arg0
;
2028 PyObject
* _argo0
= 0;
2030 PyObject
* _obj1
= 0;
2031 char *_kwnames
[] = { "self","clr", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2045 if (! wxColour_helper(_obj1
, &_arg1
))
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } Py_INCREF(Py_None
);
2054 _resultobj
= Py_None
;
2058 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2059 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 wxHtmlWinParser
* _arg0
;
2063 PyObject
* _argo0
= 0;
2064 char *_kwnames
[] = { "self", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2080 _result
= (wxColour
*) &_result_ref
;
2082 wxPy_END_ALLOW_THREADS
;
2084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2085 _resultobj
= Py_BuildValue("s",_ptemp
);
2088 _resultobj
= Py_None
;
2093 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2094 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2096 wxHtmlWinParser
* _arg0
;
2098 PyObject
* _argo0
= 0;
2100 PyObject
* _obj1
= 0;
2101 char *_kwnames
[] = { "self","clr", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2115 if (! wxColour_helper(_obj1
, &_arg1
))
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2129 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2131 wxHtmlWinParser
* _arg0
;
2133 PyObject
* _argo0
= 0;
2134 PyObject
* _obj1
= 0;
2135 char *_kwnames
[] = { "self","link", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2148 #if PYTHON_API_VERSION >= 1009
2149 char* tmpPtr
; int tmpSize
;
2150 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2154 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2156 _arg1
= new wxString(tmpPtr
, tmpSize
);
2158 if (!PyString_Check(_obj1
)) {
2159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2162 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2179 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2180 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2183 wxHtmlWinParser
* _arg0
;
2184 PyObject
* _argo0
= 0;
2185 char *_kwnames
[] = { "self", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2202 wxPy_END_ALLOW_THREADS
;
2204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2205 _resultobj
= Py_BuildValue("s",_ptemp
);
2208 _resultobj
= Py_None
;
2213 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2214 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2216 wxHtmlLinkInfo
* _result
;
2217 wxHtmlWinParser
* _arg0
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2236 wxPy_END_ALLOW_THREADS
;
2237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2238 _resultobj
= Py_BuildValue("s",_ptemp
);
2242 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2243 wxPyHtmlTagHandler
*src
;
2245 src
= (wxPyHtmlTagHandler
*) ptr
;
2246 dest
= (wxObject
*) src
;
2247 return (void *) dest
;
2250 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2251 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 wxPyHtmlTagHandler
* _result
;
2254 char *_kwnames
[] = { NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2264 wxPy_END_ALLOW_THREADS
;
2266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2267 _resultobj
= Py_BuildValue("s",_ptemp
);
2270 _resultobj
= Py_None
;
2275 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2276 static PyObject
*_wrap_wxHtmlTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxPyHtmlTagHandler
* _arg0
;
2281 PyObject
* _argo0
= 0;
2282 PyObject
* _obj1
= 0;
2283 PyObject
* _obj2
= 0;
2284 char *_kwnames
[] = { "self","self","_class", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
2303 wxPy_BEGIN_ALLOW_THREADS
;
2304 wxHtmlTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2306 wxPy_END_ALLOW_THREADS
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2313 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2315 wxPyHtmlTagHandler
* _arg0
;
2316 wxHtmlParser
* _arg1
;
2317 PyObject
* _argo0
= 0;
2318 PyObject
* _argo1
= 0;
2319 char *_kwnames
[] = { "self","parser", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } Py_INCREF(Py_None
);
2344 _resultobj
= Py_None
;
2348 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2349 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2351 wxHtmlParser
* _result
;
2352 wxPyHtmlTagHandler
* _arg0
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2371 wxPy_END_ALLOW_THREADS
;
2373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2374 _resultobj
= Py_BuildValue("s",_ptemp
);
2377 _resultobj
= Py_None
;
2382 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2383 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2385 wxPyHtmlTagHandler
* _arg0
;
2387 PyObject
* _argo0
= 0;
2388 PyObject
* _argo1
= 0;
2389 char *_kwnames
[] = { "self","tag", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2409 wxPy_BEGIN_ALLOW_THREADS
;
2410 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2412 wxPy_END_ALLOW_THREADS
;
2413 } Py_INCREF(Py_None
);
2414 _resultobj
= Py_None
;
2418 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2419 wxPyHtmlWinTagHandler
*src
;
2420 wxPyHtmlTagHandler
*dest
;
2421 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2422 dest
= (wxPyHtmlTagHandler
*) src
;
2423 return (void *) dest
;
2426 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2427 wxPyHtmlWinTagHandler
*src
;
2429 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2430 dest
= (wxObject
*) src
;
2431 return (void *) dest
;
2434 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2435 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2437 wxPyHtmlWinTagHandler
* _result
;
2438 char *_kwnames
[] = { NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2448 wxPy_END_ALLOW_THREADS
;
2450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2451 _resultobj
= Py_BuildValue("s",_ptemp
);
2454 _resultobj
= Py_None
;
2459 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2460 static PyObject
*_wrap_wxHtmlWinTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2462 wxPyHtmlWinTagHandler
* _arg0
;
2465 PyObject
* _argo0
= 0;
2466 PyObject
* _obj1
= 0;
2467 PyObject
* _obj2
= 0;
2468 char *_kwnames
[] = { "self","self","_class", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 wxHtmlWinTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2497 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
* _resultobj
;
2499 wxPyHtmlWinTagHandler
* _arg0
;
2500 wxHtmlParser
* _arg1
;
2501 PyObject
* _argo0
= 0;
2502 PyObject
* _argo1
= 0;
2503 char *_kwnames
[] = { "self","parser", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2526 wxPy_END_ALLOW_THREADS
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2533 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxHtmlWinParser
* _result
;
2536 wxPyHtmlWinTagHandler
* _arg0
;
2537 PyObject
* _argo0
= 0;
2538 char *_kwnames
[] = { "self", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2555 wxPy_END_ALLOW_THREADS
;
2557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2561 _resultobj
= Py_None
;
2566 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2567 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2569 wxPyHtmlWinTagHandler
* _arg0
;
2571 PyObject
* _argo0
= 0;
2572 PyObject
* _argo1
= 0;
2573 char *_kwnames
[] = { "self","tag", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2593 wxPy_BEGIN_ALLOW_THREADS
;
2594 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2596 wxPy_END_ALLOW_THREADS
;
2597 } Py_INCREF(Py_None
);
2598 _resultobj
= Py_None
;
2602 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2605 src
= (wxHtmlCell
*) ptr
;
2606 dest
= (wxObject
*) src
;
2607 return (void *) dest
;
2610 #define new_wxHtmlCell() (new wxHtmlCell())
2611 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2613 wxHtmlCell
* _result
;
2614 char *_kwnames
[] = { NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2621 wxPy_BEGIN_ALLOW_THREADS
;
2622 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2624 wxPy_END_ALLOW_THREADS
;
2626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2627 _resultobj
= Py_BuildValue("s",_ptemp
);
2630 _resultobj
= Py_None
;
2635 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2636 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2640 PyObject
* _argo0
= 0;
2641 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2654 wxPy_BEGIN_ALLOW_THREADS
;
2655 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2657 wxPy_END_ALLOW_THREADS
;
2658 } _resultobj
= Py_BuildValue("i",_result
);
2662 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2663 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2684 wxPy_END_ALLOW_THREADS
;
2685 } _resultobj
= Py_BuildValue("i",_result
);
2689 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2690 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2694 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2708 wxPy_BEGIN_ALLOW_THREADS
;
2709 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2711 wxPy_END_ALLOW_THREADS
;
2712 } _resultobj
= Py_BuildValue("i",_result
);
2716 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2717 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2735 wxPy_BEGIN_ALLOW_THREADS
;
2736 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2738 wxPy_END_ALLOW_THREADS
;
2739 } _resultobj
= Py_BuildValue("i",_result
);
2743 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2744 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2762 wxPy_BEGIN_ALLOW_THREADS
;
2763 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2765 wxPy_END_ALLOW_THREADS
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2771 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxHtmlLinkInfo
* _result
;
2775 int _arg1
= (int ) 0;
2776 int _arg2
= (int ) 0;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self","x","y", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2795 wxPy_END_ALLOW_THREADS
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2807 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 wxHtmlCell
* _result
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2829 wxPy_END_ALLOW_THREADS
;
2831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2832 _resultobj
= Py_BuildValue("s",_ptemp
);
2835 _resultobj
= Py_None
;
2840 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2841 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2843 wxHtmlContainerCell
* _result
;
2845 PyObject
* _argo0
= 0;
2846 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2863 wxPy_END_ALLOW_THREADS
;
2865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2866 _resultobj
= Py_BuildValue("s",_ptemp
);
2869 _resultobj
= Py_None
;
2874 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2875 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2878 wxHtmlLinkInfo
* _arg1
;
2879 PyObject
* _argo0
= 0;
2880 PyObject
* _argo1
= 0;
2881 char *_kwnames
[] = { "self","link", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2904 wxPy_END_ALLOW_THREADS
;
2905 } Py_INCREF(Py_None
);
2906 _resultobj
= Py_None
;
2910 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2911 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2916 PyObject
* _argo1
= 0;
2917 char *_kwnames
[] = { "self","cell", NULL
};
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2937 wxPy_BEGIN_ALLOW_THREADS
;
2938 wxHtmlCell_SetNext(_arg0
,_arg1
);
2940 wxPy_END_ALLOW_THREADS
;
2941 } Py_INCREF(Py_None
);
2942 _resultobj
= Py_None
;
2946 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2947 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2950 wxHtmlContainerCell
* _arg1
;
2951 PyObject
* _argo0
= 0;
2952 PyObject
* _argo1
= 0;
2953 char *_kwnames
[] = { "self","p", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 wxHtmlCell_SetParent(_arg0
,_arg1
);
2976 wxPy_END_ALLOW_THREADS
;
2977 } Py_INCREF(Py_None
);
2978 _resultobj
= Py_None
;
2982 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2983 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2988 PyObject
* _argo0
= 0;
2989 char *_kwnames
[] = { "self","x","y", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } Py_INCREF(Py_None
);
3007 _resultobj
= Py_None
;
3011 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3012 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self","w", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 wxHtmlCell_Layout(_arg0
,_arg1
);
3033 wxPy_END_ALLOW_THREADS
;
3034 } Py_INCREF(Py_None
);
3035 _resultobj
= Py_None
;
3039 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3040 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3048 PyObject
* _argo0
= 0;
3049 PyObject
* _argo1
= 0;
3050 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3080 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3086 PyObject
* _argo0
= 0;
3087 PyObject
* _argo1
= 0;
3088 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3111 wxPy_END_ALLOW_THREADS
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3118 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxHtmlCell
* _result
;
3124 PyObject
* _argo0
= 0;
3125 PyObject
* _argo2
= 0;
3126 char *_kwnames
[] = { "self","condition","param", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3140 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3147 wxPy_BEGIN_ALLOW_THREADS
;
3148 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3150 wxPy_END_ALLOW_THREADS
;
3152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3153 _resultobj
= Py_BuildValue("s",_ptemp
);
3156 _resultobj
= Py_None
;
3161 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3162 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 PyObject
* _argo1
= 0;
3169 char *_kwnames
[] = { "self","pagebreak", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } _resultobj
= Py_BuildValue("i",_result
);
3197 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3198 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3202 PyObject
* _argo0
= 0;
3204 char *_kwnames
[] = { "self","can", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3216 _arg1
= (bool ) tempbool1
;
3218 wxPy_BEGIN_ALLOW_THREADS
;
3219 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3221 wxPy_END_ALLOW_THREADS
;
3222 } Py_INCREF(Py_None
);
3223 _resultobj
= Py_None
;
3227 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3228 wxHtmlWordCell
*src
;
3230 src
= (wxHtmlWordCell
*) ptr
;
3231 dest
= (wxHtmlCell
*) src
;
3232 return (void *) dest
;
3235 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3236 wxHtmlWordCell
*src
;
3238 src
= (wxHtmlWordCell
*) ptr
;
3239 dest
= (wxObject
*) src
;
3240 return (void *) dest
;
3243 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3244 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3246 wxHtmlWordCell
* _result
;
3249 PyObject
* _obj0
= 0;
3250 PyObject
* _argo1
= 0;
3251 char *_kwnames
[] = { "word","dc", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3258 #if PYTHON_API_VERSION >= 1009
3259 char* tmpPtr
; int tmpSize
;
3260 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3264 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3266 _arg0
= new wxString(tmpPtr
, tmpSize
);
3268 if (!PyString_Check(_obj0
)) {
3269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3272 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3286 wxPy_END_ALLOW_THREADS
;
3288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3289 _resultobj
= Py_BuildValue("s",_ptemp
);
3292 _resultobj
= Py_None
;
3301 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3302 wxHtmlContainerCell
*src
;
3304 src
= (wxHtmlContainerCell
*) ptr
;
3305 dest
= (wxHtmlCell
*) src
;
3306 return (void *) dest
;
3309 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3310 wxHtmlContainerCell
*src
;
3312 src
= (wxHtmlContainerCell
*) ptr
;
3313 dest
= (wxObject
*) src
;
3314 return (void *) dest
;
3317 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3318 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3320 wxHtmlContainerCell
* _result
;
3321 wxHtmlContainerCell
* _arg0
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "parent", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3340 wxPy_END_ALLOW_THREADS
;
3342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3346 _resultobj
= Py_None
;
3351 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3352 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3354 wxHtmlContainerCell
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 PyObject
* _argo1
= 0;
3358 char *_kwnames
[] = { "self","cell", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3378 wxPy_BEGIN_ALLOW_THREADS
;
3379 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3381 wxPy_END_ALLOW_THREADS
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3388 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3390 wxHtmlContainerCell
* _arg0
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self","al", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3409 wxPy_END_ALLOW_THREADS
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3416 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3419 wxHtmlContainerCell
* _arg0
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3437 wxPy_END_ALLOW_THREADS
;
3438 } _resultobj
= Py_BuildValue("i",_result
);
3442 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3443 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3445 wxHtmlContainerCell
* _arg0
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self","al", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
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 wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3464 wxPy_END_ALLOW_THREADS
;
3465 } Py_INCREF(Py_None
);
3466 _resultobj
= Py_None
;
3470 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3471 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
* _resultobj
;
3474 wxHtmlContainerCell
* _arg0
;
3475 PyObject
* _argo0
= 0;
3476 char *_kwnames
[] = { "self", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3492 wxPy_END_ALLOW_THREADS
;
3493 } _resultobj
= Py_BuildValue("i",_result
);
3497 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3498 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxHtmlContainerCell
* _arg0
;
3503 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self","i","what","units", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3521 wxPy_END_ALLOW_THREADS
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3528 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3531 wxHtmlContainerCell
* _arg0
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self","ind", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3550 wxPy_END_ALLOW_THREADS
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3556 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3559 wxHtmlContainerCell
* _arg0
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self","ind", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3578 wxPy_END_ALLOW_THREADS
;
3579 } _resultobj
= Py_BuildValue("i",_result
);
3583 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3584 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3586 wxHtmlContainerCell
* _arg0
;
3588 PyObject
* _argo0
= 0;
3589 PyObject
* _argo1
= 0;
3590 char *_kwnames
[] = { "self","tag", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3620 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3622 wxHtmlContainerCell
* _arg0
;
3625 PyObject
* _argo0
= 0;
3626 char *_kwnames
[] = { "self","w","units", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3639 wxPy_BEGIN_ALLOW_THREADS
;
3640 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3642 wxPy_END_ALLOW_THREADS
;
3643 } Py_INCREF(Py_None
);
3644 _resultobj
= Py_None
;
3648 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3649 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxHtmlContainerCell
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 PyObject
* _argo1
= 0;
3655 char *_kwnames
[] = { "self","tag", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } Py_INCREF(Py_None
);
3680 _resultobj
= Py_None
;
3684 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3685 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3687 wxHtmlContainerCell
* _arg0
;
3689 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","h","align", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3707 wxPy_END_ALLOW_THREADS
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3714 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3716 wxHtmlContainerCell
* _arg0
;
3718 PyObject
* _argo0
= 0;
3720 PyObject
* _obj1
= 0;
3721 char *_kwnames
[] = { "self","clr", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3735 if (! wxColour_helper(_obj1
, &_arg1
))
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3749 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3751 wxHtmlContainerCell
* _arg0
;
3754 PyObject
* _argo0
= 0;
3756 PyObject
* _obj1
= 0;
3758 PyObject
* _obj2
= 0;
3759 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3773 if (! wxColour_helper(_obj1
, &_arg1
))
3778 if (! wxColour_helper(_obj2
, &_arg2
))
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3785 wxPy_END_ALLOW_THREADS
;
3786 } Py_INCREF(Py_None
);
3787 _resultobj
= Py_None
;
3791 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3792 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3794 wxHtmlCell
* _result
;
3795 wxHtmlContainerCell
* _arg0
;
3796 PyObject
* _argo0
= 0;
3797 char *_kwnames
[] = { "self", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3814 wxPy_END_ALLOW_THREADS
;
3816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3817 _resultobj
= Py_BuildValue("s",_ptemp
);
3820 _resultobj
= Py_None
;
3825 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3826 wxHtmlColourCell
*src
;
3828 src
= (wxHtmlColourCell
*) ptr
;
3829 dest
= (wxHtmlCell
*) src
;
3830 return (void *) dest
;
3833 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3834 wxHtmlColourCell
*src
;
3836 src
= (wxHtmlColourCell
*) ptr
;
3837 dest
= (wxObject
*) src
;
3838 return (void *) dest
;
3841 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3842 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3844 wxHtmlColourCell
* _result
;
3846 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3848 PyObject
* _obj0
= 0;
3849 char *_kwnames
[] = { "clr","flags", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3857 if (! wxColour_helper(_obj0
, &_arg0
))
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3864 wxPy_END_ALLOW_THREADS
;
3866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3867 _resultobj
= Py_BuildValue("s",_ptemp
);
3870 _resultobj
= Py_None
;
3875 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3876 wxHtmlFontCell
*src
;
3878 src
= (wxHtmlFontCell
*) ptr
;
3879 dest
= (wxHtmlCell
*) src
;
3880 return (void *) dest
;
3883 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3884 wxHtmlFontCell
*src
;
3886 src
= (wxHtmlFontCell
*) ptr
;
3887 dest
= (wxObject
*) src
;
3888 return (void *) dest
;
3891 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3892 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
* _resultobj
;
3894 wxHtmlFontCell
* _result
;
3896 PyObject
* _argo0
= 0;
3897 char *_kwnames
[] = { "font", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3914 wxPy_END_ALLOW_THREADS
;
3916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3917 _resultobj
= Py_BuildValue("s",_ptemp
);
3920 _resultobj
= Py_None
;
3925 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3926 wxHtmlWidgetCell
*src
;
3928 src
= (wxHtmlWidgetCell
*) ptr
;
3929 dest
= (wxHtmlCell
*) src
;
3930 return (void *) dest
;
3933 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3934 wxHtmlWidgetCell
*src
;
3936 src
= (wxHtmlWidgetCell
*) ptr
;
3937 dest
= (wxObject
*) src
;
3938 return (void *) dest
;
3941 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3942 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxHtmlWidgetCell
* _result
;
3946 int _arg1
= (int ) 0;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "wnd","w", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3962 wxPy_BEGIN_ALLOW_THREADS
;
3963 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3965 wxPy_END_ALLOW_THREADS
;
3967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3968 _resultobj
= Py_BuildValue("s",_ptemp
);
3971 _resultobj
= Py_None
;
3976 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3977 wxPyHtmlWindow
*src
;
3978 wxScrolledWindow
*dest
;
3979 src
= (wxPyHtmlWindow
*) ptr
;
3980 dest
= (wxScrolledWindow
*) src
;
3981 return (void *) dest
;
3984 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3985 wxPyHtmlWindow
*src
;
3987 src
= (wxPyHtmlWindow
*) ptr
;
3988 dest
= (wxPanel
*) src
;
3989 return (void *) dest
;
3992 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
3993 wxPyHtmlWindow
*src
;
3995 src
= (wxPyHtmlWindow
*) ptr
;
3996 dest
= (wxWindow
*) src
;
3997 return (void *) dest
;
4000 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4001 wxPyHtmlWindow
*src
;
4003 src
= (wxPyHtmlWindow
*) ptr
;
4004 dest
= (wxEvtHandler
*) src
;
4005 return (void *) dest
;
4008 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4009 wxPyHtmlWindow
*src
;
4011 src
= (wxPyHtmlWindow
*) ptr
;
4012 dest
= (wxObject
*) src
;
4013 return (void *) dest
;
4016 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4017 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4019 wxPyHtmlWindow
* _result
;
4021 int _arg1
= (int ) -1;
4022 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4023 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4024 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4025 char * _arg5
= (char *) "htmlWindow";
4026 PyObject
* _argo0
= 0;
4028 PyObject
* _obj2
= 0;
4030 PyObject
* _obj3
= 0;
4031 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4047 if (! wxPoint_helper(_obj2
, &_arg2
))
4053 if (! wxSize_helper(_obj3
, &_arg3
))
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4060 wxPy_END_ALLOW_THREADS
;
4062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4063 _resultobj
= Py_BuildValue("s",_ptemp
);
4066 _resultobj
= Py_None
;
4071 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4072 static PyObject
*_wrap_wxHtmlWindow__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4074 wxPyHtmlWindow
* _arg0
;
4077 PyObject
* _argo0
= 0;
4078 PyObject
* _obj1
= 0;
4079 PyObject
* _obj2
= 0;
4080 char *_kwnames
[] = { "self","self","_class", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 wxHtmlWindow__setSelf(_arg0
,_arg1
,_arg2
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } Py_INCREF(Py_None
);
4104 _resultobj
= Py_None
;
4108 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4109 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4112 wxPyHtmlWindow
* _arg0
;
4114 PyObject
* _argo0
= 0;
4115 PyObject
* _obj1
= 0;
4116 char *_kwnames
[] = { "self","source", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4129 #if PYTHON_API_VERSION >= 1009
4130 char* tmpPtr
; int tmpSize
;
4131 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4135 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4137 _arg1
= new wxString(tmpPtr
, tmpSize
);
4139 if (!PyString_Check(_obj1
)) {
4140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4143 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4150 wxPy_END_ALLOW_THREADS
;
4151 } _resultobj
= Py_BuildValue("i",_result
);
4159 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4160 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4163 wxPyHtmlWindow
* _arg0
;
4165 PyObject
* _argo0
= 0;
4166 PyObject
* _obj1
= 0;
4167 char *_kwnames
[] = { "self","location", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4180 #if PYTHON_API_VERSION >= 1009
4181 char* tmpPtr
; int tmpSize
;
4182 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4186 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4188 _arg1
= new wxString(tmpPtr
, tmpSize
);
4190 if (!PyString_Check(_obj1
)) {
4191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4194 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4198 wxPy_BEGIN_ALLOW_THREADS
;
4199 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4201 wxPy_END_ALLOW_THREADS
;
4202 } _resultobj
= Py_BuildValue("i",_result
);
4210 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4211 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4214 wxPyHtmlWindow
* _arg0
;
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self", NULL
};
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4232 wxPy_END_ALLOW_THREADS
;
4234 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4242 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4243 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
* _resultobj
;
4246 wxPyHtmlWindow
* _arg0
;
4247 PyObject
* _argo0
= 0;
4248 char *_kwnames
[] = { "self", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4264 wxPy_END_ALLOW_THREADS
;
4266 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4274 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4275 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 wxPyHtmlWindow
* _arg0
;
4279 PyObject
* _argo0
= 0;
4280 char *_kwnames
[] = { "self", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4296 wxPy_END_ALLOW_THREADS
;
4298 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4306 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4307 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4309 wxPyHtmlWindow
* _arg0
;
4312 PyObject
* _argo0
= 0;
4313 PyObject
* _argo1
= 0;
4314 char *_kwnames
[] = { "self","frame","format", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4334 wxPy_BEGIN_ALLOW_THREADS
;
4335 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4337 wxPy_END_ALLOW_THREADS
;
4338 } Py_INCREF(Py_None
);
4339 _resultobj
= Py_None
;
4343 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4344 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 wxPyHtmlWindow
* _arg0
;
4348 PyObject
* _argo0
= 0;
4349 char *_kwnames
[] = { "self", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4362 wxPy_BEGIN_ALLOW_THREADS
;
4363 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4365 wxPy_END_ALLOW_THREADS
;
4366 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4370 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4371 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4373 wxPyHtmlWindow
* _arg0
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self","bar", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4392 wxPy_END_ALLOW_THREADS
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4398 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4399 int* temp
= int_LIST_helper(sizes
);
4401 self
->SetFonts(normal_face
, fixed_face
, temp
);
4405 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4407 wxPyHtmlWindow
* _arg0
;
4411 PyObject
* _argo0
= 0;
4412 PyObject
* _obj1
= 0;
4413 PyObject
* _obj2
= 0;
4414 PyObject
* _obj3
= 0;
4415 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4428 #if PYTHON_API_VERSION >= 1009
4429 char* tmpPtr
; int tmpSize
;
4430 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4434 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4436 _arg1
= new wxString(tmpPtr
, tmpSize
);
4438 if (!PyString_Check(_obj1
)) {
4439 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4442 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4446 #if PYTHON_API_VERSION >= 1009
4447 char* tmpPtr
; int tmpSize
;
4448 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4452 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4454 _arg2
= new wxString(tmpPtr
, tmpSize
);
4456 if (!PyString_Check(_obj2
)) {
4457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4460 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4470 wxPy_END_ALLOW_THREADS
;
4471 } Py_INCREF(Py_None
);
4472 _resultobj
= Py_None
;
4484 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4485 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4487 wxPyHtmlWindow
* _arg0
;
4489 PyObject
* _argo0
= 0;
4490 PyObject
* _obj1
= 0;
4491 char *_kwnames
[] = { "self","title", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4504 #if PYTHON_API_VERSION >= 1009
4505 char* tmpPtr
; int tmpSize
;
4506 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4510 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4512 _arg1
= new wxString(tmpPtr
, tmpSize
);
4514 if (!PyString_Check(_obj1
)) {
4515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4518 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4535 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4536 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4538 wxPyHtmlWindow
* _arg0
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self","b", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4554 wxPy_BEGIN_ALLOW_THREADS
;
4555 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4557 wxPy_END_ALLOW_THREADS
;
4558 } Py_INCREF(Py_None
);
4559 _resultobj
= Py_None
;
4563 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4564 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4566 wxPyHtmlWindow
* _arg0
;
4567 wxConfigBase
* _arg1
;
4568 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4569 PyObject
* _argo0
= 0;
4570 PyObject
* _argo1
= 0;
4571 PyObject
* _obj2
= 0;
4572 char *_kwnames
[] = { "self","cfg","path", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4593 #if PYTHON_API_VERSION >= 1009
4594 char* tmpPtr
; int tmpSize
;
4595 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4599 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4601 _arg2
= new wxString(tmpPtr
, tmpSize
);
4603 if (!PyString_Check(_obj2
)) {
4604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4607 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } Py_INCREF(Py_None
);
4616 _resultobj
= Py_None
;
4624 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4625 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4627 wxPyHtmlWindow
* _arg0
;
4628 wxConfigBase
* _arg1
;
4629 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4630 PyObject
* _argo0
= 0;
4631 PyObject
* _argo1
= 0;
4632 PyObject
* _obj2
= 0;
4633 char *_kwnames
[] = { "self","cfg","path", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4654 #if PYTHON_API_VERSION >= 1009
4655 char* tmpPtr
; int tmpSize
;
4656 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4660 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4662 _arg2
= new wxString(tmpPtr
, tmpSize
);
4664 if (!PyString_Check(_obj2
)) {
4665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4668 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4672 wxPy_BEGIN_ALLOW_THREADS
;
4673 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4675 wxPy_END_ALLOW_THREADS
;
4676 } Py_INCREF(Py_None
);
4677 _resultobj
= Py_None
;
4685 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4686 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4689 wxPyHtmlWindow
* _arg0
;
4690 PyObject
* _argo0
= 0;
4691 char *_kwnames
[] = { "self", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4707 wxPy_END_ALLOW_THREADS
;
4708 } _resultobj
= Py_BuildValue("i",_result
);
4712 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4713 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4716 wxPyHtmlWindow
* _arg0
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } _resultobj
= Py_BuildValue("i",_result
);
4739 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4740 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4743 wxPyHtmlWindow
* _arg0
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4761 wxPy_END_ALLOW_THREADS
;
4762 } _resultobj
= Py_BuildValue("i",_result
);
4766 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4767 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4770 wxPyHtmlWindow
* _arg0
;
4771 PyObject
* _argo0
= 0;
4772 char *_kwnames
[] = { "self", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4785 wxPy_BEGIN_ALLOW_THREADS
;
4786 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4788 wxPy_END_ALLOW_THREADS
;
4789 } _resultobj
= Py_BuildValue("i",_result
);
4793 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4794 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4796 wxPyHtmlWindow
* _arg0
;
4797 PyObject
* _argo0
= 0;
4798 char *_kwnames
[] = { "self", NULL
};
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4811 wxPy_BEGIN_ALLOW_THREADS
;
4812 wxHtmlWindow_HistoryClear(_arg0
);
4814 wxPy_END_ALLOW_THREADS
;
4815 } Py_INCREF(Py_None
);
4816 _resultobj
= Py_None
;
4820 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4821 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4823 wxHtmlContainerCell
* _result
;
4824 wxPyHtmlWindow
* _arg0
;
4825 PyObject
* _argo0
= 0;
4826 char *_kwnames
[] = { "self", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4840 wxPy_BEGIN_ALLOW_THREADS
;
4841 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4843 wxPy_END_ALLOW_THREADS
;
4845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4846 _resultobj
= Py_BuildValue("s",_ptemp
);
4849 _resultobj
= Py_None
;
4854 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4855 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4857 wxHtmlWinParser
* _result
;
4858 wxPyHtmlWindow
* _arg0
;
4859 PyObject
* _argo0
= 0;
4860 char *_kwnames
[] = { "self", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4877 wxPy_END_ALLOW_THREADS
;
4879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4880 _resultobj
= Py_BuildValue("s",_ptemp
);
4883 _resultobj
= Py_None
;
4888 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4889 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4891 wxPyHtmlWindow
* _arg0
;
4892 wxHtmlLinkInfo
* _arg1
;
4893 PyObject
* _argo0
= 0;
4894 PyObject
* _argo1
= 0;
4895 char *_kwnames
[] = { "self","link", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
4901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4915 wxPy_BEGIN_ALLOW_THREADS
;
4916 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
4918 wxPy_END_ALLOW_THREADS
;
4919 } Py_INCREF(Py_None
);
4920 _resultobj
= Py_None
;
4924 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4925 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 wxPyHtmlWindow
* _arg0
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self","title", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
4946 wxPy_END_ALLOW_THREADS
;
4947 } Py_INCREF(Py_None
);
4948 _resultobj
= Py_None
;
4952 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
4953 wxHtmlDCRenderer
*src
;
4955 src
= (wxHtmlDCRenderer
*) ptr
;
4956 dest
= (wxObject
*) src
;
4957 return (void *) dest
;
4960 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
4961 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
* _resultobj
;
4963 wxHtmlDCRenderer
* _result
;
4964 char *_kwnames
[] = { NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
4974 wxPy_END_ALLOW_THREADS
;
4976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
4977 _resultobj
= Py_BuildValue("s",_ptemp
);
4980 _resultobj
= Py_None
;
4985 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
4986 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4988 wxHtmlDCRenderer
* _arg0
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5003 wxPy_BEGIN_ALLOW_THREADS
;
5004 delete_wxHtmlDCRenderer(_arg0
);
5006 wxPy_END_ALLOW_THREADS
;
5007 } Py_INCREF(Py_None
);
5008 _resultobj
= Py_None
;
5012 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5013 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5015 wxHtmlDCRenderer
* _arg0
;
5018 PyObject
* _argo0
= 0;
5019 PyObject
* _argo1
= 0;
5020 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5043 wxPy_END_ALLOW_THREADS
;
5044 } Py_INCREF(Py_None
);
5045 _resultobj
= Py_None
;
5049 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5050 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5052 wxHtmlDCRenderer
* _arg0
;
5055 PyObject
* _argo0
= 0;
5056 char *_kwnames
[] = { "self","width","height", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5069 wxPy_BEGIN_ALLOW_THREADS
;
5070 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5072 wxPy_END_ALLOW_THREADS
;
5073 } Py_INCREF(Py_None
);
5074 _resultobj
= Py_None
;
5078 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5079 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5081 wxHtmlDCRenderer
* _arg0
;
5083 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5084 bool _arg3
= (bool ) TRUE
;
5085 PyObject
* _argo0
= 0;
5086 PyObject
* _obj1
= 0;
5087 PyObject
* _obj2
= 0;
5088 int tempbool3
= (int) TRUE
;
5089 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5102 #if PYTHON_API_VERSION >= 1009
5103 char* tmpPtr
; int tmpSize
;
5104 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5105 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5108 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5110 _arg1
= new wxString(tmpPtr
, tmpSize
);
5112 if (!PyString_Check(_obj1
)) {
5113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5116 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5121 #if PYTHON_API_VERSION >= 1009
5122 char* tmpPtr
; int tmpSize
;
5123 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5127 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5129 _arg2
= new wxString(tmpPtr
, tmpSize
);
5131 if (!PyString_Check(_obj2
)) {
5132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5135 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5138 _arg3
= (bool ) tempbool3
;
5140 wxPy_BEGIN_ALLOW_THREADS
;
5141 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5143 wxPy_END_ALLOW_THREADS
;
5144 } Py_INCREF(Py_None
);
5145 _resultobj
= Py_None
;
5157 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5158 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5161 wxHtmlDCRenderer
* _arg0
;
5164 int _arg3
= (int ) 0;
5165 int _arg4
= (int ) FALSE
;
5166 PyObject
* _argo0
= 0;
5167 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5180 wxPy_BEGIN_ALLOW_THREADS
;
5181 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5183 wxPy_END_ALLOW_THREADS
;
5184 } _resultobj
= Py_BuildValue("i",_result
);
5188 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5189 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5192 wxHtmlDCRenderer
* _arg0
;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } _resultobj
= Py_BuildValue("i",_result
);
5215 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5216 wxHtmlPrintout
*src
;
5218 src
= (wxHtmlPrintout
*) ptr
;
5219 dest
= (wxPyPrintout
*) src
;
5220 return (void *) dest
;
5223 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5224 wxHtmlPrintout
*src
;
5226 src
= (wxHtmlPrintout
*) ptr
;
5227 dest
= (wxObject
*) src
;
5228 return (void *) dest
;
5231 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5232 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5234 wxHtmlPrintout
* _result
;
5235 char * _arg0
= (char *) "Printout";
5236 char *_kwnames
[] = { "title", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5246 wxPy_END_ALLOW_THREADS
;
5248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5249 _resultobj
= Py_BuildValue("s",_ptemp
);
5252 _resultobj
= Py_None
;
5257 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5258 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5260 wxHtmlPrintout
* _arg0
;
5262 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5263 bool _arg3
= (bool ) TRUE
;
5264 PyObject
* _argo0
= 0;
5265 PyObject
* _obj1
= 0;
5266 PyObject
* _obj2
= 0;
5267 int tempbool3
= (int) TRUE
;
5268 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5281 #if PYTHON_API_VERSION >= 1009
5282 char* tmpPtr
; int tmpSize
;
5283 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5287 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5289 _arg1
= new wxString(tmpPtr
, tmpSize
);
5291 if (!PyString_Check(_obj1
)) {
5292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5295 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5300 #if PYTHON_API_VERSION >= 1009
5301 char* tmpPtr
; int tmpSize
;
5302 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5306 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5308 _arg2
= new wxString(tmpPtr
, tmpSize
);
5310 if (!PyString_Check(_obj2
)) {
5311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5314 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5317 _arg3
= (bool ) tempbool3
;
5319 wxPy_BEGIN_ALLOW_THREADS
;
5320 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5322 wxPy_END_ALLOW_THREADS
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5336 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5337 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5339 wxHtmlPrintout
* _arg0
;
5341 PyObject
* _argo0
= 0;
5342 PyObject
* _obj1
= 0;
5343 char *_kwnames
[] = { "self","htmlfile", NULL
};
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5356 #if PYTHON_API_VERSION >= 1009
5357 char* tmpPtr
; int tmpSize
;
5358 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5362 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5364 _arg1
= new wxString(tmpPtr
, tmpSize
);
5366 if (!PyString_Check(_obj1
)) {
5367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5370 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5374 wxPy_BEGIN_ALLOW_THREADS
;
5375 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5377 wxPy_END_ALLOW_THREADS
;
5378 } Py_INCREF(Py_None
);
5379 _resultobj
= Py_None
;
5387 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5388 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
* _resultobj
;
5390 wxHtmlPrintout
* _arg0
;
5392 int _arg2
= (int ) (wxPAGE_ALL
);
5393 PyObject
* _argo0
= 0;
5394 PyObject
* _obj1
= 0;
5395 char *_kwnames
[] = { "self","header","pg", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5408 #if PYTHON_API_VERSION >= 1009
5409 char* tmpPtr
; int tmpSize
;
5410 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5414 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5416 _arg1
= new wxString(tmpPtr
, tmpSize
);
5418 if (!PyString_Check(_obj1
)) {
5419 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5422 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5426 wxPy_BEGIN_ALLOW_THREADS
;
5427 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5429 wxPy_END_ALLOW_THREADS
;
5430 } Py_INCREF(Py_None
);
5431 _resultobj
= Py_None
;
5439 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5440 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5442 wxHtmlPrintout
* _arg0
;
5444 int _arg2
= (int ) (wxPAGE_ALL
);
5445 PyObject
* _argo0
= 0;
5446 PyObject
* _obj1
= 0;
5447 char *_kwnames
[] = { "self","footer","pg", NULL
};
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5460 #if PYTHON_API_VERSION >= 1009
5461 char* tmpPtr
; int tmpSize
;
5462 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5466 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5468 _arg1
= new wxString(tmpPtr
, tmpSize
);
5470 if (!PyString_Check(_obj1
)) {
5471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5474 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5478 wxPy_BEGIN_ALLOW_THREADS
;
5479 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5481 wxPy_END_ALLOW_THREADS
;
5482 } Py_INCREF(Py_None
);
5483 _resultobj
= Py_None
;
5491 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5492 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5494 wxHtmlPrintout
* _arg0
;
5495 float _arg1
= (float ) 25.2;
5496 float _arg2
= (float ) 25.2;
5497 float _arg3
= (float ) 25.2;
5498 float _arg4
= (float ) 25.2;
5499 float _arg5
= (float ) 5;
5500 PyObject
* _argo0
= 0;
5501 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5514 wxPy_BEGIN_ALLOW_THREADS
;
5515 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5517 wxPy_END_ALLOW_THREADS
;
5518 } Py_INCREF(Py_None
);
5519 _resultobj
= Py_None
;
5523 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5524 wxHtmlEasyPrinting
*src
;
5526 src
= (wxHtmlEasyPrinting
*) ptr
;
5527 dest
= (wxObject
*) src
;
5528 return (void *) dest
;
5531 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5532 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxHtmlEasyPrinting
* _result
;
5535 char * _arg0
= (char *) "Printing";
5536 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5537 PyObject
* _argo1
= 0;
5538 char *_kwnames
[] = { "name","parent_frame", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5552 wxPy_BEGIN_ALLOW_THREADS
;
5553 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5555 wxPy_END_ALLOW_THREADS
;
5557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5558 _resultobj
= Py_BuildValue("s",_ptemp
);
5561 _resultobj
= Py_None
;
5566 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5567 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5569 wxHtmlEasyPrinting
* _arg0
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5584 wxPy_BEGIN_ALLOW_THREADS
;
5585 delete_wxHtmlEasyPrinting(_arg0
);
5587 wxPy_END_ALLOW_THREADS
;
5588 } Py_INCREF(Py_None
);
5589 _resultobj
= Py_None
;
5593 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5594 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5596 wxHtmlEasyPrinting
* _arg0
;
5598 PyObject
* _argo0
= 0;
5599 PyObject
* _obj1
= 0;
5600 char *_kwnames
[] = { "self","htmlfile", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5613 #if PYTHON_API_VERSION >= 1009
5614 char* tmpPtr
; int tmpSize
;
5615 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5619 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5621 _arg1
= new wxString(tmpPtr
, tmpSize
);
5623 if (!PyString_Check(_obj1
)) {
5624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5627 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5631 wxPy_BEGIN_ALLOW_THREADS
;
5632 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5634 wxPy_END_ALLOW_THREADS
;
5635 } Py_INCREF(Py_None
);
5636 _resultobj
= Py_None
;
5644 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5645 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5647 wxHtmlEasyPrinting
* _arg0
;
5649 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5650 PyObject
* _argo0
= 0;
5651 PyObject
* _obj1
= 0;
5652 PyObject
* _obj2
= 0;
5653 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5666 #if PYTHON_API_VERSION >= 1009
5667 char* tmpPtr
; int tmpSize
;
5668 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5672 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5674 _arg1
= new wxString(tmpPtr
, tmpSize
);
5676 if (!PyString_Check(_obj1
)) {
5677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5680 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5685 #if PYTHON_API_VERSION >= 1009
5686 char* tmpPtr
; int tmpSize
;
5687 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5691 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5693 _arg2
= new wxString(tmpPtr
, tmpSize
);
5695 if (!PyString_Check(_obj2
)) {
5696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5699 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5703 wxPy_BEGIN_ALLOW_THREADS
;
5704 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5706 wxPy_END_ALLOW_THREADS
;
5707 } Py_INCREF(Py_None
);
5708 _resultobj
= Py_None
;
5720 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5721 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5723 wxHtmlEasyPrinting
* _arg0
;
5725 PyObject
* _argo0
= 0;
5726 PyObject
* _obj1
= 0;
5727 char *_kwnames
[] = { "self","htmlfile", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5740 #if PYTHON_API_VERSION >= 1009
5741 char* tmpPtr
; int tmpSize
;
5742 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5746 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5748 _arg1
= new wxString(tmpPtr
, tmpSize
);
5750 if (!PyString_Check(_obj1
)) {
5751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5754 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5761 wxPy_END_ALLOW_THREADS
;
5762 } Py_INCREF(Py_None
);
5763 _resultobj
= Py_None
;
5771 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5772 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5774 wxHtmlEasyPrinting
* _arg0
;
5776 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5777 PyObject
* _argo0
= 0;
5778 PyObject
* _obj1
= 0;
5779 PyObject
* _obj2
= 0;
5780 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5793 #if PYTHON_API_VERSION >= 1009
5794 char* tmpPtr
; int tmpSize
;
5795 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5799 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5801 _arg1
= new wxString(tmpPtr
, tmpSize
);
5803 if (!PyString_Check(_obj1
)) {
5804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5807 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5812 #if PYTHON_API_VERSION >= 1009
5813 char* tmpPtr
; int tmpSize
;
5814 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5818 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5820 _arg2
= new wxString(tmpPtr
, tmpSize
);
5822 if (!PyString_Check(_obj2
)) {
5823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5826 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5847 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5848 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5850 wxHtmlEasyPrinting
* _arg0
;
5851 PyObject
* _argo0
= 0;
5852 char *_kwnames
[] = { "self", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5865 wxPy_BEGIN_ALLOW_THREADS
;
5866 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5868 wxPy_END_ALLOW_THREADS
;
5869 } Py_INCREF(Py_None
);
5870 _resultobj
= Py_None
;
5874 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5875 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5877 wxHtmlEasyPrinting
* _arg0
;
5878 PyObject
* _argo0
= 0;
5879 char *_kwnames
[] = { "self", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
5892 wxPy_BEGIN_ALLOW_THREADS
;
5893 wxHtmlEasyPrinting_PageSetup(_arg0
);
5895 wxPy_END_ALLOW_THREADS
;
5896 } Py_INCREF(Py_None
);
5897 _resultobj
= Py_None
;
5901 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5902 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5904 wxHtmlEasyPrinting
* _arg0
;
5906 int _arg2
= (int ) (wxPAGE_ALL
);
5907 PyObject
* _argo0
= 0;
5908 PyObject
* _obj1
= 0;
5909 char *_kwnames
[] = { "self","header","pg", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
5922 #if PYTHON_API_VERSION >= 1009
5923 char* tmpPtr
; int tmpSize
;
5924 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5928 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5930 _arg1
= new wxString(tmpPtr
, tmpSize
);
5932 if (!PyString_Check(_obj1
)) {
5933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5936 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
5943 wxPy_END_ALLOW_THREADS
;
5944 } Py_INCREF(Py_None
);
5945 _resultobj
= Py_None
;
5953 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5954 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5956 wxHtmlEasyPrinting
* _arg0
;
5958 int _arg2
= (int ) (wxPAGE_ALL
);
5959 PyObject
* _argo0
= 0;
5960 PyObject
* _obj1
= 0;
5961 char *_kwnames
[] = { "self","footer","pg", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
5974 #if PYTHON_API_VERSION >= 1009
5975 char* tmpPtr
; int tmpSize
;
5976 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5980 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5982 _arg1
= new wxString(tmpPtr
, tmpSize
);
5984 if (!PyString_Check(_obj1
)) {
5985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5988 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5992 wxPy_BEGIN_ALLOW_THREADS
;
5993 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
5995 wxPy_END_ALLOW_THREADS
;
5996 } Py_INCREF(Py_None
);
5997 _resultobj
= Py_None
;
6005 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6006 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6008 wxPrintData
* _result
;
6009 wxHtmlEasyPrinting
* _arg0
;
6010 PyObject
* _argo0
= 0;
6011 char *_kwnames
[] = { "self", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6025 wxPy_BEGIN_ALLOW_THREADS
;
6026 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6028 wxPy_END_ALLOW_THREADS
;
6030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6031 _resultobj
= Py_BuildValue("s",_ptemp
);
6034 _resultobj
= Py_None
;
6039 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6040 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6042 wxPageSetupDialogData
* _result
;
6043 wxHtmlEasyPrinting
* _arg0
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6062 wxPy_END_ALLOW_THREADS
;
6064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6065 _resultobj
= Py_BuildValue("s",_ptemp
);
6068 _resultobj
= Py_None
;
6073 static PyMethodDef htmlcMethods
[] = {
6074 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6075 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6076 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6077 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6078 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6079 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6080 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6081 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6082 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6083 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6084 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6085 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6086 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6087 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6088 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6089 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6090 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6091 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6092 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6093 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6094 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6095 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6096 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6097 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6098 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6099 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6100 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6101 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxHtmlWindow__setSelf", (PyCFunction
) _wrap_wxHtmlWindow__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxHtmlWinTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxHtmlTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6235 * This table is used by the pointer type-checker
6237 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6238 { "_signed_long","_long",0},
6239 { "_wxPrintQuality","_wxCoord",0},
6240 { "_wxPrintQuality","_int",0},
6241 { "_wxPrintQuality","_signed_int",0},
6242 { "_wxPrintQuality","_unsigned_int",0},
6243 { "_wxPrintQuality","_wxWindowID",0},
6244 { "_wxPrintQuality","_uint",0},
6245 { "_wxPrintQuality","_EBool",0},
6246 { "_wxPrintQuality","_size_t",0},
6247 { "_wxPrintQuality","_time_t",0},
6248 { "_byte","_unsigned_char",0},
6249 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6250 { "_long","_unsigned_long",0},
6251 { "_long","_signed_long",0},
6252 { "_size_t","_wxCoord",0},
6253 { "_size_t","_wxPrintQuality",0},
6254 { "_size_t","_time_t",0},
6255 { "_size_t","_unsigned_int",0},
6256 { "_size_t","_int",0},
6257 { "_size_t","_wxWindowID",0},
6258 { "_size_t","_uint",0},
6259 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6260 { "_uint","_wxCoord",0},
6261 { "_uint","_wxPrintQuality",0},
6262 { "_uint","_time_t",0},
6263 { "_uint","_size_t",0},
6264 { "_uint","_unsigned_int",0},
6265 { "_uint","_int",0},
6266 { "_uint","_wxWindowID",0},
6267 { "_wxChar","_char",0},
6268 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6269 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6270 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6271 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6272 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6273 { "_char","_wxChar",0},
6274 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6275 { "_EBool","_wxCoord",0},
6276 { "_EBool","_wxPrintQuality",0},
6277 { "_EBool","_signed_int",0},
6278 { "_EBool","_int",0},
6279 { "_EBool","_wxWindowID",0},
6280 { "_unsigned_long","_long",0},
6281 { "_signed_int","_wxCoord",0},
6282 { "_signed_int","_wxPrintQuality",0},
6283 { "_signed_int","_EBool",0},
6284 { "_signed_int","_wxWindowID",0},
6285 { "_signed_int","_int",0},
6286 { "_WXTYPE","_wxDateTime_t",0},
6287 { "_WXTYPE","_short",0},
6288 { "_WXTYPE","_signed_short",0},
6289 { "_WXTYPE","_unsigned_short",0},
6290 { "_unsigned_short","_wxDateTime_t",0},
6291 { "_unsigned_short","_WXTYPE",0},
6292 { "_unsigned_short","_short",0},
6293 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6294 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6295 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6296 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6297 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6298 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6299 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6300 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6301 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6302 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6303 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6304 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6305 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6306 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6307 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6308 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6309 { "_signed_short","_WXTYPE",0},
6310 { "_signed_short","_short",0},
6311 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6312 { "_unsigned_char","_byte",0},
6313 { "_unsigned_int","_wxCoord",0},
6314 { "_unsigned_int","_wxPrintQuality",0},
6315 { "_unsigned_int","_time_t",0},
6316 { "_unsigned_int","_size_t",0},
6317 { "_unsigned_int","_uint",0},
6318 { "_unsigned_int","_wxWindowID",0},
6319 { "_unsigned_int","_int",0},
6320 { "_short","_wxDateTime_t",0},
6321 { "_short","_WXTYPE",0},
6322 { "_short","_unsigned_short",0},
6323 { "_short","_signed_short",0},
6324 { "_wxWindowID","_wxCoord",0},
6325 { "_wxWindowID","_wxPrintQuality",0},
6326 { "_wxWindowID","_time_t",0},
6327 { "_wxWindowID","_size_t",0},
6328 { "_wxWindowID","_EBool",0},
6329 { "_wxWindowID","_uint",0},
6330 { "_wxWindowID","_int",0},
6331 { "_wxWindowID","_signed_int",0},
6332 { "_wxWindowID","_unsigned_int",0},
6333 { "_int","_wxCoord",0},
6334 { "_int","_wxPrintQuality",0},
6335 { "_int","_time_t",0},
6336 { "_int","_size_t",0},
6337 { "_int","_EBool",0},
6338 { "_int","_uint",0},
6339 { "_int","_wxWindowID",0},
6340 { "_int","_unsigned_int",0},
6341 { "_int","_signed_int",0},
6342 { "_wxDateTime_t","_unsigned_short",0},
6343 { "_wxDateTime_t","_short",0},
6344 { "_wxDateTime_t","_WXTYPE",0},
6345 { "_time_t","_wxCoord",0},
6346 { "_time_t","_wxPrintQuality",0},
6347 { "_time_t","_unsigned_int",0},
6348 { "_time_t","_int",0},
6349 { "_time_t","_wxWindowID",0},
6350 { "_time_t","_uint",0},
6351 { "_time_t","_size_t",0},
6352 { "_wxCoord","_int",0},
6353 { "_wxCoord","_signed_int",0},
6354 { "_wxCoord","_unsigned_int",0},
6355 { "_wxCoord","_wxWindowID",0},
6356 { "_wxCoord","_uint",0},
6357 { "_wxCoord","_EBool",0},
6358 { "_wxCoord","_size_t",0},
6359 { "_wxCoord","_time_t",0},
6360 { "_wxCoord","_wxPrintQuality",0},
6361 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6362 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6363 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6366 static PyObject
*SWIG_globals
;
6370 SWIGEXPORT(void) inithtmlc() {
6372 SWIG_globals
= SWIG_newvarlink();
6373 m
= Py_InitModule("htmlc", htmlcMethods
);
6374 d
= PyModule_GetDict(m
);
6375 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6376 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6377 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6378 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6379 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6380 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6381 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6382 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6383 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6384 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6385 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6386 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6387 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6388 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6389 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6390 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6391 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6392 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6393 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6394 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6395 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6396 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6401 wxClassInfo::CleanUpClasses();
6402 wxClassInfo::InitializeClasses();
6404 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6405 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6406 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6409 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6410 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);