]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
c370783e 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
0f774bef
RD
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
d14a1e28 83#else
0f774bef
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
0f774bef 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
0f774bef 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
0f774bef 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
0f774bef 105 void *clientdata;
d14a1e28
RD
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c370783e 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c370783e 128
d14a1e28
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
8edf1c75 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
0f774bef
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
423f194a 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c370783e 208
d14a1e28
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
212#define SWIGTYPE_p_wxColour swig_types[1]
213#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
214#define SWIGTYPE_p_wxDC swig_types[3]
215#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
216#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
217#define SWIGTYPE_p_wxMouseEvent swig_types[6]
218#define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
f20a2e1f
RD
219#define SWIGTYPE_p_wxVisualAttributes swig_types[8]
220#define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
221#define SWIGTYPE_p_char swig_types[10]
222#define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
223#define SWIGTYPE_p_wxHtmlParser swig_types[12]
224#define SWIGTYPE_p_wxPanel swig_types[13]
225#define SWIGTYPE_p_wxFont swig_types[14]
c370783e
RD
226#define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
227#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
228#define SWIGTYPE_p_wxWindow swig_types[17]
229#define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
230#define SWIGTYPE_p_wxHtmlColourCell swig_types[19]
f20a2e1f
RD
231#define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
232#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
233#define SWIGTYPE_p_wxHtmlSelection swig_types[22]
234#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
235#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
236#define SWIGTYPE_p_wxObject swig_types[25]
237#define SWIGTYPE_p_wxString swig_types[26]
238#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
239#define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
240#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
241#define SWIGTYPE_p_wxEvtHandler swig_types[30]
242#define SWIGTYPE_p_wxPoint swig_types[31]
243#define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
244#define SWIGTYPE_p_wxCursor swig_types[33]
245#define SWIGTYPE_p_wxFileSystem swig_types[34]
246#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
247#define SWIGTYPE_p_wxPyPrintout swig_types[36]
248#define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
249#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
250#define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
251#define SWIGTYPE_p_wxConfigBase swig_types[40]
252#define SWIGTYPE_p_wxPrintData swig_types[41]
253#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
254#define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
255#define SWIGTYPE_p_wxFrame swig_types[44]
256#define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
257#define SWIGTYPE_p_wxHtmlFilter swig_types[46]
258#define SWIGTYPE_p_wxHtmlCell swig_types[47]
259#define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
260#define SWIGTYPE_p_wxHtmlTag swig_types[49]
c370783e
RD
261#define SWIGTYPE_p_int swig_types[50]
262#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
f20a2e1f
RD
263#define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
264static swig_type_info *swig_types[54];
d14a1e28
RD
265
266/* -------- TYPES TABLE (END) -------- */
267
268
269/*-----------------------------------------------
270 @(target):= _html.so
271 ------------------------------------------------*/
272#define SWIG_init init_html
273
274#define SWIG_name "_html"
275
c370783e
RD
276/* Auxiliar swig macros that appear in the header */
277
278#define SWIG_OLDOBJ 1
279#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280#define SWIG_PYSTR SWIG_NEWOBJ + 1
8edf1c75 281
8edf1c75 282#ifdef __cplusplus
2f4c0a16 283#define SWIGSTATICINLINE(a) static inline a
8edf1c75 284#define SWIGSTATIC(a) static a
c370783e
RD
285#define swig_new_array(size,Type) (new Type[(size)])
286#define swig_delete(cptr) delete cptr
2f4c0a16 287#define swig_delete_array(cptr) delete[] cptr
c370783e
RD
288#define swig_const_cast(a,Type) const_cast<Type >(a)
289#define swig_static_cast(a,Type) static_cast<Type >(a)
290#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291#define swig_new_copy(ptr,Type) (new Type(*ptr))
292#define swig_numeric_cast(a,Type) static_cast<Type >(a)
8edf1c75 293
2f4c0a16
RD
294#else /* C case */
295
296#define SWIGSTATICINLINE(a) static a
297#define SWIGSTATIC(a) static a
c370783e
RD
298#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299#define swig_delete(cptr) free((char*)cptr)
2f4c0a16 300#define swig_delete_array(cptr) free((char*)cptr)
c370783e
RD
301#define swig_const_cast(a,Type) (Type)(a)
302#define swig_static_cast(a,Type) (Type)(a)
303#define swig_reinterpret_cast(a,Type) (Type)(a)
304#define swig_numeric_cast(a,Type) (Type)(a)
305#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
2f4c0a16
RD
306
307#endif /* __cplusplus */
8edf1c75
RD
308
309
c370783e
RD
310/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311#define SWIG_From_signed_SS_char PyInt_FromLong
312/*@@*/
313/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314#define SWIG_From_unsigned_SS_char PyInt_FromLong
315/*@@*/
316/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317#define SWIG_From_short PyInt_FromLong
318/*@@*/
319/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320#define SWIG_From_unsigned_SS_short PyInt_FromLong
321/*@@*/
322/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
323#define SWIG_From_int PyInt_FromLong
324/*@@*/
325/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
326#define SWIG_From_long PyInt_FromLong
327/*@@*/
328/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
329#define SWIG_From_float PyFloat_FromDouble
330/*@@*/
331/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
332#define SWIG_From_double PyFloat_FromDouble
333/*@@*/
8edf1c75
RD
334
335
d14a1e28
RD
336#include "wx/wxPython/wxPython.h"
337#include "wx/wxPython/pyclasses.h"
338#include "wx/wxPython/pyistream.h"
339#include "wx/wxPython/printfw.h"
340
341#include <wx/html/htmlwin.h>
342#include <wx/html/htmprint.h>
343#include <wx/html/helpctrl.h>
344
345
cbd72d4f
RD
346 static const wxString wxPyEmptyString(wxEmptyString);
347 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
348 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
349 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 350
2f4c0a16
RD
351#include <limits.h>
352
353
c370783e
RD
354SWIGSTATICINLINE(int)
355 SWIG_CheckLongInRange(long value, long min_value, long max_value,
356 const char *errmsg)
2f4c0a16 357{
c370783e
RD
358 if (value < min_value) {
359 if (errmsg) {
360 PyErr_Format(PyExc_OverflowError,
361 "value %ld is less than '%s' minimum %ld",
362 value, errmsg, min_value);
363 }
364 return 0;
365 } else if (value > max_value) {
366 if (errmsg) {
367 PyErr_Format(PyExc_OverflowError,
368 "value %ld is greater than '%s' maximum %ld",
369 value, errmsg, max_value);
2f4c0a16 370 }
c370783e 371 return 0;
2f4c0a16 372 }
c370783e 373 return 1;
2f4c0a16
RD
374}
375
376
c370783e
RD
377// See my_fragments.i
378SWIGSTATICINLINE(int)
379SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 380{
c370783e
RD
381 if (PyNumber_Check(obj)) {
382 if (val) *val = PyInt_AsLong(obj);
383 return 1;
384 }
69223c70
RD
385 else {
386 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
387 obj->ob_type->tp_name);
388 PyErr_SetObject(PyExc_TypeError, errmsg);
389 Py_DECREF(errmsg);
69223c70 390 }
c370783e 391 return 0;
2f4c0a16
RD
392}
393
394
395#if INT_MAX != LONG_MAX
396SWIGSTATICINLINE(int)
c370783e 397 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 398{
c370783e
RD
399 const char* errmsg = val ? "int" : 0;
400 long v;
401 if (SWIG_AsVal_long(obj, &v)) {
402 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
403 if (val) *val = swig_numeric_cast(v, int);
404 return 1;
405 } else {
406 return 0;
407 }
408 } else {
409 PyErr_Clear();
410 }
411 if (val) {
412 PyErr_SetString(PyExc_TypeError, "an int is expected");
413 }
414 return 0;
2f4c0a16
RD
415}
416#else
c370783e
RD
417SWIGSTATICINLINE(int)
418 SWIG_AsVal_int(PyObject *obj, int *val)
419{
420 return SWIG_AsVal_long(obj,(long*)val);
421}
2f4c0a16
RD
422#endif
423
424
425SWIGSTATICINLINE(int)
c370783e 426SWIG_As_int(PyObject* obj)
2f4c0a16 427{
c370783e
RD
428 int v;
429 if (!SWIG_AsVal_int(obj, &v)) {
430 /*
431 this is needed to make valgrind/purify happier. the other
432 solution is throw an exception, but since this code should work
433 with plain C ....
434 */
435 memset((void*)&v, 0, sizeof(int));
2f4c0a16 436 }
c370783e
RD
437 return v;
438}
439
440
441SWIGSTATICINLINE(int)
442SWIG_Check_int(PyObject* obj)
443{
444 return SWIG_AsVal_int(obj, (int*)0);
8edf1c75
RD
445}
446
d14a1e28
RD
447void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
448 int* temp = NULL;
449 if (sizes) temp = int_LIST_helper(sizes);
450 self->SetFonts(normal_face, fixed_face, temp);
451 if (temp)
452 delete [] temp;
453 }
454
455class wxPyHtmlTagHandler : public wxHtmlTagHandler {
456 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
457public:
458 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
459
460 wxHtmlParser* GetParser() { return m_Parser; }
461 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
462
463 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
464 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
465
466 PYPRIVATE;
467};
468
469IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
470
471IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
472IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
473
474
475class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
476 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
477public:
478 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
479
480 wxHtmlWinParser* GetParser() { return m_WParser; }
481 void ParseInner(const wxHtmlTag& tag)
482 { wxHtmlWinTagHandler::ParseInner(tag); }
483
484 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
485 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
486
487 PYPRIVATE;
488};
489
490IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
491
492IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
493IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
494
495
496
497class wxPyHtmlTagsModule : public wxHtmlTagsModule {
498public:
499 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
500 m_tagHandlerClass = thc;
501 Py_INCREF(m_tagHandlerClass);
502 RegisterModule(this);
503 wxHtmlWinParser::AddModule(this);
504 }
505
506 void OnExit() {
fbc46b20 507 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
508 Py_DECREF(m_tagHandlerClass);
509 m_tagHandlerClass = NULL;
510 for (size_t x=0; x < m_objArray.GetCount(); x++) {
511 PyObject* obj = (PyObject*)m_objArray.Item(x);
512 Py_DECREF(obj);
513 }
fbc46b20 514 wxPyEndBlockThreads(blocked);
d14a1e28
RD
515 };
516
517 void FillHandlersTable(wxHtmlWinParser *parser) {
518 // Wave our magic wand... (if it works it's a miracle! ;-)
519
520 // First, make a new instance of the tag handler
fbc46b20 521 bool blocked = wxPyBeginBlockThreads();
100c4552
RD
522 PyObject* arg = PyTuple_New(0);
523 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 524 Py_DECREF(arg);
100c4552 525
d14a1e28
RD
526 // now figure out where it's C++ object is...
527 wxPyHtmlWinTagHandler* thPtr;
100c4552 528 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
fbc46b20 529 wxPyEndBlockThreads(blocked);
d14a1e28 530 return;
100c4552 531 }
fbc46b20 532 wxPyEndBlockThreads(blocked);
d14a1e28
RD
533
534 // add it,
535 parser->AddTagHandler(thPtr);
536
537 // and track it.
538 m_objArray.Add(obj);
539 }
540
541private:
542 PyObject* m_tagHandlerClass;
543 wxArrayPtrVoid m_objArray;
544
545};
546
547
548 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
549 // Dynamically create a new wxModule. Refcounts tagHandlerClass
550 // and adds itself to the wxModules list and to the wxHtmlWinParser.
551 new wxPyHtmlTagsModule(tagHandlerClass);
552 }
553
554
c370783e 555 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
556 PyObject* o2;
557 PyObject* o3;
c370783e 558
d14a1e28
RD
559 if (!target) {
560 target = o;
561 } else if (target == Py_None) {
562 Py_DECREF(Py_None);
563 target = o;
629e65c2
RD
564 } else {
565 if (!PyTuple_Check(target)) {
566 o2 = target;
567 target = PyTuple_New(1);
568 PyTuple_SetItem(target, 0, o2);
569 }
d14a1e28
RD
570 o3 = PyTuple_New(1);
571 PyTuple_SetItem(o3, 0, o);
572
573 o2 = target;
574 target = PySequence_Concat(o2, o3);
575 Py_DECREF(o2);
576 Py_DECREF(o3);
577 }
578 return target;
629e65c2 579 }
d14a1e28 580
8edf1c75 581
8edf1c75 582
2f4c0a16 583SWIGSTATICINLINE(int)
c370783e 584 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 585{
c370783e
RD
586 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
587 if (obj == Py_True) {
588 if (val) *val = true;
589 return 1;
590 }
591 if (obj == Py_False) {
592 if (val) *val = false;
593 return 1;
594 }
595 int res = 0;
596 if (SWIG_AsVal_int(obj, &res)) {
597 if (val) *val = (bool)res;
2f4c0a16
RD
598 return 1;
599 }
c370783e
RD
600 if (val) {
601 PyErr_SetString(PyExc_TypeError, "a bool is expected");
602 }
603 return 0;
2f4c0a16
RD
604}
605
606
c370783e
RD
607SWIGSTATICINLINE(bool)
608SWIG_As_bool(PyObject* obj)
2f4c0a16 609{
c370783e
RD
610 bool v;
611 if (!SWIG_AsVal_bool(obj, &v)) {
612 /*
613 this is needed to make valgrind/purify happier. the other
614 solution is throw an exception, but since this code should work
615 with plain C ....
616 */
617 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 618 }
c370783e
RD
619 return v;
620}
621
622
623SWIGSTATICINLINE(int)
624SWIG_Check_bool(PyObject* obj)
625{
626 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
627}
628
629
c370783e
RD
630SWIGSTATICINLINE(int)
631 SWIG_CheckUnsignedLongInRange(unsigned long value,
632 unsigned long max_value,
633 const char *errmsg)
2f4c0a16 634{
c370783e
RD
635 if (value > max_value) {
636 if (errmsg) {
637 PyErr_Format(PyExc_OverflowError,
638 "value %ld is greater than '%s' minimum %ld",
639 value, errmsg, max_value);
2f4c0a16 640 }
c370783e 641 return 0;
2f4c0a16 642 }
c370783e
RD
643 return 1;
644 }
645
646
647// See my_fragments.i
648SWIGSTATICINLINE(int)
649SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
650{
651 long v = 0;
652 if (SWIG_AsVal_long(obj, &v) && v < 0) {
653 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
654 return 0;
655 }
656 else if (val)
657 *val = (unsigned long)v;
658 return 1;
2f4c0a16
RD
659}
660
661
662#if UINT_MAX != ULONG_MAX
c370783e
RD
663SWIGSTATICINLINE(int)
664 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 665{
c370783e
RD
666 const char* errmsg = val ? "unsigned int" : 0;
667 unsigned long v;
668 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
669 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
670 if (val) *val = swig_numeric_cast(v, unsigned int);
671 return 1;
672 }
673 } else {
674 PyErr_Clear();
675 }
676 if (val) {
677 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
678 }
679 return 0;
8edf1c75 680}
2f4c0a16 681#else
c370783e
RD
682SWIGSTATICINLINE(unsigned int)
683 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
684{
685 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
686}
2f4c0a16 687#endif
8edf1c75
RD
688
689
c370783e
RD
690SWIGSTATICINLINE(unsigned int)
691SWIG_As_unsigned_SS_int(PyObject* obj)
8edf1c75 692{
c370783e
RD
693 unsigned int v;
694 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
695 /*
696 this is needed to make valgrind/purify happier. the other
697 solution is throw an exception, but since this code should work
698 with plain C ....
699 */
700 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 701 }
c370783e
RD
702 return v;
703}
704
705
706SWIGSTATICINLINE(int)
707SWIG_Check_unsigned_SS_int(PyObject* obj)
708{
709 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2f4c0a16
RD
710}
711
712
713SWIGSTATICINLINE(PyObject* )
c370783e 714 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
715{
716 return (value > LONG_MAX) ?
717 PyLong_FromUnsignedLong(value)
c370783e 718 : PyInt_FromLong(swig_numeric_cast(value,long));
8edf1c75
RD
719}
720
721
2f4c0a16 722#if UINT_MAX < LONG_MAX
c370783e
RD
723/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
724#define SWIG_From_unsigned_SS_int SWIG_From_long
725/*@@*/
2f4c0a16 726#else
c370783e
RD
727/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
728#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
729/*@@*/
2f4c0a16 730#endif
8edf1c75 731
d14a1e28
RD
732 // here's the C++ version
733class wxPyHtmlFilter : public wxHtmlFilter {
734 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
735public:
736 wxPyHtmlFilter() : wxHtmlFilter() {}
737
423f194a 738 // returns True if this filter is able to open&read given file
d14a1e28 739 virtual bool CanRead(const wxFSFile& file) const {
b411df4a 740 bool rval = false;
d14a1e28 741 bool found;
fbc46b20 742 bool blocked = wxPyBeginBlockThreads();
d14a1e28 743 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 744 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
745 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
746 Py_DECREF(obj);
747 }
fbc46b20 748 wxPyEndBlockThreads(blocked);
d14a1e28
RD
749 return rval;
750 }
751
752
753 // Reads given file and returns HTML document.
754 // Returns empty string if opening failed
755 virtual wxString ReadFile(const wxFSFile& file) const {
756 wxString rval;
757 bool found;
fbc46b20 758 bool blocked = wxPyBeginBlockThreads();
d14a1e28 759 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 760 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
761 PyObject* ro;
762 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
763 Py_DECREF(obj);
764 if (ro) {
765 rval = Py2wxString(ro);
766 Py_DECREF(ro);
767 }
768 }
fbc46b20 769 wxPyEndBlockThreads(blocked);
d14a1e28
RD
770 return rval;
771 }
772
773 PYPRIVATE;
774};
775
776IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
777
778
779class wxPyHtmlWindow : public wxHtmlWindow {
780 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
781public:
782 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
783 const wxPoint& pos = wxDefaultPosition,
784 const wxSize& size = wxDefaultSize,
785 long style = wxHW_DEFAULT_STYLE,
786 const wxString& name = wxPyHtmlWindowNameStr)
787 : wxHtmlWindow(parent, id, pos, size, style, name) {};
788 wxPyHtmlWindow() : wxHtmlWindow() {};
789
790 bool ScrollToAnchor(const wxString& anchor) {
791 return wxHtmlWindow::ScrollToAnchor(anchor);
792 }
793
794 bool HasAnchor(const wxString& anchor) {
795 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
796 return c!=NULL;
797 }
798
799 void OnLinkClicked(const wxHtmlLinkInfo& link);
800 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
801
802 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
803 const wxString& url,
804 wxString *redirect) const;
805
806 DEC_PYCALLBACK__STRING(OnSetTitle);
807 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
808 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
809 PYPRIVATE;
810};
811
812IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
813IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
814IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
815IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
816
817
818void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
819 bool found;
fbc46b20 820 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
821 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
822 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
823 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
824 Py_DECREF(obj);
825 }
fbc46b20 826 wxPyEndBlockThreads(blocked);
d14a1e28
RD
827 if (! found)
828 wxHtmlWindow::OnLinkClicked(link);
829}
830void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
831 wxHtmlWindow::OnLinkClicked(link);
832}
833
834
835wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
836 const wxString& url,
837 wxString *redirect) const {
838 bool found;
839 wxHtmlOpeningStatus rval;
fbc46b20 840 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
841 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
842 PyObject* ro;
843 PyObject* s = wx2PyString(url);
844 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
845 Py_DECREF(s);
846 if (PyString_Check(ro)
847#if PYTHON_API_VERSION >= 1009
848 || PyUnicode_Check(ro)
849#endif
850 ) {
851 *redirect = Py2wxString(ro);
852 rval = wxHTML_REDIRECT;
853 }
854 else {
855 PyObject* num = PyNumber_Int(ro);
856 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
857 Py_DECREF(num);
858 }
859 Py_DECREF(ro);
860 }
fbc46b20 861 wxPyEndBlockThreads(blocked);
d14a1e28
RD
862 if (! found)
863 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
864 return rval;
865}
866
867
868
869void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
870 int* temp = NULL;
871 if (sizes) temp = int_LIST_helper(sizes);
872 self->SetFonts(normal_face, fixed_face, temp);
873 if (temp)
874 delete [] temp;
875 }
876void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
877 int* temp = NULL;
878 if (sizes) temp = int_LIST_helper(sizes);
879 self->SetFonts(normal_face, fixed_face, temp);
880 if (temp)
881 delete [] temp;
882 }
883void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
884 int* temp = NULL;
885 if (sizes) temp = int_LIST_helper(sizes);
886 self->SetFonts(normal_face, fixed_face, temp);
887 if (temp)
888 delete [] temp;
889 }
8edf1c75 890
2f4c0a16 891#include <float.h>
c370783e
RD
892SWIGSTATICINLINE(int)
893 SWIG_CheckDoubleInRange(double value, double min_value,
894 double max_value, const char* errmsg)
2f4c0a16 895{
c370783e
RD
896 if (value < min_value) {
897 if (errmsg) {
898 PyErr_Format(PyExc_OverflowError,
899 "value %g is less than %s minimum %g",
900 value, errmsg, min_value);
2f4c0a16 901 }
c370783e
RD
902 return 0;
903 } else if (value > max_value) {
904 if (errmsg) {
905 PyErr_Format(PyExc_OverflowError,
906 "value %g is greater than %s maximum %g",
907 value, errmsg, max_value);
908 }
909 return 0;
2f4c0a16 910 }
c370783e 911 return 1;
2f4c0a16
RD
912}
913
914
c370783e
RD
915// See my_fragments.i
916SWIGSTATICINLINE(int)
917SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 918{
c370783e
RD
919 if (PyNumber_Check(obj)) {
920 if (val) *val = PyFloat_AsDouble(obj);
921 return 1;
922 }
69223c70
RD
923 else {
924 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
925 obj->ob_type->tp_name);
926 PyErr_SetObject(PyExc_TypeError, errmsg);
927 Py_DECREF(errmsg);
69223c70 928 }
c370783e
RD
929 return 0;
930}
931
932
933SWIGSTATICINLINE(int)
934 SWIG_AsVal_float(PyObject *obj, float *val)
935{
936 const char* errmsg = val ? "float" : 0;
937 double v;
938 if (SWIG_AsVal_double(obj, &v)) {
939 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
940 if (val) *val = v;
941 return 1;
942 } else {
943 return 0;
944 }
945 } else {
946 PyErr_Clear();
947 }
948 if (val) {
949 PyErr_SetString(PyExc_TypeError, "a float is expected");
950 }
951 return 0;
8edf1c75
RD
952}
953
954
2f4c0a16 955SWIGSTATICINLINE(float)
c370783e 956SWIG_As_float(PyObject* obj)
8edf1c75 957{
c370783e
RD
958 float v;
959 if (!SWIG_AsVal_float(obj, &v)) {
960 /*
961 this is needed to make valgrind/purify happier. the other
962 solution is throw an exception, but since this code should work
963 with plain C ....
964 */
965 memset((void*)&v, 0, sizeof(float));
966 }
967 return v;
2f4c0a16
RD
968}
969
c370783e 970
2f4c0a16 971SWIGSTATICINLINE(int)
c370783e 972SWIG_Check_float(PyObject* obj)
2f4c0a16 973{
c370783e 974 return SWIG_AsVal_float(obj, (float*)0);
8edf1c75
RD
975}
976
d14a1e28
RD
977void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
978 int* temp = NULL;
979 if (sizes) temp = int_LIST_helper(sizes);
980 self->SetFonts(normal_face, fixed_face, temp);
981 if (temp)
982 delete [] temp;
983 }
984int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
985int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
986wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
987wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
988wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
989#ifdef __cplusplus
990extern "C" {
991#endif
c370783e 992static int _wrap_HtmlWindowNameStr_set(PyObject *) {
cbd72d4f
RD
993 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
994 return 1;
995}
996
997
998static PyObject *_wrap_HtmlWindowNameStr_get() {
999 PyObject *pyobj;
1000
1001 {
1002#if wxUSE_UNICODE
1003 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
1004#else
1005 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
1006#endif
1007 }
1008 return pyobj;
1009}
1010
1011
c370783e 1012static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
cbd72d4f
RD
1013 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
1014 return 1;
1015}
1016
1017
1018static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
1019 PyObject *pyobj;
1020
1021 {
1022#if wxUSE_UNICODE
1023 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
1024#else
1025 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
1026#endif
1027 }
1028 return pyobj;
1029}
1030
1031
c370783e 1032static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
cbd72d4f
RD
1033 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
1034 return 1;
1035}
1036
1037
1038static PyObject *_wrap_HtmlPrintingTitleStr_get() {
1039 PyObject *pyobj;
1040
1041 {
1042#if wxUSE_UNICODE
1043 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
1044#else
1045 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
1046#endif
1047 }
1048 return pyobj;
1049}
1050
1051
c370783e 1052static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1053 PyObject *resultobj;
1054 wxString *arg1 = 0 ;
1055 wxString const &arg2_defvalue = wxPyEmptyString ;
1056 wxString *arg2 = (wxString *) &arg2_defvalue ;
1057 wxHtmlLinkInfo *result;
b411df4a
RD
1058 bool temp1 = false ;
1059 bool temp2 = false ;
d14a1e28
RD
1060 PyObject * obj0 = 0 ;
1061 PyObject * obj1 = 0 ;
1062 char *kwnames[] = {
1063 (char *) "href",(char *) "target", NULL
1064 };
1065
1066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
1067 {
1068 arg1 = wxString_in_helper(obj0);
1069 if (arg1 == NULL) SWIG_fail;
b411df4a 1070 temp1 = true;
d14a1e28
RD
1071 }
1072 if (obj1) {
1073 {
1074 arg2 = wxString_in_helper(obj1);
1075 if (arg2 == NULL) SWIG_fail;
b411df4a 1076 temp2 = true;
d14a1e28
RD
1077 }
1078 }
1079 {
1080 PyThreadState* __tstate = wxPyBeginAllowThreads();
1081 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
1082
1083 wxPyEndAllowThreads(__tstate);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 }
2f4c0a16 1086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
1087 {
1088 if (temp1)
1089 delete arg1;
1090 }
1091 {
1092 if (temp2)
1093 delete arg2;
1094 }
1095 return resultobj;
1096 fail:
1097 {
1098 if (temp1)
1099 delete arg1;
1100 }
1101 {
1102 if (temp2)
1103 delete arg2;
1104 }
1105 return NULL;
1106}
1107
1108
c370783e 1109static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1110 PyObject *resultobj;
1111 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1112 wxString result;
1113 PyObject * obj0 = 0 ;
1114 char *kwnames[] = {
1115 (char *) "self", NULL
1116 };
1117
1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1121 {
1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
1123 result = (arg1)->GetHref();
1124
1125 wxPyEndAllowThreads(__tstate);
1126 if (PyErr_Occurred()) SWIG_fail;
1127 }
1128 {
1129#if wxUSE_UNICODE
1130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1131#else
1132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1133#endif
1134 }
1135 return resultobj;
1136 fail:
1137 return NULL;
1138}
1139
1140
c370783e 1141static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1142 PyObject *resultobj;
1143 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1144 wxString result;
1145 PyObject * obj0 = 0 ;
1146 char *kwnames[] = {
1147 (char *) "self", NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 result = (arg1)->GetTarget();
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) SWIG_fail;
1159 }
1160 {
1161#if wxUSE_UNICODE
1162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1163#else
1164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1165#endif
1166 }
1167 return resultobj;
1168 fail:
1169 return NULL;
1170}
1171
1172
c370783e 1173static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1174 PyObject *resultobj;
1175 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1176 wxMouseEvent *result;
1177 PyObject * obj0 = 0 ;
1178 char *kwnames[] = {
1179 (char *) "self", NULL
1180 };
1181
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 result = (wxMouseEvent *)(arg1)->GetEvent();
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 {
412d302d 1193 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
1194 }
1195 return resultobj;
1196 fail:
1197 return NULL;
1198}
1199
1200
c370783e 1201static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1202 PyObject *resultobj;
1203 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1204 wxHtmlCell *result;
1205 PyObject * obj0 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1213 {
1214 PyThreadState* __tstate = wxPyBeginAllowThreads();
1215 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1216
1217 wxPyEndAllowThreads(__tstate);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
2f4c0a16 1220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
1221 return resultobj;
1222 fail:
1223 return NULL;
1224}
1225
1226
c370783e 1227static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1228 PyObject *resultobj;
1229 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1230 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1231 PyObject * obj0 = 0 ;
1232 PyObject * obj1 = 0 ;
1233 char *kwnames[] = {
1234 (char *) "self",(char *) "e", NULL
1235 };
1236
1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1242 {
1243 PyThreadState* __tstate = wxPyBeginAllowThreads();
1244 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1245
1246 wxPyEndAllowThreads(__tstate);
1247 if (PyErr_Occurred()) SWIG_fail;
1248 }
1249 Py_INCREF(Py_None); resultobj = Py_None;
1250 return resultobj;
1251 fail:
1252 return NULL;
1253}
1254
1255
c370783e 1256static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1257 PyObject *resultobj;
1258 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1259 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1260 PyObject * obj0 = 0 ;
1261 PyObject * obj1 = 0 ;
1262 char *kwnames[] = {
1263 (char *) "self",(char *) "e", NULL
1264 };
1265
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1271 {
1272 PyThreadState* __tstate = wxPyBeginAllowThreads();
1273 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1274
1275 wxPyEndAllowThreads(__tstate);
1276 if (PyErr_Occurred()) SWIG_fail;
1277 }
1278 Py_INCREF(Py_None); resultobj = Py_None;
1279 return resultobj;
1280 fail:
1281 return NULL;
1282}
1283
1284
c370783e 1285static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1286 PyObject *obj;
1287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1289 Py_INCREF(obj);
1290 return Py_BuildValue((char *)"");
1291}
c370783e 1292static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1293 PyObject *resultobj;
1294 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1295 wxString result;
1296 PyObject * obj0 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 result = (arg1)->GetName();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 {
1312#if wxUSE_UNICODE
1313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1314#else
1315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1316#endif
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321}
1322
1323
c370783e 1324static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1325 PyObject *resultobj;
1326 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1327 wxString *arg2 = 0 ;
1328 bool result;
b411df4a 1329 bool temp2 = false ;
d14a1e28
RD
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj1 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "par", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1339 {
1340 arg2 = wxString_in_helper(obj1);
1341 if (arg2 == NULL) SWIG_fail;
b411df4a 1342 temp2 = true;
d14a1e28
RD
1343 }
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
fbc46b20
RD
1351 {
1352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1353 }
d14a1e28
RD
1354 {
1355 if (temp2)
1356 delete arg2;
1357 }
1358 return resultobj;
1359 fail:
1360 {
1361 if (temp2)
1362 delete arg2;
1363 }
1364 return NULL;
1365}
1366
1367
c370783e 1368static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1369 PyObject *resultobj;
1370 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1371 wxString *arg2 = 0 ;
b411df4a 1372 int arg3 = (int) false ;
d14a1e28 1373 wxString result;
b411df4a 1374 bool temp2 = false ;
d14a1e28
RD
1375 PyObject * obj0 = 0 ;
1376 PyObject * obj1 = 0 ;
8edf1c75 1377 PyObject * obj2 = 0 ;
d14a1e28
RD
1378 char *kwnames[] = {
1379 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1380 };
1381
8edf1c75 1382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1385 {
1386 arg2 = wxString_in_helper(obj1);
1387 if (arg2 == NULL) SWIG_fail;
b411df4a 1388 temp2 = true;
d14a1e28 1389 }
8edf1c75 1390 if (obj2) {
c370783e 1391 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 1392 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1393 }
d14a1e28
RD
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 {
1402#if wxUSE_UNICODE
1403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1404#else
1405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1406#endif
1407 }
1408 {
1409 if (temp2)
1410 delete arg2;
1411 }
1412 return resultobj;
1413 fail:
1414 {
1415 if (temp2)
1416 delete arg2;
1417 }
1418 return NULL;
1419}
1420
1421
c370783e 1422static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1423 PyObject *resultobj;
1424 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1425 wxString result;
1426 PyObject * obj0 = 0 ;
1427 char *kwnames[] = {
1428 (char *) "self", NULL
1429 };
1430
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1434 {
1435 PyThreadState* __tstate = wxPyBeginAllowThreads();
1436 result = (arg1)->GetAllParams();
1437
1438 wxPyEndAllowThreads(__tstate);
1439 if (PyErr_Occurred()) SWIG_fail;
1440 }
1441 {
1442#if wxUSE_UNICODE
1443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1444#else
1445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1446#endif
1447 }
1448 return resultobj;
1449 fail:
1450 return NULL;
1451}
1452
1453
c370783e 1454static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1455 PyObject *resultobj;
1456 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1457 bool result;
1458 PyObject * obj0 = 0 ;
1459 char *kwnames[] = {
1460 (char *) "self", NULL
1461 };
1462
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1466 {
1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
1468 result = (bool)(arg1)->HasEnding();
1469
1470 wxPyEndAllowThreads(__tstate);
1471 if (PyErr_Occurred()) SWIG_fail;
1472 }
fbc46b20
RD
1473 {
1474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1475 }
d14a1e28
RD
1476 return resultobj;
1477 fail:
1478 return NULL;
1479}
1480
1481
c370783e 1482static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1483 PyObject *resultobj;
1484 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1485 int result;
1486 PyObject * obj0 = 0 ;
1487 char *kwnames[] = {
1488 (char *) "self", NULL
1489 };
1490
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 result = (int)(arg1)->GetBeginPos();
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
c370783e 1501 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1502 return resultobj;
1503 fail:
1504 return NULL;
1505}
1506
1507
c370783e 1508static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1509 PyObject *resultobj;
1510 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1511 int result;
1512 PyObject * obj0 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "self", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1520 {
1521 PyThreadState* __tstate = wxPyBeginAllowThreads();
1522 result = (int)(arg1)->GetEndPos1();
1523
1524 wxPyEndAllowThreads(__tstate);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
c370783e 1527 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1528 return resultobj;
1529 fail:
1530 return NULL;
1531}
1532
1533
c370783e 1534static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1535 PyObject *resultobj;
1536 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1537 int result;
1538 PyObject * obj0 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "self", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 result = (int)(arg1)->GetEndPos2();
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
c370783e 1553 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1554 return resultobj;
1555 fail:
1556 return NULL;
1557}
1558
1559
c370783e 1560static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1561 PyObject *obj;
1562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1563 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1564 Py_INCREF(obj);
1565 return Py_BuildValue((char *)"");
1566}
c370783e 1567static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1568 PyObject *resultobj;
1569 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1570 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1571 PyObject * obj0 = 0 ;
1572 PyObject * obj1 = 0 ;
1573 char *kwnames[] = {
1574 (char *) "self",(char *) "fs", NULL
1575 };
1576
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1582 {
1583 PyThreadState* __tstate = wxPyBeginAllowThreads();
1584 (arg1)->SetFS(arg2);
1585
1586 wxPyEndAllowThreads(__tstate);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 }
1589 Py_INCREF(Py_None); resultobj = Py_None;
1590 return resultobj;
1591 fail:
1592 return NULL;
1593}
1594
1595
c370783e 1596static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1597 PyObject *resultobj;
1598 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1599 wxFileSystem *result;
1600 PyObject * obj0 = 0 ;
1601 char *kwnames[] = {
1602 (char *) "self", NULL
1603 };
1604
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 result = (wxFileSystem *)(arg1)->GetFS();
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 {
412d302d 1616 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
1617 }
1618 return resultobj;
1619 fail:
1620 return NULL;
1621}
1622
1623
c370783e 1624static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1625 PyObject *resultobj;
1626 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1627 wxString *arg2 = 0 ;
1628 wxObject *result;
b411df4a 1629 bool temp2 = false ;
d14a1e28
RD
1630 PyObject * obj0 = 0 ;
1631 PyObject * obj1 = 0 ;
1632 char *kwnames[] = {
1633 (char *) "self",(char *) "source", NULL
1634 };
1635
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1639 {
1640 arg2 = wxString_in_helper(obj1);
1641 if (arg2 == NULL) SWIG_fail;
b411df4a 1642 temp2 = true;
d14a1e28
RD
1643 }
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 {
412d302d 1652 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
1653 }
1654 {
1655 if (temp2)
1656 delete arg2;
1657 }
1658 return resultobj;
1659 fail:
1660 {
1661 if (temp2)
1662 delete arg2;
1663 }
1664 return NULL;
1665}
1666
1667
c370783e 1668static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1669 PyObject *resultobj;
1670 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1671 wxString *arg2 = 0 ;
b411df4a 1672 bool temp2 = false ;
d14a1e28
RD
1673 PyObject * obj0 = 0 ;
1674 PyObject * obj1 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "source", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1682 {
1683 arg2 = wxString_in_helper(obj1);
1684 if (arg2 == NULL) SWIG_fail;
b411df4a 1685 temp2 = true;
d14a1e28
RD
1686 }
1687 {
1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
1689 (arg1)->InitParser((wxString const &)*arg2);
1690
1691 wxPyEndAllowThreads(__tstate);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 Py_INCREF(Py_None); resultobj = Py_None;
1695 {
1696 if (temp2)
1697 delete arg2;
1698 }
1699 return resultobj;
1700 fail:
1701 {
1702 if (temp2)
1703 delete arg2;
1704 }
1705 return NULL;
1706}
1707
1708
c370783e 1709static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1710 PyObject *resultobj;
1711 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "self", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 (arg1)->DoneParser();
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 Py_INCREF(Py_None); resultobj = Py_None;
1728 return resultobj;
1729 fail:
1730 return NULL;
1731}
1732
1733
c370783e 1734static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1735 PyObject *resultobj;
1736 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1737 int arg2 ;
1738 int arg3 ;
1739 PyObject * obj0 = 0 ;
8edf1c75
RD
1740 PyObject * obj1 = 0 ;
1741 PyObject * obj2 = 0 ;
d14a1e28
RD
1742 char *kwnames[] = {
1743 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1744 };
1745
8edf1c75 1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 1749 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 1750 if (PyErr_Occurred()) SWIG_fail;
c370783e 1751 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 1752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 (arg1)->DoParsing(arg2,arg3);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 Py_INCREF(Py_None); resultobj = Py_None;
1761 return resultobj;
1762 fail:
1763 return NULL;
1764}
1765
1766
c370783e 1767static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1768 PyObject *resultobj;
1769 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1770 PyObject * obj0 = 0 ;
1771 char *kwnames[] = {
1772 (char *) "self", NULL
1773 };
1774
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 (arg1)->StopParsing();
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 Py_INCREF(Py_None); resultobj = Py_None;
1786 return resultobj;
1787 fail:
1788 return NULL;
1789}
1790
1791
c370783e 1792static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1793 PyObject *resultobj;
1794 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1795 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1796 PyObject * obj0 = 0 ;
1797 PyObject * obj1 = 0 ;
1798 char *kwnames[] = {
1799 (char *) "self",(char *) "handler", NULL
1800 };
1801
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1807 {
1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
1809 (arg1)->AddTagHandler(arg2);
1810
1811 wxPyEndAllowThreads(__tstate);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 }
1814 Py_INCREF(Py_None); resultobj = Py_None;
1815 return resultobj;
1816 fail:
1817 return NULL;
1818}
1819
1820
c370783e 1821static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1822 PyObject *resultobj;
1823 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1824 wxString *result;
1825 PyObject * obj0 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1833 {
1834 PyThreadState* __tstate = wxPyBeginAllowThreads();
1835 result = (wxString *)(arg1)->GetSource();
1836
1837 wxPyEndAllowThreads(__tstate);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 {
1841#if wxUSE_UNICODE
1842 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1843#else
1844 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1845#endif
1846 }
1847 return resultobj;
1848 fail:
1849 return NULL;
1850}
1851
1852
c370783e 1853static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1854 PyObject *resultobj;
1855 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1856 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1857 wxString arg3 ;
d14a1e28
RD
1858 PyObject * obj0 = 0 ;
1859 PyObject * obj1 = 0 ;
1860 PyObject * obj2 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self",(char *) "handler",(char *) "tags", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
1870 {
1871 wxString* sptr = wxString_in_helper(obj2);
1872 if (sptr == NULL) SWIG_fail;
1873 arg3 = *sptr;
1874 delete sptr;
1875 }
d14a1e28
RD
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 (arg1)->PushTagHandler(arg2,arg3);
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 Py_INCREF(Py_None); resultobj = Py_None;
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
c370783e 1890static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1891 PyObject *resultobj;
1892 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1901 {
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 (arg1)->PopTagHandler();
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 }
1908 Py_INCREF(Py_None); resultobj = Py_None;
1909 return resultobj;
1910 fail:
1911 return NULL;
1912}
1913
1914
c370783e 1915static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1916 PyObject *obj;
1917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1919 Py_INCREF(obj);
1920 return Py_BuildValue((char *)"");
1921}
c370783e 1922static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1923 PyObject *resultobj;
1924 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1925 wxHtmlWinParser *result;
1926 PyObject * obj0 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "wnd", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1932 if (obj0) {
2f4c0a16
RD
1933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1935 }
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
2f4c0a16 1943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
1944 return resultobj;
1945 fail:
1946 return NULL;
1947}
1948
1949
c370783e 1950static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1951 PyObject *resultobj;
1952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1953 wxDC *arg2 = (wxDC *) 0 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "dc", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 (arg1)->SetDC(arg2);
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 }
1972 Py_INCREF(Py_None); resultobj = Py_None;
1973 return resultobj;
1974 fail:
1975 return NULL;
1976}
1977
1978
c370783e 1979static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1980 PyObject *resultobj;
1981 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1982 wxDC *result;
1983 PyObject * obj0 = 0 ;
1984 char *kwnames[] = {
1985 (char *) "self", NULL
1986 };
1987
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 result = (wxDC *)(arg1)->GetDC();
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 {
412d302d 1999 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2000 }
2001 return resultobj;
2002 fail:
2003 return NULL;
2004}
2005
2006
c370783e 2007static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2008 PyObject *resultobj;
2009 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2010 int result;
2011 PyObject * obj0 = 0 ;
2012 char *kwnames[] = {
2013 (char *) "self", NULL
2014 };
2015
2016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2019 {
2020 PyThreadState* __tstate = wxPyBeginAllowThreads();
2021 result = (int)(arg1)->GetCharHeight();
2022
2023 wxPyEndAllowThreads(__tstate);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 }
c370783e 2026 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2027 return resultobj;
2028 fail:
2029 return NULL;
2030}
2031
2032
c370783e 2033static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2034 PyObject *resultobj;
2035 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2036 int result;
2037 PyObject * obj0 = 0 ;
2038 char *kwnames[] = {
2039 (char *) "self", NULL
2040 };
2041
2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2045 {
2046 PyThreadState* __tstate = wxPyBeginAllowThreads();
2047 result = (int)(arg1)->GetCharWidth();
2048
2049 wxPyEndAllowThreads(__tstate);
2050 if (PyErr_Occurred()) SWIG_fail;
2051 }
c370783e 2052 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2053 return resultobj;
2054 fail:
2055 return NULL;
2056}
2057
2058
c370783e 2059static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2060 PyObject *resultobj;
2061 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2062 wxPyHtmlWindow *result;
2063 PyObject * obj0 = 0 ;
2064 char *kwnames[] = {
2065 (char *) "self", NULL
2066 };
2067
2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 {
412d302d 2079 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2080 }
2081 return resultobj;
2082 fail:
2083 return NULL;
2084}
2085
2086
c370783e 2087static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2088 PyObject *resultobj;
2089 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2090 wxString arg2 ;
2091 wxString arg3 ;
2092 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
2093 PyObject * obj0 = 0 ;
2094 PyObject * obj1 = 0 ;
2095 PyObject * obj2 = 0 ;
2096 PyObject * obj3 = 0 ;
2097 char *kwnames[] = {
2098 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
2102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
2104 {
2105 wxString* sptr = wxString_in_helper(obj1);
2106 if (sptr == NULL) SWIG_fail;
2107 arg2 = *sptr;
2108 delete sptr;
2109 }
2110 {
2111 wxString* sptr = wxString_in_helper(obj2);
2112 if (sptr == NULL) SWIG_fail;
2113 arg3 = *sptr;
2114 delete sptr;
2115 }
d14a1e28
RD
2116 if (obj3) {
2117 arg4 = obj3;
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 Py_INCREF(Py_None); resultobj = Py_None;
2127 return resultobj;
2128 fail:
2129 return NULL;
2130}
2131
2132
b411df4a 2133static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
2134 PyObject *resultobj;
2135 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2136 int arg2 = (int) -1 ;
b411df4a
RD
2137 wxString const &arg3_defvalue = wxPyEmptyString ;
2138 wxString *arg3 = (wxString *) &arg3_defvalue ;
2139 wxString const &arg4_defvalue = wxPyEmptyString ;
2140 wxString *arg4 = (wxString *) &arg4_defvalue ;
2141 bool temp3 = false ;
2142 bool temp4 = false ;
30ee79f7
RD
2143 PyObject * obj0 = 0 ;
2144 PyObject * obj1 = 0 ;
b411df4a
RD
2145 PyObject * obj2 = 0 ;
2146 PyObject * obj3 = 0 ;
30ee79f7 2147 char *kwnames[] = {
b411df4a 2148 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
2149 };
2150
b411df4a 2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30ee79f7
RD
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2154 if (obj1) {
c370783e 2155 arg2 = (int)SWIG_As_int(obj1);
30ee79f7
RD
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
b411df4a
RD
2158 if (obj2) {
2159 {
2160 arg3 = wxString_in_helper(obj2);
2161 if (arg3 == NULL) SWIG_fail;
2162 temp3 = true;
2163 }
2164 }
2165 if (obj3) {
2166 {
2167 arg4 = wxString_in_helper(obj3);
2168 if (arg4 == NULL) SWIG_fail;
2169 temp4 = true;
2170 }
2171 }
30ee79f7
RD
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 2174 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
2180 {
2181 if (temp3)
2182 delete arg3;
2183 }
2184 {
2185 if (temp4)
2186 delete arg4;
2187 }
30ee79f7
RD
2188 return resultobj;
2189 fail:
b411df4a
RD
2190 {
2191 if (temp3)
2192 delete arg3;
2193 }
2194 {
2195 if (temp4)
2196 delete arg4;
2197 }
30ee79f7
RD
2198 return NULL;
2199}
2200
2201
c370783e 2202static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2203 PyObject *resultobj;
2204 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2205 wxHtmlContainerCell *result;
2206 PyObject * obj0 = 0 ;
2207 char *kwnames[] = {
2208 (char *) "self", NULL
2209 };
2210
2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2f4c0a16 2221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2222 return resultobj;
2223 fail:
2224 return NULL;
2225}
2226
2227
c370783e 2228static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2229 PyObject *resultobj;
2230 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2231 wxHtmlContainerCell *result;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2f4c0a16 2247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2248 return resultobj;
2249 fail:
2250 return NULL;
2251}
2252
2253
c370783e 2254static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2255 PyObject *resultobj;
2256 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2257 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2258 wxHtmlContainerCell *result;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "c", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2f4c0a16 2277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
c370783e 2284static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2285 PyObject *resultobj;
2286 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2287 wxHtmlContainerCell *result;
2288 PyObject * obj0 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "self", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
2298 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
2f4c0a16 2303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2304 return resultobj;
2305 fail:
2306 return NULL;
2307}
2308
2309
c370783e 2310static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2311 PyObject *resultobj;
2312 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2313 int result;
2314 PyObject * obj0 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 result = (int)(arg1)->GetFontSize();
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
c370783e 2329 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2330 return resultobj;
2331 fail:
2332 return NULL;
2333}
2334
2335
c370783e 2336static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2337 PyObject *resultobj;
2338 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2339 int arg2 ;
2340 PyObject * obj0 = 0 ;
8edf1c75 2341 PyObject * obj1 = 0 ;
d14a1e28
RD
2342 char *kwnames[] = {
2343 (char *) "self",(char *) "s", NULL
2344 };
2345
8edf1c75 2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2349 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 2350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 (arg1)->SetFontSize(arg2);
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
2358 Py_INCREF(Py_None); resultobj = Py_None;
2359 return resultobj;
2360 fail:
2361 return NULL;
2362}
2363
2364
c370783e 2365static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2366 PyObject *resultobj;
2367 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2368 int result;
2369 PyObject * obj0 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = (int)(arg1)->GetFontBold();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
c370783e 2384 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2385 return resultobj;
2386 fail:
2387 return NULL;
2388}
2389
2390
c370783e 2391static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2392 PyObject *resultobj;
2393 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2394 int arg2 ;
2395 PyObject * obj0 = 0 ;
8edf1c75 2396 PyObject * obj1 = 0 ;
d14a1e28
RD
2397 char *kwnames[] = {
2398 (char *) "self",(char *) "x", NULL
2399 };
2400
8edf1c75 2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2404 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 2405 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 (arg1)->SetFontBold(arg2);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2413 Py_INCREF(Py_None); resultobj = Py_None;
2414 return resultobj;
2415 fail:
2416 return NULL;
2417}
2418
2419
c370783e 2420static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2421 PyObject *resultobj;
2422 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2423 int result;
2424 PyObject * obj0 = 0 ;
2425 char *kwnames[] = {
2426 (char *) "self", NULL
2427 };
2428
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 result = (int)(arg1)->GetFontItalic();
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
c370783e 2439 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2440 return resultobj;
2441 fail:
2442 return NULL;
2443}
2444
2445
c370783e 2446static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2447 PyObject *resultobj;
2448 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2449 int arg2 ;
2450 PyObject * obj0 = 0 ;
8edf1c75 2451 PyObject * obj1 = 0 ;
d14a1e28
RD
2452 char *kwnames[] = {
2453 (char *) "self",(char *) "x", NULL
2454 };
2455
8edf1c75 2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2459 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 2460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 (arg1)->SetFontItalic(arg2);
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 Py_INCREF(Py_None); resultobj = Py_None;
2469 return resultobj;
2470 fail:
2471 return NULL;
2472}
2473
2474
c370783e 2475static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2476 PyObject *resultobj;
2477 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2478 int result;
2479 PyObject * obj0 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "self", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 result = (int)(arg1)->GetFontUnderlined();
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
c370783e 2494 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2495 return resultobj;
2496 fail:
2497 return NULL;
2498}
2499
2500
c370783e 2501static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2502 PyObject *resultobj;
2503 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2504 int arg2 ;
2505 PyObject * obj0 = 0 ;
8edf1c75 2506 PyObject * obj1 = 0 ;
d14a1e28
RD
2507 char *kwnames[] = {
2508 (char *) "self",(char *) "x", NULL
2509 };
2510
8edf1c75 2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2514 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 2515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 (arg1)->SetFontUnderlined(arg2);
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527}
2528
2529
c370783e 2530static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2531 PyObject *resultobj;
2532 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2533 int result;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 result = (int)(arg1)->GetFontFixed();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
c370783e 2549 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2550 return resultobj;
2551 fail:
2552 return NULL;
2553}
2554
2555
c370783e 2556static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2557 PyObject *resultobj;
2558 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2559 int arg2 ;
2560 PyObject * obj0 = 0 ;
8edf1c75 2561 PyObject * obj1 = 0 ;
d14a1e28
RD
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "x", NULL
2564 };
2565
8edf1c75 2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2569 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 2570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 (arg1)->SetFontFixed(arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 Py_INCREF(Py_None); resultobj = Py_None;
2579 return resultobj;
2580 fail:
2581 return NULL;
2582}
2583
2584
c370783e 2585static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2586 PyObject *resultobj;
2587 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2588 int result;
2589 PyObject * obj0 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 result = (int)(arg1)->GetAlign();
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
c370783e 2604 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2605 return resultobj;
2606 fail:
2607 return NULL;
2608}
2609
2610
c370783e 2611static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2612 PyObject *resultobj;
2613 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2614 int arg2 ;
2615 PyObject * obj0 = 0 ;
8edf1c75 2616 PyObject * obj1 = 0 ;
d14a1e28
RD
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "a", NULL
2619 };
2620
8edf1c75 2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 2624 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 2625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 (arg1)->SetAlign(arg2);
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 Py_INCREF(Py_None); resultobj = Py_None;
2634 return resultobj;
2635 fail:
2636 return NULL;
2637}
2638
2639
c370783e 2640static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2641 PyObject *resultobj;
2642 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2643 wxColour result;
2644 PyObject * obj0 = 0 ;
2645 char *kwnames[] = {
2646 (char *) "self", NULL
2647 };
2648
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 result = (arg1)->GetLinkColor();
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 {
2660 wxColour * resultptr;
2661 resultptr = new wxColour((wxColour &) result);
2f4c0a16 2662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2663 }
2664 return resultobj;
2665 fail:
2666 return NULL;
2667}
2668
2669
c370783e 2670static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2671 PyObject *resultobj;
2672 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2673 wxColour *arg2 = 0 ;
2674 wxColour temp2 ;
2675 PyObject * obj0 = 0 ;
2676 PyObject * obj1 = 0 ;
2677 char *kwnames[] = {
2678 (char *) "self",(char *) "clr", NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2684 {
2685 arg2 = &temp2;
2686 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2687 }
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 (arg1)->SetLinkColor((wxColour const &)*arg2);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 return resultobj;
2697 fail:
2698 return NULL;
2699}
2700
2701
c370783e 2702static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2703 PyObject *resultobj;
2704 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2705 wxColour result;
2706 PyObject * obj0 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = (arg1)->GetActualColor();
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 {
2722 wxColour * resultptr;
2723 resultptr = new wxColour((wxColour &) result);
2f4c0a16 2724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2725 }
2726 return resultobj;
2727 fail:
2728 return NULL;
2729}
2730
2731
c370783e 2732static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2733 PyObject *resultobj;
2734 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2735 wxColour *arg2 = 0 ;
2736 wxColour temp2 ;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "self",(char *) "clr", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2746 {
2747 arg2 = &temp2;
2748 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 (arg1)->SetActualColor((wxColour const &)*arg2);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 return resultobj;
2759 fail:
2760 return NULL;
2761}
2762
2763
c370783e 2764static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2765 PyObject *resultobj;
2766 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2767 wxString *arg2 = 0 ;
b411df4a 2768 bool temp2 = false ;
d14a1e28
RD
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj1 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self",(char *) "link", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2778 {
2779 arg2 = wxString_in_helper(obj1);
2780 if (arg2 == NULL) SWIG_fail;
b411df4a 2781 temp2 = true;
d14a1e28
RD
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 (arg1)->SetLink((wxString const &)*arg2);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 Py_INCREF(Py_None); resultobj = Py_None;
2791 {
2792 if (temp2)
2793 delete arg2;
2794 }
2795 return resultobj;
2796 fail:
2797 {
2798 if (temp2)
2799 delete arg2;
2800 }
2801 return NULL;
2802}
2803
2804
c370783e 2805static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2806 PyObject *resultobj;
2807 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2808 wxFont *result;
2809 PyObject * obj0 = 0 ;
2810 char *kwnames[] = {
2811 (char *) "self", NULL
2812 };
2813
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (wxFont *)(arg1)->CreateCurrentFont();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2f4c0a16 2824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
2825 return resultobj;
2826 fail:
2827 return NULL;
2828}
2829
2830
c370783e 2831static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2832 PyObject *resultobj;
2833 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2834 SwigValueWrapper< wxHtmlLinkInfo > result;
2835 PyObject * obj0 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 result = (arg1)->GetLink();
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 wxHtmlLinkInfo * resultptr;
2852 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2f4c0a16 2853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2854 }
2855 return resultobj;
2856 fail:
2857 return NULL;
2858}
2859
2860
c370783e 2861static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2862 PyObject *obj;
2863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2864 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2865 Py_INCREF(obj);
2866 return Py_BuildValue((char *)"");
2867}
c370783e 2868static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2869 PyObject *resultobj;
2870 wxPyHtmlTagHandler *result;
2871 char *kwnames[] = {
2872 NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2f4c0a16 2883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
2884 return resultobj;
2885 fail:
2886 return NULL;
2887}
2888
2889
c370783e 2890static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2891 PyObject *resultobj;
2892 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2893 PyObject *arg2 = (PyObject *) 0 ;
2894 PyObject *arg3 = (PyObject *) 0 ;
2895 PyObject * obj0 = 0 ;
2896 PyObject * obj1 = 0 ;
2897 PyObject * obj2 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "self",(char *) "self",(char *) "_class", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2905 arg2 = obj1;
2906 arg3 = obj2;
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 (arg1)->_setCallbackInfo(arg2,arg3);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 Py_INCREF(Py_None); resultobj = Py_None;
2915 return resultobj;
2916 fail:
2917 return NULL;
2918}
2919
2920
c370783e 2921static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2922 PyObject *resultobj;
2923 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2924 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2925 PyObject * obj0 = 0 ;
2926 PyObject * obj1 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self",(char *) "parser", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 (arg1)->SetParser(arg2);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947}
2948
2949
c370783e 2950static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2951 PyObject *resultobj;
2952 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2953 wxHtmlParser *result;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 result = (wxHtmlParser *)(arg1)->GetParser();
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2f4c0a16 2969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
c370783e 2976static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2977 PyObject *resultobj;
2978 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2979 wxHtmlTag *arg2 = 0 ;
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self",(char *) "tag", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1)
2991 SWIG_fail;
d14a1e28 2992 if (arg2 == NULL) {
2f4c0a16
RD
2993 PyErr_SetString(PyExc_TypeError,"null reference");
2994 SWIG_fail;
d14a1e28
RD
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
c370783e 3010static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3011 PyObject *obj;
3012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
3014 Py_INCREF(obj);
3015 return Py_BuildValue((char *)"");
3016}
c370783e 3017static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3018 PyObject *resultobj;
3019 wxPyHtmlWinTagHandler *result;
3020 char *kwnames[] = {
3021 NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
2f4c0a16 3032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
3033 return resultobj;
3034 fail:
3035 return NULL;
3036}
3037
3038
c370783e 3039static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3040 PyObject *resultobj;
3041 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3042 PyObject *arg2 = (PyObject *) 0 ;
3043 PyObject *arg3 = (PyObject *) 0 ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "self",(char *) "_class", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3054 arg2 = obj1;
3055 arg3 = obj2;
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 (arg1)->_setCallbackInfo(arg2,arg3);
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 Py_INCREF(Py_None); resultobj = Py_None;
3064 return resultobj;
3065 fail:
3066 return NULL;
3067}
3068
3069
c370783e 3070static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3071 PyObject *resultobj;
3072 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3073 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 char *kwnames[] = {
3077 (char *) "self",(char *) "parser", NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
3084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 (arg1)->SetParser(arg2);
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 Py_INCREF(Py_None); resultobj = Py_None;
3093 return resultobj;
3094 fail:
3095 return NULL;
3096}
3097
3098
c370783e 3099static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3100 PyObject *resultobj;
3101 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3102 wxHtmlWinParser *result;
3103 PyObject * obj0 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "self", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 result = (wxHtmlWinParser *)(arg1)->GetParser();
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
2f4c0a16 3118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
3119 return resultobj;
3120 fail:
3121 return NULL;
3122}
3123
3124
c370783e 3125static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3126 PyObject *resultobj;
3127 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
3128 wxHtmlTag *arg2 = 0 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "tag", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
3137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
3139 SWIG_POINTER_EXCEPTION | 0)) == -1)
3140 SWIG_fail;
d14a1e28 3141 if (arg2 == NULL) {
2f4c0a16
RD
3142 PyErr_SetString(PyExc_TypeError,"null reference");
3143 SWIG_fail;
d14a1e28
RD
3144 }
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 Py_INCREF(Py_None); resultobj = Py_None;
3153 return resultobj;
3154 fail:
3155 return NULL;
3156}
3157
3158
c370783e 3159static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3160 PyObject *obj;
3161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3162 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
3163 Py_INCREF(obj);
3164 return Py_BuildValue((char *)"");
3165}
c370783e 3166static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3167 PyObject *resultobj;
3168 PyObject *arg1 = (PyObject *) 0 ;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "tagHandlerClass", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
3175 arg1 = obj0;
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 wxHtmlWinParser_AddTagHandler(arg1);
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
c370783e 3190static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3191 PyObject *resultobj;
3192 wxHtmlSelection *result;
3193 char *kwnames[] = {
3194 NULL
3195 };
3196
3197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 result = (wxHtmlSelection *)new wxHtmlSelection();
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
2f4c0a16 3205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
3206 return resultobj;
3207 fail:
3208 return NULL;
3209}
3210
3211
c370783e 3212static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3213 PyObject *resultobj;
3214 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3215 PyObject * obj0 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 delete arg1;
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 Py_INCREF(Py_None); resultobj = Py_None;
3231 return resultobj;
3232 fail:
3233 return NULL;
3234}
3235
3236
c370783e 3237static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3238 PyObject *resultobj;
3239 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3240 wxPoint *arg2 = 0 ;
3241 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3242 wxPoint *arg4 = 0 ;
3243 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3244 wxPoint temp2 ;
3245 wxPoint temp4 ;
3246 PyObject * obj0 = 0 ;
3247 PyObject * obj1 = 0 ;
3248 PyObject * obj2 = 0 ;
3249 PyObject * obj3 = 0 ;
3250 PyObject * obj4 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3258 {
3259 arg2 = &temp2;
3260 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3261 }
2f4c0a16
RD
3262 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3264 {
3265 arg4 = &temp4;
3266 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3267 }
2f4c0a16
RD
3268 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 Py_INCREF(Py_None); resultobj = Py_None;
3278 return resultobj;
3279 fail:
3280 return NULL;
3281}
3282
3283
c370783e 3284static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3285 PyObject *resultobj;
3286 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3287 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3288 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3289 PyObject * obj0 = 0 ;
3290 PyObject * obj1 = 0 ;
3291 PyObject * obj2 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3301 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314}
3315
3316
c370783e 3317static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3318 PyObject *resultobj;
3319 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3320 wxHtmlCell *result;
3321 PyObject * obj0 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "self", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
2f4c0a16 3336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
3337 return resultobj;
3338 fail:
3339 return NULL;
3340}
3341
3342
c370783e 3343static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3344 PyObject *resultobj;
3345 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3346 wxHtmlCell *result;
3347 PyObject * obj0 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
2f4c0a16 3362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
3363 return resultobj;
3364 fail:
3365 return NULL;
3366}
3367
3368
c370783e 3369static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3370 PyObject *resultobj;
3371 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3372 wxPoint *result;
3373 PyObject * obj0 = 0 ;
3374 char *kwnames[] = {
3375 (char *) "self", NULL
3376 };
3377
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3381 {
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 {
3384 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3385 result = (wxPoint *) &_result_ref;
3386 }
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
2f4c0a16 3391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3392 return resultobj;
3393 fail:
3394 return NULL;
3395}
3396
3397
c370783e 3398static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3399 PyObject *resultobj;
3400 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3401 wxPoint *result;
3402 PyObject * obj0 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 {
3413 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3414 result = (wxPoint *) &_result_ref;
3415 }
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
2f4c0a16 3420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3421 return resultobj;
3422 fail:
3423 return NULL;
3424}
3425
3426
c370783e 3427static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3428 PyObject *resultobj;
3429 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3430 wxPoint *result;
3431 PyObject * obj0 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 {
3442 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3443 result = (wxPoint *) &_result_ref;
3444 }
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
2f4c0a16 3449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3450 return resultobj;
3451 fail:
3452 return NULL;
3453}
3454
3455
c370783e 3456static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3457 PyObject *resultobj;
3458 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3459 wxPoint *result;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 {
3471 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3472 result = (wxPoint *) &_result_ref;
3473 }
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
2f4c0a16 3478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3479 return resultobj;
3480 fail:
3481 return NULL;
3482}
3483
3484
c370783e 3485static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3486 PyObject *resultobj;
3487 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3488 wxPoint *arg2 = 0 ;
3489 wxPoint temp2 ;
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj1 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "pos", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3499 {
3500 arg2 = &temp2;
3501 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 return resultobj;
3512 fail:
3513 return NULL;
3514}
3515
3516
c370783e 3517static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3518 PyObject *resultobj;
3519 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3520 wxPoint *arg2 = 0 ;
3521 wxPoint temp2 ;
3522 PyObject * obj0 = 0 ;
3523 PyObject * obj1 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "self",(char *) "pos", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3531 {
3532 arg2 = &temp2;
3533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 Py_INCREF(Py_None); resultobj = Py_None;
3543 return resultobj;
3544 fail:
3545 return NULL;
3546}
3547
3548
c370783e 3549static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3550 PyObject *resultobj;
3551 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3552 PyObject * obj0 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self", NULL
3555 };
3556
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->ClearPrivPos();
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 return resultobj;
3569 fail:
3570 return NULL;
3571}
3572
3573
c370783e 3574static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3575 PyObject *resultobj;
3576 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3577 bool result;
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
fbc46b20
RD
3593 {
3594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3595 }
d14a1e28
RD
3596 return resultobj;
3597 fail:
3598 return NULL;
3599}
3600
3601
c370783e 3602static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3603 PyObject *obj;
3604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3605 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3606 Py_INCREF(obj);
3607 return Py_BuildValue((char *)"");
3608}
c370783e 3609static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3610 PyObject *resultobj;
3611 wxHtmlRenderingState *result;
3612 char *kwnames[] = {
3613 NULL
3614 };
3615
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
2f4c0a16 3624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
3625 return resultobj;
3626 fail:
3627 return NULL;
3628}
3629
3630
c370783e 3631static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3632 PyObject *resultobj;
3633 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3634 PyObject * obj0 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 delete arg1;
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653}
3654
3655
c370783e 3656static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3657 PyObject *resultobj;
3658 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3659 int arg2 ;
3660 PyObject * obj0 = 0 ;
8edf1c75 3661 PyObject * obj1 = 0 ;
d14a1e28
RD
3662 char *kwnames[] = {
3663 (char *) "self",(char *) "s", NULL
3664 };
3665
8edf1c75 3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 3669 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 3670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 Py_INCREF(Py_None); resultobj = Py_None;
3679 return resultobj;
3680 fail:
3681 return NULL;
3682}
3683
3684
c370783e 3685static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3686 PyObject *resultobj;
3687 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3688 int result;
3689 PyObject * obj0 = 0 ;
3690 char *kwnames[] = {
3691 (char *) "self", NULL
3692 };
3693
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
c370783e 3704 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3705 return resultobj;
3706 fail:
3707 return NULL;
3708}
3709
3710
c370783e 3711static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3712 PyObject *resultobj;
3713 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3714 wxColour *arg2 = 0 ;
3715 wxColour temp2 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "c", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3725 {
3726 arg2 = &temp2;
3727 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3728 }
3729 {
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 (arg1)->SetFgColour((wxColour const &)*arg2);
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 Py_INCREF(Py_None); resultobj = Py_None;
3737 return resultobj;
3738 fail:
3739 return NULL;
3740}
3741
3742
c370783e 3743static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3744 PyObject *resultobj;
3745 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3746 wxColour *result;
3747 PyObject * obj0 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 {
3758 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3759 result = (wxColour *) &_result_ref;
3760 }
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
2f4c0a16 3765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
3766 return resultobj;
3767 fail:
3768 return NULL;
3769}
3770
3771
c370783e 3772static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3773 PyObject *resultobj;
3774 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3775 wxColour *arg2 = 0 ;
3776 wxColour temp2 ;
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self",(char *) "c", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3786 {
3787 arg2 = &temp2;
3788 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->SetBgColour((wxColour const &)*arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
c370783e 3804static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3805 PyObject *resultobj;
3806 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3807 wxColour *result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 {
3819 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3820 result = (wxColour *) &_result_ref;
3821 }
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
2f4c0a16 3826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
c370783e 3833static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3834 PyObject *obj;
3835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3836 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3837 Py_INCREF(obj);
3838 return Py_BuildValue((char *)"");
3839}
c370783e 3840static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3841 PyObject *resultobj;
3842 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3843 wxColour *arg2 = 0 ;
3844 wxColour result;
3845 wxColour temp2 ;
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self",(char *) "clr", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3855 {
3856 arg2 = &temp2;
3857 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3858 }
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 {
3867 wxColour * resultptr;
3868 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3870 }
3871 return resultobj;
3872 fail:
3873 return NULL;
3874}
3875
3876
c370783e 3877static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3878 PyObject *resultobj;
3879 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3880 wxColour *arg2 = 0 ;
3881 wxColour result;
3882 wxColour temp2 ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self",(char *) "clr", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3892 {
3893 arg2 = &temp2;
3894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3895 }
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3899
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) SWIG_fail;
3902 }
3903 {
3904 wxColour * resultptr;
3905 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3907 }
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
c370783e 3914static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3915 PyObject *obj;
3916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3917 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3918 Py_INCREF(obj);
3919 return Py_BuildValue((char *)"");
3920}
c370783e 3921static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3922 PyObject *resultobj;
3923 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3924 wxColour *arg2 = 0 ;
3925 wxColour result;
3926 wxColour temp2 ;
3927 PyObject * obj0 = 0 ;
3928 PyObject * obj1 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self",(char *) "clr", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3936 {
3937 arg2 = &temp2;
3938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 wxColour * resultptr;
3949 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3951 }
3952 return resultobj;
3953 fail:
3954 return NULL;
3955}
3956
3957
c370783e 3958static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3959 PyObject *resultobj;
3960 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3961 wxColour *arg2 = 0 ;
3962 wxColour result;
3963 wxColour temp2 ;
3964 PyObject * obj0 = 0 ;
3965 PyObject * obj1 = 0 ;
3966 char *kwnames[] = {
3967 (char *) "self",(char *) "clr", NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3973 {
3974 arg2 = &temp2;
3975 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3976 }
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 {
3985 wxColour * resultptr;
3986 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3988 }
3989 return resultobj;
3990 fail:
3991 return NULL;
3992}
3993
3994
c370783e 3995static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3996 PyObject *obj;
3997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3999 Py_INCREF(obj);
4000 return Py_BuildValue((char *)"");
4001}
c370783e 4002static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4003 PyObject *resultobj;
4004 wxHtmlRenderingInfo *result;
4005 char *kwnames[] = {
4006 NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
2f4c0a16 4017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
4018 return resultobj;
4019 fail:
4020 return NULL;
4021}
4022
4023
c370783e 4024static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4025 PyObject *resultobj;
4026 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4027 PyObject * obj0 = 0 ;
4028 char *kwnames[] = {
4029 (char *) "self", NULL
4030 };
4031
4032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 delete arg1;
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 Py_INCREF(Py_None); resultobj = Py_None;
4043 return resultobj;
4044 fail:
4045 return NULL;
4046}
4047
4048
c370783e 4049static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4050 PyObject *resultobj;
4051 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4052 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self",(char *) "s", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
4063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetSelection(arg2);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 Py_INCREF(Py_None); resultobj = Py_None;
4072 return resultobj;
4073 fail:
4074 return NULL;
4075}
4076
4077
c370783e 4078static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4079 PyObject *resultobj;
4080 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4081 wxHtmlSelection *result;
4082 PyObject * obj0 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
2f4c0a16 4097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
4098 return resultobj;
4099 fail:
4100 return NULL;
4101}
4102
4103
c370783e 4104static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4105 PyObject *resultobj;
4106 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4107 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
4108 PyObject * obj0 = 0 ;
4109 PyObject * obj1 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self",(char *) "style", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->SetStyle(arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 Py_INCREF(Py_None); resultobj = Py_None;
4127 return resultobj;
4128 fail:
4129 return NULL;
4130}
4131
4132
c370783e 4133static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4134 PyObject *resultobj;
4135 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4136 wxHtmlRenderingStyle *result;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 {
4148 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
4149 result = (wxHtmlRenderingStyle *) &_result_ref;
4150 }
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
2f4c0a16 4155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
c370783e 4162static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4163 PyObject *resultobj;
4164 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
4165 wxHtmlRenderingState *result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
4173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 {
4177 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
4178 result = (wxHtmlRenderingState *) &_result_ref;
4179 }
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
2f4c0a16 4184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
4185 return resultobj;
4186 fail:
4187 return NULL;
4188}
4189
4190
c370783e 4191static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4192 PyObject *obj;
4193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
4195 Py_INCREF(obj);
4196 return Py_BuildValue((char *)"");
4197}
c370783e 4198static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4199 PyObject *resultobj;
4200 wxHtmlCell *result;
4201 char *kwnames[] = {
4202 NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 result = (wxHtmlCell *)new wxHtmlCell();
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
2f4c0a16 4213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
4214 return resultobj;
4215 fail:
4216 return NULL;
4217}
4218
4219
c370783e 4220static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4221 PyObject *resultobj;
4222 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4223 int result;
4224 PyObject * obj0 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self", NULL
4227 };
4228
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (int)(arg1)->GetPosX();
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
c370783e 4239 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4240 return resultobj;
4241 fail:
4242 return NULL;
4243}
4244
4245
c370783e 4246static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4247 PyObject *resultobj;
4248 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4249 int result;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (int)(arg1)->GetPosY();
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
c370783e 4265 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
c370783e 4272static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4273 PyObject *resultobj;
4274 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4275 int result;
4276 PyObject * obj0 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (int)(arg1)->GetWidth();
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
c370783e 4291 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4292 return resultobj;
4293 fail:
4294 return NULL;
4295}
4296
4297
c370783e 4298static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4299 PyObject *resultobj;
4300 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4301 int result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (int)(arg1)->GetHeight();
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
c370783e 4317 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4318 return resultobj;
4319 fail:
4320 return NULL;
4321}
4322
4323
c370783e 4324static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4325 PyObject *resultobj;
4326 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4327 int result;
4328 PyObject * obj0 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (int)(arg1)->GetDescent();
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
c370783e 4343 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
c370783e 4350static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
fbc46b20
RD
4351 PyObject *resultobj;
4352 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4353 int result;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
c370783e 4369 resultobj = SWIG_From_int((int)result);
fbc46b20
RD
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
c370783e 4376static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
4377 PyObject *resultobj;
4378 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4379 wxString *result;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f
RD
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 {
4391 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4392 result = (wxString *) &_result_ref;
4393 }
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 {
4399#if wxUSE_UNICODE
4400 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4401#else
4402 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4403#endif
4404 }
4405 return resultobj;
4406 fail:
4407 return NULL;
4408}
4409
4410
c370783e 4411static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
4412 PyObject *resultobj;
4413 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4414 wxString *arg2 = 0 ;
b411df4a 4415 bool temp2 = false ;
cbd72d4f
RD
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "id", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f
RD
4425 {
4426 arg2 = wxString_in_helper(obj1);
4427 if (arg2 == NULL) SWIG_fail;
b411df4a 4428 temp2 = true;
cbd72d4f
RD
4429 }
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 (arg1)->SetId((wxString const &)*arg2);
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 Py_INCREF(Py_None); resultobj = Py_None;
4438 {
4439 if (temp2)
4440 delete arg2;
4441 }
4442 return resultobj;
4443 fail:
4444 {
4445 if (temp2)
4446 delete arg2;
4447 }
4448 return NULL;
4449}
4450
4451
c370783e 4452static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4453 PyObject *resultobj;
4454 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4455 int arg2 = (int) 0 ;
4456 int arg3 = (int) 0 ;
4457 wxHtmlLinkInfo *result;
4458 PyObject * obj0 = 0 ;
8edf1c75
RD
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
d14a1e28
RD
4461 char *kwnames[] = {
4462 (char *) "self",(char *) "x",(char *) "y", NULL
4463 };
4464
8edf1c75 4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4468 if (obj1) {
c370783e 4469 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 4470 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4471 }
4472 if (obj2) {
c370783e 4473 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 4474 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4475 }
d14a1e28
RD
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
2f4c0a16 4483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
4484 return resultobj;
4485 fail:
4486 return NULL;
4487}
4488
4489
c370783e 4490static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4491 PyObject *resultobj;
4492 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4493 wxHtmlCell *result;
4494 PyObject * obj0 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (wxHtmlCell *)(arg1)->GetNext();
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
2f4c0a16 4509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4510 return resultobj;
4511 fail:
4512 return NULL;
4513}
4514
4515
c370783e 4516static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4517 PyObject *resultobj;
4518 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4519 wxHtmlContainerCell *result;
4520 PyObject * obj0 = 0 ;
4521 char *kwnames[] = {
4522 (char *) "self", NULL
4523 };
4524
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
2f4c0a16 4535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
4536 return resultobj;
4537 fail:
4538 return NULL;
4539}
4540
4541
c370783e 4542static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4543 PyObject *resultobj;
4544 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4545 wxHtmlCell *result;
4546 PyObject * obj0 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "self", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
2f4c0a16 4561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4562 return resultobj;
4563 fail:
4564 return NULL;
4565}
4566
4567
c370783e 4568static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4569 PyObject *resultobj;
4570 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4571 wxCursor result;
4572 PyObject * obj0 = 0 ;
4573 char *kwnames[] = {
4574 (char *) "self", NULL
4575 };
4576
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 result = ((wxHtmlCell const *)arg1)->GetCursor();
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 {
4588 wxCursor * resultptr;
4589 resultptr = new wxCursor((wxCursor &) result);
2f4c0a16 4590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4591 }
4592 return resultobj;
4593 fail:
4594 return NULL;
4595}
4596
4597
c370783e 4598static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4599 PyObject *resultobj;
4600 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4601 bool result;
4602 PyObject * obj0 = 0 ;
4603 char *kwnames[] = {
4604 (char *) "self", NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4610 {
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
fbc46b20
RD
4617 {
4618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4619 }
d14a1e28
RD
4620 return resultobj;
4621 fail:
4622 return NULL;
4623}
4624
4625
c370783e 4626static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4627 PyObject *resultobj;
4628 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4629 wxHtmlLinkInfo *arg2 = 0 ;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "link", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4640 SWIG_POINTER_EXCEPTION | 0)) == -1)
4641 SWIG_fail;
d14a1e28 4642 if (arg2 == NULL) {
2f4c0a16
RD
4643 PyErr_SetString(PyExc_TypeError,"null reference");
4644 SWIG_fail;
d14a1e28
RD
4645 }
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657}
4658
4659
c370783e 4660static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4661 PyObject *resultobj;
4662 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4663 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self",(char *) "cell", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 (arg1)->SetNext(arg2);
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 Py_INCREF(Py_None); resultobj = Py_None;
4683 return resultobj;
4684 fail:
4685 return NULL;
4686}
4687
4688
c370783e 4689static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4690 PyObject *resultobj;
4691 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4692 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self",(char *) "p", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 (arg1)->SetParent(arg2);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715}
4716
4717
c370783e 4718static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4719 PyObject *resultobj;
4720 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4721 int arg2 ;
4722 int arg3 ;
4723 PyObject * obj0 = 0 ;
8edf1c75
RD
4724 PyObject * obj1 = 0 ;
4725 PyObject * obj2 = 0 ;
d14a1e28
RD
4726 char *kwnames[] = {
4727 (char *) "self",(char *) "x",(char *) "y", NULL
4728 };
4729
8edf1c75 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4733 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 4734 if (PyErr_Occurred()) SWIG_fail;
c370783e 4735 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 4736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 (arg1)->SetPos(arg2,arg3);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 Py_INCREF(Py_None); resultobj = Py_None;
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
c370783e 4751static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4752 PyObject *resultobj;
4753 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4754 int arg2 ;
4755 PyObject * obj0 = 0 ;
8edf1c75 4756 PyObject * obj1 = 0 ;
d14a1e28
RD
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "w", NULL
4759 };
4760
8edf1c75 4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4764 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 4765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 (arg1)->Layout(arg2);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
c370783e 4780static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4781 PyObject *resultobj;
4782 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4783 wxDC *arg2 = 0 ;
4784 int arg3 ;
4785 int arg4 ;
4786 int arg5 ;
4787 int arg6 ;
4788 wxHtmlRenderingInfo *arg7 = 0 ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
8edf1c75
RD
4791 PyObject * obj2 = 0 ;
4792 PyObject * obj3 = 0 ;
4793 PyObject * obj4 = 0 ;
4794 PyObject * obj5 = 0 ;
d14a1e28
RD
4795 PyObject * obj6 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4798 };
4799
8edf1c75 4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
4801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1)
4805 SWIG_fail;
d14a1e28 4806 if (arg2 == NULL) {
2f4c0a16
RD
4807 PyErr_SetString(PyExc_TypeError,"null reference");
4808 SWIG_fail;
4809 }
c370783e 4810 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 4811 if (PyErr_Occurred()) SWIG_fail;
c370783e 4812 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 4813 if (PyErr_Occurred()) SWIG_fail;
c370783e 4814 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 4815 if (PyErr_Occurred()) SWIG_fail;
c370783e 4816 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16
RD
4817 if (PyErr_Occurred()) SWIG_fail;
4818 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4819 SWIG_POINTER_EXCEPTION | 0)) == -1)
4820 SWIG_fail;
d14a1e28 4821 if (arg7 == NULL) {
2f4c0a16
RD
4822 PyErr_SetString(PyExc_TypeError,"null reference");
4823 SWIG_fail;
d14a1e28
RD
4824 }
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 Py_INCREF(Py_None); resultobj = Py_None;
4833 return resultobj;
4834 fail:
4835 return NULL;
4836}
4837
4838
c370783e 4839static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4840 PyObject *resultobj;
4841 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4842 wxDC *arg2 = 0 ;
4843 int arg3 ;
4844 int arg4 ;
4845 wxHtmlRenderingInfo *arg5 = 0 ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
8edf1c75
RD
4848 PyObject * obj2 = 0 ;
4849 PyObject * obj3 = 0 ;
d14a1e28
RD
4850 PyObject * obj4 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4853 };
4854
8edf1c75 4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4859 SWIG_POINTER_EXCEPTION | 0)) == -1)
4860 SWIG_fail;
d14a1e28 4861 if (arg2 == NULL) {
2f4c0a16
RD
4862 PyErr_SetString(PyExc_TypeError,"null reference");
4863 SWIG_fail;
4864 }
c370783e 4865 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 4866 if (PyErr_Occurred()) SWIG_fail;
c370783e 4867 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16
RD
4868 if (PyErr_Occurred()) SWIG_fail;
4869 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4870 SWIG_POINTER_EXCEPTION | 0)) == -1)
4871 SWIG_fail;
d14a1e28 4872 if (arg5 == NULL) {
2f4c0a16
RD
4873 PyErr_SetString(PyExc_TypeError,"null reference");
4874 SWIG_fail;
d14a1e28
RD
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887}
4888
4889
c370783e 4890static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4891 PyObject *resultobj;
4892 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4893 int arg2 ;
4894 void *arg3 = (void *) 0 ;
4895 wxHtmlCell *result;
4896 PyObject * obj0 = 0 ;
8edf1c75 4897 PyObject * obj1 = 0 ;
d14a1e28
RD
4898 PyObject * obj2 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "condition",(char *) "param", NULL
4901 };
4902
8edf1c75 4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4906 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16
RD
4907 if (PyErr_Occurred()) SWIG_fail;
4908 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
2f4c0a16 4916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4917 return resultobj;
4918 fail:
4919 return NULL;
4920}
4921
4922
c370783e 4923static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4924 PyObject *resultobj;
4925 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4926 int *arg2 = (int *) 0 ;
4927 bool result;
4928 int temp2 ;
c370783e 4929 int res2 = 0 ;
d14a1e28
RD
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "INOUT", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4939 {
c370783e
RD
4940 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
4941 temp2 = SWIG_As_int(obj1);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 arg2 = &temp2;
4944 res2 = SWIG_NEWOBJ;
4945 }
d14a1e28
RD
4946 }
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 result = (bool)(arg1)->AdjustPagebreak(arg2);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
fbc46b20
RD
4954 {
4955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4956 }
c370783e
RD
4957 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4958 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4959 return resultobj;
4960 fail:
4961 return NULL;
4962}
4963
4964
c370783e 4965static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4966 PyObject *resultobj;
4967 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4968 bool arg2 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "can", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 4978 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetCanLiveOnPagebreak(arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991}
4992
4993
c370783e 4994static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4995 PyObject *resultobj;
4996 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4997 bool result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
fbc46b20
RD
5013 {
5014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5015 }
d14a1e28
RD
5016 return resultobj;
5017 fail:
5018 return NULL;
5019}
5020
5021
c370783e 5022static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5023 PyObject *resultobj;
5024 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5025 bool result;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
fbc46b20
RD
5041 {
5042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5043 }
d14a1e28
RD
5044 return resultobj;
5045 fail:
5046 return NULL;
5047}
5048
5049
c370783e 5050static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5051 PyObject *resultobj;
5052 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
5053 int arg2 ;
5054 int arg3 ;
d14a1e28
RD
5055 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
5056 wxHtmlCell *result;
5057 PyObject * obj0 = 0 ;
8edf1c75
RD
5058 PyObject * obj1 = 0 ;
5059 PyObject * obj2 = 0 ;
d14a1e28
RD
5060 PyObject * obj3 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
5063 };
5064
8edf1c75 5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5068 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5069 if (PyErr_Occurred()) SWIG_fail;
c370783e 5070 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 5071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5072 if (obj3) {
c370783e 5073 arg4 = (unsigned int)SWIG_As_unsigned_SS_int(obj3);
2f4c0a16 5074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
2f4c0a16 5083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
c370783e 5090static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5091 PyObject *resultobj;
5092 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5093 wxPoint result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110 wxPoint * resultptr;
5111 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 5112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117}
5118
5119
c370783e 5120static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5121 PyObject *resultobj;
5122 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5123 wxHtmlCell *result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
2f4c0a16 5139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5140 return resultobj;
5141 fail:
5142 return NULL;
5143}
5144
5145
c370783e 5146static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5147 PyObject *resultobj;
5148 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5149 wxHtmlCell *result;
5150 PyObject * obj0 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
2f4c0a16 5165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5166 return resultobj;
5167 fail:
5168 return NULL;
5169}
5170
5171
c370783e 5172static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5173 PyObject *resultobj;
5174 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5175 unsigned int result;
5176 PyObject * obj0 = 0 ;
5177 char *kwnames[] = {
5178 (char *) "self", NULL
5179 };
5180
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
c370783e 5191 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
5192 return resultobj;
5193 fail:
5194 return NULL;
5195}
5196
5197
c370783e 5198static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5199 PyObject *resultobj;
5200 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5201 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5202 bool result;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "cell", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
fbc46b20
RD
5221 {
5222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5223 }
d14a1e28
RD
5224 return resultobj;
5225 fail:
5226 return NULL;
5227}
5228
5229
c370783e 5230static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5231 PyObject *resultobj;
5232 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5233 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5234 wxString result;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "sel", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 {
5254#if wxUSE_UNICODE
5255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5256#else
5257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5258#endif
5259 }
5260 return resultobj;
5261 fail:
5262 return NULL;
5263}
5264
5265
c370783e 5266static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5267 PyObject *obj;
5268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5269 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5270 Py_INCREF(obj);
5271 return Py_BuildValue((char *)"");
5272}
c370783e 5273static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5274 PyObject *resultobj;
5275 wxString *arg1 = 0 ;
5276 wxDC *arg2 = 0 ;
5277 wxHtmlWordCell *result;
b411df4a 5278 bool temp1 = false ;
d14a1e28
RD
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "word",(char *) "dc", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5286 {
5287 arg1 = wxString_in_helper(obj0);
5288 if (arg1 == NULL) SWIG_fail;
b411df4a 5289 temp1 = true;
d14a1e28 5290 }
2f4c0a16
RD
5291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1)
5293 SWIG_fail;
d14a1e28 5294 if (arg2 == NULL) {
2f4c0a16
RD
5295 PyErr_SetString(PyExc_TypeError,"null reference");
5296 SWIG_fail;
d14a1e28
RD
5297 }
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
2f4c0a16 5305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
5306 {
5307 if (temp1)
5308 delete arg1;
5309 }
5310 return resultobj;
5311 fail:
5312 {
5313 if (temp1)
5314 delete arg1;
5315 }
5316 return NULL;
5317}
5318
5319
c370783e 5320static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5321 PyObject *obj;
5322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5324 Py_INCREF(obj);
5325 return Py_BuildValue((char *)"");
5326}
c370783e 5327static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5328 PyObject *resultobj;
5329 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5330 wxHtmlContainerCell *result;
5331 PyObject * obj0 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "parent", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
2f4c0a16 5346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
5347 return resultobj;
5348 fail:
5349 return NULL;
5350}
5351
5352
c370783e 5353static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5354 PyObject *resultobj;
5355 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5356 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self",(char *) "cell", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 (arg1)->InsertCell(arg2);
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 Py_INCREF(Py_None); resultobj = Py_None;
5376 return resultobj;
5377 fail:
5378 return NULL;
5379}
5380
5381
c370783e 5382static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5383 PyObject *resultobj;
5384 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5385 int arg2 ;
5386 PyObject * obj0 = 0 ;
8edf1c75 5387 PyObject * obj1 = 0 ;
d14a1e28
RD
5388 char *kwnames[] = {
5389 (char *) "self",(char *) "al", NULL
5390 };
5391
8edf1c75 5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5395 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 (arg1)->SetAlignHor(arg2);
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 Py_INCREF(Py_None); resultobj = Py_None;
5405 return resultobj;
5406 fail:
5407 return NULL;
5408}
5409
5410
c370783e 5411static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5412 PyObject *resultobj;
5413 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5414 int result;
5415 PyObject * obj0 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "self", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (int)(arg1)->GetAlignHor();
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
c370783e 5430 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5431 return resultobj;
5432 fail:
5433 return NULL;
5434}
5435
5436
c370783e 5437static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5438 PyObject *resultobj;
5439 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5440 int arg2 ;
5441 PyObject * obj0 = 0 ;
8edf1c75 5442 PyObject * obj1 = 0 ;
d14a1e28
RD
5443 char *kwnames[] = {
5444 (char *) "self",(char *) "al", NULL
5445 };
5446
8edf1c75 5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5450 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5451 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->SetAlignVer(arg2);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 Py_INCREF(Py_None); resultobj = Py_None;
5460 return resultobj;
5461 fail:
5462 return NULL;
5463}
5464
5465
c370783e 5466static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5467 PyObject *resultobj;
5468 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5469 int result;
5470 PyObject * obj0 = 0 ;
5471 char *kwnames[] = {
5472 (char *) "self", NULL
5473 };
5474
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (int)(arg1)->GetAlignVer();
5481
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
c370783e 5485 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5486 return resultobj;
5487 fail:
5488 return NULL;
5489}
5490
5491
c370783e 5492static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5493 PyObject *resultobj;
5494 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5495 int arg2 ;
5496 int arg3 ;
5497 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5498 PyObject * obj0 = 0 ;
8edf1c75
RD
5499 PyObject * obj1 = 0 ;
5500 PyObject * obj2 = 0 ;
5501 PyObject * obj3 = 0 ;
d14a1e28
RD
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5504 };
5505
8edf1c75 5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5509 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5510 if (PyErr_Occurred()) SWIG_fail;
c370783e 5511 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 5512 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5513 if (obj3) {
c370783e 5514 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 5515 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5516 }
d14a1e28
RD
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->SetIndent(arg2,arg3,arg4);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528}
5529
5530
c370783e 5531static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5532 PyObject *resultobj;
5533 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5534 int arg2 ;
5535 int result;
5536 PyObject * obj0 = 0 ;
8edf1c75 5537 PyObject * obj1 = 0 ;
d14a1e28
RD
5538 char *kwnames[] = {
5539 (char *) "self",(char *) "ind", NULL
5540 };
5541
8edf1c75 5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5545 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (int)(arg1)->GetIndent(arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
c370783e 5554 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5555 return resultobj;
5556 fail:
5557 return NULL;
5558}
5559
5560
c370783e 5561static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5562 PyObject *resultobj;
5563 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5564 int arg2 ;
5565 int result;
5566 PyObject * obj0 = 0 ;
8edf1c75 5567 PyObject * obj1 = 0 ;
d14a1e28
RD
5568 char *kwnames[] = {
5569 (char *) "self",(char *) "ind", NULL
5570 };
5571
8edf1c75 5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5575 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 result = (int)(arg1)->GetIndentUnits(arg2);
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
c370783e 5584 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5585 return resultobj;
5586 fail:
5587 return NULL;
5588}
5589
5590
c370783e 5591static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5592 PyObject *resultobj;
5593 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5594 wxHtmlTag *arg2 = 0 ;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 char *kwnames[] = {
5598 (char *) "self",(char *) "tag", NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5605 SWIG_POINTER_EXCEPTION | 0)) == -1)
5606 SWIG_fail;
d14a1e28 5607 if (arg2 == NULL) {
2f4c0a16
RD
5608 PyErr_SetString(PyExc_TypeError,"null reference");
5609 SWIG_fail;
d14a1e28
RD
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 Py_INCREF(Py_None); resultobj = Py_None;
5619 return resultobj;
5620 fail:
5621 return NULL;
5622}
5623
5624
c370783e 5625static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5626 PyObject *resultobj;
5627 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5628 int arg2 ;
5629 int arg3 ;
5630 PyObject * obj0 = 0 ;
8edf1c75
RD
5631 PyObject * obj1 = 0 ;
5632 PyObject * obj2 = 0 ;
d14a1e28
RD
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "w",(char *) "units", NULL
5635 };
5636
8edf1c75 5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5640 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5641 if (PyErr_Occurred()) SWIG_fail;
c370783e 5642 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 5643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->SetWidthFloat(arg2,arg3);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 Py_INCREF(Py_None); resultobj = Py_None;
5652 return resultobj;
5653 fail:
5654 return NULL;
5655}
5656
5657
c370783e 5658static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5659 PyObject *resultobj;
5660 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5661 wxHtmlTag *arg2 = 0 ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "tag", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1)
5673 SWIG_fail;
d14a1e28 5674 if (arg2 == NULL) {
2f4c0a16
RD
5675 PyErr_SetString(PyExc_TypeError,"null reference");
5676 SWIG_fail;
d14a1e28
RD
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689}
5690
5691
c370783e 5692static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5693 PyObject *resultobj;
5694 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5695 int arg2 ;
5696 int arg3 = (int) wxHTML_ALIGN_TOP ;
5697 PyObject * obj0 = 0 ;
8edf1c75
RD
5698 PyObject * obj1 = 0 ;
5699 PyObject * obj2 = 0 ;
d14a1e28
RD
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "h",(char *) "align", NULL
5702 };
5703
8edf1c75 5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 5707 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5708 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5709 if (obj2) {
c370783e 5710 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 5711 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5712 }
d14a1e28
RD
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetMinHeight(arg2,arg3);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724}
5725
5726
c370783e 5727static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5728 PyObject *resultobj;
5729 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5730 wxColour *arg2 = 0 ;
5731 wxColour temp2 ;
5732 PyObject * obj0 = 0 ;
5733 PyObject * obj1 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "clr", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5741 {
5742 arg2 = &temp2;
5743 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756}
5757
5758
c370783e 5759static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5760 PyObject *resultobj;
5761 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5762 wxColour result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (arg1)->GetBackgroundColour();
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 {
5779 wxColour * resultptr;
5780 resultptr = new wxColour((wxColour &) result);
2f4c0a16 5781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5782 }
5783 return resultobj;
5784 fail:
5785 return NULL;
5786}
5787
5788
c370783e 5789static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5790 PyObject *resultobj;
5791 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5792 wxColour *arg2 = 0 ;
5793 wxColour *arg3 = 0 ;
5794 wxColour temp2 ;
5795 wxColour temp3 ;
5796 PyObject * obj0 = 0 ;
5797 PyObject * obj1 = 0 ;
5798 PyObject * obj2 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5806 {
5807 arg2 = &temp2;
5808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5809 }
5810 {
5811 arg3 = &temp3;
5812 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5813 }
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 Py_INCREF(Py_None); resultobj = Py_None;
5822 return resultobj;
5823 fail:
5824 return NULL;
5825}
5826
5827
c370783e 5828static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5829 PyObject *resultobj;
5830 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5831 wxHtmlCell *result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
2f4c0a16 5847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
c370783e 5854static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5855 PyObject *obj;
5856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5857 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5858 Py_INCREF(obj);
5859 return Py_BuildValue((char *)"");
5860}
c370783e 5861static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5862 PyObject *resultobj;
5863 wxColour arg1 ;
5864 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5865 wxHtmlColourCell *result;
5866 wxColour *argp1 ;
5867 PyObject * obj0 = 0 ;
8edf1c75 5868 PyObject * obj1 = 0 ;
d14a1e28
RD
5869 char *kwnames[] = {
5870 (char *) "clr",(char *) "flags", NULL
5871 };
5872
8edf1c75 5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5875 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5876 arg1 = *argp1;
8edf1c75 5877 if (obj1) {
c370783e 5878 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5879 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5880 }
d14a1e28
RD
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
2f4c0a16 5888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
5889 return resultobj;
5890 fail:
5891 return NULL;
5892}
5893
5894
c370783e 5895static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5896 PyObject *obj;
5897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5898 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5899 Py_INCREF(obj);
5900 return Py_BuildValue((char *)"");
5901}
c370783e 5902static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5903 PyObject *resultobj;
5904 wxFont *arg1 = (wxFont *) 0 ;
5905 wxHtmlFontCell *result;
5906 PyObject * obj0 = 0 ;
5907 char *kwnames[] = {
5908 (char *) "font", NULL
5909 };
5910
5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
2f4c0a16 5921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
5922 return resultobj;
5923 fail:
5924 return NULL;
5925}
5926
5927
c370783e 5928static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5929 PyObject *obj;
5930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5932 Py_INCREF(obj);
5933 return Py_BuildValue((char *)"");
5934}
c370783e 5935static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5936 PyObject *resultobj;
5937 wxWindow *arg1 = (wxWindow *) 0 ;
5938 int arg2 = (int) 0 ;
5939 wxHtmlWidgetCell *result;
5940 PyObject * obj0 = 0 ;
8edf1c75 5941 PyObject * obj1 = 0 ;
d14a1e28
RD
5942 char *kwnames[] = {
5943 (char *) "wnd",(char *) "w", NULL
5944 };
5945
8edf1c75 5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5949 if (obj1) {
c370783e 5950 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5951 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5952 }
d14a1e28
RD
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
2f4c0a16 5960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
5961 return resultobj;
5962 fail:
5963 return NULL;
5964}
5965
5966
c370783e 5967static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5968 PyObject *obj;
5969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5970 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5971 Py_INCREF(obj);
5972 return Py_BuildValue((char *)"");
5973}
c370783e 5974static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5975 PyObject *resultobj;
5976 wxPyHtmlFilter *result;
5977 char *kwnames[] = {
5978 NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
2f4c0a16 5989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
5990 return resultobj;
5991 fail:
5992 return NULL;
5993}
5994
5995
c370783e 5996static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5997 PyObject *resultobj;
5998 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5999 PyObject *arg2 = (PyObject *) 0 ;
6000 PyObject *arg3 = (PyObject *) 0 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 PyObject * obj2 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self",(char *) "self",(char *) "_class", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6011 arg2 = obj1;
6012 arg3 = obj2;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->_setCallbackInfo(arg2,arg3);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 Py_INCREF(Py_None); resultobj = Py_None;
6021 return resultobj;
6022 fail:
6023 return NULL;
6024}
6025
6026
c370783e 6027static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6028 PyObject *obj;
6029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6030 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
6031 Py_INCREF(obj);
6032 return Py_BuildValue((char *)"");
6033}
c370783e 6034static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6035 PyObject *resultobj;
6036 wxWindow *arg1 = (wxWindow *) 0 ;
6037 int arg2 = (int) -1 ;
6038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6040 wxSize const &arg4_defvalue = wxDefaultSize ;
6041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6042 int arg5 = (int) wxHW_DEFAULT_STYLE ;
6043 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
6044 wxString *arg6 = (wxString *) &arg6_defvalue ;
6045 wxPyHtmlWindow *result;
6046 wxPoint temp3 ;
6047 wxSize temp4 ;
b411df4a 6048 bool temp6 = false ;
d14a1e28 6049 PyObject * obj0 = 0 ;
8edf1c75 6050 PyObject * obj1 = 0 ;
d14a1e28
RD
6051 PyObject * obj2 = 0 ;
6052 PyObject * obj3 = 0 ;
8edf1c75 6053 PyObject * obj4 = 0 ;
d14a1e28
RD
6054 PyObject * obj5 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6057 };
6058
8edf1c75 6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
6060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6062 if (obj1) {
c370783e 6063 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6064 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6065 }
d14a1e28
RD
6066 if (obj2) {
6067 {
6068 arg3 = &temp3;
6069 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6070 }
6071 }
6072 if (obj3) {
6073 {
6074 arg4 = &temp4;
6075 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6076 }
6077 }
8edf1c75 6078 if (obj4) {
c370783e 6079 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 6080 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6081 }
d14a1e28
RD
6082 if (obj5) {
6083 {
6084 arg6 = wxString_in_helper(obj5);
6085 if (arg6 == NULL) SWIG_fail;
b411df4a 6086 temp6 = true;
d14a1e28
RD
6087 }
6088 }
6089 {
0439c23b 6090 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6093
6094 wxPyEndAllowThreads(__tstate);
110da5b0 6095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6096 }
b0f7404b 6097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
6098 {
6099 if (temp6)
6100 delete arg6;
6101 }
6102 return resultobj;
6103 fail:
6104 {
6105 if (temp6)
6106 delete arg6;
6107 }
6108 return NULL;
6109}
6110
6111
c370783e 6112static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6113 PyObject *resultobj;
6114 wxPyHtmlWindow *result;
6115 char *kwnames[] = {
6116 NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
6120 {
0439c23b 6121 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
6124
6125 wxPyEndAllowThreads(__tstate);
110da5b0 6126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6127 }
b0f7404b 6128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
6129 return resultobj;
6130 fail:
6131 return NULL;
6132}
6133
6134
c370783e 6135static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6136 PyObject *resultobj;
6137 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6138 wxWindow *arg2 = (wxWindow *) 0 ;
6139 int arg3 = (int) -1 ;
6140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6142 wxSize const &arg5_defvalue = wxDefaultSize ;
6143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6144 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
6145 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
6146 wxString *arg7 = (wxString *) &arg7_defvalue ;
6147 bool result;
6148 wxPoint temp4 ;
6149 wxSize temp5 ;
b411df4a 6150 bool temp7 = false ;
d14a1e28
RD
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
8edf1c75 6153 PyObject * obj2 = 0 ;
d14a1e28
RD
6154 PyObject * obj3 = 0 ;
6155 PyObject * obj4 = 0 ;
8edf1c75 6156 PyObject * obj5 = 0 ;
d14a1e28
RD
6157 PyObject * obj6 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6160 };
6161
8edf1c75 6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
6163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6167 if (obj2) {
c370783e 6168 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 6169 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6170 }
d14a1e28
RD
6171 if (obj3) {
6172 {
6173 arg4 = &temp4;
6174 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6175 }
6176 }
6177 if (obj4) {
6178 {
6179 arg5 = &temp5;
6180 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6181 }
6182 }
8edf1c75 6183 if (obj5) {
c370783e 6184 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 6185 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6186 }
d14a1e28
RD
6187 if (obj6) {
6188 {
6189 arg7 = wxString_in_helper(obj6);
6190 if (arg7 == NULL) SWIG_fail;
b411df4a 6191 temp7 = true;
d14a1e28
RD
6192 }
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
fbc46b20
RD
6201 {
6202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6203 }
d14a1e28
RD
6204 {
6205 if (temp7)
6206 delete arg7;
6207 }
6208 return resultobj;
6209 fail:
6210 {
6211 if (temp7)
6212 delete arg7;
6213 }
6214 return NULL;
6215}
6216
6217
c370783e 6218static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6219 PyObject *resultobj;
6220 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6221 PyObject *arg2 = (PyObject *) 0 ;
6222 PyObject *arg3 = (PyObject *) 0 ;
6223 PyObject * obj0 = 0 ;
6224 PyObject * obj1 = 0 ;
6225 PyObject * obj2 = 0 ;
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "self",(char *) "_class", NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6233 arg2 = obj1;
6234 arg3 = obj2;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->_setCallbackInfo(arg2,arg3);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 Py_INCREF(Py_None); resultobj = Py_None;
6243 return resultobj;
6244 fail:
6245 return NULL;
6246}
6247
6248
c370783e 6249static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6250 PyObject *resultobj;
6251 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6252 wxString *arg2 = 0 ;
6253 bool result;
b411df4a 6254 bool temp2 = false ;
d14a1e28
RD
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "source", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6264 {
6265 arg2 = wxString_in_helper(obj1);
6266 if (arg2 == NULL) SWIG_fail;
b411df4a 6267 temp2 = true;
d14a1e28
RD
6268 }
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
fbc46b20
RD
6276 {
6277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6278 }
d14a1e28
RD
6279 {
6280 if (temp2)
6281 delete arg2;
6282 }
6283 return resultobj;
6284 fail:
6285 {
6286 if (temp2)
6287 delete arg2;
6288 }
6289 return NULL;
6290}
6291
6292
c370783e 6293static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6294 PyObject *resultobj;
6295 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6296 wxString *arg2 = 0 ;
6297 bool result;
b411df4a 6298 bool temp2 = false ;
d14a1e28
RD
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "location", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6308 {
6309 arg2 = wxString_in_helper(obj1);
6310 if (arg2 == NULL) SWIG_fail;
b411df4a 6311 temp2 = true;
d14a1e28
RD
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
fbc46b20
RD
6320 {
6321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6322 }
d14a1e28
RD
6323 {
6324 if (temp2)
6325 delete arg2;
6326 }
6327 return resultobj;
6328 fail:
6329 {
6330 if (temp2)
6331 delete arg2;
6332 }
6333 return NULL;
6334}
6335
6336
c370783e 6337static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6338 PyObject *resultobj;
6339 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6340 wxString *arg2 = 0 ;
6341 bool result;
b411df4a 6342 bool temp2 = false ;
d14a1e28
RD
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "filename", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6352 {
6353 arg2 = wxString_in_helper(obj1);
6354 if (arg2 == NULL) SWIG_fail;
b411df4a 6355 temp2 = true;
d14a1e28
RD
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
fbc46b20
RD
6364 {
6365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6366 }
d14a1e28
RD
6367 {
6368 if (temp2)
6369 delete arg2;
6370 }
6371 return resultobj;
6372 fail:
6373 {
6374 if (temp2)
6375 delete arg2;
6376 }
6377 return NULL;
6378}
6379
6380
c370783e 6381static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6382 PyObject *resultobj;
6383 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6384 wxString *arg2 = 0 ;
6385 bool result;
b411df4a 6386 bool temp2 = false ;
d14a1e28
RD
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self",(char *) "source", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6396 {
6397 arg2 = wxString_in_helper(obj1);
6398 if (arg2 == NULL) SWIG_fail;
b411df4a 6399 temp2 = true;
d14a1e28
RD
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
fbc46b20
RD
6408 {
6409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6410 }
d14a1e28
RD
6411 {
6412 if (temp2)
6413 delete arg2;
6414 }
6415 return resultobj;
6416 fail:
6417 {
6418 if (temp2)
6419 delete arg2;
6420 }
6421 return NULL;
6422}
6423
6424
c370783e 6425static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6426 PyObject *resultobj;
6427 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6428 wxString result;
6429 PyObject * obj0 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (arg1)->GetOpenedPage();
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 {
6445#if wxUSE_UNICODE
6446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6447#else
6448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6449#endif
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454}
6455
6456
c370783e 6457static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6458 PyObject *resultobj;
6459 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6460 wxString result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 result = (arg1)->GetOpenedAnchor();
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 {
6477#if wxUSE_UNICODE
6478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6479#else
6480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6481#endif
6482 }
6483 return resultobj;
6484 fail:
6485 return NULL;
6486}
6487
6488
c370783e 6489static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6490 PyObject *resultobj;
6491 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6492 wxString result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (arg1)->GetOpenedPageTitle();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 {
6509#if wxUSE_UNICODE
6510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6511#else
6512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6513#endif
6514 }
6515 return resultobj;
6516 fail:
6517 return NULL;
6518}
6519
6520
c370783e 6521static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6522 PyObject *resultobj;
6523 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6524 wxFrame *arg2 = (wxFrame *) 0 ;
6525 wxString *arg3 = 0 ;
b411df4a 6526 bool temp3 = false ;
d14a1e28
RD
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 PyObject * obj2 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self",(char *) "frame",(char *) "format", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6539 {
6540 arg3 = wxString_in_helper(obj2);
6541 if (arg3 == NULL) SWIG_fail;
b411df4a 6542 temp3 = true;
d14a1e28
RD
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 Py_INCREF(Py_None); resultobj = Py_None;
6552 {
6553 if (temp3)
6554 delete arg3;
6555 }
6556 return resultobj;
6557 fail:
6558 {
6559 if (temp3)
6560 delete arg3;
6561 }
6562 return NULL;
6563}
6564
6565
c370783e 6566static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6567 PyObject *resultobj;
6568 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6569 wxFrame *result;
6570 PyObject * obj0 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 result = (wxFrame *)(arg1)->GetRelatedFrame();
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 {
412d302d 6586 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6587 }
6588 return resultobj;
6589 fail:
6590 return NULL;
6591}
6592
6593
c370783e 6594static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6595 PyObject *resultobj;
6596 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6597 int arg2 ;
6598 PyObject * obj0 = 0 ;
8edf1c75 6599 PyObject * obj1 = 0 ;
d14a1e28
RD
6600 char *kwnames[] = {
6601 (char *) "self",(char *) "bar", NULL
6602 };
6603
8edf1c75 6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6607 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetRelatedStatusBar(arg2);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620}
6621
6622
c370783e 6623static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6624 PyObject *resultobj;
6625 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6626 wxString arg2 ;
6627 wxString arg3 ;
6628 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 PyObject * obj2 = 0 ;
6632 PyObject * obj3 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
6640 {
6641 wxString* sptr = wxString_in_helper(obj1);
6642 if (sptr == NULL) SWIG_fail;
6643 arg2 = *sptr;
6644 delete sptr;
6645 }
6646 {
6647 wxString* sptr = wxString_in_helper(obj2);
6648 if (sptr == NULL) SWIG_fail;
6649 arg3 = *sptr;
6650 delete sptr;
6651 }
d14a1e28
RD
6652 if (obj3) {
6653 arg4 = obj3;
6654 }
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 Py_INCREF(Py_None); resultobj = Py_None;
6663 return resultobj;
6664 fail:
6665 return NULL;
6666}
6667
6668
b411df4a 6669static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
6670 PyObject *resultobj;
6671 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6672 int arg2 = (int) -1 ;
b411df4a
RD
6673 wxString const &arg3_defvalue = wxPyEmptyString ;
6674 wxString *arg3 = (wxString *) &arg3_defvalue ;
6675 wxString const &arg4_defvalue = wxPyEmptyString ;
6676 wxString *arg4 = (wxString *) &arg4_defvalue ;
6677 bool temp3 = false ;
6678 bool temp4 = false ;
30ee79f7
RD
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
b411df4a
RD
6681 PyObject * obj2 = 0 ;
6682 PyObject * obj3 = 0 ;
30ee79f7 6683 char *kwnames[] = {
b411df4a 6684 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
6685 };
6686
b411df4a 6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30ee79f7
RD
6688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6690 if (obj1) {
c370783e 6691 arg2 = (int)SWIG_As_int(obj1);
30ee79f7
RD
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
b411df4a
RD
6694 if (obj2) {
6695 {
6696 arg3 = wxString_in_helper(obj2);
6697 if (arg3 == NULL) SWIG_fail;
6698 temp3 = true;
6699 }
6700 }
6701 if (obj3) {
6702 {
6703 arg4 = wxString_in_helper(obj3);
6704 if (arg4 == NULL) SWIG_fail;
6705 temp4 = true;
6706 }
6707 }
30ee79f7
RD
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 6710 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
6716 {
6717 if (temp3)
6718 delete arg3;
6719 }
6720 {
6721 if (temp4)
6722 delete arg4;
6723 }
30ee79f7
RD
6724 return resultobj;
6725 fail:
b411df4a
RD
6726 {
6727 if (temp3)
6728 delete arg3;
6729 }
6730 {
6731 if (temp4)
6732 delete arg4;
6733 }
30ee79f7
RD
6734 return NULL;
6735}
6736
6737
c370783e 6738static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6739 PyObject *resultobj;
6740 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6741 wxString *arg2 = 0 ;
b411df4a 6742 bool temp2 = false ;
d14a1e28
RD
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "self",(char *) "title", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6752 {
6753 arg2 = wxString_in_helper(obj1);
6754 if (arg2 == NULL) SWIG_fail;
b411df4a 6755 temp2 = true;
d14a1e28
RD
6756 }
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->SetTitle((wxString const &)*arg2);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 Py_INCREF(Py_None); resultobj = Py_None;
6765 {
6766 if (temp2)
6767 delete arg2;
6768 }
6769 return resultobj;
6770 fail:
6771 {
6772 if (temp2)
6773 delete arg2;
6774 }
6775 return NULL;
6776}
6777
6778
c370783e 6779static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6780 PyObject *resultobj;
6781 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6782 int arg2 ;
6783 PyObject * obj0 = 0 ;
8edf1c75 6784 PyObject * obj1 = 0 ;
d14a1e28
RD
6785 char *kwnames[] = {
6786 (char *) "self",(char *) "b", NULL
6787 };
6788
8edf1c75 6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 6792 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6793 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 (arg1)->SetBorders(arg2);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 Py_INCREF(Py_None); resultobj = Py_None;
6802 return resultobj;
6803 fail:
6804 return NULL;
6805}
6806
6807
c370783e 6808static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6809 PyObject *resultobj;
6810 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6811 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6812 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 PyObject * obj2 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self",(char *) "cfg",(char *) "path", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6825 if (obj2) {
423f194a
RD
6826 {
6827 wxString* sptr = wxString_in_helper(obj2);
6828 if (sptr == NULL) SWIG_fail;
6829 arg3 = *sptr;
6830 delete sptr;
6831 }
d14a1e28
RD
6832 }
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 (arg1)->ReadCustomization(arg2,arg3);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
c370783e 6847static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6848 PyObject *resultobj;
6849 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6850 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6851 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
6852 PyObject * obj0 = 0 ;
6853 PyObject * obj1 = 0 ;
6854 PyObject * obj2 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "cfg",(char *) "path", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6864 if (obj2) {
423f194a
RD
6865 {
6866 wxString* sptr = wxString_in_helper(obj2);
6867 if (sptr == NULL) SWIG_fail;
6868 arg3 = *sptr;
6869 delete sptr;
6870 }
d14a1e28
RD
6871 }
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 (arg1)->WriteCustomization(arg2,arg3);
6875
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 Py_INCREF(Py_None); resultobj = Py_None;
6880 return resultobj;
6881 fail:
6882 return NULL;
6883}
6884
6885
c370783e 6886static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6887 PyObject *resultobj;
6888 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6889 bool result;
6890 PyObject * obj0 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (bool)(arg1)->HistoryBack();
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
fbc46b20
RD
6905 {
6906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6907 }
d14a1e28
RD
6908 return resultobj;
6909 fail:
6910 return NULL;
6911}
6912
6913
c370783e 6914static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6915 PyObject *resultobj;
6916 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6917 bool result;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (bool)(arg1)->HistoryForward();
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
fbc46b20
RD
6933 {
6934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6935 }
d14a1e28
RD
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
c370783e 6942static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6943 PyObject *resultobj;
6944 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6945 bool result;
6946 PyObject * obj0 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)(arg1)->HistoryCanBack();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
fbc46b20
RD
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
d14a1e28
RD
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
c370783e 6970static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6971 PyObject *resultobj;
6972 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6973 bool result;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = (bool)(arg1)->HistoryCanForward();
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
fbc46b20
RD
6989 {
6990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6991 }
d14a1e28
RD
6992 return resultobj;
6993 fail:
6994 return NULL;
6995}
6996
6997
c370783e 6998static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6999 PyObject *resultobj;
7000 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7001 PyObject * obj0 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "self", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->HistoryClear();
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020}
7021
7022
c370783e 7023static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7024 PyObject *resultobj;
7025 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7026 wxHtmlContainerCell *result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
2f4c0a16 7042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
7043 return resultobj;
7044 fail:
7045 return NULL;
7046}
7047
7048
c370783e 7049static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7050 PyObject *resultobj;
7051 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7052 wxHtmlWinParser *result;
7053 PyObject * obj0 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (wxHtmlWinParser *)(arg1)->GetParser();
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
2f4c0a16 7068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
7069 return resultobj;
7070 fail:
7071 return NULL;
7072}
7073
7074
c370783e 7075static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7076 PyObject *resultobj;
7077 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7078 wxString *arg2 = 0 ;
7079 bool result;
b411df4a 7080 bool temp2 = false ;
d14a1e28
RD
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "anchor", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7090 {
7091 arg2 = wxString_in_helper(obj1);
7092 if (arg2 == NULL) SWIG_fail;
b411df4a 7093 temp2 = true;
d14a1e28
RD
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
fbc46b20
RD
7102 {
7103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7104 }
d14a1e28
RD
7105 {
7106 if (temp2)
7107 delete arg2;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return NULL;
7116}
7117
7118
c370783e 7119static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7120 PyObject *resultobj;
7121 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7122 wxString *arg2 = 0 ;
7123 bool result;
b411df4a 7124 bool temp2 = false ;
d14a1e28
RD
7125 PyObject * obj0 = 0 ;
7126 PyObject * obj1 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "self",(char *) "anchor", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7134 {
7135 arg2 = wxString_in_helper(obj1);
7136 if (arg2 == NULL) SWIG_fail;
b411df4a 7137 temp2 = true;
d14a1e28
RD
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
fbc46b20
RD
7146 {
7147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7148 }
d14a1e28
RD
7149 {
7150 if (temp2)
7151 delete arg2;
7152 }
7153 return resultobj;
7154 fail:
7155 {
7156 if (temp2)
7157 delete arg2;
7158 }
7159 return NULL;
7160}
7161
7162
c370783e 7163static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7164 PyObject *resultobj;
7165 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "filter", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 wxPyHtmlWindow::AddFilter(arg1);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185}
7186
7187
c370783e 7188static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
7189 PyObject *resultobj;
7190 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7191 wxPoint *arg2 = 0 ;
7192 wxPoint temp2 ;
7193 PyObject * obj0 = 0 ;
7194 PyObject * obj1 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "pos", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
7202 {
7203 arg2 = &temp2;
7204 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7205 }
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 (arg1)->SelectWord((wxPoint const &)*arg2);
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 Py_INCREF(Py_None); resultobj = Py_None;
7214 return resultobj;
7215 fail:
7216 return NULL;
7217}
7218
7219
c370783e 7220static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
7221 PyObject *resultobj;
7222 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7223 wxPoint *arg2 = 0 ;
7224 wxPoint temp2 ;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self",(char *) "pos", NULL
7229 };
7230
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
7234 {
7235 arg2 = &temp2;
7236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7237 }
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 (arg1)->SelectLine((wxPoint const &)*arg2);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 Py_INCREF(Py_None); resultobj = Py_None;
7246 return resultobj;
7247 fail:
7248 return NULL;
7249}
7250
7251
c370783e 7252static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
7253 PyObject *resultobj;
7254 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7255 PyObject * obj0 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 (arg1)->SelectAll();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 Py_INCREF(Py_None); resultobj = Py_None;
7271 return resultobj;
7272 fail:
7273 return NULL;
7274}
7275
7276
c370783e 7277static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
7278 PyObject *resultobj;
7279 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7280 wxString result;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (arg1)->SelectionToText();
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 {
7297#if wxUSE_UNICODE
7298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7299#else
7300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7301#endif
7302 }
7303 return resultobj;
7304 fail:
7305 return NULL;
7306}
7307
7308
c370783e 7309static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
7310 PyObject *resultobj;
7311 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7312 wxString result;
7313 PyObject * obj0 = 0 ;
7314 char *kwnames[] = {
7315 (char *) "self", NULL
7316 };
7317
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
7319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (arg1)->ToText();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 {
7329#if wxUSE_UNICODE
7330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7331#else
7332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7333#endif
7334 }
7335 return resultobj;
7336 fail:
7337 return NULL;
7338}
7339
7340
c370783e 7341static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7342 PyObject *resultobj;
7343 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7344 wxHtmlLinkInfo *arg2 = 0 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "link", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
7355 SWIG_POINTER_EXCEPTION | 0)) == -1)
7356 SWIG_fail;
d14a1e28 7357 if (arg2 == NULL) {
2f4c0a16
RD
7358 PyErr_SetString(PyExc_TypeError,"null reference");
7359 SWIG_fail;
d14a1e28
RD
7360 }
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 Py_INCREF(Py_None); resultobj = Py_None;
7369 return resultobj;
7370 fail:
7371 return NULL;
7372}
7373
7374
c370783e 7375static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7376 PyObject *resultobj;
7377 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7378 wxString *arg2 = 0 ;
b411df4a 7379 bool temp2 = false ;
d14a1e28
RD
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self",(char *) "title", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7389 {
7390 arg2 = wxString_in_helper(obj1);
7391 if (arg2 == NULL) SWIG_fail;
b411df4a 7392 temp2 = true;
d14a1e28
RD
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 {
7403 if (temp2)
7404 delete arg2;
7405 }
7406 return resultobj;
7407 fail:
7408 {
7409 if (temp2)
7410 delete arg2;
7411 }
7412 return NULL;
7413}
7414
7415
c370783e 7416static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7417 PyObject *resultobj;
7418 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7419 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
7420 int arg3 ;
7421 int arg4 ;
d14a1e28
RD
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
8edf1c75
RD
7424 PyObject * obj2 = 0 ;
7425 PyObject * obj3 = 0 ;
d14a1e28
RD
7426 char *kwnames[] = {
7427 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7428 };
7429
8edf1c75 7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7435 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7436 if (PyErr_Occurred()) SWIG_fail;
c370783e 7437 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 7438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 Py_INCREF(Py_None); resultobj = Py_None;
7447 return resultobj;
7448 fail:
7449 return NULL;
7450}
7451
7452
c370783e 7453static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7454 PyObject *resultobj;
7455 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7456 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
7457 int arg3 ;
7458 int arg4 ;
d14a1e28
RD
7459 wxMouseEvent *arg5 = 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
8edf1c75
RD
7462 PyObject * obj2 = 0 ;
7463 PyObject * obj3 = 0 ;
d14a1e28
RD
7464 PyObject * obj4 = 0 ;
7465 char *kwnames[] = {
7466 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7467 };
7468
8edf1c75 7469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7474 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7475 if (PyErr_Occurred()) SWIG_fail;
c370783e 7476 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16
RD
7477 if (PyErr_Occurred()) SWIG_fail;
7478 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1)
7480 SWIG_fail;
d14a1e28 7481 if (arg5 == NULL) {
2f4c0a16
RD
7482 PyErr_SetString(PyExc_TypeError,"null reference");
7483 SWIG_fail;
d14a1e28
RD
7484 }
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 Py_INCREF(Py_None); resultobj = Py_None;
7493 return resultobj;
7494 fail:
7495 return NULL;
7496}
7497
7498
c370783e 7499static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
7500 PyObject *resultobj;
7501 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
7502 wxVisualAttributes result;
7503 PyObject * obj0 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "variant", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7509 if (obj0) {
c370783e 7510 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 {
0439c23b 7514 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
7517
7518 wxPyEndAllowThreads(__tstate);
110da5b0 7519 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7520 }
7521 {
7522 wxVisualAttributes * resultptr;
7523 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
7524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7525 }
7526 return resultobj;
7527 fail:
7528 return NULL;
7529}
7530
7531
c370783e 7532static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7533 PyObject *obj;
7534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7536 Py_INCREF(obj);
7537 return Py_BuildValue((char *)"");
7538}
c370783e 7539static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7540 PyObject *resultobj;
7541 wxHtmlDCRenderer *result;
7542 char *kwnames[] = {
7543 NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7547 {
0439c23b 7548 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7551
7552 wxPyEndAllowThreads(__tstate);
110da5b0 7553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7554 }
2f4c0a16 7555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
7556 return resultobj;
7557 fail:
7558 return NULL;
7559}
7560
7561
c370783e 7562static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7563 PyObject *resultobj;
7564 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 delete arg1;
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584}
7585
7586
c370783e 7587static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7588 PyObject *resultobj;
7589 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7590 wxDC *arg2 = (wxDC *) 0 ;
7591 int arg3 ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
8edf1c75 7594 PyObject * obj2 = 0 ;
d14a1e28
RD
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7597 };
7598
8edf1c75 7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7604 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 (arg1)->SetDC(arg2,arg3);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 Py_INCREF(Py_None); resultobj = Py_None;
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
c370783e 7620static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7621 PyObject *resultobj;
7622 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7623 int arg2 ;
7624 int arg3 ;
7625 PyObject * obj0 = 0 ;
8edf1c75
RD
7626 PyObject * obj1 = 0 ;
7627 PyObject * obj2 = 0 ;
d14a1e28
RD
7628 char *kwnames[] = {
7629 (char *) "self",(char *) "width",(char *) "height", NULL
7630 };
7631
8edf1c75 7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7635 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7636 if (PyErr_Occurred()) SWIG_fail;
c370783e 7637 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 (arg1)->SetSize(arg2,arg3);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 Py_INCREF(Py_None); resultobj = Py_None;
7647 return resultobj;
7648 fail:
7649 return NULL;
7650}
7651
7652
c370783e 7653static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7654 PyObject *resultobj;
7655 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7656 wxString *arg2 = 0 ;
7657 wxString const &arg3_defvalue = wxPyEmptyString ;
7658 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
7659 bool arg4 = (bool) true ;
7660 bool temp2 = false ;
7661 bool temp3 = false ;
d14a1e28
RD
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 PyObject * obj2 = 0 ;
7665 PyObject * obj3 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7673 {
7674 arg2 = wxString_in_helper(obj1);
7675 if (arg2 == NULL) SWIG_fail;
b411df4a 7676 temp2 = true;
d14a1e28
RD
7677 }
7678 if (obj2) {
7679 {
7680 arg3 = wxString_in_helper(obj2);
7681 if (arg3 == NULL) SWIG_fail;
b411df4a 7682 temp3 = true;
d14a1e28
RD
7683 }
7684 }
7685 if (obj3) {
c370783e 7686 arg4 = (bool)SWIG_As_bool(obj3);
2f4c0a16 7687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7688 }
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 Py_INCREF(Py_None); resultobj = Py_None;
7697 {
7698 if (temp2)
7699 delete arg2;
7700 }
7701 {
7702 if (temp3)
7703 delete arg3;
7704 }
7705 return resultobj;
7706 fail:
7707 {
7708 if (temp2)
7709 delete arg2;
7710 }
7711 {
7712 if (temp3)
7713 delete arg3;
7714 }
7715 return NULL;
7716}
7717
7718
c370783e 7719static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7720 PyObject *resultobj;
7721 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7722 wxString arg2 ;
7723 wxString arg3 ;
7724 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 PyObject * obj2 = 0 ;
7728 PyObject * obj3 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
7736 {
7737 wxString* sptr = wxString_in_helper(obj1);
7738 if (sptr == NULL) SWIG_fail;
7739 arg2 = *sptr;
7740 delete sptr;
7741 }
7742 {
7743 wxString* sptr = wxString_in_helper(obj2);
7744 if (sptr == NULL) SWIG_fail;
7745 arg3 = *sptr;
7746 delete sptr;
7747 }
d14a1e28
RD
7748 if (obj3) {
7749 arg4 = obj3;
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762}
7763
7764
b411df4a 7765static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
7766 PyObject *resultobj;
7767 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7768 int arg2 = (int) -1 ;
b411df4a
RD
7769 wxString const &arg3_defvalue = wxPyEmptyString ;
7770 wxString *arg3 = (wxString *) &arg3_defvalue ;
7771 wxString const &arg4_defvalue = wxPyEmptyString ;
7772 wxString *arg4 = (wxString *) &arg4_defvalue ;
7773 bool temp3 = false ;
7774 bool temp4 = false ;
30ee79f7
RD
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
b411df4a
RD
7777 PyObject * obj2 = 0 ;
7778 PyObject * obj3 = 0 ;
30ee79f7 7779 char *kwnames[] = {
b411df4a 7780 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
7781 };
7782
b411df4a 7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30ee79f7
RD
7784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7786 if (obj1) {
c370783e 7787 arg2 = (int)SWIG_As_int(obj1);
30ee79f7
RD
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
b411df4a
RD
7790 if (obj2) {
7791 {
7792 arg3 = wxString_in_helper(obj2);
7793 if (arg3 == NULL) SWIG_fail;
7794 temp3 = true;
7795 }
7796 }
7797 if (obj3) {
7798 {
7799 arg4 = wxString_in_helper(obj3);
7800 if (arg4 == NULL) SWIG_fail;
7801 temp4 = true;
7802 }
7803 }
30ee79f7
RD
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 7806 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
7812 {
7813 if (temp3)
7814 delete arg3;
7815 }
7816 {
7817 if (temp4)
7818 delete arg4;
7819 }
30ee79f7
RD
7820 return resultobj;
7821 fail:
b411df4a
RD
7822 {
7823 if (temp3)
7824 delete arg3;
7825 }
7826 {
7827 if (temp4)
7828 delete arg4;
7829 }
30ee79f7
RD
7830 return NULL;
7831}
7832
7833
c370783e 7834static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7835 PyObject *resultobj;
7836 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7837 int arg2 ;
7838 int arg3 ;
7839 int arg4 = (int) 0 ;
b411df4a 7840 int arg5 = (int) false ;
d14a1e28
RD
7841 int arg6 = (int) INT_MAX ;
7842 int *arg7 = (int *) NULL ;
7843 int arg8 = (int) 0 ;
7844 int result;
7845 PyObject * obj0 = 0 ;
8edf1c75
RD
7846 PyObject * obj1 = 0 ;
7847 PyObject * obj2 = 0 ;
7848 PyObject * obj3 = 0 ;
7849 PyObject * obj4 = 0 ;
7850 PyObject * obj5 = 0 ;
d14a1e28 7851 PyObject * obj6 = 0 ;
8edf1c75 7852 PyObject * obj7 = 0 ;
d14a1e28
RD
7853 char *kwnames[] = {
7854 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7855 };
7856
8edf1c75 7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
7858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 7860 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7861 if (PyErr_Occurred()) SWIG_fail;
c370783e 7862 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7863 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7864 if (obj3) {
c370783e 7865 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 7866 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7867 }
7868 if (obj4) {
c370783e 7869 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 7870 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7871 }
7872 if (obj5) {
c370783e 7873 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 7874 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7875 }
d14a1e28 7876 if (obj6) {
2f4c0a16
RD
7877 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7879 }
8edf1c75 7880 if (obj7) {
c370783e 7881 arg8 = (int)SWIG_As_int(obj7);
2f4c0a16 7882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7883 }
d14a1e28
RD
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
c370783e 7891 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7892 return resultobj;
7893 fail:
7894 return NULL;
7895}
7896
7897
c370783e 7898static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7899 PyObject *resultobj;
7900 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7901 int result;
7902 PyObject * obj0 = 0 ;
7903 char *kwnames[] = {
7904 (char *) "self", NULL
7905 };
7906
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (int)(arg1)->GetTotalHeight();
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
c370783e 7917 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7918 return resultobj;
7919 fail:
7920 return NULL;
7921}
7922
7923
c370783e 7924static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7925 PyObject *obj;
7926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7927 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7928 Py_INCREF(obj);
7929 return Py_BuildValue((char *)"");
7930}
c370783e 7931static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7932 PyObject *resultobj;
7933 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7934 wxString *arg1 = (wxString *) &arg1_defvalue ;
7935 wxHtmlPrintout *result;
b411df4a 7936 bool temp1 = false ;
d14a1e28
RD
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "title", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7943 if (obj0) {
7944 {
7945 arg1 = wxString_in_helper(obj0);
7946 if (arg1 == NULL) SWIG_fail;
b411df4a 7947 temp1 = true;
d14a1e28
RD
7948 }
7949 }
7950 {
0439c23b 7951 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7954
7955 wxPyEndAllowThreads(__tstate);
110da5b0 7956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7957 }
2f4c0a16 7958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
7959 {
7960 if (temp1)
7961 delete arg1;
7962 }
7963 return resultobj;
7964 fail:
7965 {
7966 if (temp1)
7967 delete arg1;
7968 }
7969 return NULL;
7970}
7971
7972
c370783e 7973static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7974 PyObject *resultobj;
7975 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7976 wxString *arg2 = 0 ;
7977 wxString const &arg3_defvalue = wxPyEmptyString ;
7978 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
7979 bool arg4 = (bool) true ;
7980 bool temp2 = false ;
7981 bool temp3 = false ;
d14a1e28
RD
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 PyObject * obj2 = 0 ;
7985 PyObject * obj3 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7993 {
7994 arg2 = wxString_in_helper(obj1);
7995 if (arg2 == NULL) SWIG_fail;
b411df4a 7996 temp2 = true;
d14a1e28
RD
7997 }
7998 if (obj2) {
7999 {
8000 arg3 = wxString_in_helper(obj2);
8001 if (arg3 == NULL) SWIG_fail;
b411df4a 8002 temp3 = true;
d14a1e28
RD
8003 }
8004 }
8005 if (obj3) {
c370783e 8006 arg4 = (bool)SWIG_As_bool(obj3);
2f4c0a16 8007 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8008 }
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 Py_INCREF(Py_None); resultobj = Py_None;
8017 {
8018 if (temp2)
8019 delete arg2;
8020 }
8021 {
8022 if (temp3)
8023 delete arg3;
8024 }
8025 return resultobj;
8026 fail:
8027 {
8028 if (temp2)
8029 delete arg2;
8030 }
8031 {
8032 if (temp3)
8033 delete arg3;
8034 }
8035 return NULL;
8036}
8037
8038
c370783e 8039static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8040 PyObject *resultobj;
8041 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8042 wxString *arg2 = 0 ;
b411df4a 8043 bool temp2 = false ;
d14a1e28
RD
8044 PyObject * obj0 = 0 ;
8045 PyObject * obj1 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "htmlfile", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8053 {
8054 arg2 = wxString_in_helper(obj1);
8055 if (arg2 == NULL) SWIG_fail;
b411df4a 8056 temp2 = true;
d14a1e28
RD
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->SetHtmlFile((wxString const &)*arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 {
8067 if (temp2)
8068 delete arg2;
8069 }
8070 return resultobj;
8071 fail:
8072 {
8073 if (temp2)
8074 delete arg2;
8075 }
8076 return NULL;
8077}
8078
8079
c370783e 8080static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8081 PyObject *resultobj;
8082 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8083 wxString *arg2 = 0 ;
8084 int arg3 = (int) wxPAGE_ALL ;
b411df4a 8085 bool temp2 = false ;
d14a1e28
RD
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8edf1c75 8088 PyObject * obj2 = 0 ;
d14a1e28
RD
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "header",(char *) "pg", NULL
8091 };
8092
8edf1c75 8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8096 {
8097 arg2 = wxString_in_helper(obj1);
8098 if (arg2 == NULL) SWIG_fail;
b411df4a 8099 temp2 = true;
d14a1e28 8100 }
8edf1c75 8101 if (obj2) {
c370783e 8102 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 8103 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8104 }
d14a1e28
RD
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 {
8114 if (temp2)
8115 delete arg2;
8116 }
8117 return resultobj;
8118 fail:
8119 {
8120 if (temp2)
8121 delete arg2;
8122 }
8123 return NULL;
8124}
8125
8126
c370783e 8127static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8128 PyObject *resultobj;
8129 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8130 wxString *arg2 = 0 ;
8131 int arg3 = (int) wxPAGE_ALL ;
b411df4a 8132 bool temp2 = false ;
d14a1e28
RD
8133 PyObject * obj0 = 0 ;
8134 PyObject * obj1 = 0 ;
8edf1c75 8135 PyObject * obj2 = 0 ;
d14a1e28
RD
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "footer",(char *) "pg", NULL
8138 };
8139
8edf1c75 8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8143 {
8144 arg2 = wxString_in_helper(obj1);
8145 if (arg2 == NULL) SWIG_fail;
b411df4a 8146 temp2 = true;
d14a1e28 8147 }
8edf1c75 8148 if (obj2) {
c370783e 8149 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 8150 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8151 }
d14a1e28
RD
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 Py_INCREF(Py_None); resultobj = Py_None;
8160 {
8161 if (temp2)
8162 delete arg2;
8163 }
8164 return resultobj;
8165 fail:
8166 {
8167 if (temp2)
8168 delete arg2;
8169 }
8170 return NULL;
8171}
8172
8173
c370783e 8174static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8175 PyObject *resultobj;
8176 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8177 wxString arg2 ;
8178 wxString arg3 ;
8179 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8180 PyObject * obj0 = 0 ;
8181 PyObject * obj1 = 0 ;
8182 PyObject * obj2 = 0 ;
8183 PyObject * obj3 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
8191 {
8192 wxString* sptr = wxString_in_helper(obj1);
8193 if (sptr == NULL) SWIG_fail;
8194 arg2 = *sptr;
8195 delete sptr;
8196 }
8197 {
8198 wxString* sptr = wxString_in_helper(obj2);
8199 if (sptr == NULL) SWIG_fail;
8200 arg3 = *sptr;
8201 delete sptr;
8202 }
d14a1e28
RD
8203 if (obj3) {
8204 arg4 = obj3;
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 Py_INCREF(Py_None); resultobj = Py_None;
8214 return resultobj;
8215 fail:
8216 return NULL;
8217}
8218
8219
b411df4a 8220static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
8221 PyObject *resultobj;
8222 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8223 int arg2 = (int) -1 ;
b411df4a
RD
8224 wxString const &arg3_defvalue = wxPyEmptyString ;
8225 wxString *arg3 = (wxString *) &arg3_defvalue ;
8226 wxString const &arg4_defvalue = wxPyEmptyString ;
8227 wxString *arg4 = (wxString *) &arg4_defvalue ;
8228 bool temp3 = false ;
8229 bool temp4 = false ;
30ee79f7
RD
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
b411df4a
RD
8232 PyObject * obj2 = 0 ;
8233 PyObject * obj3 = 0 ;
30ee79f7 8234 char *kwnames[] = {
b411df4a 8235 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
8236 };
8237
b411df4a 8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30ee79f7
RD
8239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8241 if (obj1) {
c370783e 8242 arg2 = (int)SWIG_As_int(obj1);
30ee79f7
RD
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
b411df4a
RD
8245 if (obj2) {
8246 {
8247 arg3 = wxString_in_helper(obj2);
8248 if (arg3 == NULL) SWIG_fail;
8249 temp3 = true;
8250 }
8251 }
8252 if (obj3) {
8253 {
8254 arg4 = wxString_in_helper(obj3);
8255 if (arg4 == NULL) SWIG_fail;
8256 temp4 = true;
8257 }
8258 }
30ee79f7
RD
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 8261 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
8267 {
8268 if (temp3)
8269 delete arg3;
8270 }
8271 {
8272 if (temp4)
8273 delete arg4;
8274 }
30ee79f7
RD
8275 return resultobj;
8276 fail:
b411df4a
RD
8277 {
8278 if (temp3)
8279 delete arg3;
8280 }
8281 {
8282 if (temp4)
8283 delete arg4;
8284 }
30ee79f7
RD
8285 return NULL;
8286}
8287
8288
c370783e 8289static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8290 PyObject *resultobj;
8291 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
8292 float arg2 = (float) 25.2 ;
8293 float arg3 = (float) 25.2 ;
8294 float arg4 = (float) 25.2 ;
8295 float arg5 = (float) 25.2 ;
8296 float arg6 = (float) 5 ;
8297 PyObject * obj0 = 0 ;
8edf1c75
RD
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj2 = 0 ;
8300 PyObject * obj3 = 0 ;
8301 PyObject * obj4 = 0 ;
8302 PyObject * obj5 = 0 ;
d14a1e28
RD
8303 char *kwnames[] = {
8304 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
8305 };
8306
8edf1c75 8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
8309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8310 if (obj1) {
c370783e 8311 arg2 = (float)SWIG_As_float(obj1);
2f4c0a16 8312 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8313 }
8314 if (obj2) {
c370783e 8315 arg3 = (float)SWIG_As_float(obj2);
2f4c0a16 8316 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8317 }
8318 if (obj3) {
c370783e 8319 arg4 = (float)SWIG_As_float(obj3);
2f4c0a16 8320 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8321 }
8322 if (obj4) {
c370783e 8323 arg5 = (float)SWIG_As_float(obj4);
2f4c0a16 8324 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8325 }
8326 if (obj5) {
c370783e 8327 arg6 = (float)SWIG_As_float(obj5);
2f4c0a16 8328 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8329 }
d14a1e28
RD
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 Py_INCREF(Py_None); resultobj = Py_None;
8338 return resultobj;
8339 fail:
8340 return NULL;
8341}
8342
8343
c370783e 8344static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8345 PyObject *resultobj;
8346 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "filter", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
8354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 wxHtmlPrintout::AddFilter(arg1);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 Py_INCREF(Py_None); resultobj = Py_None;
8363 return resultobj;
8364 fail:
8365 return NULL;
8366}
8367
8368
c370783e 8369static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8370 PyObject *resultobj;
8371 char *kwnames[] = {
8372 NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 wxHtmlPrintout::CleanUpStatics();
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 Py_INCREF(Py_None); resultobj = Py_None;
8384 return resultobj;
8385 fail:
8386 return NULL;
8387}
8388
8389
c370783e 8390static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8391 PyObject *obj;
8392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8393 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
8394 Py_INCREF(obj);
8395 return Py_BuildValue((char *)"");
8396}
c370783e 8397static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8398 PyObject *resultobj;
8399 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
8400 wxString *arg1 = (wxString *) &arg1_defvalue ;
8401 wxWindow *arg2 = (wxWindow *) NULL ;
8402 wxHtmlEasyPrinting *result;
b411df4a 8403 bool temp1 = false ;
d14a1e28
RD
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "name",(char *) "parentWindow", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
8411 if (obj0) {
8412 {
8413 arg1 = wxString_in_helper(obj0);
8414 if (arg1 == NULL) SWIG_fail;
b411df4a 8415 temp1 = true;
d14a1e28
RD
8416 }
8417 }
8418 if (obj1) {
2f4c0a16
RD
8419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8421 }
8422 {
0439c23b 8423 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
8426
8427 wxPyEndAllowThreads(__tstate);
110da5b0 8428 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8429 }
2f4c0a16 8430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
8431 {
8432 if (temp1)
8433 delete arg1;
8434 }
8435 return resultobj;
8436 fail:
8437 {
8438 if (temp1)
8439 delete arg1;
8440 }
8441 return NULL;
8442}
8443
8444
c370783e 8445static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8446 PyObject *resultobj;
8447 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8448 PyObject * obj0 = 0 ;
8449 char *kwnames[] = {
8450 (char *) "self", NULL
8451 };
8452
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 delete arg1;
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 Py_INCREF(Py_None); resultobj = Py_None;
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
c370783e 8470static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8471 PyObject *resultobj;
8472 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8473 wxString *arg2 = 0 ;
b411df4a 8474 bool temp2 = false ;
d14a1e28
RD
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "htmlfile", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8484 {
8485 arg2 = wxString_in_helper(obj1);
8486 if (arg2 == NULL) SWIG_fail;
b411df4a 8487 temp2 = true;
d14a1e28
RD
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 (arg1)->PreviewFile((wxString const &)*arg2);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 Py_INCREF(Py_None); resultobj = Py_None;
8497 {
8498 if (temp2)
8499 delete arg2;
8500 }
8501 return resultobj;
8502 fail:
8503 {
8504 if (temp2)
8505 delete arg2;
8506 }
8507 return NULL;
8508}
8509
8510
c370783e 8511static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8512 PyObject *resultobj;
8513 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8514 wxString *arg2 = 0 ;
8515 wxString const &arg3_defvalue = wxPyEmptyString ;
8516 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
8517 bool temp2 = false ;
8518 bool temp3 = false ;
d14a1e28
RD
8519 PyObject * obj0 = 0 ;
8520 PyObject * obj1 = 0 ;
8521 PyObject * obj2 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8529 {
8530 arg2 = wxString_in_helper(obj1);
8531 if (arg2 == NULL) SWIG_fail;
b411df4a 8532 temp2 = true;
d14a1e28
RD
8533 }
8534 if (obj2) {
8535 {
8536 arg3 = wxString_in_helper(obj2);
8537 if (arg3 == NULL) SWIG_fail;
b411df4a 8538 temp3 = true;
d14a1e28
RD
8539 }
8540 }
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8544
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 Py_INCREF(Py_None); resultobj = Py_None;
8549 {
8550 if (temp2)
8551 delete arg2;
8552 }
8553 {
8554 if (temp3)
8555 delete arg3;
8556 }
8557 return resultobj;
8558 fail:
8559 {
8560 if (temp2)
8561 delete arg2;
8562 }
8563 {
8564 if (temp3)
8565 delete arg3;
8566 }
8567 return NULL;
8568}
8569
8570
c370783e 8571static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8572 PyObject *resultobj;
8573 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8574 wxString *arg2 = 0 ;
b411df4a 8575 bool temp2 = false ;
d14a1e28
RD
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "self",(char *) "htmlfile", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8585 {
8586 arg2 = wxString_in_helper(obj1);
8587 if (arg2 == NULL) SWIG_fail;
b411df4a 8588 temp2 = true;
d14a1e28
RD
8589 }
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 (arg1)->PrintFile((wxString const &)*arg2);
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 Py_INCREF(Py_None); resultobj = Py_None;
8598 {
8599 if (temp2)
8600 delete arg2;
8601 }
8602 return resultobj;
8603 fail:
8604 {
8605 if (temp2)
8606 delete arg2;
8607 }
8608 return NULL;
8609}
8610
8611
c370783e 8612static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8613 PyObject *resultobj;
8614 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8615 wxString *arg2 = 0 ;
8616 wxString const &arg3_defvalue = wxPyEmptyString ;
8617 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
8618 bool temp2 = false ;
8619 bool temp3 = false ;
d14a1e28
RD
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
8622 PyObject * obj2 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8630 {
8631 arg2 = wxString_in_helper(obj1);
8632 if (arg2 == NULL) SWIG_fail;
b411df4a 8633 temp2 = true;
d14a1e28
RD
8634 }
8635 if (obj2) {
8636 {
8637 arg3 = wxString_in_helper(obj2);
8638 if (arg3 == NULL) SWIG_fail;
b411df4a 8639 temp3 = true;
d14a1e28
RD
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 {
8651 if (temp2)
8652 delete arg2;
8653 }
8654 {
8655 if (temp3)
8656 delete arg3;
8657 }
8658 return resultobj;
8659 fail:
8660 {
8661 if (temp2)
8662 delete arg2;
8663 }
8664 {
8665 if (temp3)
8666 delete arg3;
8667 }
8668 return NULL;
8669}
8670
8671
c370783e 8672static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8673 PyObject *resultobj;
8674 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->PrinterSetup();
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694}
8695
8696
c370783e 8697static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8698 PyObject *resultobj;
8699 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 (arg1)->PageSetup();
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 Py_INCREF(Py_None); resultobj = Py_None;
8716 return resultobj;
8717 fail:
8718 return NULL;
8719}
8720
8721
c370783e 8722static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8723 PyObject *resultobj;
8724 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8725 wxString *arg2 = 0 ;
8726 int arg3 = (int) wxPAGE_ALL ;
b411df4a 8727 bool temp2 = false ;
d14a1e28
RD
8728 PyObject * obj0 = 0 ;
8729 PyObject * obj1 = 0 ;
8edf1c75 8730 PyObject * obj2 = 0 ;
d14a1e28
RD
8731 char *kwnames[] = {
8732 (char *) "self",(char *) "header",(char *) "pg", NULL
8733 };
8734
8edf1c75 8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8738 {
8739 arg2 = wxString_in_helper(obj1);
8740 if (arg2 == NULL) SWIG_fail;
b411df4a 8741 temp2 = true;
d14a1e28 8742 }
8edf1c75 8743 if (obj2) {
c370783e 8744 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 8745 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8746 }
d14a1e28
RD
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 Py_INCREF(Py_None); resultobj = Py_None;
8755 {
8756 if (temp2)
8757 delete arg2;
8758 }
8759 return resultobj;
8760 fail:
8761 {
8762 if (temp2)
8763 delete arg2;
8764 }
8765 return NULL;
8766}
8767
8768
c370783e 8769static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8770 PyObject *resultobj;
8771 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8772 wxString *arg2 = 0 ;
8773 int arg3 = (int) wxPAGE_ALL ;
b411df4a 8774 bool temp2 = false ;
d14a1e28
RD
8775 PyObject * obj0 = 0 ;
8776 PyObject * obj1 = 0 ;
8edf1c75 8777 PyObject * obj2 = 0 ;
d14a1e28
RD
8778 char *kwnames[] = {
8779 (char *) "self",(char *) "footer",(char *) "pg", NULL
8780 };
8781
8edf1c75 8782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8785 {
8786 arg2 = wxString_in_helper(obj1);
8787 if (arg2 == NULL) SWIG_fail;
b411df4a 8788 temp2 = true;
d14a1e28 8789 }
8edf1c75 8790 if (obj2) {
c370783e 8791 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 8792 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8793 }
d14a1e28
RD
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 {
8803 if (temp2)
8804 delete arg2;
8805 }
8806 return resultobj;
8807 fail:
8808 {
8809 if (temp2)
8810 delete arg2;
8811 }
8812 return NULL;
8813}
8814
8815
c370783e 8816static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8817 PyObject *resultobj;
8818 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8819 wxString arg2 ;
8820 wxString arg3 ;
8821 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 PyObject * obj2 = 0 ;
8825 PyObject * obj3 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
8833 {
8834 wxString* sptr = wxString_in_helper(obj1);
8835 if (sptr == NULL) SWIG_fail;
8836 arg2 = *sptr;
8837 delete sptr;
8838 }
8839 {
8840 wxString* sptr = wxString_in_helper(obj2);
8841 if (sptr == NULL) SWIG_fail;
8842 arg3 = *sptr;
8843 delete sptr;
8844 }
d14a1e28
RD
8845 if (obj3) {
8846 arg4 = obj3;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859}
8860
8861
b411df4a 8862static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
8863 PyObject *resultobj;
8864 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8865 int arg2 = (int) -1 ;
b411df4a
RD
8866 wxString const &arg3_defvalue = wxPyEmptyString ;
8867 wxString *arg3 = (wxString *) &arg3_defvalue ;
8868 wxString const &arg4_defvalue = wxPyEmptyString ;
8869 wxString *arg4 = (wxString *) &arg4_defvalue ;
8870 bool temp3 = false ;
8871 bool temp4 = false ;
30ee79f7
RD
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
b411df4a
RD
8874 PyObject * obj2 = 0 ;
8875 PyObject * obj3 = 0 ;
30ee79f7 8876 char *kwnames[] = {
b411df4a 8877 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
8878 };
8879
b411df4a 8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30ee79f7
RD
8881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8883 if (obj1) {
c370783e 8884 arg2 = (int)SWIG_As_int(obj1);
30ee79f7
RD
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
b411df4a
RD
8887 if (obj2) {
8888 {
8889 arg3 = wxString_in_helper(obj2);
8890 if (arg3 == NULL) SWIG_fail;
8891 temp3 = true;
8892 }
8893 }
8894 if (obj3) {
8895 {
8896 arg4 = wxString_in_helper(obj3);
8897 if (arg4 == NULL) SWIG_fail;
8898 temp4 = true;
8899 }
8900 }
30ee79f7
RD
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 8903 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
8909 {
8910 if (temp3)
8911 delete arg3;
8912 }
8913 {
8914 if (temp4)
8915 delete arg4;
8916 }
30ee79f7
RD
8917 return resultobj;
8918 fail:
b411df4a
RD
8919 {
8920 if (temp3)
8921 delete arg3;
8922 }
8923 {
8924 if (temp4)
8925 delete arg4;
8926 }
30ee79f7
RD
8927 return NULL;
8928}
8929
8930
c370783e 8931static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8932 PyObject *resultobj;
8933 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8934 wxPrintData *result;
8935 PyObject * obj0 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 result = (wxPrintData *)(arg1)->GetPrintData();
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
2f4c0a16 8950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
8951 return resultobj;
8952 fail:
8953 return NULL;
8954}
8955
8956
c370783e 8957static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8958 PyObject *resultobj;
8959 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8960 wxPageSetupDialogData *result;
8961 PyObject * obj0 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
2f4c0a16 8976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
8977 return resultobj;
8978 fail:
8979 return NULL;
8980}
8981
8982
c370783e 8983static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8984 PyObject *obj;
8985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8987 Py_INCREF(obj);
8988 return Py_BuildValue((char *)"");
8989}
c370783e 8990static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8991 PyObject *resultobj;
8992 wxString *arg1 = 0 ;
8993 wxString *arg2 = 0 ;
8994 wxString *arg3 = 0 ;
8995 wxString *arg4 = 0 ;
8996 wxHtmlBookRecord *result;
b411df4a
RD
8997 bool temp1 = false ;
8998 bool temp2 = false ;
8999 bool temp3 = false ;
9000 bool temp4 = false ;
d14a1e28
RD
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 PyObject * obj3 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9010 {
9011 arg1 = wxString_in_helper(obj0);
9012 if (arg1 == NULL) SWIG_fail;
b411df4a 9013 temp1 = true;
d14a1e28
RD
9014 }
9015 {
9016 arg2 = wxString_in_helper(obj1);
9017 if (arg2 == NULL) SWIG_fail;
b411df4a 9018 temp2 = true;
d14a1e28
RD
9019 }
9020 {
9021 arg3 = wxString_in_helper(obj2);
9022 if (arg3 == NULL) SWIG_fail;
b411df4a 9023 temp3 = true;
d14a1e28
RD
9024 }
9025 {
9026 arg4 = wxString_in_helper(obj3);
9027 if (arg4 == NULL) SWIG_fail;
b411df4a 9028 temp4 = true;
d14a1e28
RD
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
2f4c0a16 9037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
9038 {
9039 if (temp1)
9040 delete arg1;
9041 }
9042 {
9043 if (temp2)
9044 delete arg2;
9045 }
9046 {
9047 if (temp3)
9048 delete arg3;
9049 }
9050 {
9051 if (temp4)
9052 delete arg4;
9053 }
9054 return resultobj;
9055 fail:
9056 {
9057 if (temp1)
9058 delete arg1;
9059 }
9060 {
9061 if (temp2)
9062 delete arg2;
9063 }
9064 {
9065 if (temp3)
9066 delete arg3;
9067 }
9068 {
9069 if (temp4)
9070 delete arg4;
9071 }
9072 return NULL;
9073}
9074
9075
c370783e 9076static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9077 PyObject *resultobj;
9078 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9079 wxString result;
9080 PyObject * obj0 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (arg1)->GetBookFile();
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 {
9096#if wxUSE_UNICODE
9097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9098#else
9099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9100#endif
9101 }
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
c370783e 9108static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9109 PyObject *resultobj;
9110 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9111 wxString result;
9112 PyObject * obj0 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "self", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (arg1)->GetTitle();
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 {
9128#if wxUSE_UNICODE
9129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9130#else
9131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9132#endif
9133 }
9134 return resultobj;
9135 fail:
9136 return NULL;
9137}
9138
9139
c370783e 9140static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9141 PyObject *resultobj;
9142 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9143 wxString result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (arg1)->GetStart();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160#if wxUSE_UNICODE
9161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9162#else
9163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9164#endif
9165 }
9166 return resultobj;
9167 fail:
9168 return NULL;
9169}
9170
9171
c370783e 9172static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9173 PyObject *resultobj;
9174 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9175 wxString result;
9176 PyObject * obj0 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = (arg1)->GetBasePath();
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 {
9192#if wxUSE_UNICODE
9193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9194#else
9195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9196#endif
9197 }
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
c370783e 9204static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9205 PyObject *resultobj;
9206 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9207 int arg2 ;
9208 int arg3 ;
9209 PyObject * obj0 = 0 ;
8edf1c75
RD
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
d14a1e28
RD
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "start",(char *) "end", NULL
9214 };
9215
8edf1c75 9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9219 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 9220 if (PyErr_Occurred()) SWIG_fail;
c370783e 9221 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 9222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 (arg1)->SetContentsRange(arg2,arg3);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 return resultobj;
9232 fail:
9233 return NULL;
9234}
9235
9236
c370783e 9237static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9238 PyObject *resultobj;
9239 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9240 int result;
9241 PyObject * obj0 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (int)(arg1)->GetContentsStart();
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
c370783e 9256 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9257 return resultobj;
9258 fail:
9259 return NULL;
9260}
9261
9262
c370783e 9263static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9264 PyObject *resultobj;
9265 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9266 int result;
9267 PyObject * obj0 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (int)(arg1)->GetContentsEnd();
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
c370783e 9282 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9283 return resultobj;
9284 fail:
9285 return NULL;
9286}
9287
9288
c370783e 9289static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9290 PyObject *resultobj;
9291 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9292 wxString *arg2 = 0 ;
b411df4a 9293 bool temp2 = false ;
d14a1e28
RD
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj1 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self",(char *) "title", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9303 {
9304 arg2 = wxString_in_helper(obj1);
9305 if (arg2 == NULL) SWIG_fail;
b411df4a 9306 temp2 = true;
d14a1e28
RD
9307 }
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 (arg1)->SetTitle((wxString const &)*arg2);
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 Py_INCREF(Py_None); resultobj = Py_None;
9316 {
9317 if (temp2)
9318 delete arg2;
9319 }
9320 return resultobj;
9321 fail:
9322 {
9323 if (temp2)
9324 delete arg2;
9325 }
9326 return NULL;
9327}
9328
9329
c370783e 9330static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9331 PyObject *resultobj;
9332 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9333 wxString *arg2 = 0 ;
b411df4a 9334 bool temp2 = false ;
d14a1e28
RD
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "path", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9344 {
9345 arg2 = wxString_in_helper(obj1);
9346 if (arg2 == NULL) SWIG_fail;
b411df4a 9347 temp2 = true;
d14a1e28
RD
9348 }
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 (arg1)->SetBasePath((wxString const &)*arg2);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 Py_INCREF(Py_None); resultobj = Py_None;
9357 {
9358 if (temp2)
9359 delete arg2;
9360 }
9361 return resultobj;
9362 fail:
9363 {
9364 if (temp2)
9365 delete arg2;
9366 }
9367 return NULL;
9368}
9369
9370
c370783e 9371static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9372 PyObject *resultobj;
9373 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9374 wxString *arg2 = 0 ;
b411df4a 9375 bool temp2 = false ;
d14a1e28
RD
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self",(char *) "start", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9385 {
9386 arg2 = wxString_in_helper(obj1);
9387 if (arg2 == NULL) SWIG_fail;
b411df4a 9388 temp2 = true;
d14a1e28
RD
9389 }
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->SetStart((wxString const &)*arg2);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 Py_INCREF(Py_None); resultobj = Py_None;
9398 {
9399 if (temp2)
9400 delete arg2;
9401 }
9402 return resultobj;
9403 fail:
9404 {
9405 if (temp2)
9406 delete arg2;
9407 }
9408 return NULL;
9409}
9410
9411
c370783e 9412static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9413 PyObject *resultobj;
9414 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
9415 wxString *arg2 = 0 ;
9416 wxString result;
b411df4a 9417 bool temp2 = false ;
d14a1e28
RD
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self",(char *) "page", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
9426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9427 {
9428 arg2 = wxString_in_helper(obj1);
9429 if (arg2 == NULL) SWIG_fail;
b411df4a 9430 temp2 = true;
d14a1e28
RD
9431 }
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 {
9440#if wxUSE_UNICODE
9441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9442#else
9443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9444#endif
9445 }
9446 {
9447 if (temp2)
9448 delete arg2;
9449 }
9450 return resultobj;
9451 fail:
9452 {
9453 if (temp2)
9454 delete arg2;
9455 }
9456 return NULL;
9457}
9458
9459
c370783e 9460static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9461 PyObject *obj;
9462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9463 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
9464 Py_INCREF(obj);
9465 return Py_BuildValue((char *)"");
9466}
c370783e 9467static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9468 PyObject *resultobj;
9469 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9470 int result;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (int)wxHtmlContentsItem_GetLevel(arg1);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
c370783e 9486 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
c370783e 9493static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9494 PyObject *resultobj;
9495 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9496 int result;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)wxHtmlContentsItem_GetID(arg1);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
c370783e 9512 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9513 return resultobj;
9514 fail:
9515 return NULL;
9516}
9517
9518
c370783e 9519static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9520 PyObject *resultobj;
9521 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9522 wxString result;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = wxHtmlContentsItem_GetName(arg1);
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 {
9539#if wxUSE_UNICODE
9540 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9541#else
9542 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9543#endif
9544 }
9545 return resultobj;
9546 fail:
9547 return NULL;
9548}
9549
9550
c370783e 9551static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9552 PyObject *resultobj;
9553 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9554 wxString result;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = wxHtmlContentsItem_GetPage(arg1);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 {
9571#if wxUSE_UNICODE
9572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9573#else
9574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9575#endif
9576 }
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
c370783e 9583static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9584 PyObject *resultobj;
9585 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9586 wxHtmlBookRecord *result;
9587 PyObject * obj0 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
2f4c0a16 9602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
d14a1e28
RD
9603 return resultobj;
9604 fail:
9605 return NULL;
9606}
9607
9608
c370783e 9609static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9610 PyObject *obj;
9611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9613 Py_INCREF(obj);
9614 return Py_BuildValue((char *)"");
9615}
c370783e 9616static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9617 PyObject *resultobj;
9618 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9619 bool result;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (bool)(arg1)->Search();
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
fbc46b20
RD
9635 {
9636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9637 }
d14a1e28
RD
9638 return resultobj;
9639 fail:
9640 return NULL;
9641}
9642
9643
c370783e 9644static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9645 PyObject *resultobj;
9646 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9647 bool result;
9648 PyObject * obj0 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (bool)(arg1)->IsActive();
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
fbc46b20
RD
9663 {
9664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9665 }
d14a1e28
RD
9666 return resultobj;
9667 fail:
9668 return NULL;
9669}
9670
9671
c370783e 9672static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9673 PyObject *resultobj;
9674 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9675 int result;
9676 PyObject * obj0 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (int)(arg1)->GetCurIndex();
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
c370783e 9691 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9692 return resultobj;
9693 fail:
9694 return NULL;
9695}
9696
9697
c370783e 9698static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9699 PyObject *resultobj;
9700 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9701 int result;
9702 PyObject * obj0 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (int)(arg1)->GetMaxIndex();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
c370783e 9717 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9718 return resultobj;
9719 fail:
9720 return NULL;
9721}
9722
9723
c370783e 9724static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9725 PyObject *resultobj;
9726 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9727 wxString *result;
9728 PyObject * obj0 = 0 ;
9729 char *kwnames[] = {
9730 (char *) "self", NULL
9731 };
9732
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 {
9739 wxString const &_result_ref = (arg1)->GetName();
9740 result = (wxString *) &_result_ref;
9741 }
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
0f774bef
RD
9746 {
9747#if wxUSE_UNICODE
9748 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9749#else
9750 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9751#endif
9752 }
d14a1e28
RD
9753 return resultobj;
9754 fail:
9755 return NULL;
9756}
9757
9758
c370783e 9759static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9760 PyObject *resultobj;
9761 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9762 wxHtmlContentsItem *result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
2f4c0a16 9778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
9779 return resultobj;
9780 fail:
9781 return NULL;
9782}
9783
9784
c370783e 9785static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9786 PyObject *obj;
9787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9788 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9789 Py_INCREF(obj);
9790 return Py_BuildValue((char *)"");
9791}
c370783e 9792static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9793 PyObject *resultobj;
9794 wxHtmlHelpData *result;
9795 char *kwnames[] = {
9796 NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
2f4c0a16 9807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
c370783e 9814static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9815 PyObject *resultobj;
9816 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9817 PyObject * obj0 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "self", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 delete arg1;
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 return resultobj;
9834 fail:
9835 return NULL;
9836}
9837
9838
c370783e 9839static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9840 PyObject *resultobj;
9841 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9842 wxString *arg2 = 0 ;
b411df4a 9843 bool temp2 = false ;
d14a1e28
RD
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self",(char *) "path", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9853 {
9854 arg2 = wxString_in_helper(obj1);
9855 if (arg2 == NULL) SWIG_fail;
b411df4a 9856 temp2 = true;
d14a1e28
RD
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->SetTempDir((wxString const &)*arg2);
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 Py_INCREF(Py_None); resultobj = Py_None;
9866 {
9867 if (temp2)
9868 delete arg2;
9869 }
9870 return resultobj;
9871 fail:
9872 {
9873 if (temp2)
9874 delete arg2;
9875 }
9876 return NULL;
9877}
9878
9879
c370783e 9880static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9881 PyObject *resultobj;
9882 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9883 wxString *arg2 = 0 ;
9884 bool result;
b411df4a 9885 bool temp2 = false ;
d14a1e28
RD
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self",(char *) "book", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9895 {
9896 arg2 = wxString_in_helper(obj1);
9897 if (arg2 == NULL) SWIG_fail;
b411df4a 9898 temp2 = true;
d14a1e28
RD
9899 }
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
fbc46b20
RD
9907 {
9908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9909 }
d14a1e28
RD
9910 {
9911 if (temp2)
9912 delete arg2;
9913 }
9914 return resultobj;
9915 fail:
9916 {
9917 if (temp2)
9918 delete arg2;
9919 }
9920 return NULL;
9921}
9922
9923
c370783e 9924static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9925 PyObject *resultobj;
9926 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9927 wxString *arg2 = 0 ;
9928 wxString result;
b411df4a 9929 bool temp2 = false ;
d14a1e28
RD
9930 PyObject * obj0 = 0 ;
9931 PyObject * obj1 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self",(char *) "page", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9939 {
9940 arg2 = wxString_in_helper(obj1);
9941 if (arg2 == NULL) SWIG_fail;
b411df4a 9942 temp2 = true;
d14a1e28
RD
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (arg1)->FindPageByName((wxString const &)*arg2);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 {
9952#if wxUSE_UNICODE
9953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9954#else
9955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9956#endif
9957 }
9958 {
9959 if (temp2)
9960 delete arg2;
9961 }
9962 return resultobj;
9963 fail:
9964 {
9965 if (temp2)
9966 delete arg2;
9967 }
9968 return NULL;
9969}
9970
9971
c370783e 9972static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9973 PyObject *resultobj;
9974 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9975 int arg2 ;
9976 wxString result;
9977 PyObject * obj0 = 0 ;
8edf1c75 9978 PyObject * obj1 = 0 ;
d14a1e28
RD
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "id", NULL
9981 };
9982
8edf1c75 9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 9986 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 9987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (arg1)->FindPageById(arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996#if wxUSE_UNICODE
9997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9998#else
9999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10000#endif
10001 }
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
c370783e 10008static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10009 PyObject *resultobj;
10010 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10011 wxHtmlBookRecArray *result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 {
10023 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
10024 result = (wxHtmlBookRecArray *) &_result_ref;
10025 }
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
2f4c0a16 10030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
10031 return resultobj;
10032 fail:
10033 return NULL;
10034}
10035
10036
c370783e 10037static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10038 PyObject *resultobj;
10039 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10040 wxHtmlContentsItem *result;
10041 PyObject * obj0 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (wxHtmlContentsItem *)(arg1)->GetContents();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
2f4c0a16 10056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
c370783e 10063static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10064 PyObject *resultobj;
10065 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10066 int result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 result = (int)(arg1)->GetContentsCnt();
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
c370783e 10082 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10083 return resultobj;
10084 fail:
10085 return NULL;
10086}
10087
10088
c370783e 10089static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10090 PyObject *resultobj;
10091 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10092 wxHtmlContentsItem *result;
10093 PyObject * obj0 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
2f4c0a16 10108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
10109 return resultobj;
10110 fail:
10111 return NULL;
10112}
10113
10114
c370783e 10115static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10116 PyObject *resultobj;
10117 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10118 int result;
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
10126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (int)(arg1)->GetIndexCnt();
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
c370783e 10134 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10135 return resultobj;
10136 fail:
10137 return NULL;
10138}
10139
10140
c370783e 10141static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10142 PyObject *obj;
10143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10144 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
10145 Py_INCREF(obj);
10146 return Py_BuildValue((char *)"");
10147}
c370783e 10148static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10149 PyObject *resultobj;
10150 wxWindow *arg1 = (wxWindow *) 0 ;
10151 int arg2 ;
10152 wxString const &arg3_defvalue = wxPyEmptyString ;
10153 wxString *arg3 = (wxString *) &arg3_defvalue ;
10154 int arg4 = (int) wxHF_DEFAULTSTYLE ;
10155 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
10156 wxHtmlHelpFrame *result;
b411df4a 10157 bool temp3 = false ;
d14a1e28 10158 PyObject * obj0 = 0 ;
8edf1c75 10159 PyObject * obj1 = 0 ;
d14a1e28 10160 PyObject * obj2 = 0 ;
8edf1c75 10161 PyObject * obj3 = 0 ;
d14a1e28
RD
10162 PyObject * obj4 = 0 ;
10163 char *kwnames[] = {
423f194a 10164 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
10165 };
10166
8edf1c75 10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10170 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 10171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10172 if (obj2) {
10173 {
10174 arg3 = wxString_in_helper(obj2);
10175 if (arg3 == NULL) SWIG_fail;
b411df4a 10176 temp3 = true;
d14a1e28
RD
10177 }
10178 }
8edf1c75 10179 if (obj3) {
c370783e 10180 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 10181 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10182 }
d14a1e28 10183 if (obj4) {
2f4c0a16
RD
10184 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10186 }
10187 {
0439c23b 10188 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
10191
10192 wxPyEndAllowThreads(__tstate);
110da5b0 10193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10194 }
2f4c0a16 10195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
10196 {
10197 if (temp3)
10198 delete arg3;
10199 }
10200 return resultobj;
10201 fail:
10202 {
10203 if (temp3)
10204 delete arg3;
10205 }
10206 return NULL;
10207}
10208
10209
c370783e 10210static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10211 PyObject *resultobj;
10212 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10213 wxHtmlHelpData *result;
10214 PyObject * obj0 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (wxHtmlHelpData *)(arg1)->GetData();
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
2f4c0a16 10229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
10230 return resultobj;
10231 fail:
10232 return NULL;
10233}
10234
10235
c370783e 10236static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10237 PyObject *resultobj;
10238 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10239 wxString *arg2 = 0 ;
b411df4a 10240 bool temp2 = false ;
d14a1e28
RD
10241 PyObject * obj0 = 0 ;
10242 PyObject * obj1 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self",(char *) "format", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10250 {
10251 arg2 = wxString_in_helper(obj1);
10252 if (arg2 == NULL) SWIG_fail;
b411df4a 10253 temp2 = true;
d14a1e28
RD
10254 }
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetTitleFormat((wxString const &)*arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 {
10264 if (temp2)
10265 delete arg2;
10266 }
10267 return resultobj;
10268 fail:
10269 {
10270 if (temp2)
10271 delete arg2;
10272 }
10273 return NULL;
10274}
10275
10276
c370783e 10277static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10278 PyObject *resultobj;
10279 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10280 wxString *arg2 = 0 ;
b411df4a 10281 bool temp2 = false ;
d14a1e28
RD
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self",(char *) "x", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
b411df4a 10294 temp2 = true;
d14a1e28
RD
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->Display((wxString const &)*arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315}
10316
10317
c370783e 10318static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10319 PyObject *resultobj;
10320 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10321 int arg2 ;
10322 PyObject * obj0 = 0 ;
8edf1c75 10323 PyObject * obj1 = 0 ;
d14a1e28
RD
10324 char *kwnames[] = {
10325 (char *) "self",(char *) "id", NULL
10326 };
10327
8edf1c75 10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10331 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 10332 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 (arg1)->Display(arg2);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 return resultobj;
10342 fail:
10343 return NULL;
10344}
10345
10346
c370783e 10347static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10348 PyObject *resultobj;
10349 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->DisplayContents();
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369}
10370
10371
c370783e 10372static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10373 PyObject *resultobj;
10374 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->DisplayIndex();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 Py_INCREF(Py_None); resultobj = Py_None;
10391 return resultobj;
10392 fail:
10393 return NULL;
10394}
10395
10396
c370783e 10397static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10398 PyObject *resultobj;
10399 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10400 wxString *arg2 = 0 ;
10401 bool result;
b411df4a 10402 bool temp2 = false ;
d14a1e28
RD
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "keyword", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10412 {
10413 arg2 = wxString_in_helper(obj1);
10414 if (arg2 == NULL) SWIG_fail;
b411df4a 10415 temp2 = true;
d14a1e28
RD
10416 }
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
fbc46b20
RD
10424 {
10425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10426 }
d14a1e28
RD
10427 {
10428 if (temp2)
10429 delete arg2;
10430 }
10431 return resultobj;
10432 fail:
10433 {
10434 if (temp2)
10435 delete arg2;
10436 }
10437 return NULL;
10438}
10439
10440
c370783e 10441static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10442 PyObject *resultobj;
10443 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10444 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10445 wxString const &arg3_defvalue = wxPyEmptyString ;
10446 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 10447 bool temp3 = false ;
d14a1e28
RD
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450 PyObject * obj2 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10460 if (obj2) {
10461 {
10462 arg3 = wxString_in_helper(obj2);
10463 if (arg3 == NULL) SWIG_fail;
b411df4a 10464 temp3 = true;
d14a1e28
RD
10465 }
10466 }
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 Py_INCREF(Py_None); resultobj = Py_None;
10475 {
10476 if (temp3)
10477 delete arg3;
10478 }
10479 return resultobj;
10480 fail:
10481 {
10482 if (temp3)
10483 delete arg3;
10484 }
10485 return NULL;
10486}
10487
10488
c370783e 10489static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10490 PyObject *resultobj;
10491 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10492 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10493 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 char *kwnames[] = {
10498 (char *) "self",(char *) "cfg",(char *) "path", NULL
10499 };
10500
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10506 if (obj2) {
423f194a
RD
10507 {
10508 wxString* sptr = wxString_in_helper(obj2);
10509 if (sptr == NULL) SWIG_fail;
10510 arg3 = *sptr;
10511 delete sptr;
10512 }
d14a1e28
RD
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 (arg1)->ReadCustomization(arg2,arg3);
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 Py_INCREF(Py_None); resultobj = Py_None;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525}
10526
10527
c370783e 10528static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10529 PyObject *resultobj;
10530 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
10531 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10532 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 PyObject * obj2 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self",(char *) "cfg",(char *) "path", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
10542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10545 if (obj2) {
423f194a
RD
10546 {
10547 wxString* sptr = wxString_in_helper(obj2);
10548 if (sptr == NULL) SWIG_fail;
10549 arg3 = *sptr;
10550 delete sptr;
10551 }
d14a1e28
RD
10552 }
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 (arg1)->WriteCustomization(arg2,arg3);
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 Py_INCREF(Py_None); resultobj = Py_None;
10561 return resultobj;
10562 fail:
10563 return NULL;
10564}
10565
10566
c370783e 10567static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10568 PyObject *obj;
10569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10570 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
10571 Py_INCREF(obj);
10572 return Py_BuildValue((char *)"");
10573}
c370783e 10574static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10575 PyObject *resultobj;
10576 int arg1 = (int) wxHF_DEFAULTSTYLE ;
10577 wxHtmlHelpController *result;
8edf1c75 10578 PyObject * obj0 = 0 ;
d14a1e28
RD
10579 char *kwnames[] = {
10580 (char *) "style", NULL
10581 };
10582
8edf1c75
RD
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
10584 if (obj0) {
c370783e 10585 arg1 = (int)SWIG_As_int(obj0);
2f4c0a16 10586 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10587 }
d14a1e28 10588 {
0439c23b 10589 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
10592
10593 wxPyEndAllowThreads(__tstate);
110da5b0 10594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10595 }
2f4c0a16 10596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
10597 return resultobj;
10598 fail:
10599 return NULL;
10600}
10601
10602
c370783e 10603static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10604 PyObject *resultobj;
10605 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10606 PyObject * obj0 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 delete arg1;
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 Py_INCREF(Py_None); resultobj = Py_None;
10622 return resultobj;
10623 fail:
10624 return NULL;
10625}
10626
10627
c370783e 10628static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10629 PyObject *resultobj;
10630 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10631 wxString *arg2 = 0 ;
b411df4a 10632 bool temp2 = false ;
d14a1e28
RD
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self",(char *) "format", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10642 {
10643 arg2 = wxString_in_helper(obj1);
10644 if (arg2 == NULL) SWIG_fail;
b411df4a 10645 temp2 = true;
d14a1e28
RD
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 (arg1)->SetTitleFormat((wxString const &)*arg2);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 Py_INCREF(Py_None); resultobj = Py_None;
10655 {
10656 if (temp2)
10657 delete arg2;
10658 }
10659 return resultobj;
10660 fail:
10661 {
10662 if (temp2)
10663 delete arg2;
10664 }
10665 return NULL;
10666}
10667
10668
c370783e 10669static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10670 PyObject *resultobj;
10671 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10672 wxString *arg2 = 0 ;
b411df4a 10673 bool temp2 = false ;
d14a1e28
RD
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "path", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10683 {
10684 arg2 = wxString_in_helper(obj1);
10685 if (arg2 == NULL) SWIG_fail;
b411df4a 10686 temp2 = true;
d14a1e28
RD
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 (arg1)->SetTempDir((wxString const &)*arg2);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 Py_INCREF(Py_None); resultobj = Py_None;
10696 {
10697 if (temp2)
10698 delete arg2;
10699 }
10700 return resultobj;
10701 fail:
10702 {
10703 if (temp2)
10704 delete arg2;
10705 }
10706 return NULL;
10707}
10708
10709
c370783e 10710static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10711 PyObject *resultobj;
10712 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10713 wxString *arg2 = 0 ;
b411df4a 10714 int arg3 = (int) false ;
d14a1e28 10715 bool result;
b411df4a 10716 bool temp2 = false ;
d14a1e28
RD
10717 PyObject * obj0 = 0 ;
10718 PyObject * obj1 = 0 ;
8edf1c75 10719 PyObject * obj2 = 0 ;
d14a1e28
RD
10720 char *kwnames[] = {
10721 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10722 };
10723
8edf1c75 10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10727 {
10728 arg2 = wxString_in_helper(obj1);
10729 if (arg2 == NULL) SWIG_fail;
b411df4a 10730 temp2 = true;
d14a1e28 10731 }
8edf1c75 10732 if (obj2) {
c370783e 10733 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 10734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10735 }
d14a1e28
RD
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
fbc46b20
RD
10743 {
10744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10745 }
d14a1e28
RD
10746 {
10747 if (temp2)
10748 delete arg2;
10749 }
10750 return resultobj;
10751 fail:
10752 {
10753 if (temp2)
10754 delete arg2;
10755 }
10756 return NULL;
10757}
10758
10759
c370783e 10760static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10761 PyObject *resultobj;
10762 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10763 wxString *arg2 = 0 ;
b411df4a 10764 bool temp2 = false ;
d14a1e28
RD
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "x", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10774 {
10775 arg2 = wxString_in_helper(obj1);
10776 if (arg2 == NULL) SWIG_fail;
b411df4a 10777 temp2 = true;
d14a1e28
RD
10778 }
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 (arg1)->Display((wxString const &)*arg2);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 Py_INCREF(Py_None); resultobj = Py_None;
10787 {
10788 if (temp2)
10789 delete arg2;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp2)
10795 delete arg2;
10796 }
10797 return NULL;
10798}
10799
10800
c370783e 10801static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10802 PyObject *resultobj;
10803 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10804 int arg2 ;
10805 PyObject * obj0 = 0 ;
8edf1c75 10806 PyObject * obj1 = 0 ;
d14a1e28
RD
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "id", NULL
10809 };
10810
8edf1c75 10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c370783e 10814 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 10815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 (arg1)->Display(arg2);
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 Py_INCREF(Py_None); resultobj = Py_None;
10824 return resultobj;
10825 fail:
10826 return NULL;
10827}
10828
10829
c370783e 10830static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10831 PyObject *resultobj;
10832 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 (arg1)->DisplayContents();
10844
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 Py_INCREF(Py_None); resultobj = Py_None;
10849 return resultobj;
10850 fail:
10851 return NULL;
10852}
10853
10854
c370783e 10855static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10856 PyObject *resultobj;
10857 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 (arg1)->DisplayIndex();
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 Py_INCREF(Py_None); resultobj = Py_None;
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
c370783e 10880static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10881 PyObject *resultobj;
10882 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10883 wxString *arg2 = 0 ;
10884 bool result;
b411df4a 10885 bool temp2 = false ;
d14a1e28
RD
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "keyword", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10895 {
10896 arg2 = wxString_in_helper(obj1);
10897 if (arg2 == NULL) SWIG_fail;
b411df4a 10898 temp2 = true;
d14a1e28
RD
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
fbc46b20
RD
10907 {
10908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10909 }
d14a1e28
RD
10910 {
10911 if (temp2)
10912 delete arg2;
10913 }
10914 return resultobj;
10915 fail:
10916 {
10917 if (temp2)
10918 delete arg2;
10919 }
10920 return NULL;
10921}
10922
10923
c370783e 10924static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10925 PyObject *resultobj;
10926 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10927 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10928 wxString const &arg3_defvalue = wxPyEmptyString ;
10929 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 10930 bool temp3 = false ;
d14a1e28
RD
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 PyObject * obj2 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10943 if (obj2) {
10944 {
10945 arg3 = wxString_in_helper(obj2);
10946 if (arg3 == NULL) SWIG_fail;
b411df4a 10947 temp3 = true;
d14a1e28
RD
10948 }
10949 }
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 Py_INCREF(Py_None); resultobj = Py_None;
10958 {
10959 if (temp3)
10960 delete arg3;
10961 }
10962 return resultobj;
10963 fail:
10964 {
10965 if (temp3)
10966 delete arg3;
10967 }
10968 return NULL;
10969}
10970
10971
c370783e 10972static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10973 PyObject *resultobj;
10974 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10975 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10976 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
10977 PyObject * obj0 = 0 ;
10978 PyObject * obj1 = 0 ;
10979 PyObject * obj2 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "cfg",(char *) "path", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10989 if (obj2) {
423f194a
RD
10990 {
10991 wxString* sptr = wxString_in_helper(obj2);
10992 if (sptr == NULL) SWIG_fail;
10993 arg3 = *sptr;
10994 delete sptr;
10995 }
d14a1e28
RD
10996 }
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->ReadCustomization(arg2,arg3);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 Py_INCREF(Py_None); resultobj = Py_None;
11005 return resultobj;
11006 fail:
11007 return NULL;
11008}
11009
11010
c370783e 11011static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11012 PyObject *resultobj;
11013 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11014 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11015 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 PyObject * obj2 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "cfg",(char *) "path", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
11025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11028 if (obj2) {
423f194a
RD
11029 {
11030 wxString* sptr = wxString_in_helper(obj2);
11031 if (sptr == NULL) SWIG_fail;
11032 arg3 = *sptr;
11033 delete sptr;
11034 }
d14a1e28
RD
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->WriteCustomization(arg2,arg3);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047}
11048
11049
c370783e 11050static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11051 PyObject *resultobj;
11052 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11053 wxHtmlHelpFrame *result;
11054 PyObject * obj0 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self", NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
11061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
2f4c0a16 11069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
11070 return resultobj;
11071 fail:
11072 return NULL;
11073}
11074
11075
c370783e 11076static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11077 PyObject *obj;
11078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11079 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
11080 Py_INCREF(obj);
11081 return Py_BuildValue((char *)"");
11082}
11083static PyMethodDef SwigMethods[] = {
c370783e
RD
11084 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11085 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL },
11086 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
11087 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
11088 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11089 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
11090 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11091 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL },
11092 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11093 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL },
11094 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL },
11095 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL },
11096 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL },
11097 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL },
11098 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL },
11099 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL },
11100 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL },
11101 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL },
11102 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL },
11103 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL },
11104 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL },
11105 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL },
11106 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL },
11107 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL },
11108 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11109 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL },
11110 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11111 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11112 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL },
11113 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL },
11114 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11115 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11116 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11117 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11118 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11119 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
b411df4a 11120 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
c370783e
RD
11121 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11122 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11123 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11124 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL },
11125 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
11126 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
11127 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
11128 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
11129 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
11130 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
11131 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
11132 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
11133 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
11134 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
11135 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11136 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11137 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
11138 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
11139 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
11140 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
11141 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11142 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL },
11143 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11144 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL },
11145 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11146 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11147 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11148 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11149 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
11150 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL },
11151 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11152 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11153 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11154 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11155 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
11156 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL },
11157 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
11158 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11159 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11160 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL },
11161 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL },
11162 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL },
11163 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL },
11164 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL },
11165 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL },
11166 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11167 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11168 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11169 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11170 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
11171 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
11172 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL },
11173 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
11174 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
11175 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
11176 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
11177 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11178 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11179 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11180 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11181 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL },
11182 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
11183 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11184 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
11185 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
11186 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
11187 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
11188 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11189 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11190 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11191 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
11192 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
11193 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
11194 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
11195 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL },
11196 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
11197 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL },
11198 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL },
11199 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11200 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11201 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL },
11202 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
11203 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
11204 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
11205 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11206 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL },
11207 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
11208 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
11209 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
11210 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL },
11211 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
11212 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL },
11213 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
11214 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
11215 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
11216 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
11217 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL },
11218 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL },
11219 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
11220 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
11221 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
11222 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL },
11223 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL },
11224 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL },
11225 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
11226 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
11227 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
11228 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL },
11229 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL },
11230 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL },
11231 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL },
11232 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL },
11233 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL },
11234 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL },
11235 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
11236 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
11237 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
11238 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
11239 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
11240 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
11241 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL },
11242 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
11243 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL },
11244 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL },
11245 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11246 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
11247 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
11248 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
11249 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
11250 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL },
11251 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL },
11252 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL },
11253 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL },
11254 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL },
11255 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL },
11256 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL },
11257 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11258 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11259 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL },
11260 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11261 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
11262 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
11263 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
11264 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL },
11265 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL },
11266 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
11267 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL },
11268 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL },
11269 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11270 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11271 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11272 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11273 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
11274 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
b411df4a 11275 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
c370783e
RD
11276 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11277 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL },
11278 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11279 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11280 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL },
11281 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL },
11282 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL },
11283 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL },
11284 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL },
11285 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL },
11286 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
11287 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11288 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
11289 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11290 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL },
11291 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL },
11292 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
11293 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL },
11294 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL },
11295 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL },
11296 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11297 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL },
11298 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL },
11299 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
11300 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL },
11301 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
11302 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
11303 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
11304 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
11305 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
11306 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
b411df4a 11307 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
c370783e
RD
11308 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL },
11309 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
11310 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL },
11311 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
11312 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
11313 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL },
11314 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
11315 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
11316 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
b411df4a 11317 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
c370783e
RD
11318 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
11319 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
11320 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL },
11321 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL },
11322 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
11323 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
11324 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL },
11325 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL },
11326 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL },
11327 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL },
11328 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS, NULL },
11329 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL },
11330 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
11331 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
11332 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
b411df4a 11333 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
c370783e
RD
11334 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
11335 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
11336 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL },
11337 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL },
11338 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL },
11339 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11340 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL },
11341 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
11342 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL },
11343 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL },
11344 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL },
11345 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
11346 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
11347 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL },
11348 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL },
11349 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL },
11350 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL },
11351 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL },
11352 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11353 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
11354 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL },
11355 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL },
11356 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL },
11357 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
11358 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11359 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11360 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
11361 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL },
11362 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL },
11363 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
11364 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
11365 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
11366 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
11367 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL },
11368 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL },
11369 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL },
11370 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL },
11371 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL },
11372 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11373 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL },
11374 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL },
11375 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11376 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
11377 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
11378 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL },
11379 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
11380 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
11381 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11382 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
11383 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
11384 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11385 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11386 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL },
11387 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
11388 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
11389 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
11390 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
11391 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
11392 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL },
11393 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
11394 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
11395 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
11396 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
11397 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
11398 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11399 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
11400 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
11401 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL },
11402 { NULL, NULL, 0, NULL }
d14a1e28
RD
11403};
11404
11405
11406/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11407
11408static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
11409 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
11410}
11411static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
11412 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
11413}
11414static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11415 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11416}
11417static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11418 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11419}
a2482628
RD
11420static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11421 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11422}
d14a1e28
RD
11423static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
11424 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11425}
11426static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11427 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11428}
11429static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11430 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11431}
11432static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11433 return (void *)((wxPanel *) ((wxPyPanel *) x));
11434}
11435static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11436 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11437}
11438static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11439 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11440}
11441static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11442 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11443}
a2482628
RD
11444static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11445 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11446}
d14a1e28
RD
11447static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
11448 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11449}
11450static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11451 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11452}
11453static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11454 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11455}
11456static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11457 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11458}
11459static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11460 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11461}
11462static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11463 return (void *)((wxWindow *) ((wxMenuBar *) x));
11464}
11465static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11467}
11468static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11470}
11471static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11472 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11473}
11474static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11476}
11477static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11479}
11480static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11482}
11483static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11484 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11485}
11486static void *_p_wxPanelTo_p_wxWindow(void *x) {
11487 return (void *)((wxWindow *) ((wxPanel *) x));
11488}
11489static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11490 return (void *)((wxWindow *) ((wxStatusBar *) x));
11491}
11492static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11493 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11494}
11495static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11496 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11497}
11498static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11499 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11500}
11501static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11502 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11503}
11504static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11505 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11506}
11507static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11508 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11509}
11510static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11511 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11512}
11513static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11514 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11515}
11516static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11517 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11518}
11519static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11520 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11521}
11522static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11523 return (void *)((wxWindow *) ((wxSashWindow *) x));
11524}
a2482628
RD
11525static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11526 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11527}
d14a1e28
RD
11528static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
11529 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11530}
11531static void *_p_wxControlTo_p_wxWindow(void *x) {
11532 return (void *)((wxWindow *) ((wxControl *) x));
11533}
11534static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11535 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11536}
11537static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11538 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11539}
11540static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11542}
11543static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11544 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11545}
11546static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11547 return (void *)((wxWindow *) ((wxPyWindow *) x));
11548}
11549static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11550 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11551}
11552static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11553 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11554}
11555static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11556 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11557}
11558static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11559 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11560}
11561static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11562 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11563}
11564static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
11565 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11566}
11567static void *_p_wxFrameTo_p_wxWindow(void *x) {
11568 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11569}
11570static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11571 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11572}
11573static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11574 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11575}
11576static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11578}
11579static void *_p_wxDialogTo_p_wxWindow(void *x) {
11580 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11581}
11582static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
11583 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11584}
11585static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
11586 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11587}
11588static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11589 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11590}
11591static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
11592 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
11593}
11594static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
11595 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
11596}
11597static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
11598 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
11599}
11600static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
11601 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
11602}
11603static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
11604 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
11605}
11606static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
11607 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
11608}
11609static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
11610 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
11611}
11612static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
11613 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
11614}
11615static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
11616 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
11617}
11618static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
11619 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
11620}
11621static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
11622 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
11623}
11624static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
11625 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
11626}
11627static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11628 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11629}
11630static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11631 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11632}
11633static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11634 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11635}
11636static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11637 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11638}
11639static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11640 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11641}
11642static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11643 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11644}
11645static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
11646 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
11647}
11648static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11649 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11650}
11651static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11652 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11653}
11654static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11655 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11656}
11657static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11658 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11659}
11660static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11661 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11662}
11663static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11665}
11666static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11668}
11669static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11670 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11671}
11672static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11673 return (void *)((wxObject *) ((wxSizerItem *) x));
11674}
11675static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11676 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11677}
11678static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11679 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11680}
11681static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11682 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11683}
11684static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11685 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11686}
11687static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11688 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11689}
11690static void *_p_wxSizerTo_p_wxObject(void *x) {
11691 return (void *)((wxObject *) ((wxSizer *) x));
11692}
11693static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11694 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11695}
11696static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11697 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11698}
11699static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11701}
11702static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11704}
11705static void *_p_wxEventTo_p_wxObject(void *x) {
11706 return (void *)((wxObject *) ((wxEvent *) x));
11707}
11708static void *_p_wxFontDataTo_p_wxObject(void *x) {
11709 return (void *)((wxObject *) ((wxFontData *) x));
11710}
11711static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11712 return (void *)((wxObject *) ((wxPrintData *) x));
11713}
11714static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11715 return (void *)((wxObject *) ((wxHtmlTag *) x));
11716}
11717static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11718 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11719}
11720static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11721 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11722}
11723static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11724 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11725}
11726static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11727 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11728}
84f85550
RD
11729static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11730 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
11731}
11732static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11734}
11735static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11737}
11738static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11739 return (void *)((wxObject *) ((wxHtmlCell *) x));
11740}
11741static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11742 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11743}
11744static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11745 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11746}
11747static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11748 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11749}
11750static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11751 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11752}
11753static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11754 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11755}
11756static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11757 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11758}
11759static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11761}
11762static void *_p_wxControlTo_p_wxObject(void *x) {
11763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11764}
11765static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11766 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11767}
11768static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11769 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11770}
11771static void *_p_wxFSFileTo_p_wxObject(void *x) {
11772 return (void *)((wxObject *) ((wxFSFile *) x));
11773}
11774static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11775 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11776}
11777static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11778 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11779}
11780static void *_p_wxPySizerTo_p_wxObject(void *x) {
11781 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11782}
11783static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11784 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11785}
11786static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11788}
11789static void *_p_wxColourDataTo_p_wxObject(void *x) {
11790 return (void *)((wxObject *) ((wxColourData *) x));
11791}
11792static void *_p_wxPyEventTo_p_wxObject(void *x) {
11793 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11794}
11795static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11797}
11798static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11800}
11801static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11803}
11804static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11806}
11807static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11809}
11810static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11812}
11813static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11815}
11816static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11818}
11819static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11821}
11822static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11824}
11825static void *_p_wxShowEventTo_p_wxObject(void *x) {
11826 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11827}
11828static void *_p_wxPrinterTo_p_wxObject(void *x) {
11829 return (void *)((wxObject *) ((wxPrinter *) x));
11830}
11831static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11832 return (void *)((wxObject *) ((wxMenuItem *) x));
11833}
11834static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11835 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11836}
11837static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11839}
11840static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11841 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11842}
11843static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11844 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11845}
11846static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11847 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11848}
11849static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11850 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11851}
11852static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11853 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11854}
11855static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11856 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11857}
11858static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11859 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11860}
11861static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11862 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11863}
11864static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11865 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11866}
11867static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11868 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11869}
11870static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11871 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11872}
11873static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11874 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11875}
11876static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11877 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11878}
11879static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11880 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11881}
11882static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11883 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11884}
11885static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11886 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11887}
11888static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11889 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11890}
11891static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11892 return (void *)((wxObject *) ((wxImageHandler *) x));
11893}
11894static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11895 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11896}
11897static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11898 return (void *)((wxObject *) ((wxEvtHandler *) x));
11899}
11900static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11901 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11902}
11903static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11904 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11905}
11906static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11907 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11908}
11909static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11911}
11912static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11914}
11915static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11916 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11917}
11918static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11920}
11921static void *_p_wxImageTo_p_wxObject(void *x) {
11922 return (void *)((wxObject *) ((wxImage *) x));
11923}
11924static void *_p_wxFrameTo_p_wxObject(void *x) {
11925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11926}
11927static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11928 return (void *)((wxObject *) ((wxPyPrintout *) x));
11929}
11930static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11931 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11932}
11933static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11934 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11935}
11936static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11937 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11938}
11939static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11941}
11942static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11943 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11944}
11945static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11946 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11947}
11948static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11950}
11951static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11953}
11954static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11955 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11956}
11957static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11958 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11959}
d14a1e28
RD
11960static void *_p_wxWindowTo_p_wxObject(void *x) {
11961 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11962}
11963static void *_p_wxMenuTo_p_wxObject(void *x) {
11964 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11965}
11966static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11968}
41f1cec7
RD
11969static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11971}
d14a1e28
RD
11972static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11974}
11975static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11977}
11978static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11980}
11981static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11983}
11984static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11986}
11987static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11989}
11990static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11992}
11993static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11995}
11996static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11998}
11999static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12001}
a2482628
RD
12002static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12004}
d14a1e28
RD
12005static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
12006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12007}
12008static void *_p_wxSashEventTo_p_wxObject(void *x) {
12009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12010}
12011static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12012 return (void *)((wxObject *) ((wxPrintPreview *) x));
12013}
12014static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12015 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12016}
12017static void *_p_wxPanelTo_p_wxObject(void *x) {
12018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12019}
12020static void *_p_wxDialogTo_p_wxObject(void *x) {
12021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12022}
12023static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12025}
12026static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12028}
12029static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12031}
12032static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
12034}
12035static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
12037}
12038static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
12039 return (void *)((wxObject *) ((wxHtmlParser *) x));
12040}
12041static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
12042 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
12043}
12044static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12045 return (void *)((wxObject *) ((wxFileSystem *) x));
12046}
12047static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12048 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12049}
12050static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12051 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12052}
12053static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
12054 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
12055}
12056static void *_p_wxPyAppTo_p_wxObject(void *x) {
12057 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12058}
12059static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12060 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12061}
12062static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12063 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12064}
12065static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12066 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12067}
12068static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12070}
12071static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12072 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12073}
12074static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12076}
12077static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12079}
12080static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
12081 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
12082}
12083static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12084 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12085}
12086static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12087 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12088}
12089static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12090 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12091}
12092static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
12093 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
12094}
12095static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12097}
12098static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12099 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12100}
12101static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12102 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12103}
12104static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12105 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12106}
12107static void *_p_wxValidatorTo_p_wxObject(void *x) {
12108 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12109}
12110static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
12111 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
12112}
12113static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12115}
12116static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12118}
12119static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12120 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12121}
12122static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12123 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12124}
12125static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12126 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12127}
12128static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12129 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12130}
12131static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12132 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12133}
12134static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12136}
12137static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12139}
12140static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12142}
12143static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12145}
12146static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12148}
12149static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12151}
12152static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12154}
12155static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12157}
12158static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12160}
12161static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12163}
12164static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
12166}
12167static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12168 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12169}
12170static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12172}
12173static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12174 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12175}
12176static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12177 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12178}
12179static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12181}
12182static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12184}
12185static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12186 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12187}
12188static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12190}
12191static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12192 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12193}
12194static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12195 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12196}
a2482628
RD
12197static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12199}
d14a1e28
RD
12200static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
12201 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12202}
12203static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12204 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12205}
12206static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12208}
12209static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12211}
12212static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12214}
12215static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12216 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12217}
12218static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12220}
12221static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12222 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12223}
12224static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12226}
12227static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
12228 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
12229}
12230static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12231 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12232}
12233static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12234 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12235}
12236static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12237 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12238}
12239static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12240 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12241}
84f85550
RD
12242static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12243 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
12244}
12245static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
12246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12247}
12248static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12250}
12251static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12253}
12254static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12256}
12257static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12259}
12260static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12262}
12263static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
12264 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
12265}
12266static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
12267 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
12268}
12269static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12270 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12271}
12272static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
12273 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
12274}
12275static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
12276 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
12277}
12278static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
12279 return (void *)((wxFrame *) ((wxProgressDialog *) x));
12280}
12281static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
12282 return (void *)((wxFrame *) ((wxTipWindow *) x));
12283}
12284static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
12285 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
12286}
12287static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
12288 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12289}
12290static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
12291 return (void *)((wxFrame *) ((wxMiniFrame *) x));
12292}
12293static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
12294 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
12295}
12296static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
12297 return (void *)((wxFrame *) ((wxSplashScreen *) x));
12298}
12299static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
12300 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
12301}
12302static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
12303 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
12304}
12305static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
12306 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
12307}
12308static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
12309 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
12310}
12311static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
12312 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
12313}
12314static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
12315 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
12316}
2f4c0a16
RD
12317static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12318static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12319static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12320static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12321static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12322static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12323static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12324static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 12325static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
12326static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12327static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12328static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12329static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 12330static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 12331static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 12332static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628
RD
12333static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12334static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 12335static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c370783e 12336static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
12337static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12338static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12339static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12340static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12341static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
84f85550 12342static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
12343static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12344static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12345static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12346static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
84f85550 12347static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
12348static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12349static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12350static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12351static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12352static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12353static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12354static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12355static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12356static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12357static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12358static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12359static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12360static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12361static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12362static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12363static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12364static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12365static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
12366static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 12367static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c370783e 12368static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 12369static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
12370
12371static swig_type_info *swig_types_initial[] = {
12372_swigt__p_wxHtmlDCRenderer,
12373_swigt__p_wxColour,
12374_swigt__p_wxPageSetupDialogData,
12375_swigt__p_wxDC,
12376_swigt__p_wxDefaultHtmlRenderingStyle,
12377_swigt__p_wxHtmlRenderingStyle,
12378_swigt__p_wxMouseEvent,
12379_swigt__p_wxHtmlWordCell,
f20a2e1f 12380_swigt__p_wxVisualAttributes,
d14a1e28 12381_swigt__p_wxHtmlHelpData,
8edf1c75 12382_swigt__p_char,
d14a1e28
RD
12383_swigt__p_wxHtmlWinParser,
12384_swigt__p_wxHtmlParser,
12385_swigt__p_wxPanel,
d14a1e28 12386_swigt__p_wxFont,
d14a1e28
RD
12387_swigt__p_wxPyHtmlWindow,
12388_swigt__p_wxScrolledWindow,
12389_swigt__p_wxWindow,
12390_swigt__p_wxTopLevelWindow,
c370783e 12391_swigt__p_wxHtmlColourCell,
8edf1c75 12392_swigt__p_wxHtmlFontCell,
d14a1e28
RD
12393_swigt__p_wxHtmlEasyPrinting,
12394_swigt__p_wxHtmlSelection,
12395_swigt__p_wxHtmlRenderingInfo,
12396_swigt__p_wxHtmlWidgetCell,
12397_swigt__p_wxObject,
12398_swigt__p_wxString,
12399_swigt__p_wxPyHtmlWinTagHandler,
12400_swigt__p_wxHtmlTagHandler,
12401_swigt__p_wxPyHtmlTagHandler,
12402_swigt__p_wxEvtHandler,
12403_swigt__p_wxPoint,
12404_swigt__p_wxHtmlHelpController,
12405_swigt__p_wxCursor,
12406_swigt__p_wxFileSystem,
12407_swigt__p_wxHtmlBookRecArray,
12408_swigt__p_wxPyPrintout,
12409_swigt__p_wxHtmlPrintout,
12410_swigt__p_wxHtmlSearchStatus,
12411_swigt__p_wxHtmlContentsItem,
12412_swigt__p_wxConfigBase,
12413_swigt__p_wxPrintData,
12414_swigt__p_wxHtmlHelpFrame,
12415_swigt__p_wxHtmlRenderingState,
12416_swigt__p_wxFrame,
12417_swigt__p_wxPyHtmlFilter,
12418_swigt__p_wxHtmlFilter,
12419_swigt__p_wxHtmlCell,
12420_swigt__p_wxHtmlContainerCell,
12421_swigt__p_wxHtmlTag,
d14a1e28 12422_swigt__p_int,
c370783e 12423_swigt__p_wxHtmlLinkInfo,
d14a1e28
RD
12424_swigt__p_wxHtmlBookRecord,
124250
12426};
12427
12428
12429/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12430
12431static swig_const_info swig_const_table[] = {
c370783e 12432{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
12433
12434#ifdef __cplusplus
12435}
12436#endif
12437
12438#ifdef __cplusplus
12439extern "C"
12440#endif
12441SWIGEXPORT(void) SWIG_init(void) {
12442 static PyObject *SWIG_globals = 0;
12443 static int typeinit = 0;
12444 PyObject *m, *d;
12445 int i;
12446 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12447 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12448 d = PyModule_GetDict(m);
12449
12450 if (!typeinit) {
12451 for (i = 0; swig_types_initial[i]; i++) {
12452 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12453 }
12454 typeinit = 1;
12455 }
12456 SWIG_InstallConstants(d,swig_const_table);
12457
cbd72d4f
RD
12458 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12459 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
12460 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
12461 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
c370783e
RD
12462 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT));
12463 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER));
12464 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT));
12465 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM));
12466 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP));
12467 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND));
12468 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND));
12469 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS));
12470 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT));
12471 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT));
12472 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT));
12473 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP));
12474 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM));
12475 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL));
12476 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL));
12477 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL));
12478 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR));
12479 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP));
12480 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER));
12481 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1));
12482 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2));
12483 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3));
12484 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4));
12485 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5));
12486 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6));
12487 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7));
12488 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER));
12489 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO));
12490 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION));
12491 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE));
12492 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN));
12493 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK));
12494 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT));
12495 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE));
12496 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE));
12497 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER));
12498 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT));
12499 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN));
12500 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING));
12501 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT));
12502 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE));
12503 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER));
12504 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD));
12505 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN));
12506 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL));
12507 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR));
12508 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR));
12509 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS));
12510 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX));
12511 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH));
12512 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS));
12513 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES));
12514 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT));
12515 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE));
d14a1e28
RD
12516
12517 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
12518 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
12519 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
12520 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
12521
12522}
12523