]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/html_wrap.cpp
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
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
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d14a1e28
RD
27#endif
28
29
093d3ff1
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d14a1e28 37
c9c7117a 38
093d3ff1 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d14a1e28 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d14a1e28 52
093d3ff1
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d14a1e28 67#else
093d3ff1
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
85#endif
86
d14a1e28
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
093d3ff1
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
d14a1e28 283
093d3ff1
RD
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
d14a1e28 306
093d3ff1
RD
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
375
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
417
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d14a1e28
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d14a1e28 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 443 *
093d3ff1
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d14a1e28
RD
448 ************************************************************************/
449
093d3ff1
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
093d3ff1
RD
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
492
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511#ifdef __cplusplus
512extern "C" {
513#endif
514
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552/* Constant Types */
d14a1e28
RD
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
d14a1e28
RD
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
568
093d3ff1
RD
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
d14a1e28 592/* Common SWIG API */
093d3ff1
RD
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 596
d14a1e28 597
093d3ff1
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 601
d14a1e28 602
093d3ff1
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d14a1e28 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d14a1e28 618
d14a1e28 619
d14a1e28 620#ifdef __cplusplus
093d3ff1
RD
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648{
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664}
665
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
d14a1e28 672}
093d3ff1
RD
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690}
691
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
717}
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
d14a1e28 792#endif
093d3ff1
RD
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
d14a1e28 797
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d14a1e28 801
093d3ff1
RD
802 return &PySwigObject_Type;
803}
c32bde28 804
093d3ff1
RD
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
d14a1e28 814
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
d14a1e28 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d14a1e28 826
093d3ff1
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d14a1e28 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
d14a1e28 836
093d3ff1
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
d14a1e28 843
093d3ff1
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
c32bde28 868
093d3ff1
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
994141e6 1333
994141e6 1334#ifdef __cplusplus
093d3ff1
RD
1335}
1336#endif
994141e6 1337
15afbcd0 1338
093d3ff1 1339/* -------- TYPES TABLE (BEGIN) -------- */
15afbcd0 1340
093d3ff1
RD
1341#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1342#define SWIGTYPE_p_wxColour swig_types[1]
1343#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1344#define SWIGTYPE_p_wxDC swig_types[3]
1345#define SWIGTYPE_p_form_ops_t swig_types[4]
1346#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1347#define SWIGTYPE_p_wxMouseEvent swig_types[6]
1348#define SWIGTYPE_p_wxDuplexMode swig_types[7]
1349#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1350#define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1351#define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1352#define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1353#define SWIGTYPE_p_char swig_types[12]
1354#define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1355#define SWIGTYPE_p_wxHtmlParser swig_types[14]
1356#define SWIGTYPE_p_wxPanel swig_types[15]
1357#define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1358#define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1359#define SWIGTYPE_p_wxWindow swig_types[18]
1360#define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1361#define SWIGTYPE_p_wxFont swig_types[20]
1362#define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1363#define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1364#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1365#define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1366#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1367#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1368#define SWIGTYPE_p_wxObject swig_types[27]
1369#define SWIGTYPE_p_wxPaperSize swig_types[28]
1370#define SWIGTYPE_p_wxString swig_types[29]
1371#define SWIGTYPE_p_unsigned_int swig_types[30]
1372#define SWIGTYPE_unsigned_int swig_types[31]
1373#define SWIGTYPE_p_wxHtmlTagHandler swig_types[32]
1374#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[33]
1375#define SWIGTYPE_p_wxEvtHandler swig_types[34]
1376#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[35]
1377#define SWIGTYPE_p_wxPoint swig_types[36]
1378#define SWIGTYPE_p_wxHtmlHelpController swig_types[37]
1379#define SWIGTYPE_p_wxCursor swig_types[38]
1380#define SWIGTYPE_p_wxFileSystem swig_types[39]
1381#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[40]
1382#define SWIGTYPE_p_unsigned_char swig_types[41]
1383#define SWIGTYPE_p_wxPyPrintout swig_types[42]
1384#define SWIGTYPE_p_wxHtmlPrintout swig_types[43]
1385#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[44]
1386#define SWIGTYPE_std__ptrdiff_t swig_types[45]
1387#define SWIGTYPE_ptrdiff_t swig_types[46]
1388#define SWIGTYPE_p_wxHtmlContentsItem swig_types[47]
1389#define SWIGTYPE_p_wxConfigBase swig_types[48]
1390#define SWIGTYPE_p_wxPrintData swig_types[49]
1391#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[50]
1392#define SWIGTYPE_p_wxFrame swig_types[51]
1393#define SWIGTYPE_p_wxHtmlRenderingState swig_types[52]
1394#define SWIGTYPE_p_wxPyHtmlFilter swig_types[53]
1395#define SWIGTYPE_p_wxHtmlFilter swig_types[54]
1396#define SWIGTYPE_p_wxHtmlCell swig_types[55]
1397#define SWIGTYPE_p_wxHtmlContainerCell swig_types[56]
1398#define SWIGTYPE_p_wxHtmlTag swig_types[57]
1399#define SWIGTYPE_p_int swig_types[58]
1400#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[59]
1401#define SWIGTYPE_p_unsigned_long swig_types[60]
1402#define SWIGTYPE_p_wxHtmlBookRecord swig_types[61]
1403static swig_type_info *swig_types[63];
994141e6 1404
093d3ff1 1405/* -------- TYPES TABLE (END) -------- */
994141e6 1406
994141e6 1407
093d3ff1
RD
1408/*-----------------------------------------------
1409 @(target):= _html.so
1410 ------------------------------------------------*/
1411#define SWIG_init init_html
1412
1413#define SWIG_name "_html"
994141e6 1414
d14a1e28
RD
1415#include "wx/wxPython/wxPython.h"
1416#include "wx/wxPython/pyclasses.h"
1417#include "wx/wxPython/pyistream.h"
1418#include "wx/wxPython/printfw.h"
1419
1420#include <wx/html/htmlwin.h>
1421#include <wx/html/htmprint.h>
1422#include <wx/html/helpctrl.h>
1423
1424
b2dc1044
RD
1425 static const wxString wxPyEmptyString(wxEmptyString);
1426 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1427 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1428 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
994141e6 1429
093d3ff1
RD
1430 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1431#define SWIG_From_int PyInt_FromLong
1432/*@@*/
1433
1434
15afbcd0
RD
1435#include <limits.h>
1436
1437
093d3ff1 1438SWIGINTERN int
c32bde28
RD
1439 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1440 const char *errmsg)
15afbcd0 1441{
c32bde28
RD
1442 if (value < min_value) {
1443 if (errmsg) {
1444 PyErr_Format(PyExc_OverflowError,
1445 "value %ld is less than '%s' minimum %ld",
1446 value, errmsg, min_value);
1447 }
1448 return 0;
1449 } else if (value > max_value) {
1450 if (errmsg) {
1451 PyErr_Format(PyExc_OverflowError,
1452 "value %ld is greater than '%s' maximum %ld",
1453 value, errmsg, max_value);
15afbcd0 1454 }
c32bde28 1455 return 0;
15afbcd0 1456 }
c32bde28 1457 return 1;
15afbcd0
RD
1458}
1459
1460
093d3ff1 1461SWIGINTERN int
c32bde28 1462SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 1463{
c32bde28
RD
1464 if (PyNumber_Check(obj)) {
1465 if (val) *val = PyInt_AsLong(obj);
1466 return 1;
1467 }
69223c70 1468 else {
093d3ff1 1469 SWIG_type_error("number", obj);
69223c70 1470 }
c32bde28 1471 return 0;
15afbcd0
RD
1472}
1473
1474
1475#if INT_MAX != LONG_MAX
093d3ff1 1476SWIGINTERN int
c32bde28 1477 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 1478{
093d3ff1 1479 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1480 long v;
1481 if (SWIG_AsVal_long(obj, &v)) {
1482 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
093d3ff1 1483 if (val) *val = (int)(v);
c32bde28
RD
1484 return 1;
1485 } else {
1486 return 0;
1487 }
1488 } else {
1489 PyErr_Clear();
1490 }
1491 if (val) {
093d3ff1 1492 SWIG_type_error(errmsg, obj);
c32bde28
RD
1493 }
1494 return 0;
15afbcd0
RD
1495}
1496#else
093d3ff1 1497SWIGINTERNSHORT int
c32bde28
RD
1498 SWIG_AsVal_int(PyObject *obj, int *val)
1499{
1500 return SWIG_AsVal_long(obj,(long*)val);
1501}
15afbcd0
RD
1502#endif
1503
1504
093d3ff1 1505SWIGINTERNSHORT int
c32bde28 1506SWIG_As_int(PyObject* obj)
15afbcd0 1507{
c32bde28
RD
1508 int v;
1509 if (!SWIG_AsVal_int(obj, &v)) {
1510 /*
093d3ff1 1511 this is needed to make valgrind/purify happier.
c32bde28
RD
1512 */
1513 memset((void*)&v, 0, sizeof(int));
15afbcd0 1514 }
c32bde28
RD
1515 return v;
1516}
1517
1518
093d3ff1 1519SWIGINTERNSHORT int
c32bde28
RD
1520SWIG_Check_int(PyObject* obj)
1521{
1522 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
1523}
1524
093d3ff1 1525static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1526 int* temp = NULL;
1527 if (sizes) temp = int_LIST_helper(sizes);
1528 self->SetFonts(normal_face, fixed_face, temp);
1529 if (temp)
1530 delete [] temp;
1531 }
1532
1533class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1534 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
1535public:
1536 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1537
1538 wxHtmlParser* GetParser() { return m_Parser; }
1539 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1540
1541 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1542 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1543
1544 PYPRIVATE;
1545};
1546
1547IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1548
1549IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1550IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1551
1552
1553class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1554 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
1555public:
1556 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1557
1558 wxHtmlWinParser* GetParser() { return m_WParser; }
1559 void ParseInner(const wxHtmlTag& tag)
1560 { wxHtmlWinTagHandler::ParseInner(tag); }
1561
1562 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1563 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1564
1565 PYPRIVATE;
1566};
1567
1568IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1569
1570IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1571IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1572
1573
1574
1575class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1576public:
1577 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1578 m_tagHandlerClass = thc;
1579 Py_INCREF(m_tagHandlerClass);
1580 RegisterModule(this);
1581 wxHtmlWinParser::AddModule(this);
1582 }
1583
1584 void OnExit() {
4f89f6a3 1585 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1586 Py_DECREF(m_tagHandlerClass);
1587 m_tagHandlerClass = NULL;
1588 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1589 PyObject* obj = (PyObject*)m_objArray.Item(x);
1590 Py_DECREF(obj);
1591 }
4f89f6a3 1592 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1593 };
1594
1595 void FillHandlersTable(wxHtmlWinParser *parser) {
1596 // Wave our magic wand... (if it works it's a miracle! ;-)
1597
1598 // First, make a new instance of the tag handler
4f89f6a3 1599 bool blocked = wxPyBeginBlockThreads();
fd3f2efe
RD
1600 PyObject* arg = PyTuple_New(0);
1601 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1602 Py_DECREF(arg);
fd3f2efe 1603
d14a1e28
RD
1604 // now figure out where it's C++ object is...
1605 wxPyHtmlWinTagHandler* thPtr;
fd3f2efe 1606 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 1607 wxPyEndBlockThreads(blocked);
d14a1e28 1608 return;
fd3f2efe 1609 }
4f89f6a3 1610 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1611
1612 // add it,
1613 parser->AddTagHandler(thPtr);
1614
1615 // and track it.
1616 m_objArray.Add(obj);
1617 }
1618
1619private:
1620 PyObject* m_tagHandlerClass;
1621 wxArrayPtrVoid m_objArray;
1622
1623};
1624
1625
1626 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1627 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1628 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1629 new wxPyHtmlTagsModule(tagHandlerClass);
1630 }
1631
1632
093d3ff1
RD
1633SWIGINTERNSHORT PyObject*
1634 SWIG_From_bool(bool value)
1635{
1636 PyObject *obj = value ? Py_True : Py_False;
1637 Py_INCREF(obj);
1638 return obj;
1639}
1640
1641
c32bde28 1642 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1643 PyObject* o2;
1644 PyObject* o3;
c32bde28 1645
d14a1e28
RD
1646 if (!target) {
1647 target = o;
1648 } else if (target == Py_None) {
1649 Py_DECREF(Py_None);
1650 target = o;
7e63a440
RD
1651 } else {
1652 if (!PyTuple_Check(target)) {
1653 o2 = target;
1654 target = PyTuple_New(1);
1655 PyTuple_SetItem(target, 0, o2);
1656 }
d14a1e28
RD
1657 o3 = PyTuple_New(1);
1658 PyTuple_SetItem(o3, 0, o);
1659
1660 o2 = target;
1661 target = PySequence_Concat(o2, o3);
1662 Py_DECREF(o2);
1663 Py_DECREF(o3);
1664 }
1665 return target;
7e63a440 1666 }
d14a1e28 1667
994141e6 1668
994141e6 1669
093d3ff1 1670SWIGINTERN int
c32bde28 1671 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 1672{
c32bde28
RD
1673 if (obj == Py_True) {
1674 if (val) *val = true;
1675 return 1;
1676 }
1677 if (obj == Py_False) {
1678 if (val) *val = false;
1679 return 1;
1680 }
1681 int res = 0;
1682 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1683 if (val) *val = res ? true : false;
15afbcd0 1684 return 1;
093d3ff1
RD
1685 } else {
1686 PyErr_Clear();
1687 }
c32bde28 1688 if (val) {
093d3ff1 1689 SWIG_type_error("bool", obj);
c32bde28
RD
1690 }
1691 return 0;
15afbcd0
RD
1692}
1693
1694
093d3ff1 1695SWIGINTERNSHORT bool
c32bde28 1696SWIG_As_bool(PyObject* obj)
15afbcd0 1697{
c32bde28
RD
1698 bool v;
1699 if (!SWIG_AsVal_bool(obj, &v)) {
1700 /*
093d3ff1 1701 this is needed to make valgrind/purify happier.
c32bde28
RD
1702 */
1703 memset((void*)&v, 0, sizeof(bool));
15afbcd0 1704 }
c32bde28
RD
1705 return v;
1706}
1707
1708
093d3ff1 1709SWIGINTERNSHORT int
c32bde28
RD
1710SWIG_Check_bool(PyObject* obj)
1711{
1712 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
1713}
1714
1715
093d3ff1 1716SWIGINTERNSHORT int
c32bde28
RD
1717 SWIG_CheckUnsignedLongInRange(unsigned long value,
1718 unsigned long max_value,
1719 const char *errmsg)
15afbcd0 1720{
c32bde28
RD
1721 if (value > max_value) {
1722 if (errmsg) {
1723 PyErr_Format(PyExc_OverflowError,
093d3ff1 1724 "value %lu is greater than '%s' minimum %lu",
c32bde28 1725 value, errmsg, max_value);
15afbcd0 1726 }
c32bde28 1727 return 0;
15afbcd0 1728 }
c32bde28
RD
1729 return 1;
1730 }
1731
1732
093d3ff1 1733SWIGINTERN int
c32bde28
RD
1734SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1735{
1736 long v = 0;
1737 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1738 SWIG_type_error("unsigned number", obj);
c32bde28
RD
1739 }
1740 else if (val)
1741 *val = (unsigned long)v;
1742 return 1;
15afbcd0
RD
1743}
1744
1745
1746#if UINT_MAX != ULONG_MAX
093d3ff1 1747SWIGINTERN int
c32bde28 1748 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 1749{
093d3ff1 1750 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
1751 unsigned long v;
1752 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1753 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 1754 if (val) *val = (unsigned int)(v);
c32bde28
RD
1755 return 1;
1756 }
1757 } else {
1758 PyErr_Clear();
1759 }
1760 if (val) {
093d3ff1 1761 SWIG_type_error(errmsg, obj);
c32bde28
RD
1762 }
1763 return 0;
994141e6 1764}
15afbcd0 1765#else
093d3ff1 1766SWIGINTERNSHORT unsigned int
c32bde28
RD
1767 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1768{
1769 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1770}
15afbcd0 1771#endif
994141e6
RD
1772
1773
093d3ff1 1774SWIGINTERNSHORT unsigned int
c32bde28 1775SWIG_As_unsigned_SS_int(PyObject* obj)
994141e6 1776{
c32bde28
RD
1777 unsigned int v;
1778 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1779 /*
093d3ff1 1780 this is needed to make valgrind/purify happier.
c32bde28
RD
1781 */
1782 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 1783 }
c32bde28
RD
1784 return v;
1785}
1786
1787
093d3ff1 1788SWIGINTERNSHORT int
c32bde28
RD
1789SWIG_Check_unsigned_SS_int(PyObject* obj)
1790{
1791 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
15afbcd0
RD
1792}
1793
1794
093d3ff1
RD
1795 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1796#define SWIG_From_long PyInt_FromLong
1797/*@@*/
1798
1799
1800SWIGINTERNSHORT PyObject*
c32bde28 1801 SWIG_From_unsigned_SS_long(unsigned long value)
15afbcd0
RD
1802{
1803 return (value > LONG_MAX) ?
1804 PyLong_FromUnsignedLong(value)
093d3ff1 1805 : PyInt_FromLong((long)(value));
994141e6
RD
1806}
1807
1808
15afbcd0 1809#if UINT_MAX < LONG_MAX
093d3ff1 1810/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1811#define SWIG_From_unsigned_SS_int SWIG_From_long
1812/*@@*/
15afbcd0 1813#else
093d3ff1 1814/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1815#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1816/*@@*/
15afbcd0 1817#endif
994141e6 1818
d14a1e28
RD
1819 // here's the C++ version
1820class wxPyHtmlFilter : public wxHtmlFilter {
1821 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
1822public:
1823 wxPyHtmlFilter() : wxHtmlFilter() {}
1824
e811c8ce 1825 // returns True if this filter is able to open&read given file
d14a1e28 1826 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 1827 bool rval = false;
d14a1e28 1828 bool found;
4f89f6a3 1829 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1830 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 1831 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1832 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1833 Py_DECREF(obj);
1834 }
4f89f6a3 1835 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1836 return rval;
1837 }
1838
1839
1840 // Reads given file and returns HTML document.
1841 // Returns empty string if opening failed
1842 virtual wxString ReadFile(const wxFSFile& file) const {
1843 wxString rval;
1844 bool found;
4f89f6a3 1845 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1846 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 1847 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1848 PyObject* ro;
1849 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
1850 Py_DECREF(obj);
1851 if (ro) {
1852 rval = Py2wxString(ro);
1853 Py_DECREF(ro);
1854 }
1855 }
4f89f6a3 1856 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1857 return rval;
1858 }
1859
1860 PYPRIVATE;
1861};
1862
1863IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
1864
1865
1866class wxPyHtmlWindow : public wxHtmlWindow {
1867 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
1868public:
1869 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
1870 const wxPoint& pos = wxDefaultPosition,
1871 const wxSize& size = wxDefaultSize,
1872 long style = wxHW_DEFAULT_STYLE,
1873 const wxString& name = wxPyHtmlWindowNameStr)
1874 : wxHtmlWindow(parent, id, pos, size, style, name) {};
1875 wxPyHtmlWindow() : wxHtmlWindow() {};
1876
1877 bool ScrollToAnchor(const wxString& anchor) {
1878 return wxHtmlWindow::ScrollToAnchor(anchor);
1879 }
1880
1881 bool HasAnchor(const wxString& anchor) {
1882 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
1883 return c!=NULL;
1884 }
1885
1886 void OnLinkClicked(const wxHtmlLinkInfo& link);
1887 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
1888
1889 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
1890 const wxString& url,
1891 wxString *redirect) const;
1892
1893 DEC_PYCALLBACK__STRING(OnSetTitle);
1894 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
1895 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
1896 PYPRIVATE;
1897};
1898
1899IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
1900IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
1901IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
1902IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
1903
1904
1905void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
1906 bool found;
4f89f6a3 1907 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1908 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
1909 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
1910 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1911 Py_DECREF(obj);
1912 }
4f89f6a3 1913 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1914 if (! found)
1915 wxHtmlWindow::OnLinkClicked(link);
1916}
1917void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
1918 wxHtmlWindow::OnLinkClicked(link);
1919}
1920
1921
1922wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
1923 const wxString& url,
1924 wxString *redirect) const {
1925 bool found;
1926 wxHtmlOpeningStatus rval;
4f89f6a3 1927 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1928 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
1929 PyObject* ro;
1930 PyObject* s = wx2PyString(url);
1931 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
1932 Py_DECREF(s);
1933 if (PyString_Check(ro)
1934#if PYTHON_API_VERSION >= 1009
1935 || PyUnicode_Check(ro)
1936#endif
1937 ) {
1938 *redirect = Py2wxString(ro);
1939 rval = wxHTML_REDIRECT;
1940 }
1941 else {
1942 PyObject* num = PyNumber_Int(ro);
1943 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
1944 Py_DECREF(num);
1945 }
1946 Py_DECREF(ro);
1947 }
4f89f6a3 1948 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1949 if (! found)
1950 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
1951 return rval;
1952}
1953
1954
1955
093d3ff1 1956static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1957 int* temp = NULL;
1958 if (sizes) temp = int_LIST_helper(sizes);
1959 self->SetFonts(normal_face, fixed_face, temp);
1960 if (temp)
1961 delete [] temp;
1962 }
093d3ff1 1963static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1964 int* temp = NULL;
1965 if (sizes) temp = int_LIST_helper(sizes);
1966 self->SetFonts(normal_face, fixed_face, temp);
1967 if (temp)
1968 delete [] temp;
1969 }
093d3ff1 1970static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1971 int* temp = NULL;
1972 if (sizes) temp = int_LIST_helper(sizes);
1973 self->SetFonts(normal_face, fixed_face, temp);
1974 if (temp)
1975 delete [] temp;
1976 }
994141e6 1977
15afbcd0 1978#include <float.h>
093d3ff1 1979SWIGINTERN int
c32bde28
RD
1980 SWIG_CheckDoubleInRange(double value, double min_value,
1981 double max_value, const char* errmsg)
15afbcd0 1982{
c32bde28
RD
1983 if (value < min_value) {
1984 if (errmsg) {
1985 PyErr_Format(PyExc_OverflowError,
1986 "value %g is less than %s minimum %g",
1987 value, errmsg, min_value);
15afbcd0 1988 }
c32bde28
RD
1989 return 0;
1990 } else if (value > max_value) {
1991 if (errmsg) {
1992 PyErr_Format(PyExc_OverflowError,
1993 "value %g is greater than %s maximum %g",
1994 value, errmsg, max_value);
1995 }
1996 return 0;
15afbcd0 1997 }
c32bde28 1998 return 1;
15afbcd0
RD
1999}
2000
2001
093d3ff1 2002SWIGINTERN int
c32bde28 2003SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 2004{
c32bde28
RD
2005 if (PyNumber_Check(obj)) {
2006 if (val) *val = PyFloat_AsDouble(obj);
2007 return 1;
2008 }
69223c70 2009 else {
093d3ff1 2010 SWIG_type_error("number", obj);
69223c70 2011 }
c32bde28
RD
2012 return 0;
2013}
2014
2015
093d3ff1 2016SWIGINTERN int
c32bde28
RD
2017 SWIG_AsVal_float(PyObject *obj, float *val)
2018{
093d3ff1 2019 const char* errmsg = val ? "float" : (char*)0;
c32bde28
RD
2020 double v;
2021 if (SWIG_AsVal_double(obj, &v)) {
2022 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
093d3ff1 2023 if (val) *val = (float)(v);
c32bde28
RD
2024 return 1;
2025 } else {
2026 return 0;
2027 }
2028 } else {
2029 PyErr_Clear();
2030 }
2031 if (val) {
093d3ff1 2032 SWIG_type_error(errmsg, obj);
c32bde28
RD
2033 }
2034 return 0;
994141e6
RD
2035}
2036
2037
093d3ff1 2038SWIGINTERNSHORT float
c32bde28 2039SWIG_As_float(PyObject* obj)
994141e6 2040{
c32bde28
RD
2041 float v;
2042 if (!SWIG_AsVal_float(obj, &v)) {
2043 /*
093d3ff1 2044 this is needed to make valgrind/purify happier.
c32bde28
RD
2045 */
2046 memset((void*)&v, 0, sizeof(float));
2047 }
2048 return v;
15afbcd0
RD
2049}
2050
c32bde28 2051
093d3ff1 2052SWIGINTERNSHORT int
c32bde28 2053SWIG_Check_float(PyObject* obj)
15afbcd0 2054{
c32bde28 2055 return SWIG_AsVal_float(obj, (float*)0);
994141e6
RD
2056}
2057
093d3ff1 2058static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2059 int* temp = NULL;
2060 if (sizes) temp = int_LIST_helper(sizes);
2061 self->SetFonts(normal_face, fixed_face, temp);
2062 if (temp)
2063 delete [] temp;
2064 }
093d3ff1
RD
2065static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
2066static int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
2067static wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
2068static wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
2069static wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
d14a1e28
RD
2070#ifdef __cplusplus
2071extern "C" {
2072#endif
c32bde28 2073static int _wrap_HtmlWindowNameStr_set(PyObject *) {
b2dc1044
RD
2074 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2075 return 1;
2076}
2077
2078
093d3ff1 2079static PyObject *_wrap_HtmlWindowNameStr_get(void) {
b2dc1044
RD
2080 PyObject *pyobj;
2081
2082 {
2083#if wxUSE_UNICODE
2084 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2085#else
2086 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2087#endif
2088 }
2089 return pyobj;
2090}
2091
2092
c32bde28 2093static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
b2dc1044
RD
2094 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2095 return 1;
2096}
2097
2098
093d3ff1 2099static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
b2dc1044
RD
2100 PyObject *pyobj;
2101
2102 {
2103#if wxUSE_UNICODE
2104 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2105#else
2106 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2107#endif
2108 }
2109 return pyobj;
2110}
2111
2112
c32bde28 2113static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
b2dc1044
RD
2114 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2115 return 1;
2116}
2117
2118
093d3ff1 2119static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
b2dc1044
RD
2120 PyObject *pyobj;
2121
2122 {
2123#if wxUSE_UNICODE
2124 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2125#else
2126 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2127#endif
2128 }
2129 return pyobj;
2130}
2131
2132
c32bde28 2133static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2134 PyObject *resultobj;
2135 wxString *arg1 = 0 ;
2136 wxString const &arg2_defvalue = wxPyEmptyString ;
2137 wxString *arg2 = (wxString *) &arg2_defvalue ;
2138 wxHtmlLinkInfo *result;
ae8162c8
RD
2139 bool temp1 = false ;
2140 bool temp2 = false ;
d14a1e28
RD
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj1 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "href",(char *) "target", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2148 {
2149 arg1 = wxString_in_helper(obj0);
2150 if (arg1 == NULL) SWIG_fail;
ae8162c8 2151 temp1 = true;
d14a1e28
RD
2152 }
2153 if (obj1) {
2154 {
2155 arg2 = wxString_in_helper(obj1);
2156 if (arg2 == NULL) SWIG_fail;
ae8162c8 2157 temp2 = true;
d14a1e28
RD
2158 }
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
15afbcd0 2167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2168 {
2169 if (temp1)
2170 delete arg1;
2171 }
2172 {
2173 if (temp2)
2174 delete arg2;
2175 }
2176 return resultobj;
2177 fail:
2178 {
2179 if (temp1)
2180 delete arg1;
2181 }
2182 {
2183 if (temp2)
2184 delete arg2;
2185 }
2186 return NULL;
2187}
2188
2189
c32bde28 2190static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2191 PyObject *resultobj;
2192 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2193 wxString result;
2194 PyObject * obj0 = 0 ;
2195 char *kwnames[] = {
2196 (char *) "self", NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
093d3ff1
RD
2200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2201 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (arg1)->GetHref();
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 {
2210#if wxUSE_UNICODE
2211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2212#else
2213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2214#endif
2215 }
2216 return resultobj;
2217 fail:
2218 return NULL;
2219}
2220
2221
c32bde28 2222static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2223 PyObject *resultobj;
2224 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2225 wxString result;
2226 PyObject * obj0 = 0 ;
2227 char *kwnames[] = {
2228 (char *) "self", NULL
2229 };
2230
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
2232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2233 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (arg1)->GetTarget();
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 {
2242#if wxUSE_UNICODE
2243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2244#else
2245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2246#endif
2247 }
2248 return resultobj;
2249 fail:
2250 return NULL;
2251}
2252
2253
c32bde28 2254static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2255 PyObject *resultobj;
2256 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2257 wxMouseEvent *result;
2258 PyObject * obj0 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
2264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2265 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2266 {
2267 PyThreadState* __tstate = wxPyBeginAllowThreads();
2268 result = (wxMouseEvent *)(arg1)->GetEvent();
2269
2270 wxPyEndAllowThreads(__tstate);
2271 if (PyErr_Occurred()) SWIG_fail;
2272 }
2273 {
412d302d 2274 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2275 }
2276 return resultobj;
2277 fail:
2278 return NULL;
2279}
2280
2281
c32bde28 2282static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2283 PyObject *resultobj;
2284 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2285 wxHtmlCell *result;
2286 PyObject * obj0 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
2292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
15afbcd0 2301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2302 return resultobj;
2303 fail:
2304 return NULL;
2305}
2306
2307
c32bde28 2308static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2309 PyObject *resultobj;
2310 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2311 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2312 PyObject * obj0 = 0 ;
2313 PyObject * obj1 = 0 ;
2314 char *kwnames[] = {
2315 (char *) "self",(char *) "e", NULL
2316 };
2317
2318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2320 if (SWIG_arg_fail(1)) SWIG_fail;
2321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2322 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 Py_INCREF(Py_None); resultobj = Py_None;
2331 return resultobj;
2332 fail:
2333 return NULL;
2334}
2335
2336
c32bde28 2337static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2338 PyObject *resultobj;
2339 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2340 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2341 PyObject * obj0 = 0 ;
2342 PyObject * obj1 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self",(char *) "e", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2349 if (SWIG_arg_fail(1)) SWIG_fail;
2350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2351 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2352 {
2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
2354 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2355
2356 wxPyEndAllowThreads(__tstate);
2357 if (PyErr_Occurred()) SWIG_fail;
2358 }
2359 Py_INCREF(Py_None); resultobj = Py_None;
2360 return resultobj;
2361 fail:
2362 return NULL;
2363}
2364
2365
c32bde28 2366static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2367 PyObject *obj;
2368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2370 Py_INCREF(obj);
2371 return Py_BuildValue((char *)"");
2372}
c32bde28 2373static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2374 PyObject *resultobj;
2375 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2376 wxString result;
2377 PyObject * obj0 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
2383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2385 {
2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
2387 result = (arg1)->GetName();
2388
2389 wxPyEndAllowThreads(__tstate);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 }
2392 {
2393#if wxUSE_UNICODE
2394 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2395#else
2396 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2397#endif
2398 }
2399 return resultobj;
2400 fail:
2401 return NULL;
2402}
2403
2404
c32bde28 2405static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2406 PyObject *resultobj;
2407 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2408 wxString *arg2 = 0 ;
2409 bool result;
ae8162c8 2410 bool temp2 = false ;
d14a1e28
RD
2411 PyObject * obj0 = 0 ;
2412 PyObject * obj1 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self",(char *) "par", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2420 {
2421 arg2 = wxString_in_helper(obj1);
2422 if (arg2 == NULL) SWIG_fail;
ae8162c8 2423 temp2 = true;
d14a1e28
RD
2424 }
2425 {
2426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2427 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2428
2429 wxPyEndAllowThreads(__tstate);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
4f89f6a3
RD
2432 {
2433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2434 }
d14a1e28
RD
2435 {
2436 if (temp2)
2437 delete arg2;
2438 }
2439 return resultobj;
2440 fail:
2441 {
2442 if (temp2)
2443 delete arg2;
2444 }
2445 return NULL;
2446}
2447
2448
c32bde28 2449static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2450 PyObject *resultobj;
2451 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2452 wxString *arg2 = 0 ;
ae8162c8 2453 int arg3 = (int) false ;
d14a1e28 2454 wxString result;
ae8162c8 2455 bool temp2 = false ;
d14a1e28
RD
2456 PyObject * obj0 = 0 ;
2457 PyObject * obj1 = 0 ;
994141e6 2458 PyObject * obj2 = 0 ;
d14a1e28
RD
2459 char *kwnames[] = {
2460 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2461 };
2462
994141e6 2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2466 {
2467 arg2 = wxString_in_helper(obj1);
2468 if (arg2 == NULL) SWIG_fail;
ae8162c8 2469 temp2 = true;
d14a1e28 2470 }
994141e6 2471 if (obj2) {
093d3ff1
RD
2472 {
2473 arg3 = (int)(SWIG_As_int(obj2));
2474 if (SWIG_arg_fail(3)) SWIG_fail;
2475 }
994141e6 2476 }
d14a1e28
RD
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 {
2485#if wxUSE_UNICODE
2486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2487#else
2488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2489#endif
2490 }
2491 {
2492 if (temp2)
2493 delete arg2;
2494 }
2495 return resultobj;
2496 fail:
2497 {
2498 if (temp2)
2499 delete arg2;
2500 }
2501 return NULL;
2502}
2503
2504
c32bde28 2505static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2506 PyObject *resultobj;
2507 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2508 wxString result;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
093d3ff1
RD
2515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2516 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 result = (arg1)->GetAllParams();
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 {
2525#if wxUSE_UNICODE
2526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2527#else
2528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2529#endif
2530 }
2531 return resultobj;
2532 fail:
2533 return NULL;
2534}
2535
2536
c32bde28 2537static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2538 PyObject *resultobj;
2539 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2540 bool result;
2541 PyObject * obj0 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
093d3ff1
RD
2547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 result = (bool)(arg1)->HasEnding();
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
4f89f6a3
RD
2556 {
2557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2558 }
d14a1e28
RD
2559 return resultobj;
2560 fail:
2561 return NULL;
2562}
2563
2564
c32bde28 2565static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2566 PyObject *resultobj;
2567 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2568 int result;
2569 PyObject * obj0 = 0 ;
2570 char *kwnames[] = {
2571 (char *) "self", NULL
2572 };
2573
2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
2575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 result = (int)(arg1)->GetBeginPos();
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
093d3ff1
RD
2584 {
2585 resultobj = SWIG_From_int((int)(result));
2586 }
d14a1e28
RD
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
c32bde28 2593static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2594 PyObject *resultobj;
2595 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2596 int result;
2597 PyObject * obj0 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
093d3ff1
RD
2603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2604 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = (int)(arg1)->GetEndPos1();
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
093d3ff1
RD
2612 {
2613 resultobj = SWIG_From_int((int)(result));
2614 }
d14a1e28
RD
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
c32bde28 2621static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2622 PyObject *resultobj;
2623 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2624 int result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
093d3ff1
RD
2631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (int)(arg1)->GetEndPos2();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
093d3ff1
RD
2640 {
2641 resultobj = SWIG_From_int((int)(result));
2642 }
d14a1e28
RD
2643 return resultobj;
2644 fail:
2645 return NULL;
2646}
2647
2648
c32bde28 2649static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2650 PyObject *obj;
2651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2652 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2653 Py_INCREF(obj);
2654 return Py_BuildValue((char *)"");
2655}
c32bde28 2656static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2657 PyObject *resultobj;
2658 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2659 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2660 PyObject * obj0 = 0 ;
2661 PyObject * obj1 = 0 ;
2662 char *kwnames[] = {
2663 (char *) "self",(char *) "fs", NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2668 if (SWIG_arg_fail(1)) SWIG_fail;
2669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2670 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 (arg1)->SetFS(arg2);
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
2678 Py_INCREF(Py_None); resultobj = Py_None;
2679 return resultobj;
2680 fail:
2681 return NULL;
2682}
2683
2684
c32bde28 2685static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2686 PyObject *resultobj;
2687 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2688 wxFileSystem *result;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
093d3ff1
RD
2695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 result = (wxFileSystem *)(arg1)->GetFS();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 {
412d302d 2705 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2706 }
2707 return resultobj;
2708 fail:
2709 return NULL;
2710}
2711
2712
c32bde28 2713static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2714 PyObject *resultobj;
2715 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2716 wxString *arg2 = 0 ;
2717 wxObject *result;
ae8162c8 2718 bool temp2 = false ;
d14a1e28
RD
2719 PyObject * obj0 = 0 ;
2720 PyObject * obj1 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self",(char *) "source", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2728 {
2729 arg2 = wxString_in_helper(obj1);
2730 if (arg2 == NULL) SWIG_fail;
ae8162c8 2731 temp2 = true;
d14a1e28
RD
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 {
412d302d 2741 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2742 }
2743 {
2744 if (temp2)
2745 delete arg2;
2746 }
2747 return resultobj;
2748 fail:
2749 {
2750 if (temp2)
2751 delete arg2;
2752 }
2753 return NULL;
2754}
2755
2756
c32bde28 2757static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2758 PyObject *resultobj;
2759 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2760 wxString *arg2 = 0 ;
ae8162c8 2761 bool temp2 = false ;
d14a1e28
RD
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj1 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self",(char *) "source", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2771 {
2772 arg2 = wxString_in_helper(obj1);
2773 if (arg2 == NULL) SWIG_fail;
ae8162c8 2774 temp2 = true;
d14a1e28
RD
2775 }
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 (arg1)->InitParser((wxString const &)*arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 Py_INCREF(Py_None); resultobj = Py_None;
2784 {
2785 if (temp2)
2786 delete arg2;
2787 }
2788 return resultobj;
2789 fail:
2790 {
2791 if (temp2)
2792 delete arg2;
2793 }
2794 return NULL;
2795}
2796
2797
c32bde28 2798static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2799 PyObject *resultobj;
2800 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2801 PyObject * obj0 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
2807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2808 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 (arg1)->DoneParser();
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) SWIG_fail;
2815 }
2816 Py_INCREF(Py_None); resultobj = Py_None;
2817 return resultobj;
2818 fail:
2819 return NULL;
2820}
2821
2822
c32bde28 2823static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2824 PyObject *resultobj;
2825 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2826 int arg2 ;
2827 int arg3 ;
2828 PyObject * obj0 = 0 ;
994141e6
RD
2829 PyObject * obj1 = 0 ;
2830 PyObject * obj2 = 0 ;
d14a1e28
RD
2831 char *kwnames[] = {
2832 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2833 };
2834
994141e6 2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2837 if (SWIG_arg_fail(1)) SWIG_fail;
2838 {
2839 arg2 = (int)(SWIG_As_int(obj1));
2840 if (SWIG_arg_fail(2)) SWIG_fail;
2841 }
2842 {
2843 arg3 = (int)(SWIG_As_int(obj2));
2844 if (SWIG_arg_fail(3)) SWIG_fail;
2845 }
d14a1e28
RD
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 (arg1)->DoParsing(arg2,arg3);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 Py_INCREF(Py_None); resultobj = Py_None;
2854 return resultobj;
2855 fail:
2856 return NULL;
2857}
2858
2859
c32bde28 2860static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2861 PyObject *resultobj;
2862 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2863 PyObject * obj0 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
093d3ff1
RD
2869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2870 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 (arg1)->StopParsing();
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 Py_INCREF(Py_None); resultobj = Py_None;
2879 return resultobj;
2880 fail:
2881 return NULL;
2882}
2883
2884
c32bde28 2885static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2886 PyObject *resultobj;
2887 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2888 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2889 PyObject * obj0 = 0 ;
2890 PyObject * obj1 = 0 ;
2891 char *kwnames[] = {
2892 (char *) "self",(char *) "handler", NULL
2893 };
2894
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2897 if (SWIG_arg_fail(1)) SWIG_fail;
2898 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2899 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 (arg1)->AddTagHandler(arg2);
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 return resultobj;
2909 fail:
2910 return NULL;
2911}
2912
2913
c32bde28 2914static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2915 PyObject *resultobj;
2916 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2917 wxString *result;
2918 PyObject * obj0 = 0 ;
2919 char *kwnames[] = {
2920 (char *) "self", NULL
2921 };
2922
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
2924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2925 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = (wxString *)(arg1)->GetSource();
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 {
2934#if wxUSE_UNICODE
2935 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
2936#else
2937 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
2938#endif
2939 }
2940 return resultobj;
2941 fail:
2942 return NULL;
2943}
2944
2945
c32bde28 2946static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2947 PyObject *resultobj;
2948 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2949 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2950 wxString arg3 ;
d14a1e28
RD
2951 PyObject * obj0 = 0 ;
2952 PyObject * obj1 = 0 ;
2953 PyObject * obj2 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "handler",(char *) "tags", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2960 if (SWIG_arg_fail(1)) SWIG_fail;
2961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2962 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
2963 {
2964 wxString* sptr = wxString_in_helper(obj2);
2965 if (sptr == NULL) SWIG_fail;
2966 arg3 = *sptr;
2967 delete sptr;
2968 }
d14a1e28
RD
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 (arg1)->PushTagHandler(arg2,arg3);
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 Py_INCREF(Py_None); resultobj = Py_None;
2977 return resultobj;
2978 fail:
2979 return NULL;
2980}
2981
2982
c32bde28 2983static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2984 PyObject *resultobj;
2985 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2986 PyObject * obj0 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
2992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 (arg1)->PopTagHandler();
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 Py_INCREF(Py_None); resultobj = Py_None;
3002 return resultobj;
3003 fail:
3004 return NULL;
3005}
3006
3007
c32bde28 3008static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3009 PyObject *obj;
3010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3011 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3012 Py_INCREF(obj);
3013 return Py_BuildValue((char *)"");
3014}
c32bde28 3015static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3016 PyObject *resultobj;
3017 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3018 wxHtmlWinParser *result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "wnd", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3025 if (obj0) {
093d3ff1
RD
3026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3028 }
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
15afbcd0 3036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3037 return resultobj;
3038 fail:
3039 return NULL;
3040}
3041
3042
c32bde28 3043static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3044 PyObject *resultobj;
3045 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3046 wxDC *arg2 = (wxDC *) 0 ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 char *kwnames[] = {
3050 (char *) "self",(char *) "dc", NULL
3051 };
3052
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3055 if (SWIG_arg_fail(1)) SWIG_fail;
3056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3058 {
3059 PyThreadState* __tstate = wxPyBeginAllowThreads();
3060 (arg1)->SetDC(arg2);
3061
3062 wxPyEndAllowThreads(__tstate);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 }
3065 Py_INCREF(Py_None); resultobj = Py_None;
3066 return resultobj;
3067 fail:
3068 return NULL;
3069}
3070
3071
c32bde28 3072static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3073 PyObject *resultobj;
3074 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3075 wxDC *result;
3076 PyObject * obj0 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
3082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 result = (wxDC *)(arg1)->GetDC();
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 }
3091 {
412d302d 3092 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3093 }
3094 return resultobj;
3095 fail:
3096 return NULL;
3097}
3098
3099
c32bde28 3100static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3101 PyObject *resultobj;
3102 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3103 int result;
3104 PyObject * obj0 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
3110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = (int)(arg1)->GetCharHeight();
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
093d3ff1
RD
3119 {
3120 resultobj = SWIG_From_int((int)(result));
3121 }
d14a1e28
RD
3122 return resultobj;
3123 fail:
3124 return NULL;
3125}
3126
3127
c32bde28 3128static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3129 PyObject *resultobj;
3130 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3131 int result;
3132 PyObject * obj0 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (int)(arg1)->GetCharWidth();
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
093d3ff1
RD
3147 {
3148 resultobj = SWIG_From_int((int)(result));
3149 }
d14a1e28
RD
3150 return resultobj;
3151 fail:
3152 return NULL;
3153}
3154
3155
c32bde28 3156static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3157 PyObject *resultobj;
3158 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3159 wxPyHtmlWindow *result;
3160 PyObject * obj0 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 {
412d302d 3176 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3177 }
3178 return resultobj;
3179 fail:
3180 return NULL;
3181}
3182
3183
c32bde28 3184static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3185 PyObject *resultobj;
3186 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3187 wxString arg2 ;
3188 wxString arg3 ;
3189 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 PyObject * obj2 = 0 ;
3193 PyObject * obj3 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
3201 {
3202 wxString* sptr = wxString_in_helper(obj1);
3203 if (sptr == NULL) SWIG_fail;
3204 arg2 = *sptr;
3205 delete sptr;
3206 }
3207 {
3208 wxString* sptr = wxString_in_helper(obj2);
3209 if (sptr == NULL) SWIG_fail;
3210 arg3 = *sptr;
3211 delete sptr;
3212 }
d14a1e28
RD
3213 if (obj3) {
3214 arg4 = obj3;
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227}
3228
3229
ae8162c8 3230static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
3231 PyObject *resultobj;
3232 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3233 int arg2 = (int) -1 ;
ae8162c8
RD
3234 wxString const &arg3_defvalue = wxPyEmptyString ;
3235 wxString *arg3 = (wxString *) &arg3_defvalue ;
3236 wxString const &arg4_defvalue = wxPyEmptyString ;
3237 wxString *arg4 = (wxString *) &arg4_defvalue ;
3238 bool temp3 = false ;
3239 bool temp4 = false ;
30ee79f7
RD
3240 PyObject * obj0 = 0 ;
3241 PyObject * obj1 = 0 ;
ae8162c8
RD
3242 PyObject * obj2 = 0 ;
3243 PyObject * obj3 = 0 ;
30ee79f7 3244 char *kwnames[] = {
ae8162c8 3245 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3246 };
3247
ae8162c8 3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3251 if (obj1) {
093d3ff1
RD
3252 {
3253 arg2 = (int)(SWIG_As_int(obj1));
3254 if (SWIG_arg_fail(2)) SWIG_fail;
3255 }
30ee79f7 3256 }
ae8162c8
RD
3257 if (obj2) {
3258 {
3259 arg3 = wxString_in_helper(obj2);
3260 if (arg3 == NULL) SWIG_fail;
3261 temp3 = true;
3262 }
3263 }
3264 if (obj3) {
3265 {
3266 arg4 = wxString_in_helper(obj3);
3267 if (arg4 == NULL) SWIG_fail;
3268 temp4 = true;
3269 }
3270 }
30ee79f7
RD
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 3273 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
3279 {
3280 if (temp3)
3281 delete arg3;
3282 }
3283 {
3284 if (temp4)
3285 delete arg4;
3286 }
30ee79f7
RD
3287 return resultobj;
3288 fail:
ae8162c8
RD
3289 {
3290 if (temp3)
3291 delete arg3;
3292 }
3293 {
3294 if (temp4)
3295 delete arg4;
3296 }
30ee79f7
RD
3297 return NULL;
3298}
3299
3300
c32bde28 3301static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3302 PyObject *resultobj;
3303 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3304 wxHtmlContainerCell *result;
3305 PyObject * obj0 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
15afbcd0 3320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3321 return resultobj;
3322 fail:
3323 return NULL;
3324}
3325
3326
c32bde28 3327static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3328 PyObject *resultobj;
3329 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3330 wxHtmlContainerCell *result;
3331 PyObject * obj0 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
15afbcd0 3346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
c32bde28 3353static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3354 PyObject *resultobj;
3355 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3356 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3357 wxHtmlContainerCell *result;
3358 PyObject * obj0 = 0 ;
3359 PyObject * obj1 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "c", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail;
3367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3368 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
15afbcd0 3376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3377 return resultobj;
3378 fail:
3379 return NULL;
3380}
3381
3382
c32bde28 3383static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3384 PyObject *resultobj;
3385 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3386 wxHtmlContainerCell *result;
3387 PyObject * obj0 = 0 ;
3388 char *kwnames[] = {
3389 (char *) "self", NULL
3390 };
3391
3392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
15afbcd0 3402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3403 return resultobj;
3404 fail:
3405 return NULL;
3406}
3407
3408
c32bde28 3409static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3410 PyObject *resultobj;
3411 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3412 int result;
3413 PyObject * obj0 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
3419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (int)(arg1)->GetFontSize();
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
093d3ff1
RD
3428 {
3429 resultobj = SWIG_From_int((int)(result));
3430 }
d14a1e28
RD
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
c32bde28 3437static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3438 PyObject *resultobj;
3439 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3440 int arg2 ;
3441 PyObject * obj0 = 0 ;
994141e6 3442 PyObject * obj1 = 0 ;
d14a1e28
RD
3443 char *kwnames[] = {
3444 (char *) "self",(char *) "s", NULL
3445 };
3446
994141e6 3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3449 if (SWIG_arg_fail(1)) SWIG_fail;
3450 {
3451 arg2 = (int)(SWIG_As_int(obj1));
3452 if (SWIG_arg_fail(2)) SWIG_fail;
3453 }
d14a1e28
RD
3454 {
3455 PyThreadState* __tstate = wxPyBeginAllowThreads();
3456 (arg1)->SetFontSize(arg2);
3457
3458 wxPyEndAllowThreads(__tstate);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 }
3461 Py_INCREF(Py_None); resultobj = Py_None;
3462 return resultobj;
3463 fail:
3464 return NULL;
3465}
3466
3467
c32bde28 3468static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3469 PyObject *resultobj;
3470 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3471 int result;
3472 PyObject * obj0 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
093d3ff1
RD
3478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 result = (int)(arg1)->GetFontBold();
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
093d3ff1
RD
3487 {
3488 resultobj = SWIG_From_int((int)(result));
3489 }
d14a1e28
RD
3490 return resultobj;
3491 fail:
3492 return NULL;
3493}
3494
3495
c32bde28 3496static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3497 PyObject *resultobj;
3498 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3499 int arg2 ;
3500 PyObject * obj0 = 0 ;
994141e6 3501 PyObject * obj1 = 0 ;
d14a1e28
RD
3502 char *kwnames[] = {
3503 (char *) "self",(char *) "x", NULL
3504 };
3505
994141e6 3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3508 if (SWIG_arg_fail(1)) SWIG_fail;
3509 {
3510 arg2 = (int)(SWIG_As_int(obj1));
3511 if (SWIG_arg_fail(2)) SWIG_fail;
3512 }
d14a1e28
RD
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 (arg1)->SetFontBold(arg2);
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 Py_INCREF(Py_None); resultobj = Py_None;
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
c32bde28 3527static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3528 PyObject *resultobj;
3529 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3530 int result;
3531 PyObject * obj0 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
093d3ff1
RD
3537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (int)(arg1)->GetFontItalic();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
093d3ff1
RD
3546 {
3547 resultobj = SWIG_From_int((int)(result));
3548 }
d14a1e28
RD
3549 return resultobj;
3550 fail:
3551 return NULL;
3552}
3553
3554
c32bde28 3555static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3556 PyObject *resultobj;
3557 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3558 int arg2 ;
3559 PyObject * obj0 = 0 ;
994141e6 3560 PyObject * obj1 = 0 ;
d14a1e28
RD
3561 char *kwnames[] = {
3562 (char *) "self",(char *) "x", NULL
3563 };
3564
994141e6 3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail;
3568 {
3569 arg2 = (int)(SWIG_As_int(obj1));
3570 if (SWIG_arg_fail(2)) SWIG_fail;
3571 }
d14a1e28
RD
3572 {
3573 PyThreadState* __tstate = wxPyBeginAllowThreads();
3574 (arg1)->SetFontItalic(arg2);
3575
3576 wxPyEndAllowThreads(__tstate);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 }
3579 Py_INCREF(Py_None); resultobj = Py_None;
3580 return resultobj;
3581 fail:
3582 return NULL;
3583}
3584
3585
c32bde28 3586static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3587 PyObject *resultobj;
3588 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3589 int result;
3590 PyObject * obj0 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
093d3ff1
RD
3596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3597 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (int)(arg1)->GetFontUnderlined();
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
093d3ff1
RD
3605 {
3606 resultobj = SWIG_From_int((int)(result));
3607 }
d14a1e28
RD
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
c32bde28 3614static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3615 PyObject *resultobj;
3616 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3617 int arg2 ;
3618 PyObject * obj0 = 0 ;
994141e6 3619 PyObject * obj1 = 0 ;
d14a1e28
RD
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "x", NULL
3622 };
3623
994141e6 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail;
3627 {
3628 arg2 = (int)(SWIG_As_int(obj1));
3629 if (SWIG_arg_fail(2)) SWIG_fail;
3630 }
d14a1e28
RD
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 (arg1)->SetFontUnderlined(arg2);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 Py_INCREF(Py_None); resultobj = Py_None;
3639 return resultobj;
3640 fail:
3641 return NULL;
3642}
3643
3644
c32bde28 3645static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3646 PyObject *resultobj;
3647 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3648 int result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
093d3ff1
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (int)(arg1)->GetFontFixed();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
093d3ff1
RD
3664 {
3665 resultobj = SWIG_From_int((int)(result));
3666 }
d14a1e28
RD
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
c32bde28 3673static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3674 PyObject *resultobj;
3675 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3676 int arg2 ;
3677 PyObject * obj0 = 0 ;
994141e6 3678 PyObject * obj1 = 0 ;
d14a1e28
RD
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "x", NULL
3681 };
3682
994141e6 3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail;
3686 {
3687 arg2 = (int)(SWIG_As_int(obj1));
3688 if (SWIG_arg_fail(2)) SWIG_fail;
3689 }
d14a1e28
RD
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->SetFontFixed(arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701}
3702
3703
c32bde28 3704static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3705 PyObject *resultobj;
3706 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3707 int result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
3714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 result = (int)(arg1)->GetAlign();
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
093d3ff1
RD
3723 {
3724 resultobj = SWIG_From_int((int)(result));
3725 }
d14a1e28
RD
3726 return resultobj;
3727 fail:
3728 return NULL;
3729}
3730
3731
c32bde28 3732static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3733 PyObject *resultobj;
3734 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3735 int arg2 ;
3736 PyObject * obj0 = 0 ;
994141e6 3737 PyObject * obj1 = 0 ;
d14a1e28
RD
3738 char *kwnames[] = {
3739 (char *) "self",(char *) "a", NULL
3740 };
3741
994141e6 3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3744 if (SWIG_arg_fail(1)) SWIG_fail;
3745 {
3746 arg2 = (int)(SWIG_As_int(obj1));
3747 if (SWIG_arg_fail(2)) SWIG_fail;
3748 }
d14a1e28
RD
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 (arg1)->SetAlign(arg2);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 Py_INCREF(Py_None); resultobj = Py_None;
3757 return resultobj;
3758 fail:
3759 return NULL;
3760}
3761
3762
c32bde28 3763static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3764 PyObject *resultobj;
3765 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3766 wxColour result;
3767 PyObject * obj0 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3774 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 result = (arg1)->GetLinkColor();
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 {
3783 wxColour * resultptr;
093d3ff1 3784 resultptr = new wxColour((wxColour &)(result));
15afbcd0 3785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3786 }
3787 return resultobj;
3788 fail:
3789 return NULL;
3790}
3791
3792
c32bde28 3793static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3794 PyObject *resultobj;
3795 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3796 wxColour *arg2 = 0 ;
3797 wxColour temp2 ;
3798 PyObject * obj0 = 0 ;
3799 PyObject * obj1 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self",(char *) "clr", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3807 {
3808 arg2 = &temp2;
3809 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3810 }
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 (arg1)->SetLinkColor((wxColour const &)*arg2);
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 Py_INCREF(Py_None); resultobj = Py_None;
3819 return resultobj;
3820 fail:
3821 return NULL;
3822}
3823
3824
c32bde28 3825static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3826 PyObject *resultobj;
3827 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3828 wxColour result;
3829 PyObject * obj0 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "self", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (arg1)->GetActualColor();
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 {
3845 wxColour * resultptr;
093d3ff1 3846 resultptr = new wxColour((wxColour &)(result));
15afbcd0 3847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3848 }
3849 return resultobj;
3850 fail:
3851 return NULL;
3852}
3853
3854
c32bde28 3855static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3856 PyObject *resultobj;
3857 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3858 wxColour *arg2 = 0 ;
3859 wxColour temp2 ;
3860 PyObject * obj0 = 0 ;
3861 PyObject * obj1 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self",(char *) "clr", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3869 {
3870 arg2 = &temp2;
3871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3872 }
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 (arg1)->SetActualColor((wxColour const &)*arg2);
3876
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 Py_INCREF(Py_None); resultobj = Py_None;
3881 return resultobj;
3882 fail:
3883 return NULL;
3884}
3885
3886
c32bde28 3887static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3888 PyObject *resultobj;
3889 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3890 wxString *arg2 = 0 ;
ae8162c8 3891 bool temp2 = false ;
d14a1e28
RD
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self",(char *) "link", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3901 {
3902 arg2 = wxString_in_helper(obj1);
3903 if (arg2 == NULL) SWIG_fail;
ae8162c8 3904 temp2 = true;
d14a1e28
RD
3905 }
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 (arg1)->SetLink((wxString const &)*arg2);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 Py_INCREF(Py_None); resultobj = Py_None;
3914 {
3915 if (temp2)
3916 delete arg2;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp2)
3922 delete arg2;
3923 }
3924 return NULL;
3925}
3926
3927
c32bde28 3928static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3929 PyObject *resultobj;
3930 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3931 wxFont *result;
3932 PyObject * obj0 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "self", NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
3938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3939 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (wxFont *)(arg1)->CreateCurrentFont();
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
15afbcd0 3947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
c32bde28 3954static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3955 PyObject *resultobj;
3956 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
093d3ff1 3957 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
3958 PyObject * obj0 = 0 ;
3959 char *kwnames[] = {
3960 (char *) "self", NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
3964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3965 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = (arg1)->GetLink();
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 {
3974 wxHtmlLinkInfo * resultptr;
093d3ff1 3975 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result));
15afbcd0 3976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
3977 }
3978 return resultobj;
3979 fail:
3980 return NULL;
3981}
3982
3983
c32bde28 3984static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3985 PyObject *obj;
3986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3987 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
3988 Py_INCREF(obj);
3989 return Py_BuildValue((char *)"");
3990}
c32bde28 3991static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3992 PyObject *resultobj;
3993 wxPyHtmlTagHandler *result;
3994 char *kwnames[] = {
3995 NULL
3996 };
3997
3998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
15afbcd0 4006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4007 return resultobj;
4008 fail:
4009 return NULL;
4010}
4011
4012
c32bde28 4013static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4014 PyObject *resultobj;
4015 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4016 PyObject *arg2 = (PyObject *) 0 ;
4017 PyObject *arg3 = (PyObject *) 0 ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 PyObject * obj2 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self",(char *) "self",(char *) "_class", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4028 arg2 = obj1;
4029 arg3 = obj2;
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->_setCallbackInfo(arg2,arg3);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
c32bde28 4044static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4045 PyObject *resultobj;
4046 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4047 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self",(char *) "parser", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4056 if (SWIG_arg_fail(1)) SWIG_fail;
4057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 (arg1)->SetParser(arg2);
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 return resultobj;
4068 fail:
4069 return NULL;
4070}
4071
4072
c32bde28 4073static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4074 PyObject *resultobj;
4075 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4076 wxHtmlParser *result;
4077 PyObject * obj0 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (wxHtmlParser *)(arg1)->GetParser();
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
15afbcd0 4092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4093 return resultobj;
4094 fail:
4095 return NULL;
4096}
4097
4098
c32bde28 4099static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4100 PyObject *resultobj;
4101 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4102 wxHtmlTag *arg2 = 0 ;
4103 PyObject * obj0 = 0 ;
4104 PyObject * obj1 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "self",(char *) "tag", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4111 if (SWIG_arg_fail(1)) SWIG_fail;
4112 {
4113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4114 if (SWIG_arg_fail(2)) SWIG_fail;
4115 if (arg2 == NULL) {
4116 SWIG_null_ref("wxHtmlTag");
4117 }
4118 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4119 }
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 Py_INCREF(Py_None); resultobj = Py_None;
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
c32bde28 4134static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4135 PyObject *obj;
4136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4137 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4138 Py_INCREF(obj);
4139 return Py_BuildValue((char *)"");
4140}
c32bde28 4141static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4142 PyObject *resultobj;
4143 wxPyHtmlWinTagHandler *result;
4144 char *kwnames[] = {
4145 NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
15afbcd0 4156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4157 return resultobj;
4158 fail:
4159 return NULL;
4160}
4161
4162
c32bde28 4163static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4164 PyObject *resultobj;
4165 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4166 PyObject *arg2 = (PyObject *) 0 ;
4167 PyObject *arg3 = (PyObject *) 0 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 char *kwnames[] = {
4172 (char *) "self",(char *) "self",(char *) "_class", NULL
4173 };
4174
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4178 arg2 = obj1;
4179 arg3 = obj2;
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 (arg1)->_setCallbackInfo(arg2,arg3);
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 Py_INCREF(Py_None); resultobj = Py_None;
4188 return resultobj;
4189 fail:
4190 return NULL;
4191}
4192
4193
c32bde28 4194static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4195 PyObject *resultobj;
4196 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4197 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 char *kwnames[] = {
4201 (char *) "self",(char *) "parser", NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(1)) SWIG_fail;
4207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetParser(arg2);
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 Py_INCREF(Py_None); resultobj = Py_None;
4217 return resultobj;
4218 fail:
4219 return NULL;
4220}
4221
4222
c32bde28 4223static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4224 PyObject *resultobj;
4225 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4226 wxHtmlWinParser *result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = (wxHtmlWinParser *)(arg1)->GetParser();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
15afbcd0 4242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4243 return resultobj;
4244 fail:
4245 return NULL;
4246}
4247
4248
c32bde28 4249static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4250 PyObject *resultobj;
4251 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4252 wxHtmlTag *arg2 = 0 ;
4253 PyObject * obj0 = 0 ;
4254 PyObject * obj1 = 0 ;
4255 char *kwnames[] = {
4256 (char *) "self",(char *) "tag", NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail;
4262 {
4263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4264 if (SWIG_arg_fail(2)) SWIG_fail;
4265 if (arg2 == NULL) {
4266 SWIG_null_ref("wxHtmlTag");
4267 }
4268 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 Py_INCREF(Py_None); resultobj = Py_None;
4278 return resultobj;
4279 fail:
4280 return NULL;
4281}
4282
4283
c32bde28 4284static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4285 PyObject *obj;
4286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4287 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4288 Py_INCREF(obj);
4289 return Py_BuildValue((char *)"");
4290}
c32bde28 4291static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4292 PyObject *resultobj;
4293 PyObject *arg1 = (PyObject *) 0 ;
4294 PyObject * obj0 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "tagHandlerClass", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4300 arg1 = obj0;
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 wxHtmlWinParser_AddTagHandler(arg1);
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 Py_INCREF(Py_None); resultobj = Py_None;
4309 return resultobj;
4310 fail:
4311 return NULL;
4312}
4313
4314
c32bde28 4315static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4316 PyObject *resultobj;
4317 wxHtmlSelection *result;
4318 char *kwnames[] = {
4319 NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = (wxHtmlSelection *)new wxHtmlSelection();
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
15afbcd0 4330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
c32bde28 4337static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4338 PyObject *resultobj;
4339 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
4346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 delete arg1;
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 Py_INCREF(Py_None); resultobj = Py_None;
4356 return resultobj;
4357 fail:
4358 return NULL;
4359}
4360
4361
c32bde28 4362static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4363 PyObject *resultobj;
4364 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4365 wxPoint *arg2 = 0 ;
4366 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4367 wxPoint *arg4 = 0 ;
4368 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4369 wxPoint temp2 ;
4370 wxPoint temp4 ;
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 PyObject * obj2 = 0 ;
4374 PyObject * obj3 = 0 ;
4375 PyObject * obj4 = 0 ;
4376 char *kwnames[] = {
4377 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
4381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4383 {
4384 arg2 = &temp2;
4385 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4386 }
093d3ff1
RD
4387 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4388 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4389 {
4390 arg4 = &temp4;
4391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4392 }
093d3ff1
RD
4393 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4394 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 Py_INCREF(Py_None); resultobj = Py_None;
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
c32bde28 4409static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4410 PyObject *resultobj;
4411 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4412 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4413 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail;
4424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4425 if (SWIG_arg_fail(2)) SWIG_fail;
4426 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4427 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 Py_INCREF(Py_None); resultobj = Py_None;
4436 return resultobj;
4437 fail:
4438 return NULL;
4439}
4440
4441
c32bde28 4442static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4443 PyObject *resultobj;
4444 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4445 wxHtmlCell *result;
4446 PyObject * obj0 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
15afbcd0 4461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4462 return resultobj;
4463 fail:
4464 return NULL;
4465}
4466
4467
c32bde28 4468static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4469 PyObject *resultobj;
4470 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4471 wxHtmlCell *result;
4472 PyObject * obj0 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
15afbcd0 4487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
c32bde28 4494static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4495 PyObject *resultobj;
4496 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4497 wxPoint *result;
4498 PyObject * obj0 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 {
4509 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4510 result = (wxPoint *) &_result_ref;
4511 }
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
15afbcd0 4516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4517 return resultobj;
4518 fail:
4519 return NULL;
4520}
4521
4522
c32bde28 4523static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4524 PyObject *resultobj;
4525 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4526 wxPoint *result;
4527 PyObject * obj0 = 0 ;
4528 char *kwnames[] = {
4529 (char *) "self", NULL
4530 };
4531
4532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 {
4538 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4539 result = (wxPoint *) &_result_ref;
4540 }
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
15afbcd0 4545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4546 return resultobj;
4547 fail:
4548 return NULL;
4549}
4550
4551
c32bde28 4552static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4553 PyObject *resultobj;
4554 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4555 wxPoint *result;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 {
4567 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4568 result = (wxPoint *) &_result_ref;
4569 }
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
15afbcd0 4574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4575 return resultobj;
4576 fail:
4577 return NULL;
4578}
4579
4580
c32bde28 4581static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4582 PyObject *resultobj;
4583 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4584 wxPoint *result;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 {
4596 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4597 result = (wxPoint *) &_result_ref;
4598 }
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
15afbcd0 4603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4604 return resultobj;
4605 fail:
4606 return NULL;
4607}
4608
4609
c32bde28 4610static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4611 PyObject *resultobj;
4612 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4613 wxPoint *arg2 = 0 ;
4614 wxPoint temp2 ;
4615 PyObject * obj0 = 0 ;
4616 PyObject * obj1 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self",(char *) "pos", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4624 {
4625 arg2 = &temp2;
4626 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4627 }
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 Py_INCREF(Py_None); resultobj = Py_None;
4636 return resultobj;
4637 fail:
4638 return NULL;
4639}
4640
4641
c32bde28 4642static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4643 PyObject *resultobj;
4644 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4645 wxPoint *arg2 = 0 ;
4646 wxPoint temp2 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self",(char *) "pos", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4656 {
4657 arg2 = &temp2;
4658 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4659 }
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 Py_INCREF(Py_None); resultobj = Py_None;
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
c32bde28 4674static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4675 PyObject *resultobj;
4676 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4677 PyObject * obj0 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 (arg1)->ClearPrivPos();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 Py_INCREF(Py_None); resultobj = Py_None;
4693 return resultobj;
4694 fail:
4695 return NULL;
4696}
4697
4698
c32bde28 4699static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4700 PyObject *resultobj;
4701 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4702 bool result;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
093d3ff1
RD
4709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4710 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4f89f6a3 4718 {
093d3ff1 4719 resultobj = SWIG_From_bool((bool)(result));
4f89f6a3 4720 }
d14a1e28
RD
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
c32bde28 4727static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4728 PyObject *obj;
4729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4730 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4731 Py_INCREF(obj);
4732 return Py_BuildValue((char *)"");
4733}
c32bde28 4734static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4735 PyObject *resultobj;
4736 wxHtmlRenderingState *result;
4737 char *kwnames[] = {
4738 NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
15afbcd0 4749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
4750 return resultobj;
4751 fail:
4752 return NULL;
4753}
4754
4755
c32bde28 4756static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4757 PyObject *resultobj;
4758 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4759 PyObject * obj0 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4766 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 delete arg1;
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 Py_INCREF(Py_None); resultobj = Py_None;
4775 return resultobj;
4776 fail:
4777 return NULL;
4778}
4779
4780
c32bde28 4781static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4782 PyObject *resultobj;
4783 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4784 wxHtmlSelectionState arg2 ;
d14a1e28 4785 PyObject * obj0 = 0 ;
994141e6 4786 PyObject * obj1 = 0 ;
d14a1e28
RD
4787 char *kwnames[] = {
4788 (char *) "self",(char *) "s", NULL
4789 };
4790
994141e6 4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4793 if (SWIG_arg_fail(1)) SWIG_fail;
4794 {
4795 arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1));
4796 if (SWIG_arg_fail(2)) SWIG_fail;
4797 }
d14a1e28
RD
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 Py_INCREF(Py_None); resultobj = Py_None;
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
c32bde28 4812static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4813 PyObject *resultobj;
4814 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4815 wxHtmlSelectionState result;
d14a1e28
RD
4816 PyObject * obj0 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4826 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
093d3ff1 4831 resultobj = SWIG_From_int((result));
d14a1e28
RD
4832 return resultobj;
4833 fail:
4834 return NULL;
4835}
4836
4837
c32bde28 4838static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4839 PyObject *resultobj;
4840 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4841 wxColour *arg2 = 0 ;
4842 wxColour temp2 ;
4843 PyObject * obj0 = 0 ;
4844 PyObject * obj1 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self",(char *) "c", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4852 {
4853 arg2 = &temp2;
4854 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 (arg1)->SetFgColour((wxColour const &)*arg2);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
c32bde28 4870static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4871 PyObject *resultobj;
4872 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4873 wxColour *result;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4881 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 {
4885 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
4886 result = (wxColour *) &_result_ref;
4887 }
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
15afbcd0 4892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4893 return resultobj;
4894 fail:
4895 return NULL;
4896}
4897
4898
c32bde28 4899static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4900 PyObject *resultobj;
4901 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4902 wxColour *arg2 = 0 ;
4903 wxColour temp2 ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self",(char *) "c", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4913 {
4914 arg2 = &temp2;
4915 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 (arg1)->SetBgColour((wxColour const &)*arg2);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 return resultobj;
4926 fail:
4927 return NULL;
4928}
4929
4930
c32bde28 4931static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4932 PyObject *resultobj;
4933 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4934 wxColour *result;
4935 PyObject * obj0 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4942 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 {
4946 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
4947 result = (wxColour *) &_result_ref;
4948 }
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
15afbcd0 4953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
c32bde28 4960static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4961 PyObject *obj;
4962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4963 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
4964 Py_INCREF(obj);
4965 return Py_BuildValue((char *)"");
4966}
c32bde28 4967static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4968 PyObject *resultobj;
4969 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
4970 wxColour *arg2 = 0 ;
4971 wxColour result;
4972 wxColour temp2 ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "clr", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4982 {
4983 arg2 = &temp2;
4984 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 wxColour * resultptr;
093d3ff1 4995 resultptr = new wxColour((wxColour &)(result));
15afbcd0 4996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4997 }
4998 return resultobj;
4999 fail:
5000 return NULL;
5001}
5002
5003
c32bde28 5004static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5005 PyObject *resultobj;
5006 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5007 wxColour *arg2 = 0 ;
5008 wxColour result;
5009 wxColour temp2 ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self",(char *) "clr", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5019 {
5020 arg2 = &temp2;
5021 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5022 }
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 {
5031 wxColour * resultptr;
093d3ff1 5032 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5034 }
5035 return resultobj;
5036 fail:
5037 return NULL;
5038}
5039
5040
c32bde28 5041static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5042 PyObject *obj;
5043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5044 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5045 Py_INCREF(obj);
5046 return Py_BuildValue((char *)"");
5047}
c32bde28 5048static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5049 PyObject *resultobj;
5050 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5051 wxColour *arg2 = 0 ;
5052 wxColour result;
5053 wxColour temp2 ;
5054 PyObject * obj0 = 0 ;
5055 PyObject * obj1 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self",(char *) "clr", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5063 {
5064 arg2 = &temp2;
5065 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5066 }
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 {
5075 wxColour * resultptr;
093d3ff1 5076 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5078 }
5079 return resultobj;
5080 fail:
5081 return NULL;
5082}
5083
5084
c32bde28 5085static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5086 PyObject *resultobj;
5087 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5088 wxColour *arg2 = 0 ;
5089 wxColour result;
5090 wxColour temp2 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self",(char *) "clr", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5100 {
5101 arg2 = &temp2;
5102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5103 }
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 wxColour * resultptr;
093d3ff1 5113 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
c32bde28 5122static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5123 PyObject *obj;
5124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5125 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5126 Py_INCREF(obj);
5127 return Py_BuildValue((char *)"");
5128}
c32bde28 5129static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5130 PyObject *resultobj;
5131 wxHtmlRenderingInfo *result;
5132 char *kwnames[] = {
5133 NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
15afbcd0 5144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
c32bde28 5151static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5152 PyObject *resultobj;
5153 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5154 PyObject * obj0 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 delete arg1;
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 Py_INCREF(Py_None); resultobj = Py_None;
5170 return resultobj;
5171 fail:
5172 return NULL;
5173}
5174
5175
c32bde28 5176static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5177 PyObject *resultobj;
5178 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5179 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "s", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5188 if (SWIG_arg_fail(1)) SWIG_fail;
5189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 (arg1)->SetSelection(arg2);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 Py_INCREF(Py_None); resultobj = Py_None;
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
c32bde28 5205static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5206 PyObject *resultobj;
5207 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5208 wxHtmlSelection *result;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
5215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
15afbcd0 5224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
c32bde28 5231static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5232 PyObject *resultobj;
5233 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5234 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "style", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail;
5244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5245 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->SetStyle(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257}
5258
5259
c32bde28 5260static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5261 PyObject *resultobj;
5262 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5263 wxHtmlRenderingStyle *result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
5270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 {
5275 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5276 result = (wxHtmlRenderingStyle *) &_result_ref;
5277 }
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
15afbcd0 5282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
c32bde28 5289static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5290 PyObject *resultobj;
5291 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5292 wxHtmlRenderingState *result;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
5299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 {
5304 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5305 result = (wxHtmlRenderingState *) &_result_ref;
5306 }
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
15afbcd0 5311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
c32bde28 5318static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5319 PyObject *obj;
5320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5321 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5322 Py_INCREF(obj);
5323 return Py_BuildValue((char *)"");
5324}
c32bde28 5325static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5326 PyObject *resultobj;
5327 wxHtmlCell *result;
5328 char *kwnames[] = {
5329 NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 result = (wxHtmlCell *)new wxHtmlCell();
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
15afbcd0 5340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5341 return resultobj;
5342 fail:
5343 return NULL;
5344}
5345
5346
c32bde28 5347static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5348 PyObject *resultobj;
5349 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5350 int result;
5351 PyObject * obj0 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
093d3ff1
RD
5357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 result = (int)(arg1)->GetPosX();
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
093d3ff1
RD
5366 {
5367 resultobj = SWIG_From_int((int)(result));
5368 }
d14a1e28
RD
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
c32bde28 5375static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5376 PyObject *resultobj;
5377 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5378 int result;
5379 PyObject * obj0 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
093d3ff1
RD
5385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (int)(arg1)->GetPosY();
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
093d3ff1
RD
5394 {
5395 resultobj = SWIG_From_int((int)(result));
5396 }
d14a1e28
RD
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
c32bde28 5403static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5404 PyObject *resultobj;
5405 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5406 int result;
5407 PyObject * obj0 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "self", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5414 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (int)(arg1)->GetWidth();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
093d3ff1
RD
5422 {
5423 resultobj = SWIG_From_int((int)(result));
5424 }
d14a1e28
RD
5425 return resultobj;
5426 fail:
5427 return NULL;
5428}
5429
5430
c32bde28 5431static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5432 PyObject *resultobj;
5433 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5434 int result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (int)(arg1)->GetHeight();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
093d3ff1
RD
5450 {
5451 resultobj = SWIG_From_int((int)(result));
5452 }
d14a1e28
RD
5453 return resultobj;
5454 fail:
5455 return NULL;
5456}
5457
5458
c32bde28 5459static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5460 PyObject *resultobj;
5461 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5462 int result;
5463 PyObject * obj0 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (int)(arg1)->GetDescent();
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
093d3ff1
RD
5478 {
5479 resultobj = SWIG_From_int((int)(result));
5480 }
d14a1e28
RD
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
c32bde28 5487static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4f89f6a3
RD
5488 PyObject *resultobj;
5489 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5490 int result;
5491 PyObject * obj0 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
093d3ff1
RD
5506 {
5507 resultobj = SWIG_From_int((int)(result));
5508 }
4f89f6a3
RD
5509 return resultobj;
5510 fail:
5511 return NULL;
5512}
5513
5514
c32bde28 5515static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
5516 PyObject *resultobj;
5517 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5518 wxString *result;
5519 PyObject * obj0 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
5525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail;
39f61e25
RD
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 {
5530 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5531 result = (wxString *) &_result_ref;
5532 }
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538#if wxUSE_UNICODE
5539 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5540#else
5541 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5542#endif
5543 }
5544 return resultobj;
5545 fail:
5546 return NULL;
5547}
5548
5549
c32bde28 5550static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
5551 PyObject *resultobj;
5552 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5553 wxString *arg2 = 0 ;
ae8162c8 5554 bool temp2 = false ;
39f61e25
RD
5555 PyObject * obj0 = 0 ;
5556 PyObject * obj1 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "self",(char *) "id", NULL
5559 };
5560
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail;
39f61e25
RD
5564 {
5565 arg2 = wxString_in_helper(obj1);
5566 if (arg2 == NULL) SWIG_fail;
ae8162c8 5567 temp2 = true;
39f61e25
RD
5568 }
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 (arg1)->SetId((wxString const &)*arg2);
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 Py_INCREF(Py_None); resultobj = Py_None;
5577 {
5578 if (temp2)
5579 delete arg2;
5580 }
5581 return resultobj;
5582 fail:
5583 {
5584 if (temp2)
5585 delete arg2;
5586 }
5587 return NULL;
5588}
5589
5590
c32bde28 5591static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5592 PyObject *resultobj;
5593 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5594 int arg2 = (int) 0 ;
5595 int arg3 = (int) 0 ;
5596 wxHtmlLinkInfo *result;
5597 PyObject * obj0 = 0 ;
994141e6
RD
5598 PyObject * obj1 = 0 ;
5599 PyObject * obj2 = 0 ;
d14a1e28
RD
5600 char *kwnames[] = {
5601 (char *) "self",(char *) "x",(char *) "y", NULL
5602 };
5603
994141e6 5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5606 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5607 if (obj1) {
093d3ff1
RD
5608 {
5609 arg2 = (int)(SWIG_As_int(obj1));
5610 if (SWIG_arg_fail(2)) SWIG_fail;
5611 }
994141e6
RD
5612 }
5613 if (obj2) {
093d3ff1
RD
5614 {
5615 arg3 = (int)(SWIG_As_int(obj2));
5616 if (SWIG_arg_fail(3)) SWIG_fail;
5617 }
994141e6 5618 }
d14a1e28
RD
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
15afbcd0 5626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5627 return resultobj;
5628 fail:
5629 return NULL;
5630}
5631
5632
c32bde28 5633static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5634 PyObject *resultobj;
5635 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5636 wxHtmlCell *result;
5637 PyObject * obj0 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
5643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (wxHtmlCell *)(arg1)->GetNext();
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
15afbcd0 5652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
c32bde28 5659static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5660 PyObject *resultobj;
5661 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5662 wxHtmlContainerCell *result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
15afbcd0 5678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5679 return resultobj;
5680 fail:
5681 return NULL;
5682}
5683
5684
c32bde28 5685static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5686 PyObject *resultobj;
5687 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5688 wxHtmlCell *result;
5689 PyObject * obj0 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
5695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
15afbcd0 5704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5705 return resultobj;
5706 fail:
5707 return NULL;
5708}
5709
5710
c32bde28 5711static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5712 PyObject *resultobj;
5713 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5714 wxCursor result;
5715 PyObject * obj0 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 result = ((wxHtmlCell const *)arg1)->GetCursor();
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 wxCursor * resultptr;
093d3ff1 5732 resultptr = new wxCursor((wxCursor &)(result));
15afbcd0 5733 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5734 }
5735 return resultobj;
5736 fail:
5737 return NULL;
5738}
5739
5740
c32bde28 5741static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5742 PyObject *resultobj;
5743 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5744 bool result;
5745 PyObject * obj0 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
5751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5752 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
4f89f6a3
RD
5760 {
5761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5762 }
d14a1e28
RD
5763 return resultobj;
5764 fail:
5765 return NULL;
5766}
5767
5768
c32bde28 5769static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5770 PyObject *resultobj;
5771 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5772 wxHtmlLinkInfo *arg2 = 0 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "self",(char *) "link", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5781 if (SWIG_arg_fail(1)) SWIG_fail;
5782 {
5783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
5784 if (SWIG_arg_fail(2)) SWIG_fail;
5785 if (arg2 == NULL) {
5786 SWIG_null_ref("wxHtmlLinkInfo");
5787 }
5788 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801}
5802
5803
c32bde28 5804static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5805 PyObject *resultobj;
5806 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5807 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "cell", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5816 if (SWIG_arg_fail(1)) SWIG_fail;
5817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5818 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetNext(arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 return resultobj;
5828 fail:
5829 return NULL;
5830}
5831
5832
c32bde28 5833static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5834 PyObject *resultobj;
5835 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5836 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "p", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail;
5846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
5847 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 (arg1)->SetParent(arg2);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 Py_INCREF(Py_None); resultobj = Py_None;
5856 return resultobj;
5857 fail:
5858 return NULL;
5859}
5860
5861
c32bde28 5862static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5863 PyObject *resultobj;
5864 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5865 int arg2 ;
5866 int arg3 ;
5867 PyObject * obj0 = 0 ;
994141e6
RD
5868 PyObject * obj1 = 0 ;
5869 PyObject * obj2 = 0 ;
d14a1e28
RD
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "x",(char *) "y", NULL
5872 };
5873
994141e6 5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail;
5877 {
5878 arg2 = (int)(SWIG_As_int(obj1));
5879 if (SWIG_arg_fail(2)) SWIG_fail;
5880 }
5881 {
5882 arg3 = (int)(SWIG_As_int(obj2));
5883 if (SWIG_arg_fail(3)) SWIG_fail;
5884 }
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 (arg1)->SetPos(arg2,arg3);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 Py_INCREF(Py_None); resultobj = Py_None;
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
c32bde28 5899static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5900 PyObject *resultobj;
5901 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5902 int arg2 ;
5903 PyObject * obj0 = 0 ;
994141e6 5904 PyObject * obj1 = 0 ;
d14a1e28
RD
5905 char *kwnames[] = {
5906 (char *) "self",(char *) "w", NULL
5907 };
5908
994141e6 5909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail;
5912 {
5913 arg2 = (int)(SWIG_As_int(obj1));
5914 if (SWIG_arg_fail(2)) SWIG_fail;
5915 }
d14a1e28
RD
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->Layout(arg2);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927}
5928
5929
c32bde28 5930static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5931 PyObject *resultobj;
5932 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5933 wxDC *arg2 = 0 ;
5934 int arg3 ;
5935 int arg4 ;
5936 int arg5 ;
5937 int arg6 ;
5938 wxHtmlRenderingInfo *arg7 = 0 ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
994141e6
RD
5941 PyObject * obj2 = 0 ;
5942 PyObject * obj3 = 0 ;
5943 PyObject * obj4 = 0 ;
5944 PyObject * obj5 = 0 ;
d14a1e28
RD
5945 PyObject * obj6 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5948 };
5949
994141e6 5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail;
5953 {
5954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5955 if (SWIG_arg_fail(2)) SWIG_fail;
5956 if (arg2 == NULL) {
5957 SWIG_null_ref("wxDC");
5958 }
5959 if (SWIG_arg_fail(2)) SWIG_fail;
5960 }
5961 {
5962 arg3 = (int)(SWIG_As_int(obj2));
5963 if (SWIG_arg_fail(3)) SWIG_fail;
5964 }
5965 {
5966 arg4 = (int)(SWIG_As_int(obj3));
5967 if (SWIG_arg_fail(4)) SWIG_fail;
5968 }
5969 {
5970 arg5 = (int)(SWIG_As_int(obj4));
5971 if (SWIG_arg_fail(5)) SWIG_fail;
5972 }
5973 {
5974 arg6 = (int)(SWIG_As_int(obj5));
5975 if (SWIG_arg_fail(6)) SWIG_fail;
5976 }
5977 {
5978 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5979 if (SWIG_arg_fail(7)) SWIG_fail;
5980 if (arg7 == NULL) {
5981 SWIG_null_ref("wxHtmlRenderingInfo");
5982 }
5983 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5984 }
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 Py_INCREF(Py_None); resultobj = Py_None;
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
c32bde28 5999static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6000 PyObject *resultobj;
6001 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6002 wxDC *arg2 = 0 ;
6003 int arg3 ;
6004 int arg4 ;
6005 wxHtmlRenderingInfo *arg5 = 0 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
994141e6
RD
6008 PyObject * obj2 = 0 ;
6009 PyObject * obj3 = 0 ;
d14a1e28
RD
6010 PyObject * obj4 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6013 };
6014
994141e6 6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6017 if (SWIG_arg_fail(1)) SWIG_fail;
6018 {
6019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6020 if (SWIG_arg_fail(2)) SWIG_fail;
6021 if (arg2 == NULL) {
6022 SWIG_null_ref("wxDC");
6023 }
6024 if (SWIG_arg_fail(2)) SWIG_fail;
6025 }
6026 {
6027 arg3 = (int)(SWIG_As_int(obj2));
6028 if (SWIG_arg_fail(3)) SWIG_fail;
6029 }
6030 {
6031 arg4 = (int)(SWIG_As_int(obj3));
6032 if (SWIG_arg_fail(4)) SWIG_fail;
6033 }
6034 {
6035 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6036 if (SWIG_arg_fail(5)) SWIG_fail;
6037 if (arg5 == NULL) {
6038 SWIG_null_ref("wxHtmlRenderingInfo");
6039 }
6040 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 Py_INCREF(Py_None); resultobj = Py_None;
6050 return resultobj;
6051 fail:
6052 return NULL;
6053}
6054
6055
c32bde28 6056static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6057 PyObject *resultobj;
6058 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6059 int arg2 ;
6060 void *arg3 = (void *) 0 ;
6061 wxHtmlCell *result;
6062 PyObject * obj0 = 0 ;
994141e6 6063 PyObject * obj1 = 0 ;
d14a1e28
RD
6064 PyObject * obj2 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self",(char *) "condition",(char *) "param", NULL
6067 };
6068
994141e6 6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail;
6072 {
6073 arg2 = (int)(SWIG_As_int(obj1));
6074 if (SWIG_arg_fail(2)) SWIG_fail;
6075 }
6076 {
6077 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6078 SWIG_arg_fail(3);SWIG_fail;
6079 }
6080 }
d14a1e28
RD
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
15afbcd0 6088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6089 return resultobj;
6090 fail:
6091 return NULL;
6092}
6093
6094
c32bde28 6095static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6096 PyObject *resultobj;
6097 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6098 int *arg2 = (int *) 0 ;
6099 bool result;
6100 int temp2 ;
c32bde28 6101 int res2 = 0 ;
d14a1e28
RD
6102 PyObject * obj0 = 0 ;
6103 PyObject * obj1 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self",(char *) "INOUT", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6110 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6111 {
c32bde28
RD
6112 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6113 temp2 = SWIG_As_int(obj1);
093d3ff1 6114 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
6115 arg2 = &temp2;
6116 res2 = SWIG_NEWOBJ;
6117 }
d14a1e28
RD
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (bool)(arg1)->AdjustPagebreak(arg2);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
4f89f6a3
RD
6126 {
6127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6128 }
c32bde28
RD
6129 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6130 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6131 return resultobj;
6132 fail:
6133 return NULL;
6134}
6135
6136
c32bde28 6137static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6138 PyObject *resultobj;
6139 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6140 bool arg2 ;
6141 PyObject * obj0 = 0 ;
6142 PyObject * obj1 = 0 ;
6143 char *kwnames[] = {
6144 (char *) "self",(char *) "can", NULL
6145 };
6146
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6149 if (SWIG_arg_fail(1)) SWIG_fail;
6150 {
6151 arg2 = (bool)(SWIG_As_bool(obj1));
6152 if (SWIG_arg_fail(2)) SWIG_fail;
6153 }
d14a1e28
RD
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 (arg1)->SetCanLiveOnPagebreak(arg2);
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 Py_INCREF(Py_None); resultobj = Py_None;
6162 return resultobj;
6163 fail:
6164 return NULL;
6165}
6166
6167
c32bde28 6168static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6169 PyObject *resultobj;
6170 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6171 bool result;
6172 PyObject * obj0 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
093d3ff1
RD
6178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
4f89f6a3
RD
6187 {
6188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6189 }
d14a1e28
RD
6190 return resultobj;
6191 fail:
6192 return NULL;
6193}
6194
6195
c32bde28 6196static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6197 PyObject *resultobj;
6198 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6199 bool result;
6200 PyObject * obj0 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
4f89f6a3
RD
6215 {
6216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6217 }
d14a1e28
RD
6218 return resultobj;
6219 fail:
6220 return NULL;
6221}
6222
6223
c32bde28 6224static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6225 PyObject *resultobj;
6226 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e811c8ce
RD
6227 int arg2 ;
6228 int arg3 ;
d14a1e28
RD
6229 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6230 wxHtmlCell *result;
6231 PyObject * obj0 = 0 ;
994141e6
RD
6232 PyObject * obj1 = 0 ;
6233 PyObject * obj2 = 0 ;
d14a1e28
RD
6234 PyObject * obj3 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6237 };
6238
994141e6 6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail;
6242 {
6243 arg2 = (int)(SWIG_As_int(obj1));
6244 if (SWIG_arg_fail(2)) SWIG_fail;
6245 }
6246 {
6247 arg3 = (int)(SWIG_As_int(obj2));
6248 if (SWIG_arg_fail(3)) SWIG_fail;
6249 }
d14a1e28 6250 if (obj3) {
093d3ff1
RD
6251 {
6252 arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3));
6253 if (SWIG_arg_fail(4)) SWIG_fail;
6254 }
d14a1e28
RD
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
15afbcd0 6263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6264 return resultobj;
6265 fail:
6266 return NULL;
6267}
6268
6269
c32bde28 6270static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6271 PyObject *resultobj;
6272 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6273 wxPoint result;
6274 PyObject * obj0 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
6280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 {
6290 wxPoint * resultptr;
093d3ff1 6291 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 6292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6293 }
6294 return resultobj;
6295 fail:
6296 return NULL;
6297}
6298
6299
c32bde28 6300static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6301 PyObject *resultobj;
6302 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6303 wxHtmlCell *result;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
15afbcd0 6319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6320 return resultobj;
6321 fail:
6322 return NULL;
6323}
6324
6325
c32bde28 6326static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6327 PyObject *resultobj;
6328 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6329 wxHtmlCell *result;
6330 PyObject * obj0 = 0 ;
6331 char *kwnames[] = {
6332 (char *) "self", NULL
6333 };
6334
6335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6337 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
15afbcd0 6345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6346 return resultobj;
6347 fail:
6348 return NULL;
6349}
6350
6351
c32bde28 6352static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6353 PyObject *resultobj;
6354 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6355 unsigned int result;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
6362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
093d3ff1
RD
6371 {
6372 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
6373 }
d14a1e28
RD
6374 return resultobj;
6375 fail:
6376 return NULL;
6377}
6378
6379
c32bde28 6380static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6381 PyObject *resultobj;
6382 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6383 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6384 bool result;
6385 PyObject * obj0 = 0 ;
6386 PyObject * obj1 = 0 ;
6387 char *kwnames[] = {
6388 (char *) "self",(char *) "cell", NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail;
6394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
4f89f6a3
RD
6403 {
6404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6405 }
d14a1e28
RD
6406 return resultobj;
6407 fail:
6408 return NULL;
6409}
6410
6411
c32bde28 6412static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6413 PyObject *resultobj;
6414 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6415 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6416 wxString result;
6417 PyObject * obj0 = 0 ;
6418 PyObject * obj1 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "sel", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6425 if (SWIG_arg_fail(1)) SWIG_fail;
6426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6427 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436#if wxUSE_UNICODE
6437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6438#else
6439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6440#endif
6441 }
6442 return resultobj;
6443 fail:
6444 return NULL;
6445}
6446
6447
c32bde28 6448static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6449 PyObject *obj;
6450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6451 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6452 Py_INCREF(obj);
6453 return Py_BuildValue((char *)"");
6454}
c32bde28 6455static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6456 PyObject *resultobj;
6457 wxString *arg1 = 0 ;
6458 wxDC *arg2 = 0 ;
6459 wxHtmlWordCell *result;
ae8162c8 6460 bool temp1 = false ;
d14a1e28
RD
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "word",(char *) "dc", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6468 {
6469 arg1 = wxString_in_helper(obj0);
6470 if (arg1 == NULL) SWIG_fail;
ae8162c8 6471 temp1 = true;
d14a1e28 6472 }
093d3ff1
RD
6473 {
6474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6475 if (SWIG_arg_fail(2)) SWIG_fail;
6476 if (arg2 == NULL) {
6477 SWIG_null_ref("wxDC");
6478 }
6479 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
15afbcd0 6488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6489 {
6490 if (temp1)
6491 delete arg1;
6492 }
6493 return resultobj;
6494 fail:
6495 {
6496 if (temp1)
6497 delete arg1;
6498 }
6499 return NULL;
6500}
6501
6502
c32bde28 6503static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6504 PyObject *obj;
6505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6506 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6507 Py_INCREF(obj);
6508 return Py_BuildValue((char *)"");
6509}
c32bde28 6510static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6511 PyObject *resultobj;
6512 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6513 wxHtmlContainerCell *result;
6514 PyObject * obj0 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "parent", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
15afbcd0 6529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6530 return resultobj;
6531 fail:
6532 return NULL;
6533}
6534
6535
c32bde28 6536static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6537 PyObject *resultobj;
6538 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6539 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6540 PyObject * obj0 = 0 ;
6541 PyObject * obj1 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self",(char *) "cell", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail;
6549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6550 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 (arg1)->InsertCell(arg2);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 Py_INCREF(Py_None); resultobj = Py_None;
6559 return resultobj;
6560 fail:
6561 return NULL;
6562}
6563
6564
c32bde28 6565static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6566 PyObject *resultobj;
6567 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6568 int arg2 ;
6569 PyObject * obj0 = 0 ;
994141e6 6570 PyObject * obj1 = 0 ;
d14a1e28
RD
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "al", NULL
6573 };
6574
994141e6 6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6577 if (SWIG_arg_fail(1)) SWIG_fail;
6578 {
6579 arg2 = (int)(SWIG_As_int(obj1));
6580 if (SWIG_arg_fail(2)) SWIG_fail;
6581 }
d14a1e28
RD
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->SetAlignHor(arg2);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593}
6594
6595
c32bde28 6596static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6597 PyObject *resultobj;
6598 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6599 int result;
6600 PyObject * obj0 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6607 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (int)(arg1)->GetAlignHor();
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
093d3ff1
RD
6615 {
6616 resultobj = SWIG_From_int((int)(result));
6617 }
d14a1e28
RD
6618 return resultobj;
6619 fail:
6620 return NULL;
6621}
6622
6623
c32bde28 6624static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6625 PyObject *resultobj;
6626 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6627 int arg2 ;
6628 PyObject * obj0 = 0 ;
994141e6 6629 PyObject * obj1 = 0 ;
d14a1e28
RD
6630 char *kwnames[] = {
6631 (char *) "self",(char *) "al", NULL
6632 };
6633
994141e6 6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6636 if (SWIG_arg_fail(1)) SWIG_fail;
6637 {
6638 arg2 = (int)(SWIG_As_int(obj1));
6639 if (SWIG_arg_fail(2)) SWIG_fail;
6640 }
d14a1e28
RD
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 (arg1)->SetAlignVer(arg2);
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 Py_INCREF(Py_None); resultobj = Py_None;
6649 return resultobj;
6650 fail:
6651 return NULL;
6652}
6653
6654
c32bde28 6655static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6656 PyObject *resultobj;
6657 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6658 int result;
6659 PyObject * obj0 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
093d3ff1
RD
6665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (int)(arg1)->GetAlignVer();
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
093d3ff1
RD
6674 {
6675 resultobj = SWIG_From_int((int)(result));
6676 }
d14a1e28
RD
6677 return resultobj;
6678 fail:
6679 return NULL;
6680}
6681
6682
c32bde28 6683static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6684 PyObject *resultobj;
6685 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6686 int arg2 ;
6687 int arg3 ;
6688 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6689 PyObject * obj0 = 0 ;
994141e6
RD
6690 PyObject * obj1 = 0 ;
6691 PyObject * obj2 = 0 ;
6692 PyObject * obj3 = 0 ;
d14a1e28
RD
6693 char *kwnames[] = {
6694 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6695 };
6696
994141e6 6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail;
6700 {
6701 arg2 = (int)(SWIG_As_int(obj1));
6702 if (SWIG_arg_fail(2)) SWIG_fail;
6703 }
6704 {
6705 arg3 = (int)(SWIG_As_int(obj2));
6706 if (SWIG_arg_fail(3)) SWIG_fail;
6707 }
994141e6 6708 if (obj3) {
093d3ff1
RD
6709 {
6710 arg4 = (int)(SWIG_As_int(obj3));
6711 if (SWIG_arg_fail(4)) SWIG_fail;
6712 }
994141e6 6713 }
d14a1e28
RD
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SetIndent(arg2,arg3,arg4);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725}
6726
6727
c32bde28 6728static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6729 PyObject *resultobj;
6730 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6731 int arg2 ;
6732 int result;
6733 PyObject * obj0 = 0 ;
994141e6 6734 PyObject * obj1 = 0 ;
d14a1e28
RD
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "ind", NULL
6737 };
6738
994141e6 6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6741 if (SWIG_arg_fail(1)) SWIG_fail;
6742 {
6743 arg2 = (int)(SWIG_As_int(obj1));
6744 if (SWIG_arg_fail(2)) SWIG_fail;
6745 }
d14a1e28
RD
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (int)(arg1)->GetIndent(arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
093d3ff1
RD
6753 {
6754 resultobj = SWIG_From_int((int)(result));
6755 }
d14a1e28
RD
6756 return resultobj;
6757 fail:
6758 return NULL;
6759}
6760
6761
c32bde28 6762static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6763 PyObject *resultobj;
6764 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6765 int arg2 ;
6766 int result;
6767 PyObject * obj0 = 0 ;
994141e6 6768 PyObject * obj1 = 0 ;
d14a1e28
RD
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "ind", NULL
6771 };
6772
994141e6 6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
6776 {
6777 arg2 = (int)(SWIG_As_int(obj1));
6778 if (SWIG_arg_fail(2)) SWIG_fail;
6779 }
d14a1e28
RD
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 result = (int)(arg1)->GetIndentUnits(arg2);
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
093d3ff1
RD
6787 {
6788 resultobj = SWIG_From_int((int)(result));
6789 }
d14a1e28
RD
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6797 PyObject *resultobj;
6798 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6799 wxHtmlTag *arg2 = 0 ;
6800 PyObject * obj0 = 0 ;
6801 PyObject * obj1 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "tag", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6808 if (SWIG_arg_fail(1)) SWIG_fail;
6809 {
6810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6811 if (SWIG_arg_fail(2)) SWIG_fail;
6812 if (arg2 == NULL) {
6813 SWIG_null_ref("wxHtmlTag");
6814 }
6815 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6816 }
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 Py_INCREF(Py_None); resultobj = Py_None;
6825 return resultobj;
6826 fail:
6827 return NULL;
6828}
6829
6830
c32bde28 6831static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6832 PyObject *resultobj;
6833 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6834 int arg2 ;
6835 int arg3 ;
6836 PyObject * obj0 = 0 ;
994141e6
RD
6837 PyObject * obj1 = 0 ;
6838 PyObject * obj2 = 0 ;
d14a1e28
RD
6839 char *kwnames[] = {
6840 (char *) "self",(char *) "w",(char *) "units", NULL
6841 };
6842
994141e6 6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
6846 {
6847 arg2 = (int)(SWIG_As_int(obj1));
6848 if (SWIG_arg_fail(2)) SWIG_fail;
6849 }
6850 {
6851 arg3 = (int)(SWIG_As_int(obj2));
6852 if (SWIG_arg_fail(3)) SWIG_fail;
6853 }
d14a1e28
RD
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->SetWidthFloat(arg2,arg3);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 Py_INCREF(Py_None); resultobj = Py_None;
6862 return resultobj;
6863 fail:
6864 return NULL;
6865}
6866
6867
c32bde28 6868static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6869 PyObject *resultobj;
6870 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6871 wxHtmlTag *arg2 = 0 ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 char *kwnames[] = {
6875 (char *) "self",(char *) "tag", NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6880 if (SWIG_arg_fail(1)) SWIG_fail;
6881 {
6882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6883 if (SWIG_arg_fail(2)) SWIG_fail;
6884 if (arg2 == NULL) {
6885 SWIG_null_ref("wxHtmlTag");
6886 }
6887 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 Py_INCREF(Py_None); resultobj = Py_None;
6897 return resultobj;
6898 fail:
6899 return NULL;
6900}
6901
6902
c32bde28 6903static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6904 PyObject *resultobj;
6905 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6906 int arg2 ;
6907 int arg3 = (int) wxHTML_ALIGN_TOP ;
6908 PyObject * obj0 = 0 ;
994141e6
RD
6909 PyObject * obj1 = 0 ;
6910 PyObject * obj2 = 0 ;
d14a1e28
RD
6911 char *kwnames[] = {
6912 (char *) "self",(char *) "h",(char *) "align", NULL
6913 };
6914
994141e6 6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6917 if (SWIG_arg_fail(1)) SWIG_fail;
6918 {
6919 arg2 = (int)(SWIG_As_int(obj1));
6920 if (SWIG_arg_fail(2)) SWIG_fail;
6921 }
994141e6 6922 if (obj2) {
093d3ff1
RD
6923 {
6924 arg3 = (int)(SWIG_As_int(obj2));
6925 if (SWIG_arg_fail(3)) SWIG_fail;
6926 }
994141e6 6927 }
d14a1e28
RD
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->SetMinHeight(arg2,arg3);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
c32bde28 6942static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6943 PyObject *resultobj;
6944 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6945 wxColour *arg2 = 0 ;
6946 wxColour temp2 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "clr", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6956 {
6957 arg2 = &temp2;
6958 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6959 }
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 Py_INCREF(Py_None); resultobj = Py_None;
6968 return resultobj;
6969 fail:
6970 return NULL;
6971}
6972
6973
c32bde28 6974static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6975 PyObject *resultobj;
6976 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6977 wxColour result;
6978 PyObject * obj0 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
6984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6985 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->GetBackgroundColour();
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994 wxColour * resultptr;
093d3ff1 6995 resultptr = new wxColour((wxColour &)(result));
15afbcd0 6996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
6997 }
6998 return resultobj;
6999 fail:
7000 return NULL;
7001}
7002
7003
c32bde28 7004static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7005 PyObject *resultobj;
7006 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7007 wxColour *arg2 = 0 ;
7008 wxColour *arg3 = 0 ;
7009 wxColour temp2 ;
7010 wxColour temp3 ;
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj1 = 0 ;
7013 PyObject * obj2 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7021 {
7022 arg2 = &temp2;
7023 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7024 }
7025 {
7026 arg3 = &temp3;
7027 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 return resultobj;
7038 fail:
7039 return NULL;
7040}
7041
7042
c32bde28 7043static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7044 PyObject *resultobj;
7045 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7046 wxHtmlCell *result;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
7053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
15afbcd0 7062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
7063 return resultobj;
7064 fail:
7065 return NULL;
7066}
7067
7068
c32bde28 7069static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7070 PyObject *obj;
7071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7072 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7073 Py_INCREF(obj);
7074 return Py_BuildValue((char *)"");
7075}
c32bde28 7076static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7077 PyObject *resultobj;
7078 wxColour arg1 ;
7079 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7080 wxHtmlColourCell *result;
d14a1e28 7081 PyObject * obj0 = 0 ;
994141e6 7082 PyObject * obj1 = 0 ;
d14a1e28
RD
7083 char *kwnames[] = {
7084 (char *) "clr",(char *) "flags", NULL
7085 };
7086
994141e6 7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7088 {
7089 wxColour * argp;
7090 SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION);
7091 if (SWIG_arg_fail(1)) SWIG_fail;
7092 if (argp == NULL) {
7093 SWIG_null_ref("wxColour");
7094 }
7095 if (SWIG_arg_fail(1)) SWIG_fail;
7096 arg1 = *argp;
7097 }
994141e6 7098 if (obj1) {
093d3ff1
RD
7099 {
7100 arg2 = (int)(SWIG_As_int(obj1));
7101 if (SWIG_arg_fail(2)) SWIG_fail;
7102 }
994141e6 7103 }
d14a1e28
RD
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
15afbcd0 7111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7112 return resultobj;
7113 fail:
7114 return NULL;
7115}
7116
7117
c32bde28 7118static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7119 PyObject *obj;
7120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7121 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7122 Py_INCREF(obj);
7123 return Py_BuildValue((char *)"");
7124}
c32bde28 7125static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7126 PyObject *resultobj;
7127 wxFont *arg1 = (wxFont *) 0 ;
7128 wxHtmlFontCell *result;
7129 PyObject * obj0 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "font", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
7135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
15afbcd0 7144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7145 return resultobj;
7146 fail:
7147 return NULL;
7148}
7149
7150
c32bde28 7151static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7152 PyObject *obj;
7153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7154 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7155 Py_INCREF(obj);
7156 return Py_BuildValue((char *)"");
7157}
c32bde28 7158static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7159 PyObject *resultobj;
7160 wxWindow *arg1 = (wxWindow *) 0 ;
7161 int arg2 = (int) 0 ;
7162 wxHtmlWidgetCell *result;
7163 PyObject * obj0 = 0 ;
994141e6 7164 PyObject * obj1 = 0 ;
d14a1e28
RD
7165 char *kwnames[] = {
7166 (char *) "wnd",(char *) "w", NULL
7167 };
7168
994141e6 7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7172 if (obj1) {
093d3ff1
RD
7173 {
7174 arg2 = (int)(SWIG_As_int(obj1));
7175 if (SWIG_arg_fail(2)) SWIG_fail;
7176 }
994141e6 7177 }
d14a1e28
RD
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
15afbcd0 7185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7186 return resultobj;
7187 fail:
7188 return NULL;
7189}
7190
7191
c32bde28 7192static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7193 PyObject *obj;
7194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7195 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7196 Py_INCREF(obj);
7197 return Py_BuildValue((char *)"");
7198}
c32bde28 7199static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7200 PyObject *resultobj;
7201 wxPyHtmlFilter *result;
7202 char *kwnames[] = {
7203 NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
15afbcd0 7214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7215 return resultobj;
7216 fail:
7217 return NULL;
7218}
7219
7220
c32bde28 7221static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7222 PyObject *resultobj;
7223 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7224 PyObject *arg2 = (PyObject *) 0 ;
7225 PyObject *arg3 = (PyObject *) 0 ;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 PyObject * obj2 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "self",(char *) "_class", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7236 arg2 = obj1;
7237 arg3 = obj2;
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 (arg1)->_setCallbackInfo(arg2,arg3);
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
c32bde28 7252static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7253 PyObject *obj;
7254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7255 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7256 Py_INCREF(obj);
7257 return Py_BuildValue((char *)"");
7258}
c32bde28 7259static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7260 PyObject *resultobj;
7261 wxWindow *arg1 = (wxWindow *) 0 ;
7262 int arg2 = (int) -1 ;
7263 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7264 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7265 wxSize const &arg4_defvalue = wxDefaultSize ;
7266 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7267 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7268 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7269 wxString *arg6 = (wxString *) &arg6_defvalue ;
7270 wxPyHtmlWindow *result;
7271 wxPoint temp3 ;
7272 wxSize temp4 ;
ae8162c8 7273 bool temp6 = false ;
d14a1e28 7274 PyObject * obj0 = 0 ;
994141e6 7275 PyObject * obj1 = 0 ;
d14a1e28
RD
7276 PyObject * obj2 = 0 ;
7277 PyObject * obj3 = 0 ;
994141e6 7278 PyObject * obj4 = 0 ;
d14a1e28
RD
7279 PyObject * obj5 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7282 };
7283
994141e6 7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7286 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7287 if (obj1) {
093d3ff1
RD
7288 {
7289 arg2 = (int)(SWIG_As_int(obj1));
7290 if (SWIG_arg_fail(2)) SWIG_fail;
7291 }
994141e6 7292 }
d14a1e28
RD
7293 if (obj2) {
7294 {
7295 arg3 = &temp3;
7296 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7297 }
7298 }
7299 if (obj3) {
7300 {
7301 arg4 = &temp4;
7302 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7303 }
7304 }
994141e6 7305 if (obj4) {
093d3ff1
RD
7306 {
7307 arg5 = (int)(SWIG_As_int(obj4));
7308 if (SWIG_arg_fail(5)) SWIG_fail;
7309 }
994141e6 7310 }
d14a1e28
RD
7311 if (obj5) {
7312 {
7313 arg6 = wxString_in_helper(obj5);
7314 if (arg6 == NULL) SWIG_fail;
ae8162c8 7315 temp6 = true;
d14a1e28
RD
7316 }
7317 }
7318 {
e3b71cb8 7319 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7322
7323 wxPyEndAllowThreads(__tstate);
110da5b0 7324 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7325 }
b0f7404b 7326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7327 {
7328 if (temp6)
7329 delete arg6;
7330 }
7331 return resultobj;
7332 fail:
7333 {
7334 if (temp6)
7335 delete arg6;
7336 }
7337 return NULL;
7338}
7339
7340
c32bde28 7341static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7342 PyObject *resultobj;
7343 wxPyHtmlWindow *result;
7344 char *kwnames[] = {
7345 NULL
7346 };
7347
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7349 {
e3b71cb8 7350 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7353
7354 wxPyEndAllowThreads(__tstate);
110da5b0 7355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7356 }
b0f7404b 7357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
c32bde28 7364static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7365 PyObject *resultobj;
7366 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7367 wxWindow *arg2 = (wxWindow *) 0 ;
7368 int arg3 = (int) -1 ;
7369 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7370 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7371 wxSize const &arg5_defvalue = wxDefaultSize ;
7372 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7373 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7374 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7375 wxString *arg7 = (wxString *) &arg7_defvalue ;
7376 bool result;
7377 wxPoint temp4 ;
7378 wxSize temp5 ;
ae8162c8 7379 bool temp7 = false ;
d14a1e28
RD
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
994141e6 7382 PyObject * obj2 = 0 ;
d14a1e28
RD
7383 PyObject * obj3 = 0 ;
7384 PyObject * obj4 = 0 ;
994141e6 7385 PyObject * obj5 = 0 ;
d14a1e28
RD
7386 PyObject * obj6 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7389 };
7390
994141e6 7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7393 if (SWIG_arg_fail(1)) SWIG_fail;
7394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7395 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 7396 if (obj2) {
093d3ff1
RD
7397 {
7398 arg3 = (int)(SWIG_As_int(obj2));
7399 if (SWIG_arg_fail(3)) SWIG_fail;
7400 }
994141e6 7401 }
d14a1e28
RD
7402 if (obj3) {
7403 {
7404 arg4 = &temp4;
7405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7406 }
7407 }
7408 if (obj4) {
7409 {
7410 arg5 = &temp5;
7411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7412 }
7413 }
994141e6 7414 if (obj5) {
093d3ff1
RD
7415 {
7416 arg6 = (int)(SWIG_As_int(obj5));
7417 if (SWIG_arg_fail(6)) SWIG_fail;
7418 }
994141e6 7419 }
d14a1e28
RD
7420 if (obj6) {
7421 {
7422 arg7 = wxString_in_helper(obj6);
7423 if (arg7 == NULL) SWIG_fail;
ae8162c8 7424 temp7 = true;
d14a1e28
RD
7425 }
7426 }
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
4f89f6a3
RD
7434 {
7435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7436 }
d14a1e28
RD
7437 {
7438 if (temp7)
7439 delete arg7;
7440 }
7441 return resultobj;
7442 fail:
7443 {
7444 if (temp7)
7445 delete arg7;
7446 }
7447 return NULL;
7448}
7449
7450
c32bde28 7451static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7452 PyObject *resultobj;
7453 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7454 PyObject *arg2 = (PyObject *) 0 ;
7455 PyObject *arg3 = (PyObject *) 0 ;
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 PyObject * obj2 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "self",(char *) "self",(char *) "_class", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7466 arg2 = obj1;
7467 arg3 = obj2;
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->_setCallbackInfo(arg2,arg3);
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 Py_INCREF(Py_None); resultobj = Py_None;
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
c32bde28 7482static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7483 PyObject *resultobj;
7484 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7485 wxString *arg2 = 0 ;
7486 bool result;
ae8162c8 7487 bool temp2 = false ;
d14a1e28
RD
7488 PyObject * obj0 = 0 ;
7489 PyObject * obj1 = 0 ;
7490 char *kwnames[] = {
7491 (char *) "self",(char *) "source", NULL
7492 };
7493
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7497 {
7498 arg2 = wxString_in_helper(obj1);
7499 if (arg2 == NULL) SWIG_fail;
ae8162c8 7500 temp2 = true;
d14a1e28
RD
7501 }
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
4f89f6a3
RD
7509 {
7510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7511 }
d14a1e28
RD
7512 {
7513 if (temp2)
7514 delete arg2;
7515 }
7516 return resultobj;
7517 fail:
7518 {
7519 if (temp2)
7520 delete arg2;
7521 }
7522 return NULL;
7523}
7524
7525
c32bde28 7526static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7527 PyObject *resultobj;
7528 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7529 wxString *arg2 = 0 ;
7530 bool result;
ae8162c8 7531 bool temp2 = false ;
d14a1e28
RD
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "location", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7540 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7541 {
7542 arg2 = wxString_in_helper(obj1);
7543 if (arg2 == NULL) SWIG_fail;
ae8162c8 7544 temp2 = true;
d14a1e28
RD
7545 }
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
4f89f6a3
RD
7553 {
7554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7555 }
d14a1e28
RD
7556 {
7557 if (temp2)
7558 delete arg2;
7559 }
7560 return resultobj;
7561 fail:
7562 {
7563 if (temp2)
7564 delete arg2;
7565 }
7566 return NULL;
7567}
7568
7569
c32bde28 7570static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7571 PyObject *resultobj;
7572 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7573 wxString *arg2 = 0 ;
7574 bool result;
ae8162c8 7575 bool temp2 = false ;
d14a1e28
RD
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self",(char *) "filename", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7585 {
7586 arg2 = wxString_in_helper(obj1);
7587 if (arg2 == NULL) SWIG_fail;
ae8162c8 7588 temp2 = true;
d14a1e28
RD
7589 }
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
4f89f6a3
RD
7597 {
7598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7599 }
d14a1e28
RD
7600 {
7601 if (temp2)
7602 delete arg2;
7603 }
7604 return resultobj;
7605 fail:
7606 {
7607 if (temp2)
7608 delete arg2;
7609 }
7610 return NULL;
7611}
7612
7613
c32bde28 7614static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7615 PyObject *resultobj;
7616 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7617 wxString *arg2 = 0 ;
7618 bool result;
ae8162c8 7619 bool temp2 = false ;
d14a1e28
RD
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self",(char *) "source", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7628 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7629 {
7630 arg2 = wxString_in_helper(obj1);
7631 if (arg2 == NULL) SWIG_fail;
ae8162c8 7632 temp2 = true;
d14a1e28
RD
7633 }
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
4f89f6a3
RD
7641 {
7642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7643 }
d14a1e28
RD
7644 {
7645 if (temp2)
7646 delete arg2;
7647 }
7648 return resultobj;
7649 fail:
7650 {
7651 if (temp2)
7652 delete arg2;
7653 }
7654 return NULL;
7655}
7656
7657
c32bde28 7658static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7659 PyObject *resultobj;
7660 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7661 wxString result;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
7668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7669 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (arg1)->GetOpenedPage();
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 {
7678#if wxUSE_UNICODE
7679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7680#else
7681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7682#endif
7683 }
7684 return resultobj;
7685 fail:
7686 return NULL;
7687}
7688
7689
c32bde28 7690static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7691 PyObject *resultobj;
7692 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7693 wxString result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (arg1)->GetOpenedAnchor();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 {
7710#if wxUSE_UNICODE
7711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7712#else
7713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7714#endif
7715 }
7716 return resultobj;
7717 fail:
7718 return NULL;
7719}
7720
7721
c32bde28 7722static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7723 PyObject *resultobj;
7724 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7725 wxString result;
7726 PyObject * obj0 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
7732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (arg1)->GetOpenedPageTitle();
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 {
7742#if wxUSE_UNICODE
7743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7744#else
7745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7746#endif
7747 }
7748 return resultobj;
7749 fail:
7750 return NULL;
7751}
7752
7753
c32bde28 7754static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7755 PyObject *resultobj;
7756 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7757 wxFrame *arg2 = (wxFrame *) 0 ;
7758 wxString *arg3 = 0 ;
ae8162c8 7759 bool temp3 = false ;
d14a1e28
RD
7760 PyObject * obj0 = 0 ;
7761 PyObject * obj1 = 0 ;
7762 PyObject * obj2 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self",(char *) "frame",(char *) "format", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail;
7770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
7771 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7772 {
7773 arg3 = wxString_in_helper(obj2);
7774 if (arg3 == NULL) SWIG_fail;
ae8162c8 7775 temp3 = true;
d14a1e28
RD
7776 }
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 Py_INCREF(Py_None); resultobj = Py_None;
7785 {
7786 if (temp3)
7787 delete arg3;
7788 }
7789 return resultobj;
7790 fail:
7791 {
7792 if (temp3)
7793 delete arg3;
7794 }
7795 return NULL;
7796}
7797
7798
c32bde28 7799static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7800 PyObject *resultobj;
7801 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7802 wxFrame *result;
7803 PyObject * obj0 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
7809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7810 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 result = (wxFrame *)(arg1)->GetRelatedFrame();
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 {
412d302d 7819 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7820 }
7821 return resultobj;
7822 fail:
7823 return NULL;
7824}
7825
7826
c32bde28 7827static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7828 PyObject *resultobj;
7829 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7830 int arg2 ;
7831 PyObject * obj0 = 0 ;
994141e6 7832 PyObject * obj1 = 0 ;
d14a1e28
RD
7833 char *kwnames[] = {
7834 (char *) "self",(char *) "bar", NULL
7835 };
7836
994141e6 7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7839 if (SWIG_arg_fail(1)) SWIG_fail;
7840 {
7841 arg2 = (int)(SWIG_As_int(obj1));
7842 if (SWIG_arg_fail(2)) SWIG_fail;
7843 }
d14a1e28
RD
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 (arg1)->SetRelatedStatusBar(arg2);
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 Py_INCREF(Py_None); resultobj = Py_None;
7852 return resultobj;
7853 fail:
7854 return NULL;
7855}
7856
7857
c32bde28 7858static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7859 PyObject *resultobj;
7860 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7861 wxString arg2 ;
7862 wxString arg3 ;
7863 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 PyObject * obj2 = 0 ;
7867 PyObject * obj3 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
7875 {
7876 wxString* sptr = wxString_in_helper(obj1);
7877 if (sptr == NULL) SWIG_fail;
7878 arg2 = *sptr;
7879 delete sptr;
7880 }
7881 {
7882 wxString* sptr = wxString_in_helper(obj2);
7883 if (sptr == NULL) SWIG_fail;
7884 arg3 = *sptr;
7885 delete sptr;
7886 }
d14a1e28
RD
7887 if (obj3) {
7888 arg4 = obj3;
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 Py_INCREF(Py_None); resultobj = Py_None;
7898 return resultobj;
7899 fail:
7900 return NULL;
7901}
7902
7903
ae8162c8 7904static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
7905 PyObject *resultobj;
7906 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7907 int arg2 = (int) -1 ;
ae8162c8
RD
7908 wxString const &arg3_defvalue = wxPyEmptyString ;
7909 wxString *arg3 = (wxString *) &arg3_defvalue ;
7910 wxString const &arg4_defvalue = wxPyEmptyString ;
7911 wxString *arg4 = (wxString *) &arg4_defvalue ;
7912 bool temp3 = false ;
7913 bool temp4 = false ;
30ee79f7
RD
7914 PyObject * obj0 = 0 ;
7915 PyObject * obj1 = 0 ;
ae8162c8
RD
7916 PyObject * obj2 = 0 ;
7917 PyObject * obj3 = 0 ;
30ee79f7 7918 char *kwnames[] = {
ae8162c8 7919 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
7920 };
7921
ae8162c8 7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 7925 if (obj1) {
093d3ff1
RD
7926 {
7927 arg2 = (int)(SWIG_As_int(obj1));
7928 if (SWIG_arg_fail(2)) SWIG_fail;
7929 }
30ee79f7 7930 }
ae8162c8
RD
7931 if (obj2) {
7932 {
7933 arg3 = wxString_in_helper(obj2);
7934 if (arg3 == NULL) SWIG_fail;
7935 temp3 = true;
7936 }
7937 }
7938 if (obj3) {
7939 {
7940 arg4 = wxString_in_helper(obj3);
7941 if (arg4 == NULL) SWIG_fail;
7942 temp4 = true;
7943 }
7944 }
30ee79f7
RD
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 7947 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
7953 {
7954 if (temp3)
7955 delete arg3;
7956 }
7957 {
7958 if (temp4)
7959 delete arg4;
7960 }
30ee79f7
RD
7961 return resultobj;
7962 fail:
ae8162c8
RD
7963 {
7964 if (temp3)
7965 delete arg3;
7966 }
7967 {
7968 if (temp4)
7969 delete arg4;
7970 }
30ee79f7
RD
7971 return NULL;
7972}
7973
7974
c32bde28 7975static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7976 PyObject *resultobj;
7977 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7978 wxString *arg2 = 0 ;
ae8162c8 7979 bool temp2 = false ;
d14a1e28
RD
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "title", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7989 {
7990 arg2 = wxString_in_helper(obj1);
7991 if (arg2 == NULL) SWIG_fail;
ae8162c8 7992 temp2 = true;
d14a1e28
RD
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 (arg1)->SetTitle((wxString const &)*arg2);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 Py_INCREF(Py_None); resultobj = Py_None;
8002 {
8003 if (temp2)
8004 delete arg2;
8005 }
8006 return resultobj;
8007 fail:
8008 {
8009 if (temp2)
8010 delete arg2;
8011 }
8012 return NULL;
8013}
8014
8015
c32bde28 8016static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8017 PyObject *resultobj;
8018 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8019 int arg2 ;
8020 PyObject * obj0 = 0 ;
994141e6 8021 PyObject * obj1 = 0 ;
d14a1e28
RD
8022 char *kwnames[] = {
8023 (char *) "self",(char *) "b", NULL
8024 };
8025
994141e6 8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail;
8029 {
8030 arg2 = (int)(SWIG_As_int(obj1));
8031 if (SWIG_arg_fail(2)) SWIG_fail;
8032 }
d14a1e28
RD
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 (arg1)->SetBorders(arg2);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 Py_INCREF(Py_None); resultobj = Py_None;
8041 return resultobj;
8042 fail:
8043 return NULL;
8044}
8045
8046
c32bde28 8047static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8048 PyObject *resultobj;
8049 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8050 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8051 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8052 PyObject * obj0 = 0 ;
8053 PyObject * obj1 = 0 ;
8054 PyObject * obj2 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "cfg",(char *) "path", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
8062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8063 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8064 if (obj2) {
e811c8ce
RD
8065 {
8066 wxString* sptr = wxString_in_helper(obj2);
8067 if (sptr == NULL) SWIG_fail;
8068 arg3 = *sptr;
8069 delete sptr;
8070 }
d14a1e28
RD
8071 }
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 (arg1)->ReadCustomization(arg2,arg3);
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 Py_INCREF(Py_None); resultobj = Py_None;
8080 return resultobj;
8081 fail:
8082 return NULL;
8083}
8084
8085
c32bde28 8086static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8087 PyObject *resultobj;
8088 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8089 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8090 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8091 PyObject * obj0 = 0 ;
8092 PyObject * obj1 = 0 ;
8093 PyObject * obj2 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self",(char *) "cfg",(char *) "path", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail;
8101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8102 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8103 if (obj2) {
e811c8ce
RD
8104 {
8105 wxString* sptr = wxString_in_helper(obj2);
8106 if (sptr == NULL) SWIG_fail;
8107 arg3 = *sptr;
8108 delete sptr;
8109 }
d14a1e28
RD
8110 }
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 (arg1)->WriteCustomization(arg2,arg3);
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 Py_INCREF(Py_None); resultobj = Py_None;
8119 return resultobj;
8120 fail:
8121 return NULL;
8122}
8123
8124
c32bde28 8125static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8126 PyObject *resultobj;
8127 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8128 bool result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8136 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (bool)(arg1)->HistoryBack();
8140
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
4f89f6a3
RD
8144 {
8145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8146 }
d14a1e28
RD
8147 return resultobj;
8148 fail:
8149 return NULL;
8150}
8151
8152
c32bde28 8153static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8154 PyObject *resultobj;
8155 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8156 bool result;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (bool)(arg1)->HistoryForward();
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
4f89f6a3
RD
8172 {
8173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8174 }
d14a1e28
RD
8175 return resultobj;
8176 fail:
8177 return NULL;
8178}
8179
8180
c32bde28 8181static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8182 PyObject *resultobj;
8183 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8184 bool result;
8185 PyObject * obj0 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (bool)(arg1)->HistoryCanBack();
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
4f89f6a3
RD
8200 {
8201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8202 }
d14a1e28
RD
8203 return resultobj;
8204 fail:
8205 return NULL;
8206}
8207
8208
c32bde28 8209static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8210 PyObject *resultobj;
8211 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8212 bool result;
8213 PyObject * obj0 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (bool)(arg1)->HistoryCanForward();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
4f89f6a3
RD
8228 {
8229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8230 }
d14a1e28
RD
8231 return resultobj;
8232 fail:
8233 return NULL;
8234}
8235
8236
c32bde28 8237static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8238 PyObject *resultobj;
8239 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
093d3ff1
RD
8246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8247 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 (arg1)->HistoryClear();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 Py_INCREF(Py_None); resultobj = Py_None;
8256 return resultobj;
8257 fail:
8258 return NULL;
8259}
8260
8261
c32bde28 8262static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8263 PyObject *resultobj;
8264 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8265 wxHtmlContainerCell *result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
093d3ff1
RD
8272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
15afbcd0 8281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8282 return resultobj;
8283 fail:
8284 return NULL;
8285}
8286
8287
c32bde28 8288static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8289 PyObject *resultobj;
8290 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8291 wxHtmlWinParser *result;
8292 PyObject * obj0 = 0 ;
8293 char *kwnames[] = {
8294 (char *) "self", NULL
8295 };
8296
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
8298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (wxHtmlWinParser *)(arg1)->GetParser();
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
15afbcd0 8307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8308 return resultobj;
8309 fail:
8310 return NULL;
8311}
8312
8313
c32bde28 8314static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8315 PyObject *resultobj;
8316 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8317 wxString *arg2 = 0 ;
8318 bool result;
ae8162c8 8319 bool temp2 = false ;
d14a1e28
RD
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 char *kwnames[] = {
8323 (char *) "self",(char *) "anchor", NULL
8324 };
8325
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8328 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8329 {
8330 arg2 = wxString_in_helper(obj1);
8331 if (arg2 == NULL) SWIG_fail;
ae8162c8 8332 temp2 = true;
d14a1e28
RD
8333 }
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
4f89f6a3
RD
8341 {
8342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8343 }
d14a1e28
RD
8344 {
8345 if (temp2)
8346 delete arg2;
8347 }
8348 return resultobj;
8349 fail:
8350 {
8351 if (temp2)
8352 delete arg2;
8353 }
8354 return NULL;
8355}
8356
8357
c32bde28 8358static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8359 PyObject *resultobj;
8360 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8361 wxString *arg2 = 0 ;
8362 bool result;
ae8162c8 8363 bool temp2 = false ;
d14a1e28
RD
8364 PyObject * obj0 = 0 ;
8365 PyObject * obj1 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self",(char *) "anchor", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8372 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8373 {
8374 arg2 = wxString_in_helper(obj1);
8375 if (arg2 == NULL) SWIG_fail;
ae8162c8 8376 temp2 = true;
d14a1e28
RD
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
4f89f6a3
RD
8385 {
8386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8387 }
d14a1e28
RD
8388 {
8389 if (temp2)
8390 delete arg2;
8391 }
8392 return resultobj;
8393 fail:
8394 {
8395 if (temp2)
8396 delete arg2;
8397 }
8398 return NULL;
8399}
8400
8401
c32bde28 8402static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8403 PyObject *resultobj;
8404 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8405 PyObject * obj0 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "filter", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
8411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 wxPyHtmlWindow::AddFilter(arg1);
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 Py_INCREF(Py_None); resultobj = Py_None;
8421 return resultobj;
8422 fail:
8423 return NULL;
8424}
8425
8426
c32bde28 8427static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8428 PyObject *resultobj;
8429 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8430 wxPoint *arg2 = 0 ;
8431 wxPoint temp2 ;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "pos", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8440 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8441 {
8442 arg2 = &temp2;
8443 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8444 }
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->SelectWord((wxPoint const &)*arg2);
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456}
8457
8458
c32bde28 8459static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8460 PyObject *resultobj;
8461 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8462 wxPoint *arg2 = 0 ;
8463 wxPoint temp2 ;
8464 PyObject * obj0 = 0 ;
8465 PyObject * obj1 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self",(char *) "pos", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8473 {
8474 arg2 = &temp2;
8475 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8476 }
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 (arg1)->SelectLine((wxPoint const &)*arg2);
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 Py_INCREF(Py_None); resultobj = Py_None;
8485 return resultobj;
8486 fail:
8487 return NULL;
8488}
8489
8490
c32bde28 8491static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8492 PyObject *resultobj;
8493 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8494 PyObject * obj0 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
8500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 (arg1)->SelectAll();
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 Py_INCREF(Py_None); resultobj = Py_None;
8510 return resultobj;
8511 fail:
8512 return NULL;
8513}
8514
8515
c32bde28 8516static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8517 PyObject *resultobj;
8518 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8519 wxString result;
8520 PyObject * obj0 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8527 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (arg1)->SelectionToText();
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 {
8536#if wxUSE_UNICODE
8537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8538#else
8539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8540#endif
8541 }
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
c32bde28 8548static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8549 PyObject *resultobj;
8550 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8551 wxString result;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (arg1)->ToText();
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568#if wxUSE_UNICODE
8569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8570#else
8571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8572#endif
8573 }
8574 return resultobj;
8575 fail:
8576 return NULL;
8577}
8578
8579
c32bde28 8580static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8581 PyObject *resultobj;
8582 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8583 wxHtmlLinkInfo *arg2 = 0 ;
8584 PyObject * obj0 = 0 ;
8585 PyObject * obj1 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self",(char *) "link", NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail;
8593 {
8594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8595 if (SWIG_arg_fail(2)) SWIG_fail;
8596 if (arg2 == NULL) {
8597 SWIG_null_ref("wxHtmlLinkInfo");
8598 }
8599 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8600 }
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 Py_INCREF(Py_None); resultobj = Py_None;
8609 return resultobj;
8610 fail:
8611 return NULL;
8612}
8613
8614
c32bde28 8615static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8616 PyObject *resultobj;
8617 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8618 wxString *arg2 = 0 ;
ae8162c8 8619 bool temp2 = false ;
d14a1e28
RD
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
8622 char *kwnames[] = {
8623 (char *) "self",(char *) "title", NULL
8624 };
8625
8626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8628 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8629 {
8630 arg2 = wxString_in_helper(obj1);
8631 if (arg2 == NULL) SWIG_fail;
ae8162c8 8632 temp2 = true;
d14a1e28
RD
8633 }
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 Py_INCREF(Py_None); resultobj = Py_None;
8642 {
8643 if (temp2)
8644 delete arg2;
8645 }
8646 return resultobj;
8647 fail:
8648 {
8649 if (temp2)
8650 delete arg2;
8651 }
8652 return NULL;
8653}
8654
8655
c32bde28 8656static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8657 PyObject *resultobj;
8658 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8659 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
8660 int arg3 ;
8661 int arg4 ;
d14a1e28
RD
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
994141e6
RD
8664 PyObject * obj2 = 0 ;
8665 PyObject * obj3 = 0 ;
d14a1e28
RD
8666 char *kwnames[] = {
8667 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8668 };
8669
994141e6 8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail;
8673 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8674 if (SWIG_arg_fail(2)) SWIG_fail;
8675 {
8676 arg3 = (int)(SWIG_As_int(obj2));
8677 if (SWIG_arg_fail(3)) SWIG_fail;
8678 }
8679 {
8680 arg4 = (int)(SWIG_As_int(obj3));
8681 if (SWIG_arg_fail(4)) SWIG_fail;
8682 }
d14a1e28
RD
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
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
c32bde28 8697static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8698 PyObject *resultobj;
8699 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8700 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
8701 int arg3 ;
8702 int arg4 ;
d14a1e28
RD
8703 wxMouseEvent *arg5 = 0 ;
8704 PyObject * obj0 = 0 ;
8705 PyObject * obj1 = 0 ;
994141e6
RD
8706 PyObject * obj2 = 0 ;
8707 PyObject * obj3 = 0 ;
d14a1e28
RD
8708 PyObject * obj4 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8711 };
8712
994141e6 8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8717 if (SWIG_arg_fail(2)) SWIG_fail;
8718 {
8719 arg3 = (int)(SWIG_As_int(obj2));
8720 if (SWIG_arg_fail(3)) SWIG_fail;
8721 }
8722 {
8723 arg4 = (int)(SWIG_As_int(obj3));
8724 if (SWIG_arg_fail(4)) SWIG_fail;
8725 }
8726 {
8727 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
8728 if (SWIG_arg_fail(5)) SWIG_fail;
8729 if (arg5 == NULL) {
8730 SWIG_null_ref("wxMouseEvent");
8731 }
8732 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
8733 }
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 Py_INCREF(Py_None); resultobj = Py_None;
8742 return resultobj;
8743 fail:
8744 return NULL;
8745}
8746
8747
c32bde28 8748static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 8749 PyObject *resultobj;
093d3ff1 8750 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8751 wxVisualAttributes result;
8752 PyObject * obj0 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "variant", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8758 if (obj0) {
093d3ff1
RD
8759 {
8760 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8761 if (SWIG_arg_fail(1)) SWIG_fail;
8762 }
22bfe96c
RD
8763 }
8764 {
e3b71cb8 8765 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8768
8769 wxPyEndAllowThreads(__tstate);
110da5b0 8770 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8771 }
8772 {
8773 wxVisualAttributes * resultptr;
093d3ff1 8774 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
8775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8776 }
8777 return resultobj;
8778 fail:
8779 return NULL;
8780}
8781
8782
c32bde28 8783static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8784 PyObject *obj;
8785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8786 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
8787 Py_INCREF(obj);
8788 return Py_BuildValue((char *)"");
8789}
c32bde28 8790static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8791 PyObject *resultobj;
8792 wxHtmlDCRenderer *result;
8793 char *kwnames[] = {
8794 NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
8798 {
e3b71cb8 8799 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8800 PyThreadState* __tstate = wxPyBeginAllowThreads();
8801 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
8802
8803 wxPyEndAllowThreads(__tstate);
110da5b0 8804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8805 }
15afbcd0 8806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
8807 return resultobj;
8808 fail:
8809 return NULL;
8810}
8811
8812
c32bde28 8813static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8814 PyObject *resultobj;
8815 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8816 PyObject * obj0 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 delete arg1;
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 Py_INCREF(Py_None); resultobj = Py_None;
8832 return resultobj;
8833 fail:
8834 return NULL;
8835}
8836
8837
c32bde28 8838static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8839 PyObject *resultobj;
8840 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8841 wxDC *arg2 = (wxDC *) 0 ;
8842 int arg3 ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
994141e6 8845 PyObject * obj2 = 0 ;
d14a1e28
RD
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8848 };
8849
994141e6 8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8852 if (SWIG_arg_fail(1)) SWIG_fail;
8853 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8854 if (SWIG_arg_fail(2)) SWIG_fail;
8855 {
8856 arg3 = (int)(SWIG_As_int(obj2));
8857 if (SWIG_arg_fail(3)) SWIG_fail;
8858 }
d14a1e28
RD
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 (arg1)->SetDC(arg2,arg3);
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 Py_INCREF(Py_None); resultobj = Py_None;
8867 return resultobj;
8868 fail:
8869 return NULL;
8870}
8871
8872
c32bde28 8873static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8874 PyObject *resultobj;
8875 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8876 int arg2 ;
8877 int arg3 ;
8878 PyObject * obj0 = 0 ;
994141e6
RD
8879 PyObject * obj1 = 0 ;
8880 PyObject * obj2 = 0 ;
d14a1e28
RD
8881 char *kwnames[] = {
8882 (char *) "self",(char *) "width",(char *) "height", NULL
8883 };
8884
994141e6 8885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8887 if (SWIG_arg_fail(1)) SWIG_fail;
8888 {
8889 arg2 = (int)(SWIG_As_int(obj1));
8890 if (SWIG_arg_fail(2)) SWIG_fail;
8891 }
8892 {
8893 arg3 = (int)(SWIG_As_int(obj2));
8894 if (SWIG_arg_fail(3)) SWIG_fail;
8895 }
d14a1e28
RD
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 (arg1)->SetSize(arg2,arg3);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 Py_INCREF(Py_None); resultobj = Py_None;
8904 return resultobj;
8905 fail:
8906 return NULL;
8907}
8908
8909
c32bde28 8910static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8911 PyObject *resultobj;
8912 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8913 wxString *arg2 = 0 ;
8914 wxString const &arg3_defvalue = wxPyEmptyString ;
8915 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
8916 bool arg4 = (bool) true ;
8917 bool temp2 = false ;
8918 bool temp3 = false ;
d14a1e28
RD
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 PyObject * obj2 = 0 ;
8922 PyObject * obj3 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8929 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8930 {
8931 arg2 = wxString_in_helper(obj1);
8932 if (arg2 == NULL) SWIG_fail;
ae8162c8 8933 temp2 = true;
d14a1e28
RD
8934 }
8935 if (obj2) {
8936 {
8937 arg3 = wxString_in_helper(obj2);
8938 if (arg3 == NULL) SWIG_fail;
ae8162c8 8939 temp3 = true;
d14a1e28
RD
8940 }
8941 }
8942 if (obj3) {
093d3ff1
RD
8943 {
8944 arg4 = (bool)(SWIG_As_bool(obj3));
8945 if (SWIG_arg_fail(4)) SWIG_fail;
8946 }
d14a1e28
RD
8947 }
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
8955 Py_INCREF(Py_None); resultobj = Py_None;
8956 {
8957 if (temp2)
8958 delete arg2;
8959 }
8960 {
8961 if (temp3)
8962 delete arg3;
8963 }
8964 return resultobj;
8965 fail:
8966 {
8967 if (temp2)
8968 delete arg2;
8969 }
8970 {
8971 if (temp3)
8972 delete arg3;
8973 }
8974 return NULL;
8975}
8976
8977
c32bde28 8978static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8979 PyObject *resultobj;
8980 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8981 wxString arg2 ;
8982 wxString arg3 ;
8983 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 PyObject * obj2 = 0 ;
8987 PyObject * obj3 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
8995 {
8996 wxString* sptr = wxString_in_helper(obj1);
8997 if (sptr == NULL) SWIG_fail;
8998 arg2 = *sptr;
8999 delete sptr;
9000 }
9001 {
9002 wxString* sptr = wxString_in_helper(obj2);
9003 if (sptr == NULL) SWIG_fail;
9004 arg3 = *sptr;
9005 delete sptr;
9006 }
d14a1e28
RD
9007 if (obj3) {
9008 arg4 = obj3;
9009 }
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9013
9014 wxPyEndAllowThreads(__tstate);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
9017 Py_INCREF(Py_None); resultobj = Py_None;
9018 return resultobj;
9019 fail:
9020 return NULL;
9021}
9022
9023
ae8162c8 9024static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9025 PyObject *resultobj;
9026 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9027 int arg2 = (int) -1 ;
ae8162c8
RD
9028 wxString const &arg3_defvalue = wxPyEmptyString ;
9029 wxString *arg3 = (wxString *) &arg3_defvalue ;
9030 wxString const &arg4_defvalue = wxPyEmptyString ;
9031 wxString *arg4 = (wxString *) &arg4_defvalue ;
9032 bool temp3 = false ;
9033 bool temp4 = false ;
30ee79f7
RD
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
ae8162c8
RD
9036 PyObject * obj2 = 0 ;
9037 PyObject * obj3 = 0 ;
30ee79f7 9038 char *kwnames[] = {
ae8162c8 9039 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9040 };
9041
ae8162c8 9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9044 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9045 if (obj1) {
093d3ff1
RD
9046 {
9047 arg2 = (int)(SWIG_As_int(obj1));
9048 if (SWIG_arg_fail(2)) SWIG_fail;
9049 }
30ee79f7 9050 }
ae8162c8
RD
9051 if (obj2) {
9052 {
9053 arg3 = wxString_in_helper(obj2);
9054 if (arg3 == NULL) SWIG_fail;
9055 temp3 = true;
9056 }
9057 }
9058 if (obj3) {
9059 {
9060 arg4 = wxString_in_helper(obj3);
9061 if (arg4 == NULL) SWIG_fail;
9062 temp4 = true;
9063 }
9064 }
30ee79f7
RD
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9067 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9073 {
9074 if (temp3)
9075 delete arg3;
9076 }
9077 {
9078 if (temp4)
9079 delete arg4;
9080 }
30ee79f7
RD
9081 return resultobj;
9082 fail:
ae8162c8
RD
9083 {
9084 if (temp3)
9085 delete arg3;
9086 }
9087 {
9088 if (temp4)
9089 delete arg4;
9090 }
30ee79f7
RD
9091 return NULL;
9092}
9093
9094
c32bde28 9095static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9096 PyObject *resultobj;
9097 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9098 int arg2 ;
9099 int arg3 ;
9100 int arg4 = (int) 0 ;
ae8162c8 9101 int arg5 = (int) false ;
d14a1e28
RD
9102 int arg6 = (int) INT_MAX ;
9103 int *arg7 = (int *) NULL ;
9104 int arg8 = (int) 0 ;
9105 int result;
9106 PyObject * obj0 = 0 ;
994141e6
RD
9107 PyObject * obj1 = 0 ;
9108 PyObject * obj2 = 0 ;
9109 PyObject * obj3 = 0 ;
9110 PyObject * obj4 = 0 ;
9111 PyObject * obj5 = 0 ;
d14a1e28 9112 PyObject * obj6 = 0 ;
994141e6 9113 PyObject * obj7 = 0 ;
d14a1e28 9114 char *kwnames[] = {
f78cc896 9115 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9116 };
9117
994141e6 9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail;
9121 {
9122 arg2 = (int)(SWIG_As_int(obj1));
9123 if (SWIG_arg_fail(2)) SWIG_fail;
9124 }
9125 {
9126 arg3 = (int)(SWIG_As_int(obj2));
9127 if (SWIG_arg_fail(3)) SWIG_fail;
9128 }
994141e6 9129 if (obj3) {
093d3ff1
RD
9130 {
9131 arg4 = (int)(SWIG_As_int(obj3));
9132 if (SWIG_arg_fail(4)) SWIG_fail;
9133 }
994141e6
RD
9134 }
9135 if (obj4) {
093d3ff1
RD
9136 {
9137 arg5 = (int)(SWIG_As_int(obj4));
9138 if (SWIG_arg_fail(5)) SWIG_fail;
9139 }
994141e6
RD
9140 }
9141 if (obj5) {
093d3ff1
RD
9142 {
9143 arg6 = (int)(SWIG_As_int(obj5));
9144 if (SWIG_arg_fail(6)) SWIG_fail;
9145 }
994141e6 9146 }
d14a1e28 9147 if (obj6) {
093d3ff1
RD
9148 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9149 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9150 }
994141e6 9151 if (obj7) {
093d3ff1
RD
9152 {
9153 arg8 = (int)(SWIG_As_int(obj7));
9154 if (SWIG_arg_fail(8)) SWIG_fail;
9155 }
994141e6 9156 }
d14a1e28
RD
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
093d3ff1
RD
9164 {
9165 resultobj = SWIG_From_int((int)(result));
9166 }
d14a1e28
RD
9167 return resultobj;
9168 fail:
9169 return NULL;
9170}
9171
9172
c32bde28 9173static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9174 PyObject *resultobj;
9175 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9176 int result;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
9183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 result = (int)(arg1)->GetTotalHeight();
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
093d3ff1
RD
9192 {
9193 resultobj = SWIG_From_int((int)(result));
9194 }
d14a1e28
RD
9195 return resultobj;
9196 fail:
9197 return NULL;
9198}
9199
9200
c32bde28 9201static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9202 PyObject *obj;
9203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9204 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9205 Py_INCREF(obj);
9206 return Py_BuildValue((char *)"");
9207}
c32bde28 9208static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9209 PyObject *resultobj;
9210 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9211 wxString *arg1 = (wxString *) &arg1_defvalue ;
9212 wxHtmlPrintout *result;
ae8162c8 9213 bool temp1 = false ;
d14a1e28
RD
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "title", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9220 if (obj0) {
9221 {
9222 arg1 = wxString_in_helper(obj0);
9223 if (arg1 == NULL) SWIG_fail;
ae8162c8 9224 temp1 = true;
d14a1e28
RD
9225 }
9226 }
9227 {
e3b71cb8 9228 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9231
9232 wxPyEndAllowThreads(__tstate);
110da5b0 9233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9234 }
15afbcd0 9235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9236 {
9237 if (temp1)
9238 delete arg1;
9239 }
9240 return resultobj;
9241 fail:
9242 {
9243 if (temp1)
9244 delete arg1;
9245 }
9246 return NULL;
9247}
9248
9249
c32bde28 9250static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9251 PyObject *resultobj;
9252 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9253 wxString *arg2 = 0 ;
9254 wxString const &arg3_defvalue = wxPyEmptyString ;
9255 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9256 bool arg4 = (bool) true ;
9257 bool temp2 = false ;
9258 bool temp3 = false ;
d14a1e28
RD
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 PyObject * obj2 = 0 ;
9262 PyObject * obj3 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9269 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9270 {
9271 arg2 = wxString_in_helper(obj1);
9272 if (arg2 == NULL) SWIG_fail;
ae8162c8 9273 temp2 = true;
d14a1e28
RD
9274 }
9275 if (obj2) {
9276 {
9277 arg3 = wxString_in_helper(obj2);
9278 if (arg3 == NULL) SWIG_fail;
ae8162c8 9279 temp3 = true;
d14a1e28
RD
9280 }
9281 }
9282 if (obj3) {
093d3ff1
RD
9283 {
9284 arg4 = (bool)(SWIG_As_bool(obj3));
9285 if (SWIG_arg_fail(4)) SWIG_fail;
9286 }
d14a1e28
RD
9287 }
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 {
9297 if (temp2)
9298 delete arg2;
9299 }
9300 {
9301 if (temp3)
9302 delete arg3;
9303 }
9304 return resultobj;
9305 fail:
9306 {
9307 if (temp2)
9308 delete arg2;
9309 }
9310 {
9311 if (temp3)
9312 delete arg3;
9313 }
9314 return NULL;
9315}
9316
9317
c32bde28 9318static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9319 PyObject *resultobj;
9320 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9321 wxString *arg2 = 0 ;
ae8162c8 9322 bool temp2 = false ;
d14a1e28
RD
9323 PyObject * obj0 = 0 ;
9324 PyObject * obj1 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "htmlfile", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9332 {
9333 arg2 = wxString_in_helper(obj1);
9334 if (arg2 == NULL) SWIG_fail;
ae8162c8 9335 temp2 = true;
d14a1e28
RD
9336 }
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
9339 (arg1)->SetHtmlFile((wxString const &)*arg2);
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 Py_INCREF(Py_None); resultobj = Py_None;
9345 {
9346 if (temp2)
9347 delete arg2;
9348 }
9349 return resultobj;
9350 fail:
9351 {
9352 if (temp2)
9353 delete arg2;
9354 }
9355 return NULL;
9356}
9357
9358
c32bde28 9359static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9360 PyObject *resultobj;
9361 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9362 wxString *arg2 = 0 ;
9363 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9364 bool temp2 = false ;
d14a1e28
RD
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
994141e6 9367 PyObject * obj2 = 0 ;
d14a1e28
RD
9368 char *kwnames[] = {
9369 (char *) "self",(char *) "header",(char *) "pg", NULL
9370 };
9371
994141e6 9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9375 {
9376 arg2 = wxString_in_helper(obj1);
9377 if (arg2 == NULL) SWIG_fail;
ae8162c8 9378 temp2 = true;
d14a1e28 9379 }
994141e6 9380 if (obj2) {
093d3ff1
RD
9381 {
9382 arg3 = (int)(SWIG_As_int(obj2));
9383 if (SWIG_arg_fail(3)) SWIG_fail;
9384 }
994141e6 9385 }
d14a1e28
RD
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 Py_INCREF(Py_None); resultobj = Py_None;
9394 {
9395 if (temp2)
9396 delete arg2;
9397 }
9398 return resultobj;
9399 fail:
9400 {
9401 if (temp2)
9402 delete arg2;
9403 }
9404 return NULL;
9405}
9406
9407
c32bde28 9408static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9409 PyObject *resultobj;
9410 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9411 wxString *arg2 = 0 ;
9412 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9413 bool temp2 = false ;
d14a1e28
RD
9414 PyObject * obj0 = 0 ;
9415 PyObject * obj1 = 0 ;
994141e6 9416 PyObject * obj2 = 0 ;
d14a1e28
RD
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "footer",(char *) "pg", NULL
9419 };
9420
994141e6 9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9424 {
9425 arg2 = wxString_in_helper(obj1);
9426 if (arg2 == NULL) SWIG_fail;
ae8162c8 9427 temp2 = true;
d14a1e28 9428 }
994141e6 9429 if (obj2) {
093d3ff1
RD
9430 {
9431 arg3 = (int)(SWIG_As_int(obj2));
9432 if (SWIG_arg_fail(3)) SWIG_fail;
9433 }
994141e6 9434 }
d14a1e28
RD
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 Py_INCREF(Py_None); resultobj = Py_None;
9443 {
9444 if (temp2)
9445 delete arg2;
9446 }
9447 return resultobj;
9448 fail:
9449 {
9450 if (temp2)
9451 delete arg2;
9452 }
9453 return NULL;
9454}
9455
9456
c32bde28 9457static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9458 PyObject *resultobj;
9459 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9460 wxString arg2 ;
9461 wxString arg3 ;
9462 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9463 PyObject * obj0 = 0 ;
9464 PyObject * obj1 = 0 ;
9465 PyObject * obj2 = 0 ;
9466 PyObject * obj3 = 0 ;
9467 char *kwnames[] = {
9468 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
9474 {
9475 wxString* sptr = wxString_in_helper(obj1);
9476 if (sptr == NULL) SWIG_fail;
9477 arg2 = *sptr;
9478 delete sptr;
9479 }
9480 {
9481 wxString* sptr = wxString_in_helper(obj2);
9482 if (sptr == NULL) SWIG_fail;
9483 arg3 = *sptr;
9484 delete sptr;
9485 }
d14a1e28
RD
9486 if (obj3) {
9487 arg4 = obj3;
9488 }
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 Py_INCREF(Py_None); resultobj = Py_None;
9497 return resultobj;
9498 fail:
9499 return NULL;
9500}
9501
9502
ae8162c8 9503static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9504 PyObject *resultobj;
9505 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9506 int arg2 = (int) -1 ;
ae8162c8
RD
9507 wxString const &arg3_defvalue = wxPyEmptyString ;
9508 wxString *arg3 = (wxString *) &arg3_defvalue ;
9509 wxString const &arg4_defvalue = wxPyEmptyString ;
9510 wxString *arg4 = (wxString *) &arg4_defvalue ;
9511 bool temp3 = false ;
9512 bool temp4 = false ;
30ee79f7
RD
9513 PyObject * obj0 = 0 ;
9514 PyObject * obj1 = 0 ;
ae8162c8
RD
9515 PyObject * obj2 = 0 ;
9516 PyObject * obj3 = 0 ;
30ee79f7 9517 char *kwnames[] = {
ae8162c8 9518 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9519 };
9520
ae8162c8 9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9523 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9524 if (obj1) {
093d3ff1
RD
9525 {
9526 arg2 = (int)(SWIG_As_int(obj1));
9527 if (SWIG_arg_fail(2)) SWIG_fail;
9528 }
30ee79f7 9529 }
ae8162c8
RD
9530 if (obj2) {
9531 {
9532 arg3 = wxString_in_helper(obj2);
9533 if (arg3 == NULL) SWIG_fail;
9534 temp3 = true;
9535 }
9536 }
9537 if (obj3) {
9538 {
9539 arg4 = wxString_in_helper(obj3);
9540 if (arg4 == NULL) SWIG_fail;
9541 temp4 = true;
9542 }
9543 }
30ee79f7
RD
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9546 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9552 {
9553 if (temp3)
9554 delete arg3;
9555 }
9556 {
9557 if (temp4)
9558 delete arg4;
9559 }
30ee79f7
RD
9560 return resultobj;
9561 fail:
ae8162c8
RD
9562 {
9563 if (temp3)
9564 delete arg3;
9565 }
9566 {
9567 if (temp4)
9568 delete arg4;
9569 }
30ee79f7
RD
9570 return NULL;
9571}
9572
9573
c32bde28 9574static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9575 PyObject *resultobj;
9576 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9577 float arg2 = (float) 25.2 ;
9578 float arg3 = (float) 25.2 ;
9579 float arg4 = (float) 25.2 ;
9580 float arg5 = (float) 25.2 ;
9581 float arg6 = (float) 5 ;
9582 PyObject * obj0 = 0 ;
994141e6
RD
9583 PyObject * obj1 = 0 ;
9584 PyObject * obj2 = 0 ;
9585 PyObject * obj3 = 0 ;
9586 PyObject * obj4 = 0 ;
9587 PyObject * obj5 = 0 ;
d14a1e28
RD
9588 char *kwnames[] = {
9589 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9590 };
9591
994141e6 9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
9593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 9595 if (obj1) {
093d3ff1
RD
9596 {
9597 arg2 = (float)(SWIG_As_float(obj1));
9598 if (SWIG_arg_fail(2)) SWIG_fail;
9599 }
994141e6
RD
9600 }
9601 if (obj2) {
093d3ff1
RD
9602 {
9603 arg3 = (float)(SWIG_As_float(obj2));
9604 if (SWIG_arg_fail(3)) SWIG_fail;
9605 }
994141e6
RD
9606 }
9607 if (obj3) {
093d3ff1
RD
9608 {
9609 arg4 = (float)(SWIG_As_float(obj3));
9610 if (SWIG_arg_fail(4)) SWIG_fail;
9611 }
994141e6
RD
9612 }
9613 if (obj4) {
093d3ff1
RD
9614 {
9615 arg5 = (float)(SWIG_As_float(obj4));
9616 if (SWIG_arg_fail(5)) SWIG_fail;
9617 }
994141e6
RD
9618 }
9619 if (obj5) {
093d3ff1
RD
9620 {
9621 arg6 = (float)(SWIG_As_float(obj5));
9622 if (SWIG_arg_fail(6)) SWIG_fail;
9623 }
994141e6 9624 }
d14a1e28
RD
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 Py_INCREF(Py_None); resultobj = Py_None;
9633 return resultobj;
9634 fail:
9635 return NULL;
9636}
9637
9638
c32bde28 9639static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9640 PyObject *resultobj;
9641 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "filter", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
9648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 wxHtmlPrintout::AddFilter(arg1);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 Py_INCREF(Py_None); resultobj = Py_None;
9658 return resultobj;
9659 fail:
9660 return NULL;
9661}
9662
9663
c32bde28 9664static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9665 PyObject *resultobj;
9666 char *kwnames[] = {
9667 NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 wxHtmlPrintout::CleanUpStatics();
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682}
9683
9684
c32bde28 9685static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9686 PyObject *obj;
9687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9688 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9689 Py_INCREF(obj);
9690 return Py_BuildValue((char *)"");
9691}
c32bde28 9692static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9693 PyObject *resultobj;
9694 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9695 wxString *arg1 = (wxString *) &arg1_defvalue ;
9696 wxWindow *arg2 = (wxWindow *) NULL ;
9697 wxHtmlEasyPrinting *result;
ae8162c8 9698 bool temp1 = false ;
d14a1e28
RD
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "name",(char *) "parentWindow", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9706 if (obj0) {
9707 {
9708 arg1 = wxString_in_helper(obj0);
9709 if (arg1 == NULL) SWIG_fail;
ae8162c8 9710 temp1 = true;
d14a1e28
RD
9711 }
9712 }
9713 if (obj1) {
093d3ff1
RD
9714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9716 }
9717 {
e3b71cb8 9718 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9721
9722 wxPyEndAllowThreads(__tstate);
110da5b0 9723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9724 }
15afbcd0 9725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
9726 {
9727 if (temp1)
9728 delete arg1;
9729 }
9730 return resultobj;
9731 fail:
9732 {
9733 if (temp1)
9734 delete arg1;
9735 }
9736 return NULL;
9737}
9738
9739
c32bde28 9740static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9741 PyObject *resultobj;
9742 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9743 PyObject * obj0 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
9749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9750 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 delete arg1;
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 Py_INCREF(Py_None); resultobj = Py_None;
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
c32bde28 9765static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9766 PyObject *resultobj;
9767 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9768 wxString *arg2 = 0 ;
ae8162c8 9769 bool temp2 = false ;
d14a1e28
RD
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "htmlfile", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9778 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9779 {
9780 arg2 = wxString_in_helper(obj1);
9781 if (arg2 == NULL) SWIG_fail;
ae8162c8 9782 temp2 = true;
d14a1e28
RD
9783 }
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 (arg1)->PreviewFile((wxString const &)*arg2);
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 Py_INCREF(Py_None); resultobj = Py_None;
9792 {
9793 if (temp2)
9794 delete arg2;
9795 }
9796 return resultobj;
9797 fail:
9798 {
9799 if (temp2)
9800 delete arg2;
9801 }
9802 return NULL;
9803}
9804
9805
c32bde28 9806static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9807 PyObject *resultobj;
9808 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9809 wxString *arg2 = 0 ;
9810 wxString const &arg3_defvalue = wxPyEmptyString ;
9811 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9812 bool temp2 = false ;
9813 bool temp3 = false ;
d14a1e28
RD
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816 PyObject * obj2 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9824 {
9825 arg2 = wxString_in_helper(obj1);
9826 if (arg2 == NULL) SWIG_fail;
ae8162c8 9827 temp2 = true;
d14a1e28
RD
9828 }
9829 if (obj2) {
9830 {
9831 arg3 = wxString_in_helper(obj2);
9832 if (arg3 == NULL) SWIG_fail;
ae8162c8 9833 temp3 = true;
d14a1e28
RD
9834 }
9835 }
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 Py_INCREF(Py_None); resultobj = Py_None;
9844 {
9845 if (temp2)
9846 delete arg2;
9847 }
9848 {
9849 if (temp3)
9850 delete arg3;
9851 }
9852 return resultobj;
9853 fail:
9854 {
9855 if (temp2)
9856 delete arg2;
9857 }
9858 {
9859 if (temp3)
9860 delete arg3;
9861 }
9862 return NULL;
9863}
9864
9865
c32bde28 9866static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9867 PyObject *resultobj;
9868 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9869 wxString *arg2 = 0 ;
ae8162c8 9870 bool temp2 = false ;
d14a1e28
RD
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self",(char *) "htmlfile", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9880 {
9881 arg2 = wxString_in_helper(obj1);
9882 if (arg2 == NULL) SWIG_fail;
ae8162c8 9883 temp2 = true;
d14a1e28
RD
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 (arg1)->PrintFile((wxString const &)*arg2);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 Py_INCREF(Py_None); resultobj = Py_None;
9893 {
9894 if (temp2)
9895 delete arg2;
9896 }
9897 return resultobj;
9898 fail:
9899 {
9900 if (temp2)
9901 delete arg2;
9902 }
9903 return NULL;
9904}
9905
9906
c32bde28 9907static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9908 PyObject *resultobj;
9909 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9910 wxString *arg2 = 0 ;
9911 wxString const &arg3_defvalue = wxPyEmptyString ;
9912 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9913 bool temp2 = false ;
9914 bool temp3 = false ;
d14a1e28
RD
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 PyObject * obj2 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9924 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9925 {
9926 arg2 = wxString_in_helper(obj1);
9927 if (arg2 == NULL) SWIG_fail;
ae8162c8 9928 temp2 = true;
d14a1e28
RD
9929 }
9930 if (obj2) {
9931 {
9932 arg3 = wxString_in_helper(obj2);
9933 if (arg3 == NULL) SWIG_fail;
ae8162c8 9934 temp3 = true;
d14a1e28
RD
9935 }
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 Py_INCREF(Py_None); resultobj = Py_None;
9945 {
9946 if (temp2)
9947 delete arg2;
9948 }
9949 {
9950 if (temp3)
9951 delete arg3;
9952 }
9953 return resultobj;
9954 fail:
9955 {
9956 if (temp2)
9957 delete arg2;
9958 }
9959 {
9960 if (temp3)
9961 delete arg3;
9962 }
9963 return NULL;
9964}
9965
9966
c32bde28 9967static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9968 PyObject *resultobj;
9969 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9970 PyObject * obj0 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
093d3ff1
RD
9976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 (arg1)->PageSetup();
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 Py_INCREF(Py_None); resultobj = Py_None;
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
c32bde28 9992static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9993 PyObject *resultobj;
9994 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9995 wxString *arg2 = 0 ;
9996 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9997 bool temp2 = false ;
d14a1e28
RD
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
994141e6 10000 PyObject * obj2 = 0 ;
d14a1e28
RD
10001 char *kwnames[] = {
10002 (char *) "self",(char *) "header",(char *) "pg", NULL
10003 };
10004
994141e6 10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10008 {
10009 arg2 = wxString_in_helper(obj1);
10010 if (arg2 == NULL) SWIG_fail;
ae8162c8 10011 temp2 = true;
d14a1e28 10012 }
994141e6 10013 if (obj2) {
093d3ff1
RD
10014 {
10015 arg3 = (int)(SWIG_As_int(obj2));
10016 if (SWIG_arg_fail(3)) SWIG_fail;
10017 }
994141e6 10018 }
d14a1e28
RD
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 Py_INCREF(Py_None); resultobj = Py_None;
10027 {
10028 if (temp2)
10029 delete arg2;
10030 }
10031 return resultobj;
10032 fail:
10033 {
10034 if (temp2)
10035 delete arg2;
10036 }
10037 return NULL;
10038}
10039
10040
c32bde28 10041static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10042 PyObject *resultobj;
10043 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10044 wxString *arg2 = 0 ;
10045 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 10046 bool temp2 = false ;
d14a1e28
RD
10047 PyObject * obj0 = 0 ;
10048 PyObject * obj1 = 0 ;
994141e6 10049 PyObject * obj2 = 0 ;
d14a1e28
RD
10050 char *kwnames[] = {
10051 (char *) "self",(char *) "footer",(char *) "pg", NULL
10052 };
10053
994141e6 10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10057 {
10058 arg2 = wxString_in_helper(obj1);
10059 if (arg2 == NULL) SWIG_fail;
ae8162c8 10060 temp2 = true;
d14a1e28 10061 }
994141e6 10062 if (obj2) {
093d3ff1
RD
10063 {
10064 arg3 = (int)(SWIG_As_int(obj2));
10065 if (SWIG_arg_fail(3)) SWIG_fail;
10066 }
994141e6 10067 }
d14a1e28
RD
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 Py_INCREF(Py_None); resultobj = Py_None;
10076 {
10077 if (temp2)
10078 delete arg2;
10079 }
10080 return resultobj;
10081 fail:
10082 {
10083 if (temp2)
10084 delete arg2;
10085 }
10086 return NULL;
10087}
10088
10089
c32bde28 10090static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10091 PyObject *resultobj;
10092 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10093 wxString arg2 ;
10094 wxString arg3 ;
10095 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10096 PyObject * obj0 = 0 ;
10097 PyObject * obj1 = 0 ;
10098 PyObject * obj2 = 0 ;
10099 PyObject * obj3 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
10107 {
10108 wxString* sptr = wxString_in_helper(obj1);
10109 if (sptr == NULL) SWIG_fail;
10110 arg2 = *sptr;
10111 delete sptr;
10112 }
10113 {
10114 wxString* sptr = wxString_in_helper(obj2);
10115 if (sptr == NULL) SWIG_fail;
10116 arg3 = *sptr;
10117 delete sptr;
10118 }
d14a1e28
RD
10119 if (obj3) {
10120 arg4 = obj3;
10121 }
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 Py_INCREF(Py_None); resultobj = Py_None;
10130 return resultobj;
10131 fail:
10132 return NULL;
10133}
10134
10135
ae8162c8 10136static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
10137 PyObject *resultobj;
10138 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10139 int arg2 = (int) -1 ;
ae8162c8
RD
10140 wxString const &arg3_defvalue = wxPyEmptyString ;
10141 wxString *arg3 = (wxString *) &arg3_defvalue ;
10142 wxString const &arg4_defvalue = wxPyEmptyString ;
10143 wxString *arg4 = (wxString *) &arg4_defvalue ;
10144 bool temp3 = false ;
10145 bool temp4 = false ;
30ee79f7
RD
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj1 = 0 ;
ae8162c8
RD
10148 PyObject * obj2 = 0 ;
10149 PyObject * obj3 = 0 ;
30ee79f7 10150 char *kwnames[] = {
ae8162c8 10151 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10152 };
10153
ae8162c8 10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10156 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10157 if (obj1) {
093d3ff1
RD
10158 {
10159 arg2 = (int)(SWIG_As_int(obj1));
10160 if (SWIG_arg_fail(2)) SWIG_fail;
10161 }
30ee79f7 10162 }
ae8162c8
RD
10163 if (obj2) {
10164 {
10165 arg3 = wxString_in_helper(obj2);
10166 if (arg3 == NULL) SWIG_fail;
10167 temp3 = true;
10168 }
10169 }
10170 if (obj3) {
10171 {
10172 arg4 = wxString_in_helper(obj3);
10173 if (arg4 == NULL) SWIG_fail;
10174 temp4 = true;
10175 }
10176 }
30ee79f7
RD
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 10179 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
10185 {
10186 if (temp3)
10187 delete arg3;
10188 }
10189 {
10190 if (temp4)
10191 delete arg4;
10192 }
30ee79f7
RD
10193 return resultobj;
10194 fail:
ae8162c8
RD
10195 {
10196 if (temp3)
10197 delete arg3;
10198 }
10199 {
10200 if (temp4)
10201 delete arg4;
10202 }
30ee79f7
RD
10203 return NULL;
10204}
10205
10206
c32bde28 10207static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10208 PyObject *resultobj;
10209 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10210 wxPrintData *result;
10211 PyObject * obj0 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (wxPrintData *)(arg1)->GetPrintData();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
15afbcd0 10226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10227 return resultobj;
10228 fail:
10229 return NULL;
10230}
10231
10232
c32bde28 10233static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10234 PyObject *resultobj;
10235 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10236 wxPageSetupDialogData *result;
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "self", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
15afbcd0 10252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10253 return resultobj;
10254 fail:
10255 return NULL;
10256}
10257
10258
c32bde28 10259static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10260 PyObject *obj;
10261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10262 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10263 Py_INCREF(obj);
10264 return Py_BuildValue((char *)"");
10265}
c32bde28 10266static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10267 PyObject *resultobj;
10268 wxString *arg1 = 0 ;
10269 wxString *arg2 = 0 ;
10270 wxString *arg3 = 0 ;
10271 wxString *arg4 = 0 ;
10272 wxHtmlBookRecord *result;
ae8162c8
RD
10273 bool temp1 = false ;
10274 bool temp2 = false ;
10275 bool temp3 = false ;
10276 bool temp4 = false ;
d14a1e28
RD
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 PyObject * obj2 = 0 ;
10280 PyObject * obj3 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10286 {
10287 arg1 = wxString_in_helper(obj0);
10288 if (arg1 == NULL) SWIG_fail;
ae8162c8 10289 temp1 = true;
d14a1e28
RD
10290 }
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
ae8162c8 10294 temp2 = true;
d14a1e28
RD
10295 }
10296 {
10297 arg3 = wxString_in_helper(obj2);
10298 if (arg3 == NULL) SWIG_fail;
ae8162c8 10299 temp3 = true;
d14a1e28
RD
10300 }
10301 {
10302 arg4 = wxString_in_helper(obj3);
10303 if (arg4 == NULL) SWIG_fail;
ae8162c8 10304 temp4 = true;
d14a1e28
RD
10305 }
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
15afbcd0 10313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10314 {
10315 if (temp1)
10316 delete arg1;
10317 }
10318 {
10319 if (temp2)
10320 delete arg2;
10321 }
10322 {
10323 if (temp3)
10324 delete arg3;
10325 }
10326 {
10327 if (temp4)
10328 delete arg4;
10329 }
10330 return resultobj;
10331 fail:
10332 {
10333 if (temp1)
10334 delete arg1;
10335 }
10336 {
10337 if (temp2)
10338 delete arg2;
10339 }
10340 {
10341 if (temp3)
10342 delete arg3;
10343 }
10344 {
10345 if (temp4)
10346 delete arg4;
10347 }
10348 return NULL;
10349}
10350
10351
c32bde28 10352static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10353 PyObject *resultobj;
10354 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10355 wxString result;
10356 PyObject * obj0 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
10362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = (arg1)->GetBookFile();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 {
10372#if wxUSE_UNICODE
10373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10374#else
10375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10376#endif
10377 }
10378 return resultobj;
10379 fail:
10380 return NULL;
10381}
10382
10383
c32bde28 10384static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10385 PyObject *resultobj;
10386 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10387 wxString result;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10395 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 result = (arg1)->GetTitle();
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 {
10404#if wxUSE_UNICODE
10405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10406#else
10407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10408#endif
10409 }
10410 return resultobj;
10411 fail:
10412 return NULL;
10413}
10414
10415
c32bde28 10416static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10417 PyObject *resultobj;
10418 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10419 wxString result;
10420 PyObject * obj0 = 0 ;
10421 char *kwnames[] = {
10422 (char *) "self", NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10427 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
10430 result = (arg1)->GetStart();
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 {
10436#if wxUSE_UNICODE
10437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10438#else
10439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10440#endif
10441 }
10442 return resultobj;
10443 fail:
10444 return NULL;
10445}
10446
10447
c32bde28 10448static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10449 PyObject *resultobj;
10450 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10451 wxString result;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
10458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (arg1)->GetBasePath();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468#if wxUSE_UNICODE
10469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10470#else
10471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10472#endif
10473 }
10474 return resultobj;
10475 fail:
10476 return NULL;
10477}
10478
10479
c32bde28 10480static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10481 PyObject *resultobj;
10482 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10483 int arg2 ;
10484 int arg3 ;
10485 PyObject * obj0 = 0 ;
994141e6
RD
10486 PyObject * obj1 = 0 ;
10487 PyObject * obj2 = 0 ;
d14a1e28
RD
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "start",(char *) "end", NULL
10490 };
10491
994141e6 10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail;
10495 {
10496 arg2 = (int)(SWIG_As_int(obj1));
10497 if (SWIG_arg_fail(2)) SWIG_fail;
10498 }
10499 {
10500 arg3 = (int)(SWIG_As_int(obj2));
10501 if (SWIG_arg_fail(3)) SWIG_fail;
10502 }
d14a1e28
RD
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 (arg1)->SetContentsRange(arg2,arg3);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 Py_INCREF(Py_None); resultobj = Py_None;
10511 return resultobj;
10512 fail:
10513 return NULL;
10514}
10515
10516
c32bde28 10517static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10518 PyObject *resultobj;
10519 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10520 int result;
10521 PyObject * obj0 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10528 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = (int)(arg1)->GetContentsStart();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
093d3ff1
RD
10536 {
10537 resultobj = SWIG_From_int((int)(result));
10538 }
d14a1e28
RD
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
c32bde28 10545static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10546 PyObject *resultobj;
10547 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10548 int result;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
10555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (int)(arg1)->GetContentsEnd();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
093d3ff1
RD
10564 {
10565 resultobj = SWIG_From_int((int)(result));
10566 }
d14a1e28
RD
10567 return resultobj;
10568 fail:
10569 return NULL;
10570}
10571
10572
c32bde28 10573static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10574 PyObject *resultobj;
10575 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10576 wxString *arg2 = 0 ;
ae8162c8 10577 bool temp2 = false ;
d14a1e28
RD
10578 PyObject * obj0 = 0 ;
10579 PyObject * obj1 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self",(char *) "title", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10586 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10587 {
10588 arg2 = wxString_in_helper(obj1);
10589 if (arg2 == NULL) SWIG_fail;
ae8162c8 10590 temp2 = true;
d14a1e28
RD
10591 }
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->SetTitle((wxString const &)*arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 {
10601 if (temp2)
10602 delete arg2;
10603 }
10604 return resultobj;
10605 fail:
10606 {
10607 if (temp2)
10608 delete arg2;
10609 }
10610 return NULL;
10611}
10612
10613
c32bde28 10614static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10615 PyObject *resultobj;
10616 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10617 wxString *arg2 = 0 ;
ae8162c8 10618 bool temp2 = false ;
d14a1e28
RD
10619 PyObject * obj0 = 0 ;
10620 PyObject * obj1 = 0 ;
10621 char *kwnames[] = {
10622 (char *) "self",(char *) "path", NULL
10623 };
10624
10625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10628 {
10629 arg2 = wxString_in_helper(obj1);
10630 if (arg2 == NULL) SWIG_fail;
ae8162c8 10631 temp2 = true;
d14a1e28
RD
10632 }
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 (arg1)->SetBasePath((wxString const &)*arg2);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 Py_INCREF(Py_None); resultobj = Py_None;
10641 {
10642 if (temp2)
10643 delete arg2;
10644 }
10645 return resultobj;
10646 fail:
10647 {
10648 if (temp2)
10649 delete arg2;
10650 }
10651 return NULL;
10652}
10653
10654
c32bde28 10655static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10656 PyObject *resultobj;
10657 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10658 wxString *arg2 = 0 ;
ae8162c8 10659 bool temp2 = false ;
d14a1e28
RD
10660 PyObject * obj0 = 0 ;
10661 PyObject * obj1 = 0 ;
10662 char *kwnames[] = {
10663 (char *) "self",(char *) "start", NULL
10664 };
10665
10666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10668 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10669 {
10670 arg2 = wxString_in_helper(obj1);
10671 if (arg2 == NULL) SWIG_fail;
ae8162c8 10672 temp2 = true;
d14a1e28
RD
10673 }
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 (arg1)->SetStart((wxString const &)*arg2);
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 Py_INCREF(Py_None); resultobj = Py_None;
10682 {
10683 if (temp2)
10684 delete arg2;
10685 }
10686 return resultobj;
10687 fail:
10688 {
10689 if (temp2)
10690 delete arg2;
10691 }
10692 return NULL;
10693}
10694
10695
c32bde28 10696static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10697 PyObject *resultobj;
10698 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10699 wxString *arg2 = 0 ;
10700 wxString result;
ae8162c8 10701 bool temp2 = false ;
d14a1e28
RD
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self",(char *) "page", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10710 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10711 {
10712 arg2 = wxString_in_helper(obj1);
10713 if (arg2 == NULL) SWIG_fail;
ae8162c8 10714 temp2 = true;
d14a1e28
RD
10715 }
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 {
10724#if wxUSE_UNICODE
10725 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10726#else
10727 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10728#endif
10729 }
10730 {
10731 if (temp2)
10732 delete arg2;
10733 }
10734 return resultobj;
10735 fail:
10736 {
10737 if (temp2)
10738 delete arg2;
10739 }
10740 return NULL;
10741}
10742
10743
c32bde28 10744static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10745 PyObject *obj;
10746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10747 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
10748 Py_INCREF(obj);
10749 return Py_BuildValue((char *)"");
10750}
c32bde28 10751static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10752 PyObject *resultobj;
10753 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10754 int result;
10755 PyObject * obj0 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (int)wxHtmlContentsItem_GetLevel(arg1);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
093d3ff1
RD
10770 {
10771 resultobj = SWIG_From_int((int)(result));
10772 }
d14a1e28
RD
10773 return resultobj;
10774 fail:
10775 return NULL;
10776}
10777
10778
c32bde28 10779static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10780 PyObject *resultobj;
10781 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10782 int result;
10783 PyObject * obj0 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
093d3ff1
RD
10789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10790 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 result = (int)wxHtmlContentsItem_GetID(arg1);
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
093d3ff1
RD
10798 {
10799 resultobj = SWIG_From_int((int)(result));
10800 }
d14a1e28
RD
10801 return resultobj;
10802 fail:
10803 return NULL;
10804}
10805
10806
c32bde28 10807static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10808 PyObject *resultobj;
10809 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10810 wxString result;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
10817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = wxHtmlContentsItem_GetName(arg1);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 {
10827#if wxUSE_UNICODE
10828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10829#else
10830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10831#endif
10832 }
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
c32bde28 10839static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10840 PyObject *resultobj;
10841 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10842 wxString result;
10843 PyObject * obj0 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "self", NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
10849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = wxHtmlContentsItem_GetPage(arg1);
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 {
10859#if wxUSE_UNICODE
10860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10861#else
10862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10863#endif
10864 }
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
c32bde28 10871static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10872 PyObject *resultobj;
10873 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10874 wxHtmlBookRecord *result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
093d3ff1
RD
10881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
15afbcd0 10890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
d14a1e28
RD
10891 return resultobj;
10892 fail:
10893 return NULL;
10894}
10895
10896
c32bde28 10897static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10898 PyObject *obj;
10899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10900 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
10901 Py_INCREF(obj);
10902 return Py_BuildValue((char *)"");
10903}
c32bde28 10904static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10905 PyObject *resultobj;
10906 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10907 bool result;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
093d3ff1
RD
10914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (bool)(arg1)->Search();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
4f89f6a3
RD
10923 {
10924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10925 }
d14a1e28
RD
10926 return resultobj;
10927 fail:
10928 return NULL;
10929}
10930
10931
c32bde28 10932static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10933 PyObject *resultobj;
10934 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10935 bool result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
10942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (bool)(arg1)->IsActive();
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
4f89f6a3
RD
10951 {
10952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10953 }
d14a1e28
RD
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
c32bde28 10960static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10961 PyObject *resultobj;
10962 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10963 int result;
10964 PyObject * obj0 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
10970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 result = (int)(arg1)->GetCurIndex();
10975
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
093d3ff1
RD
10979 {
10980 resultobj = SWIG_From_int((int)(result));
10981 }
d14a1e28
RD
10982 return resultobj;
10983 fail:
10984 return NULL;
10985}
10986
10987
c32bde28 10988static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10989 PyObject *resultobj;
10990 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10991 int result;
10992 PyObject * obj0 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "self", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
10998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10999 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (int)(arg1)->GetMaxIndex();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
093d3ff1
RD
11007 {
11008 resultobj = SWIG_From_int((int)(result));
11009 }
d14a1e28
RD
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
c32bde28 11016static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11017 PyObject *resultobj;
11018 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11019 wxString *result;
11020 PyObject * obj0 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
11026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 {
11031 wxString const &_result_ref = (arg1)->GetName();
11032 result = (wxString *) &_result_ref;
11033 }
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
cc6dd355
RD
11038 {
11039#if wxUSE_UNICODE
11040 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11041#else
11042 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11043#endif
11044 }
d14a1e28
RD
11045 return resultobj;
11046 fail:
11047 return NULL;
11048}
11049
11050
c32bde28 11051static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11052 PyObject *resultobj;
11053 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11054 wxHtmlContentsItem *result;
11055 PyObject * obj0 = 0 ;
11056 char *kwnames[] = {
11057 (char *) "self", NULL
11058 };
11059
11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
11061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11062 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
15afbcd0 11070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11071 return resultobj;
11072 fail:
11073 return NULL;
11074}
11075
11076
c32bde28 11077static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11078 PyObject *obj;
11079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11080 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11081 Py_INCREF(obj);
11082 return Py_BuildValue((char *)"");
11083}
c32bde28 11084static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11085 PyObject *resultobj;
11086 wxHtmlHelpData *result;
11087 char *kwnames[] = {
11088 NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
15afbcd0 11099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
11100 return resultobj;
11101 fail:
11102 return NULL;
11103}
11104
11105
c32bde28 11106static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11107 PyObject *resultobj;
11108 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 delete arg1;
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128}
11129
11130
c32bde28 11131static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11132 PyObject *resultobj;
11133 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11134 wxString *arg2 = 0 ;
ae8162c8 11135 bool temp2 = false ;
d14a1e28
RD
11136 PyObject * obj0 = 0 ;
11137 PyObject * obj1 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self",(char *) "path", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11144 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11145 {
11146 arg2 = wxString_in_helper(obj1);
11147 if (arg2 == NULL) SWIG_fail;
ae8162c8 11148 temp2 = true;
d14a1e28
RD
11149 }
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 (arg1)->SetTempDir((wxString const &)*arg2);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 Py_INCREF(Py_None); resultobj = Py_None;
11158 {
11159 if (temp2)
11160 delete arg2;
11161 }
11162 return resultobj;
11163 fail:
11164 {
11165 if (temp2)
11166 delete arg2;
11167 }
11168 return NULL;
11169}
11170
11171
c32bde28 11172static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11173 PyObject *resultobj;
11174 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11175 wxString *arg2 = 0 ;
11176 bool result;
ae8162c8 11177 bool temp2 = false ;
d14a1e28
RD
11178 PyObject * obj0 = 0 ;
11179 PyObject * obj1 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self",(char *) "book", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11187 {
11188 arg2 = wxString_in_helper(obj1);
11189 if (arg2 == NULL) SWIG_fail;
ae8162c8 11190 temp2 = true;
d14a1e28
RD
11191 }
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
4f89f6a3
RD
11199 {
11200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11201 }
d14a1e28
RD
11202 {
11203 if (temp2)
11204 delete arg2;
11205 }
11206 return resultobj;
11207 fail:
11208 {
11209 if (temp2)
11210 delete arg2;
11211 }
11212 return NULL;
11213}
11214
11215
c32bde28 11216static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11217 PyObject *resultobj;
11218 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11219 wxString *arg2 = 0 ;
11220 wxString result;
ae8162c8 11221 bool temp2 = false ;
d14a1e28
RD
11222 PyObject * obj0 = 0 ;
11223 PyObject * obj1 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self",(char *) "page", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11231 {
11232 arg2 = wxString_in_helper(obj1);
11233 if (arg2 == NULL) SWIG_fail;
ae8162c8 11234 temp2 = true;
d14a1e28
RD
11235 }
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 result = (arg1)->FindPageByName((wxString const &)*arg2);
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244#if wxUSE_UNICODE
11245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11246#else
11247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11248#endif
11249 }
11250 {
11251 if (temp2)
11252 delete arg2;
11253 }
11254 return resultobj;
11255 fail:
11256 {
11257 if (temp2)
11258 delete arg2;
11259 }
11260 return NULL;
11261}
11262
11263
c32bde28 11264static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11265 PyObject *resultobj;
11266 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11267 int arg2 ;
11268 wxString result;
11269 PyObject * obj0 = 0 ;
994141e6 11270 PyObject * obj1 = 0 ;
d14a1e28
RD
11271 char *kwnames[] = {
11272 (char *) "self",(char *) "id", NULL
11273 };
11274
994141e6 11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11277 if (SWIG_arg_fail(1)) SWIG_fail;
11278 {
11279 arg2 = (int)(SWIG_As_int(obj1));
11280 if (SWIG_arg_fail(2)) SWIG_fail;
11281 }
d14a1e28
RD
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (arg1)->FindPageById(arg2);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 {
11290#if wxUSE_UNICODE
11291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11292#else
11293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11294#endif
11295 }
11296 return resultobj;
11297 fail:
11298 return NULL;
11299}
11300
11301
c32bde28 11302static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11303 PyObject *resultobj;
11304 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11305 wxHtmlBookRecArray *result;
11306 PyObject * obj0 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
093d3ff1
RD
11312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 {
11317 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11318 result = (wxHtmlBookRecArray *) &_result_ref;
11319 }
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
15afbcd0 11324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11325 return resultobj;
11326 fail:
11327 return NULL;
11328}
11329
11330
c32bde28 11331static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11332 PyObject *resultobj;
11333 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11334 wxHtmlContentsItem *result;
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (wxHtmlContentsItem *)(arg1)->GetContents();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
15afbcd0 11350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11351 return resultobj;
11352 fail:
11353 return NULL;
11354}
11355
11356
c32bde28 11357static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11358 PyObject *resultobj;
11359 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11360 int result;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11368 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 result = (int)(arg1)->GetContentsCnt();
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
093d3ff1
RD
11376 {
11377 resultobj = SWIG_From_int((int)(result));
11378 }
d14a1e28
RD
11379 return resultobj;
11380 fail:
11381 return NULL;
11382}
11383
11384
c32bde28 11385static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11386 PyObject *resultobj;
11387 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11388 wxHtmlContentsItem *result;
11389 PyObject * obj0 = 0 ;
11390 char *kwnames[] = {
11391 (char *) "self", NULL
11392 };
11393
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
15afbcd0 11404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11405 return resultobj;
11406 fail:
11407 return NULL;
11408}
11409
11410
c32bde28 11411static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11412 PyObject *resultobj;
11413 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11414 int result;
11415 PyObject * obj0 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11422 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 result = (int)(arg1)->GetIndexCnt();
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
093d3ff1
RD
11430 {
11431 resultobj = SWIG_From_int((int)(result));
11432 }
d14a1e28
RD
11433 return resultobj;
11434 fail:
11435 return NULL;
11436}
11437
11438
c32bde28 11439static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11440 PyObject *obj;
11441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11442 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11443 Py_INCREF(obj);
11444 return Py_BuildValue((char *)"");
11445}
c32bde28 11446static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11447 PyObject *resultobj;
11448 wxWindow *arg1 = (wxWindow *) 0 ;
11449 int arg2 ;
11450 wxString const &arg3_defvalue = wxPyEmptyString ;
11451 wxString *arg3 = (wxString *) &arg3_defvalue ;
11452 int arg4 = (int) wxHF_DEFAULTSTYLE ;
11453 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
11454 wxHtmlHelpFrame *result;
ae8162c8 11455 bool temp3 = false ;
d14a1e28 11456 PyObject * obj0 = 0 ;
994141e6 11457 PyObject * obj1 = 0 ;
d14a1e28 11458 PyObject * obj2 = 0 ;
994141e6 11459 PyObject * obj3 = 0 ;
d14a1e28
RD
11460 PyObject * obj4 = 0 ;
11461 char *kwnames[] = {
e811c8ce 11462 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
11463 };
11464
994141e6 11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
11466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail;
11468 {
11469 arg2 = (int)(SWIG_As_int(obj1));
11470 if (SWIG_arg_fail(2)) SWIG_fail;
11471 }
d14a1e28
RD
11472 if (obj2) {
11473 {
11474 arg3 = wxString_in_helper(obj2);
11475 if (arg3 == NULL) SWIG_fail;
ae8162c8 11476 temp3 = true;
d14a1e28
RD
11477 }
11478 }
994141e6 11479 if (obj3) {
093d3ff1
RD
11480 {
11481 arg4 = (int)(SWIG_As_int(obj3));
11482 if (SWIG_arg_fail(4)) SWIG_fail;
11483 }
994141e6 11484 }
d14a1e28 11485 if (obj4) {
093d3ff1
RD
11486 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11487 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
11488 }
11489 {
e3b71cb8 11490 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
11493
11494 wxPyEndAllowThreads(__tstate);
110da5b0 11495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11496 }
15afbcd0 11497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
11498 {
11499 if (temp3)
11500 delete arg3;
11501 }
11502 return resultobj;
11503 fail:
11504 {
11505 if (temp3)
11506 delete arg3;
11507 }
11508 return NULL;
11509}
11510
11511
c32bde28 11512static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11513 PyObject *resultobj;
11514 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11515 wxHtmlHelpData *result;
11516 PyObject * obj0 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 result = (wxHtmlHelpData *)(arg1)->GetData();
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
15afbcd0 11531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11532 return resultobj;
11533 fail:
11534 return NULL;
11535}
11536
11537
c32bde28 11538static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11539 PyObject *resultobj;
11540 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11541 wxString *arg2 = 0 ;
ae8162c8 11542 bool temp2 = false ;
d14a1e28
RD
11543 PyObject * obj0 = 0 ;
11544 PyObject * obj1 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "format", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11552 {
11553 arg2 = wxString_in_helper(obj1);
11554 if (arg2 == NULL) SWIG_fail;
ae8162c8 11555 temp2 = true;
d14a1e28
RD
11556 }
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetTitleFormat((wxString const &)*arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 {
11566 if (temp2)
11567 delete arg2;
11568 }
11569 return resultobj;
11570 fail:
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
11575 return NULL;
11576}
11577
11578
c32bde28 11579static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11580 PyObject *resultobj;
11581 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11582 wxString *arg2 = 0 ;
ae8162c8 11583 bool temp2 = false ;
d14a1e28
RD
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self",(char *) "x", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11593 {
11594 arg2 = wxString_in_helper(obj1);
11595 if (arg2 == NULL) SWIG_fail;
ae8162c8 11596 temp2 = true;
d14a1e28
RD
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 (arg1)->Display((wxString const &)*arg2);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 Py_INCREF(Py_None); resultobj = Py_None;
11606 {
11607 if (temp2)
11608 delete arg2;
11609 }
11610 return resultobj;
11611 fail:
11612 {
11613 if (temp2)
11614 delete arg2;
11615 }
11616 return NULL;
11617}
11618
11619
c32bde28 11620static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11621 PyObject *resultobj;
11622 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11623 int arg2 ;
11624 PyObject * obj0 = 0 ;
994141e6 11625 PyObject * obj1 = 0 ;
d14a1e28
RD
11626 char *kwnames[] = {
11627 (char *) "self",(char *) "id", NULL
11628 };
11629
994141e6 11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail;
11633 {
11634 arg2 = (int)(SWIG_As_int(obj1));
11635 if (SWIG_arg_fail(2)) SWIG_fail;
11636 }
d14a1e28
RD
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 (arg1)->Display(arg2);
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 Py_INCREF(Py_None); resultobj = Py_None;
11645 return resultobj;
11646 fail:
11647 return NULL;
11648}
11649
11650
c32bde28 11651static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11652 PyObject *resultobj;
11653 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11654 PyObject * obj0 = 0 ;
11655 char *kwnames[] = {
11656 (char *) "self", NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 (arg1)->DisplayContents();
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 Py_INCREF(Py_None); resultobj = Py_None;
11670 return resultobj;
11671 fail:
11672 return NULL;
11673}
11674
11675
c32bde28 11676static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11677 PyObject *resultobj;
11678 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11679 PyObject * obj0 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->DisplayIndex();
11690
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 Py_INCREF(Py_None); resultobj = Py_None;
11695 return resultobj;
11696 fail:
11697 return NULL;
11698}
11699
11700
c32bde28 11701static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11702 PyObject *resultobj;
11703 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11704 wxString *arg2 = 0 ;
11705 bool result;
ae8162c8 11706 bool temp2 = false ;
d14a1e28
RD
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 char *kwnames[] = {
11710 (char *) "self",(char *) "keyword", NULL
11711 };
11712
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11716 {
11717 arg2 = wxString_in_helper(obj1);
11718 if (arg2 == NULL) SWIG_fail;
ae8162c8 11719 temp2 = true;
d14a1e28
RD
11720 }
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
4f89f6a3
RD
11728 {
11729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11730 }
d14a1e28
RD
11731 {
11732 if (temp2)
11733 delete arg2;
11734 }
11735 return resultobj;
11736 fail:
11737 {
11738 if (temp2)
11739 delete arg2;
11740 }
11741 return NULL;
11742}
11743
11744
c32bde28 11745static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11746 PyObject *resultobj;
11747 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11748 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11749 wxString const &arg3_defvalue = wxPyEmptyString ;
11750 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 11751 bool temp3 = false ;
d14a1e28
RD
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 PyObject * obj2 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail;
11762 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11763 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11764 if (obj2) {
11765 {
11766 arg3 = wxString_in_helper(obj2);
11767 if (arg3 == NULL) SWIG_fail;
ae8162c8 11768 temp3 = true;
d14a1e28
RD
11769 }
11770 }
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11774
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 Py_INCREF(Py_None); resultobj = Py_None;
11779 {
11780 if (temp3)
11781 delete arg3;
11782 }
11783 return resultobj;
11784 fail:
11785 {
11786 if (temp3)
11787 delete arg3;
11788 }
11789 return NULL;
11790}
11791
11792
c32bde28 11793static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11794 PyObject *resultobj;
11795 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11796 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11797 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 PyObject * obj2 = 0 ;
11801 char *kwnames[] = {
11802 (char *) "self",(char *) "cfg",(char *) "path", NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11807 if (SWIG_arg_fail(1)) SWIG_fail;
11808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11809 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11810 if (obj2) {
e811c8ce
RD
11811 {
11812 wxString* sptr = wxString_in_helper(obj2);
11813 if (sptr == NULL) SWIG_fail;
11814 arg3 = *sptr;
11815 delete sptr;
11816 }
d14a1e28
RD
11817 }
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 (arg1)->ReadCustomization(arg2,arg3);
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 Py_INCREF(Py_None); resultobj = Py_None;
11826 return resultobj;
11827 fail:
11828 return NULL;
11829}
11830
11831
c32bde28 11832static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11833 PyObject *resultobj;
11834 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11835 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11836 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11837 PyObject * obj0 = 0 ;
11838 PyObject * obj1 = 0 ;
11839 PyObject * obj2 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self",(char *) "cfg",(char *) "path", NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail;
11847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11848 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11849 if (obj2) {
e811c8ce
RD
11850 {
11851 wxString* sptr = wxString_in_helper(obj2);
11852 if (sptr == NULL) SWIG_fail;
11853 arg3 = *sptr;
11854 delete sptr;
11855 }
d14a1e28
RD
11856 }
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 (arg1)->WriteCustomization(arg2,arg3);
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 Py_INCREF(Py_None); resultobj = Py_None;
11865 return resultobj;
11866 fail:
11867 return NULL;
11868}
11869
11870
c32bde28 11871static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11872 PyObject *obj;
11873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11874 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
11875 Py_INCREF(obj);
11876 return Py_BuildValue((char *)"");
11877}
c32bde28 11878static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11879 PyObject *resultobj;
11880 int arg1 = (int) wxHF_DEFAULTSTYLE ;
11881 wxHtmlHelpController *result;
994141e6 11882 PyObject * obj0 = 0 ;
d14a1e28
RD
11883 char *kwnames[] = {
11884 (char *) "style", NULL
11885 };
11886
994141e6
RD
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
11888 if (obj0) {
093d3ff1
RD
11889 {
11890 arg1 = (int)(SWIG_As_int(obj0));
11891 if (SWIG_arg_fail(1)) SWIG_fail;
11892 }
994141e6 11893 }
d14a1e28 11894 {
e3b71cb8 11895 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
11898
11899 wxPyEndAllowThreads(__tstate);
110da5b0 11900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11901 }
15afbcd0 11902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
11903 return resultobj;
11904 fail:
11905 return NULL;
11906}
11907
11908
c32bde28 11909static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11910 PyObject *resultobj;
11911 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
093d3ff1
RD
11918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11919 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 delete arg1;
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 Py_INCREF(Py_None); resultobj = Py_None;
11928 return resultobj;
11929 fail:
11930 return NULL;
11931}
11932
11933
c32bde28 11934static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11935 PyObject *resultobj;
11936 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11937 wxString *arg2 = 0 ;
ae8162c8 11938 bool temp2 = false ;
d14a1e28
RD
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "self",(char *) "format", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11948 {
11949 arg2 = wxString_in_helper(obj1);
11950 if (arg2 == NULL) SWIG_fail;
ae8162c8 11951 temp2 = true;
d14a1e28
RD
11952 }
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 (arg1)->SetTitleFormat((wxString const &)*arg2);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 Py_INCREF(Py_None); resultobj = Py_None;
11961 {
11962 if (temp2)
11963 delete arg2;
11964 }
11965 return resultobj;
11966 fail:
11967 {
11968 if (temp2)
11969 delete arg2;
11970 }
11971 return NULL;
11972}
11973
11974
c32bde28 11975static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11976 PyObject *resultobj;
11977 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11978 wxString *arg2 = 0 ;
ae8162c8 11979 bool temp2 = false ;
d14a1e28
RD
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self",(char *) "path", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11989 {
11990 arg2 = wxString_in_helper(obj1);
11991 if (arg2 == NULL) SWIG_fail;
ae8162c8 11992 temp2 = true;
d14a1e28
RD
11993 }
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 (arg1)->SetTempDir((wxString const &)*arg2);
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 Py_INCREF(Py_None); resultobj = Py_None;
12002 {
12003 if (temp2)
12004 delete arg2;
12005 }
12006 return resultobj;
12007 fail:
12008 {
12009 if (temp2)
12010 delete arg2;
12011 }
12012 return NULL;
12013}
12014
12015
c32bde28 12016static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12017 PyObject *resultobj;
12018 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12019 wxString *arg2 = 0 ;
ae8162c8 12020 int arg3 = (int) false ;
d14a1e28 12021 bool result;
ae8162c8 12022 bool temp2 = false ;
d14a1e28
RD
12023 PyObject * obj0 = 0 ;
12024 PyObject * obj1 = 0 ;
994141e6 12025 PyObject * obj2 = 0 ;
d14a1e28
RD
12026 char *kwnames[] = {
12027 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12028 };
12029
994141e6 12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12033 {
12034 arg2 = wxString_in_helper(obj1);
12035 if (arg2 == NULL) SWIG_fail;
ae8162c8 12036 temp2 = true;
d14a1e28 12037 }
994141e6 12038 if (obj2) {
093d3ff1
RD
12039 {
12040 arg3 = (int)(SWIG_As_int(obj2));
12041 if (SWIG_arg_fail(3)) SWIG_fail;
12042 }
994141e6 12043 }
d14a1e28
RD
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
4f89f6a3
RD
12051 {
12052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12053 }
d14a1e28
RD
12054 {
12055 if (temp2)
12056 delete arg2;
12057 }
12058 return resultobj;
12059 fail:
12060 {
12061 if (temp2)
12062 delete arg2;
12063 }
12064 return NULL;
12065}
12066
12067
c32bde28 12068static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12069 PyObject *resultobj;
12070 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12071 wxString *arg2 = 0 ;
ae8162c8 12072 bool temp2 = false ;
d14a1e28
RD
12073 PyObject * obj0 = 0 ;
12074 PyObject * obj1 = 0 ;
12075 char *kwnames[] = {
12076 (char *) "self",(char *) "x", NULL
12077 };
12078
12079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12081 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12082 {
12083 arg2 = wxString_in_helper(obj1);
12084 if (arg2 == NULL) SWIG_fail;
ae8162c8 12085 temp2 = true;
d14a1e28
RD
12086 }
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->Display((wxString const &)*arg2);
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 Py_INCREF(Py_None); resultobj = Py_None;
12095 {
12096 if (temp2)
12097 delete arg2;
12098 }
12099 return resultobj;
12100 fail:
12101 {
12102 if (temp2)
12103 delete arg2;
12104 }
12105 return NULL;
12106}
12107
12108
c32bde28 12109static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12110 PyObject *resultobj;
12111 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12112 int arg2 ;
12113 PyObject * obj0 = 0 ;
994141e6 12114 PyObject * obj1 = 0 ;
d14a1e28
RD
12115 char *kwnames[] = {
12116 (char *) "self",(char *) "id", NULL
12117 };
12118
994141e6 12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12121 if (SWIG_arg_fail(1)) SWIG_fail;
12122 {
12123 arg2 = (int)(SWIG_As_int(obj1));
12124 if (SWIG_arg_fail(2)) SWIG_fail;
12125 }
d14a1e28
RD
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->Display(arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 Py_INCREF(Py_None); resultobj = Py_None;
12134 return resultobj;
12135 fail:
12136 return NULL;
12137}
12138
12139
c32bde28 12140static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12141 PyObject *resultobj;
12142 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12143 PyObject * obj0 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "self", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
12149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12150 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->DisplayContents();
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162}
12163
12164
c32bde28 12165static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12166 PyObject *resultobj;
12167 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12168 PyObject * obj0 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "self", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
12174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 (arg1)->DisplayIndex();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 Py_INCREF(Py_None); resultobj = Py_None;
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
c32bde28 12190static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12191 PyObject *resultobj;
12192 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12193 wxString *arg2 = 0 ;
12194 bool result;
ae8162c8 12195 bool temp2 = false ;
d14a1e28
RD
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self",(char *) "keyword", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12205 {
12206 arg2 = wxString_in_helper(obj1);
12207 if (arg2 == NULL) SWIG_fail;
ae8162c8 12208 temp2 = true;
d14a1e28
RD
12209 }
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
4f89f6a3
RD
12217 {
12218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12219 }
d14a1e28
RD
12220 {
12221 if (temp2)
12222 delete arg2;
12223 }
12224 return resultobj;
12225 fail:
12226 {
12227 if (temp2)
12228 delete arg2;
12229 }
12230 return NULL;
12231}
12232
12233
c32bde28 12234static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12235 PyObject *resultobj;
12236 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12237 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12238 wxString const &arg3_defvalue = wxPyEmptyString ;
12239 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 12240 bool temp3 = false ;
d14a1e28
RD
12241 PyObject * obj0 = 0 ;
12242 PyObject * obj1 = 0 ;
12243 PyObject * obj2 = 0 ;
12244 char *kwnames[] = {
12245 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12250 if (SWIG_arg_fail(1)) SWIG_fail;
12251 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12252 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12253 if (obj2) {
12254 {
12255 arg3 = wxString_in_helper(obj2);
12256 if (arg3 == NULL) SWIG_fail;
ae8162c8 12257 temp3 = true;
d14a1e28
RD
12258 }
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 Py_INCREF(Py_None); resultobj = Py_None;
12268 {
12269 if (temp3)
12270 delete arg3;
12271 }
12272 return resultobj;
12273 fail:
12274 {
12275 if (temp3)
12276 delete arg3;
12277 }
12278 return NULL;
12279}
12280
12281
c32bde28 12282static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12283 PyObject *resultobj;
12284 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12285 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12286 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12287 PyObject * obj0 = 0 ;
12288 PyObject * obj1 = 0 ;
12289 PyObject * obj2 = 0 ;
12290 char *kwnames[] = {
12291 (char *) "self",(char *) "cfg",(char *) "path", NULL
12292 };
12293
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12296 if (SWIG_arg_fail(1)) SWIG_fail;
12297 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12298 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12299 if (obj2) {
e811c8ce
RD
12300 {
12301 wxString* sptr = wxString_in_helper(obj2);
12302 if (sptr == NULL) SWIG_fail;
12303 arg3 = *sptr;
12304 delete sptr;
12305 }
d14a1e28
RD
12306 }
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 (arg1)->ReadCustomization(arg2,arg3);
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 Py_INCREF(Py_None); resultobj = Py_None;
12315 return resultobj;
12316 fail:
12317 return NULL;
12318}
12319
12320
c32bde28 12321static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12322 PyObject *resultobj;
12323 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12324 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12325 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 PyObject * obj2 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self",(char *) "cfg",(char *) "path", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12335 if (SWIG_arg_fail(1)) SWIG_fail;
12336 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12337 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12338 if (obj2) {
e811c8ce
RD
12339 {
12340 wxString* sptr = wxString_in_helper(obj2);
12341 if (sptr == NULL) SWIG_fail;
12342 arg3 = *sptr;
12343 delete sptr;
12344 }
d14a1e28
RD
12345 }
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 (arg1)->WriteCustomization(arg2,arg3);
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 Py_INCREF(Py_None); resultobj = Py_None;
12354 return resultobj;
12355 fail:
12356 return NULL;
12357}
12358
12359
c32bde28 12360static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12361 PyObject *resultobj;
12362 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12363 wxHtmlHelpFrame *result;
12364 PyObject * obj0 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
12370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12371 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
15afbcd0 12379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
12380 return resultobj;
12381 fail:
12382 return NULL;
12383}
12384
12385
c32bde28 12386static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12387 PyObject *obj;
12388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12389 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
12390 Py_INCREF(obj);
12391 return Py_BuildValue((char *)"");
12392}
12393static PyMethodDef SwigMethods[] = {
093d3ff1
RD
12394 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12395 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
12396 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
12397 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12398 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12399 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12400 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12401 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
12402 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12403 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
12404 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
12405 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
12406 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
12407 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
12408 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
12409 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
12410 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
12411 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12412 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12413 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
12414 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
12415 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
12416 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12417 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12418 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12419 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
12420 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12421 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12422 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
12423 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
12424 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12425 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12426 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12427 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12428 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12429 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12430 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12431 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12432 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12433 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12434 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12435 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12436 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12437 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12438 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12439 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12440 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12441 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12442 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12443 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12444 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12445 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12446 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12447 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12448 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12449 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12450 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12451 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12452 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
12453 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12454 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
12455 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12456 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12457 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12458 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12459 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12460 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
12461 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12462 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12463 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12464 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12465 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12466 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
12467 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12468 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12469 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12470 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
12471 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
12472 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
12473 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
12474 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
12475 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
12476 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12477 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12478 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12479 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12480 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12481 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
12482 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
12483 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12484 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12485 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12486 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12487 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12488 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12489 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12490 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12491 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
12492 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12493 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12494 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12495 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12496 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12497 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12498 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12499 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12500 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12501 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12502 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12503 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12504 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
12505 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
12506 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12507 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
12508 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
12509 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12510 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12511 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
12512 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12513 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
12514 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
12515 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12516 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12517 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12518 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12519 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
12520 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
12521 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12522 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12523 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12524 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
12525 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
12526 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
12527 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
12528 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
12529 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12530 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12531 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
12532 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
12533 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
12534 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
12535 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12536 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12537 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
12538 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12539 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
12540 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
12541 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
12542 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
12543 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
12544 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
12545 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12546 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12547 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12548 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12549 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12550 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12551 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
12552 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12553 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
12554 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
12555 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12556 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12557 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12558 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
12559 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12560 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
12561 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
12562 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
12563 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
12564 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
12565 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
12566 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
12567 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12568 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12569 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
12570 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12571 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12572 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12573 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12574 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12575 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
12576 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12577 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
12578 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
12579 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12580 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12581 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12582 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12583 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
12584 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12585 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12586 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12587 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
12588 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12589 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12590 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
12591 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
12592 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
12593 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
12594 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
12595 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
12596 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12597 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12598 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12599 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12600 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
12601 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
12602 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
12603 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
12604 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
12605 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12606 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12607 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
12608 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12609 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12610 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
12611 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12612 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12613 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12614 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
12615 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12616 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12617 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12618 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
12619 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12620 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
12621 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
12622 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12623 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
12624 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12625 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12626 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12627 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12628 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
12629 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12630 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
12631 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
12632 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12633 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12634 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
12635 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
12636 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
12637 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
12638 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
12639 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12640 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12641 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12642 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12643 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
12644 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
12645 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
12646 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
12647 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
12648 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12649 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12650 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12651 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
12652 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
12653 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12654 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12655 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12656 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12657 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
12658 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
12659 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL},
12660 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL},
12661 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12662 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12663 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL},
12664 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL},
12665 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
12666 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
12667 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12668 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12669 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12670 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL},
12671 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
12672 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12673 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12674 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12675 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12676 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
12677 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
12678 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
12679 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL},
12680 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12681 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12682 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12683 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
12684 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12685 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
12686 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12687 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12688 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12689 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12690 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12691 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12692 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12693 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12694 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12695 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
12696 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12697 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12698 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12699 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12700 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12701 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12702 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12703 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12704 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12705 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12706 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12707 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12708 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12709 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12710 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
c32bde28 12711 { NULL, NULL, 0, NULL }
d14a1e28
RD
12712};
12713
12714
12715/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12716
12717static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
12718 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
12719}
12720static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
12721 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
12722}
12723static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
12724 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
12725}
12726static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
12727 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
12728}
823f0cfe
RD
12729static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
12730 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12731}
d14a1e28
RD
12732static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
12733 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12734}
12735static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
12736 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12737}
12738static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
12739 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12740}
12741static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
12742 return (void *)((wxPanel *) ((wxPyPanel *) x));
12743}
12744static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
12745 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
12746}
12747static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
12748 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
12749}
12750static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
12751 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12752}
823f0cfe
RD
12753static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
12754 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12755}
d14a1e28
RD
12756static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
12757 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12758}
12759static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
12760 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
12761}
12762static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
12763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12764}
12765static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
12766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12767}
12768static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
12769 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
12770}
12771static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12772 return (void *)((wxWindow *) ((wxMenuBar *) x));
12773}
12774static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
12775 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12776}
12777static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
12778 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12779}
12780static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
12781 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12782}
d3b6e4ff
RD
12783static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
12784 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12785}
d14a1e28
RD
12786static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
12787 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12788}
12789static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
12790 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12791}
12792static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
12793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12794}
12795static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
12796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12797}
12798static void *_p_wxPanelTo_p_wxWindow(void *x) {
12799 return (void *)((wxWindow *) ((wxPanel *) x));
12800}
12801static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
12802 return (void *)((wxWindow *) ((wxStatusBar *) x));
12803}
d14a1e28
RD
12804static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
12805 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
12806}
12807static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
12808 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12809}
12810static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
12811 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12812}
12813static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
12814 return (void *)((wxWindow *) ((wxPopupWindow *) x));
12815}
12816static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
12817 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
12818}
12819static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
12820 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
12821}
12822static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
12823 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
12824}
12825static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
12826 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
12827}
12828static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
12829 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
12830}
12831static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
12832 return (void *)((wxWindow *) ((wxSashWindow *) x));
12833}
d3b6e4ff
RD
12834static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
12835 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
12836}
823f0cfe
RD
12837static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
12838 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12839}
d14a1e28
RD
12840static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
12841 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12842}
12843static void *_p_wxControlTo_p_wxWindow(void *x) {
12844 return (void *)((wxWindow *) ((wxControl *) x));
12845}
12846static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
12847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12848}
12849static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
12850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12851}
12852static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
12853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12854}
12855static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12856 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
12857}
12858static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
12859 return (void *)((wxWindow *) ((wxPyWindow *) x));
12860}
12861static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
12862 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12863}
12864static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
12865 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12866}
12867static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
12868 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12869}
12870static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
12871 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
12872}
12873static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
12874 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12875}
12876static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
12877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12878}
12879static void *_p_wxFrameTo_p_wxWindow(void *x) {
12880 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
12881}
12882static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
12883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12884}
12885static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
12886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12887}
12888static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
12889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12890}
12891static void *_p_wxDialogTo_p_wxWindow(void *x) {
12892 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
12893}
d14a1e28
RD
12894static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
12895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12896}
12897static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
12898 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
12899}
12900static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
12901 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
12902}
12903static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
12904 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
12905}
12906static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
12907 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
12908}
12909static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
12910 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
12911}
12912static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
12913 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
12914}
d14a1e28
RD
12915static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
12916 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
12917}
12918static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
12919 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
12920}
12921static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
12922 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
12923}
d14a1e28
RD
12924static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
12925 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
12926}
12927static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
12928 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
12929}
d3b6e4ff
RD
12930static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
12931 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12932}
d14a1e28
RD
12933static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
12934 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
12935}
12936static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
12937 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
12938}
12939static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
12940 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
12941}
12942static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
12943 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
12944}
d3b6e4ff
RD
12945static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
12946 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
12947}
d14a1e28
RD
12948static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
12949 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
12950}
12951static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
12952 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
12953}
12954static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
12955 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12956}
12957static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12958 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12959}
12960static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12961 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12962}
12963static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12965}
12966static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12968}
12969static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12970 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12971}
12972static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12973 return (void *)((wxObject *) ((wxSizerItem *) x));
12974}
12975static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12977}
12978static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12979 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12980}
12981static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
12982 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
12983}
12984static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12985 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12986}
12987static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12988 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12989}
12990static void *_p_wxSizerTo_p_wxObject(void *x) {
12991 return (void *)((wxObject *) ((wxSizer *) x));
12992}
12993static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12994 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12995}
12996static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
12997 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
12998}
12999static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
13000 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
13001}
13002static void *_p_wxPyPanelTo_p_wxObject(void *x) {
13003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
13004}
13005static void *_p_wxEventTo_p_wxObject(void *x) {
13006 return (void *)((wxObject *) ((wxEvent *) x));
13007}
13008static void *_p_wxFontDataTo_p_wxObject(void *x) {
13009 return (void *)((wxObject *) ((wxFontData *) x));
13010}
13011static void *_p_wxPrintDataTo_p_wxObject(void *x) {
13012 return (void *)((wxObject *) ((wxPrintData *) x));
13013}
13014static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
13015 return (void *)((wxObject *) ((wxHtmlTag *) x));
13016}
13017static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13018 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13019}
13020static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13021 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13022}
13023static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13024 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13025}
13026static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
13027 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
13028}
84f85550
RD
13029static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
13030 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
13031}
13032static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
13033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
13034}
13035static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
13036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13037}
13038static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
13039 return (void *)((wxObject *) ((wxHtmlCell *) x));
13040}
13041static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13042 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13043}
13044static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13045 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13046}
13047static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13048 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13049}
13050static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13051 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13052}
13053static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13054 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13055}
13056static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13057 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13058}
13059static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
13060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13061}
13062static void *_p_wxControlTo_p_wxObject(void *x) {
13063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13064}
13065static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13066 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13067}
13068static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
13069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13070}
13071static void *_p_wxFSFileTo_p_wxObject(void *x) {
13072 return (void *)((wxObject *) ((wxFSFile *) x));
13073}
13074static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
13075 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13076}
13077static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
13078 return (void *)((wxObject *) ((wxFindReplaceData *) x));
13079}
13080static void *_p_wxPySizerTo_p_wxObject(void *x) {
13081 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13082}
13083static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
13084 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
13085}
13086static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
13087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13088}
13089static void *_p_wxColourDataTo_p_wxObject(void *x) {
13090 return (void *)((wxObject *) ((wxColourData *) x));
13091}
13092static void *_p_wxPyEventTo_p_wxObject(void *x) {
13093 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13094}
13095static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13096 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13097}
13098static void *_p_wxPyWindowTo_p_wxObject(void *x) {
13099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
13100}
13101static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
13102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13103}
13104static void *_p_wxFileDialogTo_p_wxObject(void *x) {
13105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13106}
13107static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
13108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13109}
13110static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
13111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13112}
13113static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
13114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13115}
d3b6e4ff
RD
13116static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
13117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13118}
d14a1e28
RD
13119static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
13120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13121}
13122static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
13123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13124}
13125static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
13126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13127}
13128static void *_p_wxShowEventTo_p_wxObject(void *x) {
13129 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13130}
13131static void *_p_wxPrinterTo_p_wxObject(void *x) {
13132 return (void *)((wxObject *) ((wxPrinter *) x));
13133}
13134static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13135 return (void *)((wxObject *) ((wxMenuItem *) x));
13136}
13137static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13138 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13139}
13140static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13141 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13142}
13143static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13144 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13145}
13146static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13147 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13148}
13149static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13150 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13151}
13152static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13153 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13154}
13155static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13156 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13157}
13158static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13159 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13160}
13161static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
13162 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
13163}
13164static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13165 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13166}
13167static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13168 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13169}
13170static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13171 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13172}
13173static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13174 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13175}
13176static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13177 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13178}
13179static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13180 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13181}
13182static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13183 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13184}
13185static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13186 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13187}
13188static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13189 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13190}
13191static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13192 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13193}
13194static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13195 return (void *)((wxObject *) ((wxImageHandler *) x));
13196}
13197static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13198 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13199}
13200static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13201 return (void *)((wxObject *) ((wxEvtHandler *) x));
13202}
13203static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
13204 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
13205}
13206static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
13207 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
13208}
13209static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
13210 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13211}
13212static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
13213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13214}
13215static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
13216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13217}
13218static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13219 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13220}
13221static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
13222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13223}
13224static void *_p_wxImageTo_p_wxObject(void *x) {
13225 return (void *)((wxObject *) ((wxImage *) x));
13226}
13227static void *_p_wxFrameTo_p_wxObject(void *x) {
13228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13229}
13230static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
13231 return (void *)((wxObject *) ((wxPyPrintout *) x));
13232}
13233static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
13234 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
13235}
13236static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13237 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13238}
13239static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
13240 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
13241}
13242static void *_p_wxStatusBarTo_p_wxObject(void *x) {
13243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
13244}
13245static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
13246 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
13247}
13248static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
13249 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
13250}
13251static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
13252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13253}
13254static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13256}
13257static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13258 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13259}
13260static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13261 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13262}
d14a1e28
RD
13263static void *_p_wxWindowTo_p_wxObject(void *x) {
13264 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13265}
13266static void *_p_wxMenuTo_p_wxObject(void *x) {
13267 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13268}
13269static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13271}
0df68c9f
RD
13272static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
13273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13274}
d14a1e28
RD
13275static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
13276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
13277}
13278static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
13279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
13280}
13281static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
13282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
13283}
13284static void *_p_wxSashWindowTo_p_wxObject(void *x) {
13285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
13286}
13287static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
13288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13289}
13290static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
13291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
13292}
13293static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
13294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13295}
13296static void *_p_wxTipWindowTo_p_wxObject(void *x) {
13297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13298}
13299static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
13300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13301}
13302static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
13303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
13304}
823f0cfe
RD
13305static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
13306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13307}
d14a1e28
RD
13308static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
13309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13310}
13311static void *_p_wxSashEventTo_p_wxObject(void *x) {
13312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
13313}
13314static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
13315 return (void *)((wxObject *) ((wxPrintPreview *) x));
13316}
13317static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
13318 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
13319}
13320static void *_p_wxPanelTo_p_wxObject(void *x) {
13321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
13322}
13323static void *_p_wxDialogTo_p_wxObject(void *x) {
13324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13325}
13326static void *_p_wxColourDialogTo_p_wxObject(void *x) {
13327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13328}
13329static void *_p_wxDirDialogTo_p_wxObject(void *x) {
13330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13331}
13332static void *_p_wxFontDialogTo_p_wxObject(void *x) {
13333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13334}
13335static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 13336 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
13337}
13338static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
8fb0e70a 13339 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
13340}
13341static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
13342 return (void *)((wxObject *) ((wxHtmlParser *) x));
13343}
13344static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
13345 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
13346}
13347static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13348 return (void *)((wxObject *) ((wxFileSystem *) x));
13349}
13350static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13351 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13352}
13353static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13354 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13355}
13356static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
13357 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
13358}
13359static void *_p_wxPyAppTo_p_wxObject(void *x) {
13360 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13361}
13362static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13363 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13364}
13365static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13366 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13367}
13368static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13369 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13370}
13371static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13373}
13374static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13375 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13376}
13377static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13379}
13380static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13382}
13383static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
13384 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
13385}
13386static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13387 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13388}
13389static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13390 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13391}
13392static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13394}
13395static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
8fb0e70a 13396 return (void *)((wxObject *) ((wxHtmlHelpController *) x));
d14a1e28
RD
13397}
13398static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13400}
13401static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13402 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13403}
13404static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13405 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13406}
13407static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13408 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13409}
13410static void *_p_wxValidatorTo_p_wxObject(void *x) {
13411 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13412}
13413static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
13414 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13415}
13416static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13417 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13418}
13419static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13420 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13421}
13422static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
13423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
13424}
13425static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13426 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13427}
13428static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13429 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13430}
13431static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13432 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13433}
13434static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13435 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13436}
d3b6e4ff
RD
13437static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13439}
d14a1e28
RD
13440static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13442}
13443static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13445}
13446static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13448}
13449static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13451}
13452static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13454}
13455static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13457}
13458static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13460}
13461static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13463}
13464static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13465 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13466}
13467static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13469}
13470static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13472}
13473static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13474 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13475}
13476static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13477 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13478}
13479static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13480 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13481}
13482static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13484}
13485static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13487}
13488static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13490}
13491static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13492 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13493}
13494static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13496}
13497static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13499}
13500static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13501 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13502}
823f0cfe
RD
13503static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13504 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13505}
d14a1e28
RD
13506static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
13507 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13508}
13509static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13510 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13511}
13512static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
13513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13514}
13515static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
13516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13517}
13518static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13520}
13521static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13522 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13523}
13524static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13525 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13526}
13527static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13529}
13530static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13532}
d14a1e28
RD
13533static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13535}
13536static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13538}
13539static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13540 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13541}
13542static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13543 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13544}
84f85550
RD
13545static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
13546 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
13547}
13548static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
13549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13550}
13551static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13553}
d14a1e28
RD
13554static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13556}
13557static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13559}
13560static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13562}
d3b6e4ff
RD
13563static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13565}
d14a1e28
RD
13566static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13568}
13569static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
13570 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
13571}
13572static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
13573 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
13574}
13575static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
13576 return (void *)((wxFrame *) ((wxProgressDialog *) x));
13577}
13578static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
13579 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
13580}
13581static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
13582 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13583}
13584static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
13585 return (void *)((wxFrame *) ((wxMiniFrame *) x));
13586}
13587static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
13588 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
13589}
13590static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
13591 return (void *)((wxFrame *) ((wxSplashScreen *) x));
13592}
13593static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
13594 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
13595}
13596static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
13597 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
13598}
13599static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
13600 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13601}
13602static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
13603 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
13604}
13605static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
13606 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
13607}
13608static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
13609 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
13610}
15afbcd0
RD
13611static 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}};
13612static 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}};
13613static 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}};
13614static 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}};
093d3ff1 13615static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
13616static 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}};
13617static 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}};
093d3ff1
RD
13618static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13619static 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}};
15afbcd0 13620static 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}};
22bfe96c 13621static 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}};
15afbcd0
RD
13622static 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}};
13623static 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}};
13624static 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}};
13625static 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}};
823f0cfe 13626static 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}};
15afbcd0 13627static 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}};
823f0cfe 13628static 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}};
8ac8dba0
RD
13629static 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
13630static 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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_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}};
093d3ff1 13631static 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}};
c32bde28 13632static 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}};
15afbcd0
RD
13633static 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}};
13634static 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}};
13635static 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}};
13636static 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}};
13637static 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}};
8ac8dba0 13638static 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_wxGIFHandler", _p_wxGIFHandlerTo_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_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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
093d3ff1 13639static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 13640static 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}};
093d3ff1
RD
13641static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13642static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
13643static 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}};
13644static 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}};
8ac8dba0 13645static 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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxTipWindow", _p_wxTipWindowTo_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_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_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}};
093d3ff1 13646static 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}};
15afbcd0
RD
13647static 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}};
13648static 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}};
13649static 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}};
13650static 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}};
13651static 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}};
093d3ff1 13652static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
13653static 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}};
13654static 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}};
13655static 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}};
093d3ff1
RD
13656static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13657static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
13658static 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}};
13659static 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}};
13660static 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}};
13661static 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}};
15afbcd0 13662static 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_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}};
093d3ff1 13663static 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}};
15afbcd0
RD
13664static 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}};
13665static 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}};
13666static 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}};
13667static 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}};
13668static 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}};
15afbcd0 13669static 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}};
c32bde28 13670static 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}};
093d3ff1 13671static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 13672static 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
13673
13674static swig_type_info *swig_types_initial[] = {
13675_swigt__p_wxHtmlDCRenderer,
13676_swigt__p_wxColour,
13677_swigt__p_wxPageSetupDialogData,
13678_swigt__p_wxDC,
093d3ff1 13679_swigt__p_form_ops_t,
d14a1e28
RD
13680_swigt__p_wxHtmlRenderingStyle,
13681_swigt__p_wxMouseEvent,
093d3ff1
RD
13682_swigt__p_wxDuplexMode,
13683_swigt__p_wxDefaultHtmlRenderingStyle,
d14a1e28 13684_swigt__p_wxHtmlWordCell,
22bfe96c 13685_swigt__p_wxVisualAttributes,
d14a1e28 13686_swigt__p_wxHtmlHelpData,
994141e6 13687_swigt__p_char,
d14a1e28
RD
13688_swigt__p_wxHtmlWinParser,
13689_swigt__p_wxHtmlParser,
13690_swigt__p_wxPanel,
d14a1e28
RD
13691_swigt__p_wxPyHtmlWindow,
13692_swigt__p_wxScrolledWindow,
13693_swigt__p_wxWindow,
13694_swigt__p_wxTopLevelWindow,
093d3ff1 13695_swigt__p_wxFont,
c32bde28 13696_swigt__p_wxHtmlColourCell,
994141e6 13697_swigt__p_wxHtmlFontCell,
d14a1e28
RD
13698_swigt__p_wxHtmlEasyPrinting,
13699_swigt__p_wxHtmlSelection,
13700_swigt__p_wxHtmlRenderingInfo,
13701_swigt__p_wxHtmlWidgetCell,
13702_swigt__p_wxObject,
093d3ff1 13703_swigt__p_wxPaperSize,
d14a1e28 13704_swigt__p_wxString,
093d3ff1
RD
13705_swigt__p_unsigned_int,
13706_swigt__unsigned_int,
d14a1e28
RD
13707_swigt__p_wxHtmlTagHandler,
13708_swigt__p_wxPyHtmlTagHandler,
13709_swigt__p_wxEvtHandler,
093d3ff1 13710_swigt__p_wxPyHtmlWinTagHandler,
d14a1e28
RD
13711_swigt__p_wxPoint,
13712_swigt__p_wxHtmlHelpController,
13713_swigt__p_wxCursor,
13714_swigt__p_wxFileSystem,
13715_swigt__p_wxHtmlBookRecArray,
093d3ff1 13716_swigt__p_unsigned_char,
d14a1e28
RD
13717_swigt__p_wxPyPrintout,
13718_swigt__p_wxHtmlPrintout,
13719_swigt__p_wxHtmlSearchStatus,
093d3ff1
RD
13720_swigt__std__ptrdiff_t,
13721_swigt__ptrdiff_t,
d14a1e28
RD
13722_swigt__p_wxHtmlContentsItem,
13723_swigt__p_wxConfigBase,
13724_swigt__p_wxPrintData,
13725_swigt__p_wxHtmlHelpFrame,
d14a1e28 13726_swigt__p_wxFrame,
093d3ff1 13727_swigt__p_wxHtmlRenderingState,
d14a1e28
RD
13728_swigt__p_wxPyHtmlFilter,
13729_swigt__p_wxHtmlFilter,
13730_swigt__p_wxHtmlCell,
13731_swigt__p_wxHtmlContainerCell,
13732_swigt__p_wxHtmlTag,
d14a1e28 13733_swigt__p_int,
c32bde28 13734_swigt__p_wxHtmlLinkInfo,
093d3ff1 13735_swigt__p_unsigned_long,
d14a1e28
RD
13736_swigt__p_wxHtmlBookRecord,
137370
13738};
13739
13740
13741/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13742
13743static swig_const_info swig_const_table[] = {
c32bde28 13744{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
13745
13746#ifdef __cplusplus
13747}
13748#endif
13749
093d3ff1
RD
13750
13751#ifdef __cplusplus
13752extern "C" {
13753#endif
13754
13755 /* Python-specific SWIG API */
13756#define SWIG_newvarlink() SWIG_Python_newvarlink()
13757#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13758#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13759
13760 /* -----------------------------------------------------------------------------
13761 * global variable support code.
13762 * ----------------------------------------------------------------------------- */
13763
13764 typedef struct swig_globalvar {
13765 char *name; /* Name of global variable */
13766 PyObject *(*get_attr)(); /* Return the current value */
13767 int (*set_attr)(PyObject *); /* Set the value */
13768 struct swig_globalvar *next;
13769 } swig_globalvar;
13770
13771 typedef struct swig_varlinkobject {
13772 PyObject_HEAD
13773 swig_globalvar *vars;
13774 } swig_varlinkobject;
13775
13776 static PyObject *
13777 swig_varlink_repr(swig_varlinkobject *v) {
13778 v = v;
13779 return PyString_FromString("<Swig global variables>");
13780 }
13781
13782 static int
13783 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
13784 swig_globalvar *var;
13785 flags = flags;
13786 fprintf(fp,"Swig global variables { ");
13787 for (var = v->vars; var; var=var->next) {
13788 fprintf(fp,"%s", var->name);
13789 if (var->next) fprintf(fp,", ");
13790 }
13791 fprintf(fp," }\n");
13792 return 0;
13793 }
13794
13795 static PyObject *
13796 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13797 swig_globalvar *var = v->vars;
13798 while (var) {
13799 if (strcmp(var->name,n) == 0) {
13800 return (*var->get_attr)();
13801 }
13802 var = var->next;
13803 }
13804 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13805 return NULL;
13806 }
13807
13808 static int
13809 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13810 swig_globalvar *var = v->vars;
13811 while (var) {
13812 if (strcmp(var->name,n) == 0) {
13813 return (*var->set_attr)(p);
13814 }
13815 var = var->next;
13816 }
13817 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13818 return 1;
13819 }
13820
13821 static PyTypeObject varlinktype = {
13822 PyObject_HEAD_INIT(0)
13823 0, /* Number of items in variable part (ob_size) */
13824 (char *)"swigvarlink", /* Type name (tp_name) */
13825 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13826 0, /* Itemsize (tp_itemsize) */
13827 0, /* Deallocator (tp_dealloc) */
13828 (printfunc) swig_varlink_print, /* Print (tp_print) */
13829 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13830 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13831 0, /* tp_compare */
13832 (reprfunc) swig_varlink_repr, /* tp_repr */
13833 0, /* tp_as_number */
13834 0, /* tp_as_sequence */
13835 0, /* tp_as_mapping */
13836 0, /* tp_hash */
13837 0, /* tp_call */
13838 0, /* tp_str */
13839 0, /* tp_getattro */
13840 0, /* tp_setattro */
13841 0, /* tp_as_buffer */
13842 0, /* tp_flags */
13843 0, /* tp_doc */
13844#if PY_VERSION_HEX >= 0x02000000
13845 0, /* tp_traverse */
13846 0, /* tp_clear */
13847#endif
13848#if PY_VERSION_HEX >= 0x02010000
13849 0, /* tp_richcompare */
13850 0, /* tp_weaklistoffset */
13851#endif
13852#if PY_VERSION_HEX >= 0x02020000
13853 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13854#endif
13855#if PY_VERSION_HEX >= 0x02030000
13856 0, /* tp_del */
13857#endif
13858#ifdef COUNT_ALLOCS
13859 0,0,0,0 /* tp_alloc -> tp_next */
13860#endif
13861 };
13862
13863 /* Create a variable linking object for use later */
13864 static PyObject *
13865 SWIG_Python_newvarlink(void) {
13866 swig_varlinkobject *result = 0;
13867 result = PyMem_NEW(swig_varlinkobject,1);
13868 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
13869 result->ob_type = &varlinktype;
13870 result->vars = 0;
13871 result->ob_refcnt = 0;
13872 Py_XINCREF((PyObject *) result);
13873 return ((PyObject*) result);
13874 }
13875
13876 static void
13877 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13878 swig_varlinkobject *v;
13879 swig_globalvar *gv;
13880 v= (swig_varlinkobject *) p;
13881 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13882 gv->name = (char *) malloc(strlen(name)+1);
13883 strcpy(gv->name,name);
13884 gv->get_attr = get_attr;
13885 gv->set_attr = set_attr;
13886 gv->next = v->vars;
13887 v->vars = gv;
13888 }
13889
13890 /* -----------------------------------------------------------------------------
13891 * constants/methods manipulation
13892 * ----------------------------------------------------------------------------- */
13893
13894 /* Install Constants */
13895 static void
13896 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13897 PyObject *obj = 0;
13898 size_t i;
13899 for (i = 0; constants[i].type; i++) {
13900 switch(constants[i].type) {
13901 case SWIG_PY_INT:
13902 obj = PyInt_FromLong(constants[i].lvalue);
13903 break;
13904 case SWIG_PY_FLOAT:
13905 obj = PyFloat_FromDouble(constants[i].dvalue);
13906 break;
13907 case SWIG_PY_STRING:
13908 if (constants[i].pvalue) {
13909 obj = PyString_FromString((char *) constants[i].pvalue);
13910 } else {
13911 Py_INCREF(Py_None);
13912 obj = Py_None;
13913 }
13914 break;
13915 case SWIG_PY_POINTER:
13916 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13917 break;
13918 case SWIG_PY_BINARY:
13919 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13920 break;
13921 default:
13922 obj = 0;
13923 break;
13924 }
13925 if (obj) {
13926 PyDict_SetItemString(d,constants[i].name,obj);
13927 Py_DECREF(obj);
13928 }
13929 }
13930 }
13931
13932 /* -----------------------------------------------------------------------------*/
13933 /* Fix SwigMethods to carry the callback ptrs when needed */
13934 /* -----------------------------------------------------------------------------*/
13935
13936 static void
13937 SWIG_Python_FixMethods(PyMethodDef *methods,
13938 swig_const_info *const_table,
13939 swig_type_info **types,
13940 swig_type_info **types_initial) {
13941 size_t i;
13942 for (i = 0; methods[i].ml_name; ++i) {
13943 char *c = methods[i].ml_doc;
13944 if (c && (c = strstr(c, "swig_ptr: "))) {
13945 int j;
13946 swig_const_info *ci = 0;
13947 char *name = c + 10;
13948 for (j = 0; const_table[j].type; j++) {
13949 if (strncmp(const_table[j].name, name,
13950 strlen(const_table[j].name)) == 0) {
13951 ci = &(const_table[j]);
13952 break;
13953 }
13954 }
13955 if (ci) {
13956 size_t shift = (ci->ptype) - types;
13957 swig_type_info *ty = types_initial[shift];
13958 size_t ldoc = (c - methods[i].ml_doc);
13959 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13960 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13961 char *buff = ndoc;
13962 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
13963 strncpy(buff, methods[i].ml_doc, ldoc);
13964 buff += ldoc;
13965 strncpy(buff, "swig_ptr: ", 10);
13966 buff += 10;
13967 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13968 methods[i].ml_doc = ndoc;
13969 }
13970 }
13971 }
13972 }
13973
13974 /* -----------------------------------------------------------------------------*
13975 * Initialize type list
13976 * -----------------------------------------------------------------------------*/
13977
13978#if PY_MAJOR_VERSION < 2
13979 /* PyModule_AddObject function was introduced in Python 2.0. The following function
13980 is copied out of Python/modsupport.c in python version 2.3.4 */
13981 static int
13982 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
13983 {
13984 PyObject *dict;
13985 if (!PyModule_Check(m)) {
13986 PyErr_SetString(PyExc_TypeError,
13987 "PyModule_AddObject() needs module as first arg");
13988 return -1;
13989 }
13990 if (!o) {
13991 PyErr_SetString(PyExc_TypeError,
13992 "PyModule_AddObject() needs non-NULL value");
13993 return -1;
13994 }
13995
13996 dict = PyModule_GetDict(m);
13997 if (dict == NULL) {
13998 /* Internal error -- modules must have a dict! */
13999 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
14000 PyModule_GetName(m));
14001 return -1;
14002 }
14003 if (PyDict_SetItemString(dict, name, o))
14004 return -1;
14005 Py_DECREF(o);
14006 return 0;
14007 }
14008#endif
14009
14010 static swig_type_info **
14011 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
14012 static PyMethodDef swig_empty_runtime_method_table[] = {
14013 {
14014 NULL, NULL, 0, NULL
14015 }
14016 };/* Sentinel */
14017
14018 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
14019 swig_empty_runtime_method_table);
14020 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
14021 if (pointer && module) {
14022 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
14023 }
14024 return type_list_handle;
14025 }
14026
14027 static swig_type_info **
14028 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
14029 swig_type_info **type_pointer;
14030
14031 /* first check if module already created */
14032 type_pointer = SWIG_Python_GetTypeListHandle();
14033 if (type_pointer) {
14034 return type_pointer;
14035 } else {
14036 /* create a new module and variable */
14037 return SWIG_Python_SetTypeListHandle(type_list_handle);
14038 }
14039 }
14040
14041#ifdef __cplusplus
14042}
14043#endif
14044
14045/* -----------------------------------------------------------------------------*
14046 * Partial Init method
14047 * -----------------------------------------------------------------------------*/
14048
14049#ifdef SWIG_LINK_RUNTIME
14050#ifdef __cplusplus
14051extern "C"
14052#endif
14053SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14054#endif
14055
d14a1e28
RD
14056#ifdef __cplusplus
14057extern "C"
14058#endif
14059SWIGEXPORT(void) SWIG_init(void) {
14060 static PyObject *SWIG_globals = 0;
14061 static int typeinit = 0;
14062 PyObject *m, *d;
14063 int i;
14064 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
14065
14066 /* Fix SwigMethods to carry the callback ptrs when needed */
14067 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
14068
d14a1e28
RD
14069 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14070 d = PyModule_GetDict(m);
14071
14072 if (!typeinit) {
093d3ff1
RD
14073#ifdef SWIG_LINK_RUNTIME
14074 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
14075#else
14076# ifndef SWIG_STATIC_RUNTIME
14077 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
14078# endif
14079#endif
d14a1e28
RD
14080 for (i = 0; swig_types_initial[i]; i++) {
14081 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
14082 }
14083 typeinit = 1;
14084 }
14085 SWIG_InstallConstants(d,swig_const_table);
14086
b2dc1044
RD
14087 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
14088 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
14089 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
14090 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
093d3ff1
RD
14091 {
14092 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT)));
14093 }
14094 {
14095 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER)));
14096 }
14097 {
14098 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT)));
14099 }
14100 {
14101 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM)));
14102 }
14103 {
14104 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP)));
14105 }
14106 {
14107 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND)));
14108 }
14109 {
14110 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND)));
14111 }
14112 {
14113 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS)));
14114 }
14115 {
14116 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT)));
14117 }
14118 {
14119 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT)));
14120 }
14121 {
14122 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT)));
14123 }
14124 {
14125 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP)));
14126 }
14127 {
14128 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM)));
14129 }
14130 {
14131 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL)));
14132 }
14133 {
14134 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL)));
14135 }
14136 {
14137 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL)));
14138 }
14139 {
14140 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR)));
14141 }
14142 {
14143 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP)));
14144 }
14145 {
14146 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER)));
14147 }
14148 {
14149 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1)));
14150 }
14151 {
14152 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2)));
14153 }
14154 {
14155 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3)));
14156 }
14157 {
14158 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4)));
14159 }
14160 {
14161 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5)));
14162 }
14163 {
14164 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6)));
14165 }
14166 {
14167 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7)));
14168 }
14169 {
14170 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER)));
14171 }
14172 {
14173 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO)));
14174 }
14175 {
14176 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION)));
14177 }
14178 {
14179 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE)));
14180 }
14181 {
14182 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN)));
14183 }
14184 {
14185 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK)));
14186 }
14187 {
14188 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT)));
14189 }
14190 {
14191 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE)));
14192 }
14193 {
14194 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE)));
14195 }
14196 {
14197 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER)));
14198 }
14199 {
14200 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT)));
14201 }
14202 {
14203 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN)));
14204 }
14205 {
14206 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING)));
14207 }
14208 {
14209 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT)));
14210 }
14211 {
14212 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE)));
14213 }
14214 {
14215 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER)));
14216 }
14217 {
14218 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD)));
14219 }
14220 {
14221 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN)));
14222 }
14223 {
14224 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL)));
14225 }
14226 {
14227 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR)));
14228 }
14229 {
14230 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR)));
14231 }
14232 {
14233 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS)));
14234 }
14235 {
14236 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX)));
14237 }
14238 {
14239 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH)));
14240 }
14241 {
14242 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS)));
14243 }
14244 {
14245 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES)));
14246 }
14247 {
14248 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT)));
14249 }
14250 {
14251 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE)));
14252 }
d14a1e28
RD
14253
14254 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14255 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14256 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14257 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
14258
14259}
14260