]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/html_wrap.cpp
reSWIGged
[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]
53aa7709
RD
1369#define SWIGTYPE_p_wxBitmap swig_types[28]
1370#define SWIGTYPE_p_wxPaperSize swig_types[29]
1371#define SWIGTYPE_p_wxString swig_types[30]
1372#define SWIGTYPE_p_unsigned_int swig_types[31]
1373#define SWIGTYPE_unsigned_int swig_types[32]
1374#define SWIGTYPE_p_wxHtmlTagHandler swig_types[33]
1375#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34]
1376#define SWIGTYPE_p_wxEvtHandler swig_types[35]
1377#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36]
1378#define SWIGTYPE_p_wxPoint swig_types[37]
1379#define SWIGTYPE_p_wxHtmlHelpController swig_types[38]
1380#define SWIGTYPE_p_wxCursor swig_types[39]
1381#define SWIGTYPE_p_wxFileSystem swig_types[40]
1382#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41]
1383#define SWIGTYPE_p_unsigned_char swig_types[42]
1384#define SWIGTYPE_p_wxPyPrintout swig_types[43]
1385#define SWIGTYPE_p_wxHtmlPrintout swig_types[44]
1386#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45]
1387#define SWIGTYPE_std__ptrdiff_t swig_types[46]
1388#define SWIGTYPE_ptrdiff_t swig_types[47]
1389#define SWIGTYPE_p_wxHtmlContentsItem swig_types[48]
1390#define SWIGTYPE_p_wxConfigBase swig_types[49]
1391#define SWIGTYPE_p_wxPrintData swig_types[50]
1392#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[51]
1393#define SWIGTYPE_p_wxFrame swig_types[52]
1394#define SWIGTYPE_p_wxHtmlRenderingState swig_types[53]
1395#define SWIGTYPE_p_wxPyHtmlFilter swig_types[54]
1396#define SWIGTYPE_p_wxHtmlFilter swig_types[55]
1397#define SWIGTYPE_p_wxHtmlCell swig_types[56]
1398#define SWIGTYPE_p_wxHtmlContainerCell swig_types[57]
1399#define SWIGTYPE_p_wxHtmlTag swig_types[58]
1400#define SWIGTYPE_p_int swig_types[59]
1401#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[60]
1402#define SWIGTYPE_p_unsigned_long swig_types[61]
1403#define SWIGTYPE_p_wxHtmlBookRecord swig_types[62]
1404static swig_type_info *swig_types[64];
994141e6 1405
093d3ff1 1406/* -------- TYPES TABLE (END) -------- */
994141e6 1407
994141e6 1408
093d3ff1
RD
1409/*-----------------------------------------------
1410 @(target):= _html.so
1411 ------------------------------------------------*/
1412#define SWIG_init init_html
1413
1414#define SWIG_name "_html"
994141e6 1415
d14a1e28
RD
1416#include "wx/wxPython/wxPython.h"
1417#include "wx/wxPython/pyclasses.h"
1418#include "wx/wxPython/pyistream.h"
1419#include "wx/wxPython/printfw.h"
1420
1421#include <wx/html/htmlwin.h>
1422#include <wx/html/htmprint.h>
1423#include <wx/html/helpctrl.h>
1424
1425
b2dc1044
RD
1426 static const wxString wxPyEmptyString(wxEmptyString);
1427 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1428 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1429 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
994141e6 1430
093d3ff1
RD
1431 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1432#define SWIG_From_int PyInt_FromLong
1433/*@@*/
1434
1435
15afbcd0
RD
1436#include <limits.h>
1437
1438
093d3ff1 1439SWIGINTERN int
c32bde28
RD
1440 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1441 const char *errmsg)
15afbcd0 1442{
c32bde28
RD
1443 if (value < min_value) {
1444 if (errmsg) {
1445 PyErr_Format(PyExc_OverflowError,
1446 "value %ld is less than '%s' minimum %ld",
1447 value, errmsg, min_value);
1448 }
1449 return 0;
1450 } else if (value > max_value) {
1451 if (errmsg) {
1452 PyErr_Format(PyExc_OverflowError,
1453 "value %ld is greater than '%s' maximum %ld",
1454 value, errmsg, max_value);
15afbcd0 1455 }
c32bde28 1456 return 0;
15afbcd0 1457 }
c32bde28 1458 return 1;
15afbcd0
RD
1459}
1460
1461
093d3ff1 1462SWIGINTERN int
c32bde28 1463SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 1464{
c32bde28
RD
1465 if (PyNumber_Check(obj)) {
1466 if (val) *val = PyInt_AsLong(obj);
1467 return 1;
1468 }
69223c70 1469 else {
093d3ff1 1470 SWIG_type_error("number", obj);
69223c70 1471 }
c32bde28 1472 return 0;
15afbcd0
RD
1473}
1474
1475
1476#if INT_MAX != LONG_MAX
093d3ff1 1477SWIGINTERN int
c32bde28 1478 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 1479{
093d3ff1 1480 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1481 long v;
1482 if (SWIG_AsVal_long(obj, &v)) {
1483 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
093d3ff1 1484 if (val) *val = (int)(v);
c32bde28
RD
1485 return 1;
1486 } else {
1487 return 0;
1488 }
1489 } else {
1490 PyErr_Clear();
1491 }
1492 if (val) {
093d3ff1 1493 SWIG_type_error(errmsg, obj);
c32bde28
RD
1494 }
1495 return 0;
15afbcd0
RD
1496}
1497#else
093d3ff1 1498SWIGINTERNSHORT int
c32bde28
RD
1499 SWIG_AsVal_int(PyObject *obj, int *val)
1500{
1501 return SWIG_AsVal_long(obj,(long*)val);
1502}
15afbcd0
RD
1503#endif
1504
1505
093d3ff1 1506SWIGINTERNSHORT int
c32bde28 1507SWIG_As_int(PyObject* obj)
15afbcd0 1508{
c32bde28
RD
1509 int v;
1510 if (!SWIG_AsVal_int(obj, &v)) {
1511 /*
093d3ff1 1512 this is needed to make valgrind/purify happier.
c32bde28
RD
1513 */
1514 memset((void*)&v, 0, sizeof(int));
15afbcd0 1515 }
c32bde28
RD
1516 return v;
1517}
1518
1519
093d3ff1 1520SWIGINTERNSHORT int
c32bde28
RD
1521SWIG_Check_int(PyObject* obj)
1522{
1523 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
1524}
1525
093d3ff1 1526static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1527 int* temp = NULL;
1528 if (sizes) temp = int_LIST_helper(sizes);
1529 self->SetFonts(normal_face, fixed_face, temp);
1530 if (temp)
1531 delete [] temp;
1532 }
1533
1534class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1535 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
1536public:
1537 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1538
1539 wxHtmlParser* GetParser() { return m_Parser; }
1540 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1541
1542 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1543 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1544
1545 PYPRIVATE;
1546};
1547
1548IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1549
1550IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1551IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1552
1553
1554class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1555 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
1556public:
1557 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1558
1559 wxHtmlWinParser* GetParser() { return m_WParser; }
1560 void ParseInner(const wxHtmlTag& tag)
1561 { wxHtmlWinTagHandler::ParseInner(tag); }
1562
1563 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1564 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1565
1566 PYPRIVATE;
1567};
1568
1569IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1570
1571IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1572IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1573
1574
1575
1576class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1577public:
1578 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1579 m_tagHandlerClass = thc;
1580 Py_INCREF(m_tagHandlerClass);
1581 RegisterModule(this);
1582 wxHtmlWinParser::AddModule(this);
1583 }
1584
1585 void OnExit() {
4f89f6a3 1586 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1587 Py_DECREF(m_tagHandlerClass);
1588 m_tagHandlerClass = NULL;
1589 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1590 PyObject* obj = (PyObject*)m_objArray.Item(x);
1591 Py_DECREF(obj);
1592 }
4f89f6a3 1593 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1594 };
1595
1596 void FillHandlersTable(wxHtmlWinParser *parser) {
1597 // Wave our magic wand... (if it works it's a miracle! ;-)
1598
1599 // First, make a new instance of the tag handler
4f89f6a3 1600 bool blocked = wxPyBeginBlockThreads();
fd3f2efe
RD
1601 PyObject* arg = PyTuple_New(0);
1602 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1603 Py_DECREF(arg);
fd3f2efe 1604
d14a1e28
RD
1605 // now figure out where it's C++ object is...
1606 wxPyHtmlWinTagHandler* thPtr;
fd3f2efe 1607 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 1608 wxPyEndBlockThreads(blocked);
d14a1e28 1609 return;
fd3f2efe 1610 }
4f89f6a3 1611 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1612
1613 // add it,
1614 parser->AddTagHandler(thPtr);
1615
1616 // and track it.
1617 m_objArray.Add(obj);
1618 }
1619
1620private:
1621 PyObject* m_tagHandlerClass;
1622 wxArrayPtrVoid m_objArray;
1623
1624};
1625
1626
1627 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1628 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1629 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1630 new wxPyHtmlTagsModule(tagHandlerClass);
1631 }
1632
1633
093d3ff1
RD
1634SWIGINTERNSHORT PyObject*
1635 SWIG_From_bool(bool value)
1636{
1637 PyObject *obj = value ? Py_True : Py_False;
1638 Py_INCREF(obj);
1639 return obj;
1640}
1641
1642
c32bde28 1643 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1644 PyObject* o2;
1645 PyObject* o3;
c32bde28 1646
d14a1e28
RD
1647 if (!target) {
1648 target = o;
1649 } else if (target == Py_None) {
1650 Py_DECREF(Py_None);
1651 target = o;
7e63a440
RD
1652 } else {
1653 if (!PyTuple_Check(target)) {
1654 o2 = target;
1655 target = PyTuple_New(1);
1656 PyTuple_SetItem(target, 0, o2);
1657 }
d14a1e28
RD
1658 o3 = PyTuple_New(1);
1659 PyTuple_SetItem(o3, 0, o);
1660
1661 o2 = target;
1662 target = PySequence_Concat(o2, o3);
1663 Py_DECREF(o2);
1664 Py_DECREF(o3);
1665 }
1666 return target;
7e63a440 1667 }
d14a1e28 1668
994141e6 1669
994141e6 1670
093d3ff1 1671SWIGINTERN int
c32bde28 1672 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 1673{
c32bde28
RD
1674 if (obj == Py_True) {
1675 if (val) *val = true;
1676 return 1;
1677 }
1678 if (obj == Py_False) {
1679 if (val) *val = false;
1680 return 1;
1681 }
1682 int res = 0;
1683 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1684 if (val) *val = res ? true : false;
15afbcd0 1685 return 1;
093d3ff1
RD
1686 } else {
1687 PyErr_Clear();
1688 }
c32bde28 1689 if (val) {
093d3ff1 1690 SWIG_type_error("bool", obj);
c32bde28
RD
1691 }
1692 return 0;
15afbcd0
RD
1693}
1694
1695
093d3ff1 1696SWIGINTERNSHORT bool
c32bde28 1697SWIG_As_bool(PyObject* obj)
15afbcd0 1698{
c32bde28
RD
1699 bool v;
1700 if (!SWIG_AsVal_bool(obj, &v)) {
1701 /*
093d3ff1 1702 this is needed to make valgrind/purify happier.
c32bde28
RD
1703 */
1704 memset((void*)&v, 0, sizeof(bool));
15afbcd0 1705 }
c32bde28
RD
1706 return v;
1707}
1708
1709
093d3ff1 1710SWIGINTERNSHORT int
c32bde28
RD
1711SWIG_Check_bool(PyObject* obj)
1712{
1713 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
1714}
1715
1716
093d3ff1 1717SWIGINTERNSHORT int
c32bde28
RD
1718 SWIG_CheckUnsignedLongInRange(unsigned long value,
1719 unsigned long max_value,
1720 const char *errmsg)
15afbcd0 1721{
c32bde28
RD
1722 if (value > max_value) {
1723 if (errmsg) {
1724 PyErr_Format(PyExc_OverflowError,
093d3ff1 1725 "value %lu is greater than '%s' minimum %lu",
c32bde28 1726 value, errmsg, max_value);
15afbcd0 1727 }
c32bde28 1728 return 0;
15afbcd0 1729 }
c32bde28
RD
1730 return 1;
1731 }
1732
1733
093d3ff1 1734SWIGINTERN int
c32bde28
RD
1735SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1736{
1737 long v = 0;
1738 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1739 SWIG_type_error("unsigned number", obj);
c32bde28
RD
1740 }
1741 else if (val)
1742 *val = (unsigned long)v;
1743 return 1;
15afbcd0
RD
1744}
1745
1746
1747#if UINT_MAX != ULONG_MAX
093d3ff1 1748SWIGINTERN int
c32bde28 1749 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 1750{
093d3ff1 1751 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
1752 unsigned long v;
1753 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1754 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 1755 if (val) *val = (unsigned int)(v);
c32bde28
RD
1756 return 1;
1757 }
1758 } else {
1759 PyErr_Clear();
1760 }
1761 if (val) {
093d3ff1 1762 SWIG_type_error(errmsg, obj);
c32bde28
RD
1763 }
1764 return 0;
994141e6 1765}
15afbcd0 1766#else
093d3ff1 1767SWIGINTERNSHORT unsigned int
c32bde28
RD
1768 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1769{
1770 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1771}
15afbcd0 1772#endif
994141e6
RD
1773
1774
093d3ff1 1775SWIGINTERNSHORT unsigned int
c32bde28 1776SWIG_As_unsigned_SS_int(PyObject* obj)
994141e6 1777{
c32bde28
RD
1778 unsigned int v;
1779 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1780 /*
093d3ff1 1781 this is needed to make valgrind/purify happier.
c32bde28
RD
1782 */
1783 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 1784 }
c32bde28
RD
1785 return v;
1786}
1787
1788
093d3ff1 1789SWIGINTERNSHORT int
c32bde28
RD
1790SWIG_Check_unsigned_SS_int(PyObject* obj)
1791{
1792 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
15afbcd0
RD
1793}
1794
1795
093d3ff1
RD
1796 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1797#define SWIG_From_long PyInt_FromLong
1798/*@@*/
1799
1800
1801SWIGINTERNSHORT PyObject*
c32bde28 1802 SWIG_From_unsigned_SS_long(unsigned long value)
15afbcd0
RD
1803{
1804 return (value > LONG_MAX) ?
1805 PyLong_FromUnsignedLong(value)
093d3ff1 1806 : PyInt_FromLong((long)(value));
994141e6
RD
1807}
1808
1809
15afbcd0 1810#if UINT_MAX < LONG_MAX
093d3ff1 1811/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1812#define SWIG_From_unsigned_SS_int SWIG_From_long
1813/*@@*/
15afbcd0 1814#else
093d3ff1 1815/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1816#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1817/*@@*/
15afbcd0 1818#endif
994141e6 1819
d14a1e28
RD
1820 // here's the C++ version
1821class wxPyHtmlFilter : public wxHtmlFilter {
1822 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
1823public:
1824 wxPyHtmlFilter() : wxHtmlFilter() {}
1825
e811c8ce 1826 // returns True if this filter is able to open&read given file
d14a1e28 1827 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 1828 bool rval = false;
d14a1e28 1829 bool found;
4f89f6a3 1830 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1831 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 1832 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1833 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1834 Py_DECREF(obj);
1835 }
4f89f6a3 1836 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1837 return rval;
1838 }
1839
1840
1841 // Reads given file and returns HTML document.
1842 // Returns empty string if opening failed
1843 virtual wxString ReadFile(const wxFSFile& file) const {
1844 wxString rval;
1845 bool found;
4f89f6a3 1846 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1847 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 1848 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1849 PyObject* ro;
1850 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
1851 Py_DECREF(obj);
1852 if (ro) {
1853 rval = Py2wxString(ro);
1854 Py_DECREF(ro);
1855 }
1856 }
4f89f6a3 1857 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1858 return rval;
1859 }
1860
1861 PYPRIVATE;
1862};
1863
1864IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
1865
1866
1867class wxPyHtmlWindow : public wxHtmlWindow {
1868 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
1869public:
1870 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
1871 const wxPoint& pos = wxDefaultPosition,
1872 const wxSize& size = wxDefaultSize,
1873 long style = wxHW_DEFAULT_STYLE,
1874 const wxString& name = wxPyHtmlWindowNameStr)
1875 : wxHtmlWindow(parent, id, pos, size, style, name) {};
1876 wxPyHtmlWindow() : wxHtmlWindow() {};
1877
1878 bool ScrollToAnchor(const wxString& anchor) {
1879 return wxHtmlWindow::ScrollToAnchor(anchor);
1880 }
1881
1882 bool HasAnchor(const wxString& anchor) {
1883 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
1884 return c!=NULL;
1885 }
1886
1887 void OnLinkClicked(const wxHtmlLinkInfo& link);
1888 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
1889
1890 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
1891 const wxString& url,
1892 wxString *redirect) const;
1893
1894 DEC_PYCALLBACK__STRING(OnSetTitle);
1895 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
1896 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
1897 PYPRIVATE;
1898};
1899
1900IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
1901IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
1902IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
1903IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
1904
1905
1906void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
1907 bool found;
4f89f6a3 1908 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1909 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
1910 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
1911 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1912 Py_DECREF(obj);
1913 }
4f89f6a3 1914 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1915 if (! found)
1916 wxHtmlWindow::OnLinkClicked(link);
1917}
1918void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
1919 wxHtmlWindow::OnLinkClicked(link);
1920}
1921
1922
1923wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
1924 const wxString& url,
1925 wxString *redirect) const {
1926 bool found;
1927 wxHtmlOpeningStatus rval;
4f89f6a3 1928 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1929 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
1930 PyObject* ro;
1931 PyObject* s = wx2PyString(url);
1932 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
1933 Py_DECREF(s);
1934 if (PyString_Check(ro)
1935#if PYTHON_API_VERSION >= 1009
1936 || PyUnicode_Check(ro)
1937#endif
1938 ) {
1939 *redirect = Py2wxString(ro);
1940 rval = wxHTML_REDIRECT;
1941 }
1942 else {
1943 PyObject* num = PyNumber_Int(ro);
1944 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
1945 Py_DECREF(num);
1946 }
1947 Py_DECREF(ro);
1948 }
4f89f6a3 1949 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1950 if (! found)
1951 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
1952 return rval;
1953}
1954
1955
1956
093d3ff1 1957static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1958 int* temp = NULL;
1959 if (sizes) temp = int_LIST_helper(sizes);
1960 self->SetFonts(normal_face, fixed_face, temp);
1961 if (temp)
1962 delete [] temp;
1963 }
093d3ff1 1964static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1965 int* temp = NULL;
1966 if (sizes) temp = int_LIST_helper(sizes);
1967 self->SetFonts(normal_face, fixed_face, temp);
1968 if (temp)
1969 delete [] temp;
1970 }
093d3ff1 1971static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1972 int* temp = NULL;
1973 if (sizes) temp = int_LIST_helper(sizes);
1974 self->SetFonts(normal_face, fixed_face, temp);
1975 if (temp)
1976 delete [] temp;
1977 }
994141e6 1978
15afbcd0 1979#include <float.h>
093d3ff1 1980SWIGINTERN int
c32bde28
RD
1981 SWIG_CheckDoubleInRange(double value, double min_value,
1982 double max_value, const char* errmsg)
15afbcd0 1983{
c32bde28
RD
1984 if (value < min_value) {
1985 if (errmsg) {
1986 PyErr_Format(PyExc_OverflowError,
1987 "value %g is less than %s minimum %g",
1988 value, errmsg, min_value);
15afbcd0 1989 }
c32bde28
RD
1990 return 0;
1991 } else if (value > max_value) {
1992 if (errmsg) {
1993 PyErr_Format(PyExc_OverflowError,
1994 "value %g is greater than %s maximum %g",
1995 value, errmsg, max_value);
1996 }
1997 return 0;
15afbcd0 1998 }
c32bde28 1999 return 1;
15afbcd0
RD
2000}
2001
2002
093d3ff1 2003SWIGINTERN int
c32bde28 2004SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 2005{
c32bde28
RD
2006 if (PyNumber_Check(obj)) {
2007 if (val) *val = PyFloat_AsDouble(obj);
2008 return 1;
2009 }
69223c70 2010 else {
093d3ff1 2011 SWIG_type_error("number", obj);
69223c70 2012 }
c32bde28
RD
2013 return 0;
2014}
2015
2016
093d3ff1 2017SWIGINTERN int
c32bde28
RD
2018 SWIG_AsVal_float(PyObject *obj, float *val)
2019{
093d3ff1 2020 const char* errmsg = val ? "float" : (char*)0;
c32bde28
RD
2021 double v;
2022 if (SWIG_AsVal_double(obj, &v)) {
2023 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
093d3ff1 2024 if (val) *val = (float)(v);
c32bde28
RD
2025 return 1;
2026 } else {
2027 return 0;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
093d3ff1 2033 SWIG_type_error(errmsg, obj);
c32bde28
RD
2034 }
2035 return 0;
994141e6
RD
2036}
2037
2038
093d3ff1 2039SWIGINTERNSHORT float
c32bde28 2040SWIG_As_float(PyObject* obj)
994141e6 2041{
c32bde28
RD
2042 float v;
2043 if (!SWIG_AsVal_float(obj, &v)) {
2044 /*
093d3ff1 2045 this is needed to make valgrind/purify happier.
c32bde28
RD
2046 */
2047 memset((void*)&v, 0, sizeof(float));
2048 }
2049 return v;
15afbcd0
RD
2050}
2051
c32bde28 2052
093d3ff1 2053SWIGINTERNSHORT int
c32bde28 2054SWIG_Check_float(PyObject* obj)
15afbcd0 2055{
c32bde28 2056 return SWIG_AsVal_float(obj, (float*)0);
994141e6
RD
2057}
2058
093d3ff1 2059static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2060 int* temp = NULL;
2061 if (sizes) temp = int_LIST_helper(sizes);
2062 self->SetFonts(normal_face, fixed_face, temp);
2063 if (temp)
2064 delete [] temp;
2065 }
093d3ff1
RD
2066static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
2067static int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
2068static wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
2069static wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
2070static wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
d14a1e28
RD
2071#ifdef __cplusplus
2072extern "C" {
2073#endif
c32bde28 2074static int _wrap_HtmlWindowNameStr_set(PyObject *) {
b2dc1044
RD
2075 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2076 return 1;
2077}
2078
2079
093d3ff1 2080static PyObject *_wrap_HtmlWindowNameStr_get(void) {
b2dc1044
RD
2081 PyObject *pyobj;
2082
2083 {
2084#if wxUSE_UNICODE
2085 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2086#else
2087 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2088#endif
2089 }
2090 return pyobj;
2091}
2092
2093
c32bde28 2094static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
b2dc1044
RD
2095 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2096 return 1;
2097}
2098
2099
093d3ff1 2100static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
b2dc1044
RD
2101 PyObject *pyobj;
2102
2103 {
2104#if wxUSE_UNICODE
2105 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2106#else
2107 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2108#endif
2109 }
2110 return pyobj;
2111}
2112
2113
c32bde28 2114static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
b2dc1044
RD
2115 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2116 return 1;
2117}
2118
2119
093d3ff1 2120static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
b2dc1044
RD
2121 PyObject *pyobj;
2122
2123 {
2124#if wxUSE_UNICODE
2125 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2126#else
2127 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2128#endif
2129 }
2130 return pyobj;
2131}
2132
2133
c32bde28 2134static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2135 PyObject *resultobj;
2136 wxString *arg1 = 0 ;
2137 wxString const &arg2_defvalue = wxPyEmptyString ;
2138 wxString *arg2 = (wxString *) &arg2_defvalue ;
2139 wxHtmlLinkInfo *result;
ae8162c8
RD
2140 bool temp1 = false ;
2141 bool temp2 = false ;
d14a1e28
RD
2142 PyObject * obj0 = 0 ;
2143 PyObject * obj1 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "href",(char *) "target", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2149 {
2150 arg1 = wxString_in_helper(obj0);
2151 if (arg1 == NULL) SWIG_fail;
ae8162c8 2152 temp1 = true;
d14a1e28
RD
2153 }
2154 if (obj1) {
2155 {
2156 arg2 = wxString_in_helper(obj1);
2157 if (arg2 == NULL) SWIG_fail;
ae8162c8 2158 temp2 = true;
d14a1e28
RD
2159 }
2160 }
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
15afbcd0 2168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2169 {
2170 if (temp1)
2171 delete arg1;
2172 }
2173 {
2174 if (temp2)
2175 delete arg2;
2176 }
2177 return resultobj;
2178 fail:
2179 {
2180 if (temp1)
2181 delete arg1;
2182 }
2183 {
2184 if (temp2)
2185 delete arg2;
2186 }
2187 return NULL;
2188}
2189
2190
c32bde28 2191static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2192 PyObject *resultobj;
2193 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2194 wxString result;
2195 PyObject * obj0 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "self", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
093d3ff1
RD
2201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2202 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 result = (arg1)->GetHref();
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 {
2211#if wxUSE_UNICODE
2212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2213#else
2214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2215#endif
2216 }
2217 return resultobj;
2218 fail:
2219 return NULL;
2220}
2221
2222
c32bde28 2223static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2224 PyObject *resultobj;
2225 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2226 wxString result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
2233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (arg1)->GetTarget();
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 {
2243#if wxUSE_UNICODE
2244 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2245#else
2246 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2247#endif
2248 }
2249 return resultobj;
2250 fail:
2251 return NULL;
2252}
2253
2254
c32bde28 2255static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2256 PyObject *resultobj;
2257 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2258 wxMouseEvent *result;
2259 PyObject * obj0 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
2265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2266 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 result = (wxMouseEvent *)(arg1)->GetEvent();
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 {
412d302d 2275 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2276 }
2277 return resultobj;
2278 fail:
2279 return NULL;
2280}
2281
2282
c32bde28 2283static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2284 PyObject *resultobj;
2285 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2286 wxHtmlCell *result;
2287 PyObject * obj0 = 0 ;
2288 char *kwnames[] = {
2289 (char *) "self", NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
2293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2294 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
15afbcd0 2302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2303 return resultobj;
2304 fail:
2305 return NULL;
2306}
2307
2308
c32bde28 2309static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2310 PyObject *resultobj;
2311 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2312 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2313 PyObject * obj0 = 0 ;
2314 PyObject * obj1 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self",(char *) "e", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2321 if (SWIG_arg_fail(1)) SWIG_fail;
2322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2323 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
2332 return resultobj;
2333 fail:
2334 return NULL;
2335}
2336
2337
c32bde28 2338static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2339 PyObject *resultobj;
2340 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2341 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2342 PyObject * obj0 = 0 ;
2343 PyObject * obj1 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self",(char *) "e", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2350 if (SWIG_arg_fail(1)) SWIG_fail;
2351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2352 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 Py_INCREF(Py_None); resultobj = Py_None;
2361 return resultobj;
2362 fail:
2363 return NULL;
2364}
2365
2366
c32bde28 2367static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2368 PyObject *obj;
2369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2370 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2371 Py_INCREF(obj);
2372 return Py_BuildValue((char *)"");
2373}
c32bde28 2374static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2375 PyObject *resultobj;
2376 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2377 wxString result;
2378 PyObject * obj0 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
2384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 result = (arg1)->GetName();
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 {
2394#if wxUSE_UNICODE
2395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2396#else
2397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2398#endif
2399 }
2400 return resultobj;
2401 fail:
2402 return NULL;
2403}
2404
2405
c32bde28 2406static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2407 PyObject *resultobj;
2408 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2409 wxString *arg2 = 0 ;
2410 bool result;
ae8162c8 2411 bool temp2 = false ;
d14a1e28
RD
2412 PyObject * obj0 = 0 ;
2413 PyObject * obj1 = 0 ;
2414 char *kwnames[] = {
2415 (char *) "self",(char *) "par", NULL
2416 };
2417
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2421 {
2422 arg2 = wxString_in_helper(obj1);
2423 if (arg2 == NULL) SWIG_fail;
ae8162c8 2424 temp2 = true;
d14a1e28
RD
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
4f89f6a3
RD
2433 {
2434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2435 }
d14a1e28
RD
2436 {
2437 if (temp2)
2438 delete arg2;
2439 }
2440 return resultobj;
2441 fail:
2442 {
2443 if (temp2)
2444 delete arg2;
2445 }
2446 return NULL;
2447}
2448
2449
c32bde28 2450static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2451 PyObject *resultobj;
2452 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2453 wxString *arg2 = 0 ;
ae8162c8 2454 int arg3 = (int) false ;
d14a1e28 2455 wxString result;
ae8162c8 2456 bool temp2 = false ;
d14a1e28
RD
2457 PyObject * obj0 = 0 ;
2458 PyObject * obj1 = 0 ;
994141e6 2459 PyObject * obj2 = 0 ;
d14a1e28
RD
2460 char *kwnames[] = {
2461 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2462 };
2463
994141e6 2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2467 {
2468 arg2 = wxString_in_helper(obj1);
2469 if (arg2 == NULL) SWIG_fail;
ae8162c8 2470 temp2 = true;
d14a1e28 2471 }
994141e6 2472 if (obj2) {
093d3ff1
RD
2473 {
2474 arg3 = (int)(SWIG_As_int(obj2));
2475 if (SWIG_arg_fail(3)) SWIG_fail;
2476 }
994141e6 2477 }
d14a1e28
RD
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 {
2486#if wxUSE_UNICODE
2487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2488#else
2489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2490#endif
2491 }
2492 {
2493 if (temp2)
2494 delete arg2;
2495 }
2496 return resultobj;
2497 fail:
2498 {
2499 if (temp2)
2500 delete arg2;
2501 }
2502 return NULL;
2503}
2504
2505
c32bde28 2506static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2507 PyObject *resultobj;
2508 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2509 wxString result;
2510 PyObject * obj0 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
093d3ff1
RD
2516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 result = (arg1)->GetAllParams();
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 {
2526#if wxUSE_UNICODE
2527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2528#else
2529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2530#endif
2531 }
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
c32bde28 2538static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2539 PyObject *resultobj;
2540 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2541 bool result;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
093d3ff1
RD
2548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2549 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 result = (bool)(arg1)->HasEnding();
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
4f89f6a3
RD
2557 {
2558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2559 }
d14a1e28
RD
2560 return resultobj;
2561 fail:
2562 return NULL;
2563}
2564
2565
c32bde28 2566static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2567 PyObject *resultobj;
2568 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2569 int result;
2570 PyObject * obj0 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
2576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2577 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (int)(arg1)->GetBeginPos();
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
093d3ff1
RD
2585 {
2586 resultobj = SWIG_From_int((int)(result));
2587 }
d14a1e28
RD
2588 return resultobj;
2589 fail:
2590 return NULL;
2591}
2592
2593
c32bde28 2594static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2595 PyObject *resultobj;
2596 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2597 int result;
2598 PyObject * obj0 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "self", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
093d3ff1
RD
2604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2606 {
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = (int)(arg1)->GetEndPos1();
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
093d3ff1
RD
2613 {
2614 resultobj = SWIG_From_int((int)(result));
2615 }
d14a1e28
RD
2616 return resultobj;
2617 fail:
2618 return NULL;
2619}
2620
2621
c32bde28 2622static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2623 PyObject *resultobj;
2624 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2625 int result;
2626 PyObject * obj0 = 0 ;
2627 char *kwnames[] = {
2628 (char *) "self", NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
093d3ff1
RD
2632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2633 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 result = (int)(arg1)->GetEndPos2();
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
093d3ff1
RD
2641 {
2642 resultobj = SWIG_From_int((int)(result));
2643 }
d14a1e28
RD
2644 return resultobj;
2645 fail:
2646 return NULL;
2647}
2648
2649
c32bde28 2650static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2651 PyObject *obj;
2652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2653 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2654 Py_INCREF(obj);
2655 return Py_BuildValue((char *)"");
2656}
c32bde28 2657static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2658 PyObject *resultobj;
2659 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2660 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "fs", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2669 if (SWIG_arg_fail(1)) SWIG_fail;
2670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2671 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->SetFS(arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683}
2684
2685
c32bde28 2686static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2687 PyObject *resultobj;
2688 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2689 wxFileSystem *result;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
093d3ff1
RD
2696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2697 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 result = (wxFileSystem *)(arg1)->GetFS();
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 {
412d302d 2706 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2707 }
2708 return resultobj;
2709 fail:
2710 return NULL;
2711}
2712
2713
c32bde28 2714static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2715 PyObject *resultobj;
2716 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2717 wxString *arg2 = 0 ;
2718 wxObject *result;
ae8162c8 2719 bool temp2 = false ;
d14a1e28
RD
2720 PyObject * obj0 = 0 ;
2721 PyObject * obj1 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self",(char *) "source", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2729 {
2730 arg2 = wxString_in_helper(obj1);
2731 if (arg2 == NULL) SWIG_fail;
ae8162c8 2732 temp2 = true;
d14a1e28
RD
2733 }
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 {
412d302d 2742 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2743 }
2744 {
2745 if (temp2)
2746 delete arg2;
2747 }
2748 return resultobj;
2749 fail:
2750 {
2751 if (temp2)
2752 delete arg2;
2753 }
2754 return NULL;
2755}
2756
2757
c32bde28 2758static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2759 PyObject *resultobj;
2760 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2761 wxString *arg2 = 0 ;
ae8162c8 2762 bool temp2 = false ;
d14a1e28
RD
2763 PyObject * obj0 = 0 ;
2764 PyObject * obj1 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self",(char *) "source", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2771 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2772 {
2773 arg2 = wxString_in_helper(obj1);
2774 if (arg2 == NULL) SWIG_fail;
ae8162c8 2775 temp2 = true;
d14a1e28
RD
2776 }
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 (arg1)->InitParser((wxString const &)*arg2);
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 Py_INCREF(Py_None); resultobj = Py_None;
2785 {
2786 if (temp2)
2787 delete arg2;
2788 }
2789 return resultobj;
2790 fail:
2791 {
2792 if (temp2)
2793 delete arg2;
2794 }
2795 return NULL;
2796}
2797
2798
c32bde28 2799static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2800 PyObject *resultobj;
2801 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2802 PyObject * obj0 = 0 ;
2803 char *kwnames[] = {
2804 (char *) "self", NULL
2805 };
2806
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
2808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 (arg1)->DoneParser();
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821}
2822
2823
c32bde28 2824static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2825 PyObject *resultobj;
2826 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2827 int arg2 ;
2828 int arg3 ;
2829 PyObject * obj0 = 0 ;
994141e6
RD
2830 PyObject * obj1 = 0 ;
2831 PyObject * obj2 = 0 ;
d14a1e28
RD
2832 char *kwnames[] = {
2833 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2834 };
2835
994141e6 2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2838 if (SWIG_arg_fail(1)) SWIG_fail;
2839 {
2840 arg2 = (int)(SWIG_As_int(obj1));
2841 if (SWIG_arg_fail(2)) SWIG_fail;
2842 }
2843 {
2844 arg3 = (int)(SWIG_As_int(obj2));
2845 if (SWIG_arg_fail(3)) SWIG_fail;
2846 }
d14a1e28
RD
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 (arg1)->DoParsing(arg2,arg3);
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 Py_INCREF(Py_None); resultobj = Py_None;
2855 return resultobj;
2856 fail:
2857 return NULL;
2858}
2859
2860
c32bde28 2861static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2862 PyObject *resultobj;
2863 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2864 PyObject * obj0 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
093d3ff1
RD
2870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2871 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2872 {
2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
2874 (arg1)->StopParsing();
2875
2876 wxPyEndAllowThreads(__tstate);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 Py_INCREF(Py_None); resultobj = Py_None;
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
c32bde28 2886static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2887 PyObject *resultobj;
2888 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2889 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2890 PyObject * obj0 = 0 ;
2891 PyObject * obj1 = 0 ;
2892 char *kwnames[] = {
2893 (char *) "self",(char *) "handler", NULL
2894 };
2895
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2898 if (SWIG_arg_fail(1)) SWIG_fail;
2899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2900 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 (arg1)->AddTagHandler(arg2);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 Py_INCREF(Py_None); resultobj = Py_None;
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
c32bde28 2915static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2916 PyObject *resultobj;
2917 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2918 wxString *result;
2919 PyObject * obj0 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
2925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2926 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 result = (wxString *)(arg1)->GetSource();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 {
2935#if wxUSE_UNICODE
2936 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
2937#else
2938 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
2939#endif
2940 }
2941 return resultobj;
2942 fail:
2943 return NULL;
2944}
2945
2946
c32bde28 2947static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2948 PyObject *resultobj;
2949 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2950 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2951 wxString arg3 ;
d14a1e28
RD
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 PyObject * obj2 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "handler",(char *) "tags", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2961 if (SWIG_arg_fail(1)) SWIG_fail;
2962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2963 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
2964 {
2965 wxString* sptr = wxString_in_helper(obj2);
2966 if (sptr == NULL) SWIG_fail;
2967 arg3 = *sptr;
2968 delete sptr;
2969 }
d14a1e28
RD
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 (arg1)->PushTagHandler(arg2,arg3);
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981}
2982
2983
c32bde28 2984static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2985 PyObject *resultobj;
2986 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2987 PyObject * obj0 = 0 ;
2988 char *kwnames[] = {
2989 (char *) "self", NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
2993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->PopTagHandler();
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
c32bde28 3009static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3010 PyObject *obj;
3011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3012 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3013 Py_INCREF(obj);
3014 return Py_BuildValue((char *)"");
3015}
c32bde28 3016static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3017 PyObject *resultobj;
3018 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3019 wxHtmlWinParser *result;
3020 PyObject * obj0 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "wnd", NULL
3023 };
3024
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3026 if (obj0) {
093d3ff1
RD
3027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
15afbcd0 3037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3038 return resultobj;
3039 fail:
3040 return NULL;
3041}
3042
3043
c32bde28 3044static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3045 PyObject *resultobj;
3046 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3047 wxDC *arg2 = (wxDC *) 0 ;
3048 PyObject * obj0 = 0 ;
3049 PyObject * obj1 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self",(char *) "dc", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3056 if (SWIG_arg_fail(1)) SWIG_fail;
3057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 (arg1)->SetDC(arg2);
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 Py_INCREF(Py_None); resultobj = Py_None;
3067 return resultobj;
3068 fail:
3069 return NULL;
3070}
3071
3072
c32bde28 3073static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3074 PyObject *resultobj;
3075 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3076 wxDC *result;
3077 PyObject * obj0 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
3083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = (wxDC *)(arg1)->GetDC();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
412d302d 3093 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3094 }
3095 return resultobj;
3096 fail:
3097 return NULL;
3098}
3099
3100
c32bde28 3101static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3102 PyObject *resultobj;
3103 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3104 int result;
3105 PyObject * obj0 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
3111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3112 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 result = (int)(arg1)->GetCharHeight();
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
093d3ff1
RD
3120 {
3121 resultobj = SWIG_From_int((int)(result));
3122 }
d14a1e28
RD
3123 return resultobj;
3124 fail:
3125 return NULL;
3126}
3127
3128
c32bde28 3129static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3130 PyObject *resultobj;
3131 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3132 int result;
3133 PyObject * obj0 = 0 ;
3134 char *kwnames[] = {
3135 (char *) "self", NULL
3136 };
3137
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3140 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = (int)(arg1)->GetCharWidth();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
093d3ff1
RD
3148 {
3149 resultobj = SWIG_From_int((int)(result));
3150 }
d14a1e28
RD
3151 return resultobj;
3152 fail:
3153 return NULL;
3154}
3155
3156
c32bde28 3157static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3158 PyObject *resultobj;
3159 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3160 wxPyHtmlWindow *result;
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
412d302d 3177 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3178 }
3179 return resultobj;
3180 fail:
3181 return NULL;
3182}
3183
3184
c32bde28 3185static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3186 PyObject *resultobj;
3187 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3188 wxString arg2 ;
3189 wxString arg3 ;
3190 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3191 PyObject * obj0 = 0 ;
3192 PyObject * obj1 = 0 ;
3193 PyObject * obj2 = 0 ;
3194 PyObject * obj3 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
3202 {
3203 wxString* sptr = wxString_in_helper(obj1);
3204 if (sptr == NULL) SWIG_fail;
3205 arg2 = *sptr;
3206 delete sptr;
3207 }
3208 {
3209 wxString* sptr = wxString_in_helper(obj2);
3210 if (sptr == NULL) SWIG_fail;
3211 arg3 = *sptr;
3212 delete sptr;
3213 }
d14a1e28
RD
3214 if (obj3) {
3215 arg4 = obj3;
3216 }
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 Py_INCREF(Py_None); resultobj = Py_None;
3225 return resultobj;
3226 fail:
3227 return NULL;
3228}
3229
3230
ae8162c8 3231static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
3232 PyObject *resultobj;
3233 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3234 int arg2 = (int) -1 ;
ae8162c8
RD
3235 wxString const &arg3_defvalue = wxPyEmptyString ;
3236 wxString *arg3 = (wxString *) &arg3_defvalue ;
3237 wxString const &arg4_defvalue = wxPyEmptyString ;
3238 wxString *arg4 = (wxString *) &arg4_defvalue ;
3239 bool temp3 = false ;
3240 bool temp4 = false ;
30ee79f7
RD
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
ae8162c8
RD
3243 PyObject * obj2 = 0 ;
3244 PyObject * obj3 = 0 ;
30ee79f7 3245 char *kwnames[] = {
ae8162c8 3246 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3247 };
3248
ae8162c8 3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3252 if (obj1) {
093d3ff1
RD
3253 {
3254 arg2 = (int)(SWIG_As_int(obj1));
3255 if (SWIG_arg_fail(2)) SWIG_fail;
3256 }
30ee79f7 3257 }
ae8162c8
RD
3258 if (obj2) {
3259 {
3260 arg3 = wxString_in_helper(obj2);
3261 if (arg3 == NULL) SWIG_fail;
3262 temp3 = true;
3263 }
3264 }
3265 if (obj3) {
3266 {
3267 arg4 = wxString_in_helper(obj3);
3268 if (arg4 == NULL) SWIG_fail;
3269 temp4 = true;
3270 }
3271 }
30ee79f7
RD
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 3274 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
3280 {
3281 if (temp3)
3282 delete arg3;
3283 }
3284 {
3285 if (temp4)
3286 delete arg4;
3287 }
30ee79f7
RD
3288 return resultobj;
3289 fail:
ae8162c8
RD
3290 {
3291 if (temp3)
3292 delete arg3;
3293 }
3294 {
3295 if (temp4)
3296 delete arg4;
3297 }
30ee79f7
RD
3298 return NULL;
3299}
3300
3301
c32bde28 3302static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3303 PyObject *resultobj;
3304 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3305 wxHtmlContainerCell *result;
3306 PyObject * obj0 = 0 ;
3307 char *kwnames[] = {
3308 (char *) "self", NULL
3309 };
3310
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
3316 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
15afbcd0 3321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3322 return resultobj;
3323 fail:
3324 return NULL;
3325}
3326
3327
c32bde28 3328static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3329 PyObject *resultobj;
3330 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3331 wxHtmlContainerCell *result;
3332 PyObject * obj0 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
15afbcd0 3347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3348 return resultobj;
3349 fail:
3350 return NULL;
3351}
3352
3353
c32bde28 3354static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3355 PyObject *resultobj;
3356 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3357 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3358 wxHtmlContainerCell *result;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "c", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail;
3368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3369 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3370 {
3371 PyThreadState* __tstate = wxPyBeginAllowThreads();
3372 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3373
3374 wxPyEndAllowThreads(__tstate);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 }
15afbcd0 3377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3378 return resultobj;
3379 fail:
3380 return NULL;
3381}
3382
3383
c32bde28 3384static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3385 PyObject *resultobj;
3386 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3387 wxHtmlContainerCell *result;
3388 PyObject * obj0 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
15afbcd0 3403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3404 return resultobj;
3405 fail:
3406 return NULL;
3407}
3408
3409
c32bde28 3410static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3411 PyObject *resultobj;
3412 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3413 int result;
3414 PyObject * obj0 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
3420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (int)(arg1)->GetFontSize();
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
093d3ff1
RD
3429 {
3430 resultobj = SWIG_From_int((int)(result));
3431 }
d14a1e28
RD
3432 return resultobj;
3433 fail:
3434 return NULL;
3435}
3436
3437
c32bde28 3438static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3439 PyObject *resultobj;
3440 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3441 int arg2 ;
3442 PyObject * obj0 = 0 ;
994141e6 3443 PyObject * obj1 = 0 ;
d14a1e28
RD
3444 char *kwnames[] = {
3445 (char *) "self",(char *) "s", NULL
3446 };
3447
994141e6 3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3450 if (SWIG_arg_fail(1)) SWIG_fail;
3451 {
3452 arg2 = (int)(SWIG_As_int(obj1));
3453 if (SWIG_arg_fail(2)) SWIG_fail;
3454 }
d14a1e28
RD
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->SetFontSize(arg2);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466}
3467
3468
c32bde28 3469static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3470 PyObject *resultobj;
3471 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3472 int result;
3473 PyObject * obj0 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
093d3ff1
RD
3479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3480 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = (int)(arg1)->GetFontBold();
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
093d3ff1
RD
3488 {
3489 resultobj = SWIG_From_int((int)(result));
3490 }
d14a1e28
RD
3491 return resultobj;
3492 fail:
3493 return NULL;
3494}
3495
3496
c32bde28 3497static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3498 PyObject *resultobj;
3499 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3500 int arg2 ;
3501 PyObject * obj0 = 0 ;
994141e6 3502 PyObject * obj1 = 0 ;
d14a1e28
RD
3503 char *kwnames[] = {
3504 (char *) "self",(char *) "x", NULL
3505 };
3506
994141e6 3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail;
3510 {
3511 arg2 = (int)(SWIG_As_int(obj1));
3512 if (SWIG_arg_fail(2)) SWIG_fail;
3513 }
d14a1e28
RD
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SetFontBold(arg2);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 return resultobj;
3523 fail:
3524 return NULL;
3525}
3526
3527
c32bde28 3528static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3529 PyObject *resultobj;
3530 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3531 int result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
093d3ff1
RD
3538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (int)(arg1)->GetFontItalic();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
093d3ff1
RD
3547 {
3548 resultobj = SWIG_From_int((int)(result));
3549 }
d14a1e28
RD
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
c32bde28 3556static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3557 PyObject *resultobj;
3558 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3559 int arg2 ;
3560 PyObject * obj0 = 0 ;
994141e6 3561 PyObject * obj1 = 0 ;
d14a1e28
RD
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "x", NULL
3564 };
3565
994141e6 3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 arg2 = (int)(SWIG_As_int(obj1));
3571 if (SWIG_arg_fail(2)) SWIG_fail;
3572 }
d14a1e28
RD
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->SetFontItalic(arg2);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
c32bde28 3587static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3588 PyObject *resultobj;
3589 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3590 int result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
093d3ff1
RD
3597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (int)(arg1)->GetFontUnderlined();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
093d3ff1
RD
3606 {
3607 resultobj = SWIG_From_int((int)(result));
3608 }
d14a1e28
RD
3609 return resultobj;
3610 fail:
3611 return NULL;
3612}
3613
3614
c32bde28 3615static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3616 PyObject *resultobj;
3617 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3618 int arg2 ;
3619 PyObject * obj0 = 0 ;
994141e6 3620 PyObject * obj1 = 0 ;
d14a1e28
RD
3621 char *kwnames[] = {
3622 (char *) "self",(char *) "x", NULL
3623 };
3624
994141e6 3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
3628 {
3629 arg2 = (int)(SWIG_As_int(obj1));
3630 if (SWIG_arg_fail(2)) SWIG_fail;
3631 }
d14a1e28
RD
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 (arg1)->SetFontUnderlined(arg2);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643}
3644
3645
c32bde28 3646static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3647 PyObject *resultobj;
3648 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3649 int result;
3650 PyObject * obj0 = 0 ;
3651 char *kwnames[] = {
3652 (char *) "self", NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
093d3ff1
RD
3656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (int)(arg1)->GetFontFixed();
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
093d3ff1
RD
3665 {
3666 resultobj = SWIG_From_int((int)(result));
3667 }
d14a1e28
RD
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
c32bde28 3674static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3675 PyObject *resultobj;
3676 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3677 int arg2 ;
3678 PyObject * obj0 = 0 ;
994141e6 3679 PyObject * obj1 = 0 ;
d14a1e28
RD
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "x", NULL
3682 };
3683
994141e6 3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail;
3687 {
3688 arg2 = (int)(SWIG_As_int(obj1));
3689 if (SWIG_arg_fail(2)) SWIG_fail;
3690 }
d14a1e28
RD
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 (arg1)->SetFontFixed(arg2);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 Py_INCREF(Py_None); resultobj = Py_None;
3699 return resultobj;
3700 fail:
3701 return NULL;
3702}
3703
3704
c32bde28 3705static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3706 PyObject *resultobj;
3707 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3708 int result;
3709 PyObject * obj0 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
3715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3716 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (int)(arg1)->GetAlign();
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
093d3ff1
RD
3724 {
3725 resultobj = SWIG_From_int((int)(result));
3726 }
d14a1e28
RD
3727 return resultobj;
3728 fail:
3729 return NULL;
3730}
3731
3732
c32bde28 3733static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3734 PyObject *resultobj;
3735 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3736 int arg2 ;
3737 PyObject * obj0 = 0 ;
994141e6 3738 PyObject * obj1 = 0 ;
d14a1e28
RD
3739 char *kwnames[] = {
3740 (char *) "self",(char *) "a", NULL
3741 };
3742
994141e6 3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3745 if (SWIG_arg_fail(1)) SWIG_fail;
3746 {
3747 arg2 = (int)(SWIG_As_int(obj1));
3748 if (SWIG_arg_fail(2)) SWIG_fail;
3749 }
d14a1e28
RD
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 (arg1)->SetAlign(arg2);
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 Py_INCREF(Py_None); resultobj = Py_None;
3758 return resultobj;
3759 fail:
3760 return NULL;
3761}
3762
3763
c32bde28 3764static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3765 PyObject *resultobj;
3766 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3767 wxColour result;
3768 PyObject * obj0 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 result = (arg1)->GetLinkColor();
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 {
3784 wxColour * resultptr;
093d3ff1 3785 resultptr = new wxColour((wxColour &)(result));
15afbcd0 3786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3787 }
3788 return resultobj;
3789 fail:
3790 return NULL;
3791}
3792
3793
c32bde28 3794static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3795 PyObject *resultobj;
3796 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3797 wxColour *arg2 = 0 ;
3798 wxColour temp2 ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self",(char *) "clr", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3808 {
3809 arg2 = &temp2;
3810 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3811 }
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 (arg1)->SetLinkColor((wxColour const &)*arg2);
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 Py_INCREF(Py_None); resultobj = Py_None;
3820 return resultobj;
3821 fail:
3822 return NULL;
3823}
3824
3825
c32bde28 3826static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3827 PyObject *resultobj;
3828 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3829 wxColour result;
3830 PyObject * obj0 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (arg1)->GetActualColor();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 wxColour * resultptr;
093d3ff1 3847 resultptr = new wxColour((wxColour &)(result));
15afbcd0 3848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3849 }
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
c32bde28 3856static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3857 PyObject *resultobj;
3858 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3859 wxColour *arg2 = 0 ;
3860 wxColour temp2 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "clr", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3870 {
3871 arg2 = &temp2;
3872 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3873 }
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->SetActualColor((wxColour const &)*arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 return resultobj;
3883 fail:
3884 return NULL;
3885}
3886
3887
c32bde28 3888static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3889 PyObject *resultobj;
3890 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3891 wxString *arg2 = 0 ;
ae8162c8 3892 bool temp2 = false ;
d14a1e28
RD
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self",(char *) "link", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3902 {
3903 arg2 = wxString_in_helper(obj1);
3904 if (arg2 == NULL) SWIG_fail;
ae8162c8 3905 temp2 = true;
d14a1e28
RD
3906 }
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 (arg1)->SetLink((wxString const &)*arg2);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 {
3916 if (temp2)
3917 delete arg2;
3918 }
3919 return resultobj;
3920 fail:
3921 {
3922 if (temp2)
3923 delete arg2;
3924 }
3925 return NULL;
3926}
3927
3928
c32bde28 3929static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3930 PyObject *resultobj;
3931 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3932 wxFont *result;
3933 PyObject * obj0 = 0 ;
3934 char *kwnames[] = {
3935 (char *) "self", NULL
3936 };
3937
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
3939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (wxFont *)(arg1)->CreateCurrentFont();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
15afbcd0 3948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
3949 return resultobj;
3950 fail:
3951 return NULL;
3952}
3953
3954
c32bde28 3955static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3956 PyObject *resultobj;
3957 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
093d3ff1 3958 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
3965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (arg1)->GetLink();
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 {
3975 wxHtmlLinkInfo * resultptr;
093d3ff1 3976 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result));
15afbcd0 3977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
3978 }
3979 return resultobj;
3980 fail:
3981 return NULL;
3982}
3983
3984
c32bde28 3985static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3986 PyObject *obj;
3987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3988 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
3989 Py_INCREF(obj);
3990 return Py_BuildValue((char *)"");
3991}
c32bde28 3992static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3993 PyObject *resultobj;
3994 wxPyHtmlTagHandler *result;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
15afbcd0 4007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4008 return resultobj;
4009 fail:
4010 return NULL;
4011}
4012
4013
c32bde28 4014static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4015 PyObject *resultobj;
4016 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4017 PyObject *arg2 = (PyObject *) 0 ;
4018 PyObject *arg3 = (PyObject *) 0 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 PyObject * obj2 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self",(char *) "self",(char *) "_class", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4029 arg2 = obj1;
4030 arg3 = obj2;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->_setCallbackInfo(arg2,arg3);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042}
4043
4044
c32bde28 4045static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4046 PyObject *resultobj;
4047 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4048 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "parser", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
4058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4059 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 (arg1)->SetParser(arg2);
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 Py_INCREF(Py_None); resultobj = Py_None;
4068 return resultobj;
4069 fail:
4070 return NULL;
4071}
4072
4073
c32bde28 4074static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4075 PyObject *resultobj;
4076 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4077 wxHtmlParser *result;
4078 PyObject * obj0 = 0 ;
4079 char *kwnames[] = {
4080 (char *) "self", NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4085 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (wxHtmlParser *)(arg1)->GetParser();
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
15afbcd0 4093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4094 return resultobj;
4095 fail:
4096 return NULL;
4097}
4098
4099
c32bde28 4100static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4101 PyObject *resultobj;
4102 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4103 wxHtmlTag *arg2 = 0 ;
4104 PyObject * obj0 = 0 ;
4105 PyObject * obj1 = 0 ;
4106 char *kwnames[] = {
4107 (char *) "self",(char *) "tag", NULL
4108 };
4109
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4112 if (SWIG_arg_fail(1)) SWIG_fail;
4113 {
4114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4115 if (SWIG_arg_fail(2)) SWIG_fail;
4116 if (arg2 == NULL) {
4117 SWIG_null_ref("wxHtmlTag");
4118 }
4119 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4120 }
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132}
4133
4134
c32bde28 4135static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4136 PyObject *obj;
4137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4138 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4139 Py_INCREF(obj);
4140 return Py_BuildValue((char *)"");
4141}
c32bde28 4142static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4143 PyObject *resultobj;
4144 wxPyHtmlWinTagHandler *result;
4145 char *kwnames[] = {
4146 NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
15afbcd0 4157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4158 return resultobj;
4159 fail:
4160 return NULL;
4161}
4162
4163
c32bde28 4164static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4165 PyObject *resultobj;
4166 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4167 PyObject *arg2 = (PyObject *) 0 ;
4168 PyObject *arg3 = (PyObject *) 0 ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self",(char *) "self",(char *) "_class", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4179 arg2 = obj1;
4180 arg3 = obj2;
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 (arg1)->_setCallbackInfo(arg2,arg3);
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 Py_INCREF(Py_None); resultobj = Py_None;
4189 return resultobj;
4190 fail:
4191 return NULL;
4192}
4193
4194
c32bde28 4195static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4196 PyObject *resultobj;
4197 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4198 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "self",(char *) "parser", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4207 if (SWIG_arg_fail(1)) SWIG_fail;
4208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4209 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 (arg1)->SetParser(arg2);
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 Py_INCREF(Py_None); resultobj = Py_None;
4218 return resultobj;
4219 fail:
4220 return NULL;
4221}
4222
4223
c32bde28 4224static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4225 PyObject *resultobj;
4226 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4227 wxHtmlWinParser *result;
4228 PyObject * obj0 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 result = (wxHtmlWinParser *)(arg1)->GetParser();
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
15afbcd0 4243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4244 return resultobj;
4245 fail:
4246 return NULL;
4247}
4248
4249
c32bde28 4250static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4251 PyObject *resultobj;
4252 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4253 wxHtmlTag *arg2 = 0 ;
4254 PyObject * obj0 = 0 ;
4255 PyObject * obj1 = 0 ;
4256 char *kwnames[] = {
4257 (char *) "self",(char *) "tag", NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4262 if (SWIG_arg_fail(1)) SWIG_fail;
4263 {
4264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4265 if (SWIG_arg_fail(2)) SWIG_fail;
4266 if (arg2 == NULL) {
4267 SWIG_null_ref("wxHtmlTag");
4268 }
4269 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4270 }
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 Py_INCREF(Py_None); resultobj = Py_None;
4279 return resultobj;
4280 fail:
4281 return NULL;
4282}
4283
4284
c32bde28 4285static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4286 PyObject *obj;
4287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4288 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4289 Py_INCREF(obj);
4290 return Py_BuildValue((char *)"");
4291}
c32bde28 4292static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4293 PyObject *resultobj;
4294 PyObject *arg1 = (PyObject *) 0 ;
4295 PyObject * obj0 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "tagHandlerClass", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4301 arg1 = obj0;
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 wxHtmlWinParser_AddTagHandler(arg1);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 Py_INCREF(Py_None); resultobj = Py_None;
4310 return resultobj;
4311 fail:
4312 return NULL;
4313}
4314
4315
c32bde28 4316static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4317 PyObject *resultobj;
4318 wxHtmlSelection *result;
4319 char *kwnames[] = {
4320 NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 result = (wxHtmlSelection *)new wxHtmlSelection();
4327
4328 wxPyEndAllowThreads(__tstate);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
15afbcd0 4331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4332 return resultobj;
4333 fail:
4334 return NULL;
4335}
4336
4337
c32bde28 4338static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4339 PyObject *resultobj;
4340 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
4347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 delete arg1;
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 Py_INCREF(Py_None); resultobj = Py_None;
4357 return resultobj;
4358 fail:
4359 return NULL;
4360}
4361
4362
c32bde28 4363static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4364 PyObject *resultobj;
4365 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4366 wxPoint *arg2 = 0 ;
4367 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4368 wxPoint *arg4 = 0 ;
4369 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4370 wxPoint temp2 ;
4371 wxPoint temp4 ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
4382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4384 {
4385 arg2 = &temp2;
4386 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4387 }
093d3ff1
RD
4388 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4389 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4390 {
4391 arg4 = &temp4;
4392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4393 }
093d3ff1
RD
4394 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4395 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 Py_INCREF(Py_None); resultobj = Py_None;
4404 return resultobj;
4405 fail:
4406 return NULL;
4407}
4408
4409
c32bde28 4410static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4411 PyObject *resultobj;
4412 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4413 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4414 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4415 PyObject * obj0 = 0 ;
4416 PyObject * obj1 = 0 ;
4417 PyObject * obj2 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail;
4425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4426 if (SWIG_arg_fail(2)) SWIG_fail;
4427 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4428 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 Py_INCREF(Py_None); resultobj = Py_None;
4437 return resultobj;
4438 fail:
4439 return NULL;
4440}
4441
4442
c32bde28 4443static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4444 PyObject *resultobj;
4445 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4446 wxHtmlCell *result;
4447 PyObject * obj0 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "self", NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
15afbcd0 4462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4463 return resultobj;
4464 fail:
4465 return NULL;
4466}
4467
4468
c32bde28 4469static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4470 PyObject *resultobj;
4471 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4472 wxHtmlCell *result;
4473 PyObject * obj0 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
15afbcd0 4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4489 return resultobj;
4490 fail:
4491 return NULL;
4492}
4493
4494
c32bde28 4495static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4496 PyObject *resultobj;
4497 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4498 wxPoint *result;
4499 PyObject * obj0 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 {
4510 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4511 result = (wxPoint *) &_result_ref;
4512 }
4513
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
15afbcd0 4517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4518 return resultobj;
4519 fail:
4520 return NULL;
4521}
4522
4523
c32bde28 4524static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4525 PyObject *resultobj;
4526 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4527 wxPoint *result;
4528 PyObject * obj0 = 0 ;
4529 char *kwnames[] = {
4530 (char *) "self", NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4535 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 {
4539 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4540 result = (wxPoint *) &_result_ref;
4541 }
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
15afbcd0 4546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
c32bde28 4553static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4554 PyObject *resultobj;
4555 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4556 wxPoint *result;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 {
4568 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4569 result = (wxPoint *) &_result_ref;
4570 }
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
15afbcd0 4575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4576 return resultobj;
4577 fail:
4578 return NULL;
4579}
4580
4581
c32bde28 4582static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4583 PyObject *resultobj;
4584 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4585 wxPoint *result;
4586 PyObject * obj0 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 {
4597 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4598 result = (wxPoint *) &_result_ref;
4599 }
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
15afbcd0 4604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4605 return resultobj;
4606 fail:
4607 return NULL;
4608}
4609
4610
c32bde28 4611static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4612 PyObject *resultobj;
4613 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4614 wxPoint *arg2 = 0 ;
4615 wxPoint temp2 ;
4616 PyObject * obj0 = 0 ;
4617 PyObject * obj1 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self",(char *) "pos", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4625 {
4626 arg2 = &temp2;
4627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4628 }
4629 {
4630 PyThreadState* __tstate = wxPyBeginAllowThreads();
4631 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4632
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 Py_INCREF(Py_None); resultobj = Py_None;
4637 return resultobj;
4638 fail:
4639 return NULL;
4640}
4641
4642
c32bde28 4643static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4644 PyObject *resultobj;
4645 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4646 wxPoint *arg2 = 0 ;
4647 wxPoint temp2 ;
4648 PyObject * obj0 = 0 ;
4649 PyObject * obj1 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self",(char *) "pos", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4657 {
4658 arg2 = &temp2;
4659 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 Py_INCREF(Py_None); resultobj = Py_None;
4669 return resultobj;
4670 fail:
4671 return NULL;
4672}
4673
4674
c32bde28 4675static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4676 PyObject *resultobj;
4677 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4678 PyObject * obj0 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4685 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 (arg1)->ClearPrivPos();
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 Py_INCREF(Py_None); resultobj = Py_None;
4694 return resultobj;
4695 fail:
4696 return NULL;
4697}
4698
4699
c32bde28 4700static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4701 PyObject *resultobj;
4702 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4703 bool result;
4704 PyObject * obj0 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "self", NULL
4707 };
4708
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
093d3ff1
RD
4710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4f89f6a3 4719 {
093d3ff1 4720 resultobj = SWIG_From_bool((bool)(result));
4f89f6a3 4721 }
d14a1e28
RD
4722 return resultobj;
4723 fail:
4724 return NULL;
4725}
4726
4727
c32bde28 4728static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4729 PyObject *obj;
4730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4731 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4732 Py_INCREF(obj);
4733 return Py_BuildValue((char *)"");
4734}
c32bde28 4735static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4736 PyObject *resultobj;
4737 wxHtmlRenderingState *result;
4738 char *kwnames[] = {
4739 NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
15afbcd0 4750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
4751 return resultobj;
4752 fail:
4753 return NULL;
4754}
4755
4756
c32bde28 4757static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4758 PyObject *resultobj;
4759 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 delete arg1;
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 Py_INCREF(Py_None); resultobj = Py_None;
4776 return resultobj;
4777 fail:
4778 return NULL;
4779}
4780
4781
c32bde28 4782static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4783 PyObject *resultobj;
4784 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4785 wxHtmlSelectionState arg2 ;
d14a1e28 4786 PyObject * obj0 = 0 ;
994141e6 4787 PyObject * obj1 = 0 ;
d14a1e28
RD
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "s", NULL
4790 };
4791
994141e6 4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail;
4795 {
4796 arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1));
4797 if (SWIG_arg_fail(2)) SWIG_fail;
4798 }
d14a1e28
RD
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 Py_INCREF(Py_None); resultobj = Py_None;
4807 return resultobj;
4808 fail:
4809 return NULL;
4810}
4811
4812
c32bde28 4813static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4814 PyObject *resultobj;
4815 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4816 wxHtmlSelectionState result;
d14a1e28
RD
4817 PyObject * obj0 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4824 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4827 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
093d3ff1 4832 resultobj = SWIG_From_int((result));
d14a1e28
RD
4833 return resultobj;
4834 fail:
4835 return NULL;
4836}
4837
4838
c32bde28 4839static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4840 PyObject *resultobj;
4841 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4842 wxColour *arg2 = 0 ;
4843 wxColour temp2 ;
4844 PyObject * obj0 = 0 ;
4845 PyObject * obj1 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self",(char *) "c", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4853 {
4854 arg2 = &temp2;
4855 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4856 }
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 (arg1)->SetFgColour((wxColour const &)*arg2);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 Py_INCREF(Py_None); resultobj = Py_None;
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
c32bde28 4871static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4872 PyObject *resultobj;
4873 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4874 wxColour *result;
4875 PyObject * obj0 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 {
4886 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
4887 result = (wxColour *) &_result_ref;
4888 }
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
15afbcd0 4893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
c32bde28 4900static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4901 PyObject *resultobj;
4902 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4903 wxColour *arg2 = 0 ;
4904 wxColour temp2 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "c", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4914 {
4915 arg2 = &temp2;
4916 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4917 }
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 (arg1)->SetBgColour((wxColour const &)*arg2);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 Py_INCREF(Py_None); resultobj = Py_None;
4926 return resultobj;
4927 fail:
4928 return NULL;
4929}
4930
4931
c32bde28 4932static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4933 PyObject *resultobj;
4934 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4935 wxColour *result;
4936 PyObject * obj0 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 {
4947 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
4948 result = (wxColour *) &_result_ref;
4949 }
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
15afbcd0 4954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4955 return resultobj;
4956 fail:
4957 return NULL;
4958}
4959
4960
c32bde28 4961static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4962 PyObject *obj;
4963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4964 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
4965 Py_INCREF(obj);
4966 return Py_BuildValue((char *)"");
4967}
c32bde28 4968static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4969 PyObject *resultobj;
4970 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
4971 wxColour *arg2 = 0 ;
4972 wxColour result;
4973 wxColour temp2 ;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "clr", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4983 {
4984 arg2 = &temp2;
4985 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 {
4995 wxColour * resultptr;
093d3ff1 4996 resultptr = new wxColour((wxColour &)(result));
15afbcd0 4997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4998 }
4999 return resultobj;
5000 fail:
5001 return NULL;
5002}
5003
5004
c32bde28 5005static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5006 PyObject *resultobj;
5007 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5008 wxColour *arg2 = 0 ;
5009 wxColour result;
5010 wxColour temp2 ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "clr", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5020 {
5021 arg2 = &temp2;
5022 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 {
5032 wxColour * resultptr;
093d3ff1 5033 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5035 }
5036 return resultobj;
5037 fail:
5038 return NULL;
5039}
5040
5041
c32bde28 5042static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5043 PyObject *obj;
5044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5046 Py_INCREF(obj);
5047 return Py_BuildValue((char *)"");
5048}
c32bde28 5049static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5050 PyObject *resultobj;
5051 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5052 wxColour *arg2 = 0 ;
5053 wxColour result;
5054 wxColour temp2 ;
5055 PyObject * obj0 = 0 ;
5056 PyObject * obj1 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "self",(char *) "clr", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5063 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5064 {
5065 arg2 = &temp2;
5066 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5067 }
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 {
5076 wxColour * resultptr;
093d3ff1 5077 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5079 }
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
c32bde28 5086static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5087 PyObject *resultobj;
5088 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5089 wxColour *arg2 = 0 ;
5090 wxColour result;
5091 wxColour temp2 ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self",(char *) "clr", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5100 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5101 {
5102 arg2 = &temp2;
5103 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 wxColour * resultptr;
093d3ff1 5114 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5116 }
5117 return resultobj;
5118 fail:
5119 return NULL;
5120}
5121
5122
c32bde28 5123static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5124 PyObject *obj;
5125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5126 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5127 Py_INCREF(obj);
5128 return Py_BuildValue((char *)"");
5129}
c32bde28 5130static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5131 PyObject *resultobj;
5132 wxHtmlRenderingInfo *result;
5133 char *kwnames[] = {
5134 NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
15afbcd0 5145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5146 return resultobj;
5147 fail:
5148 return NULL;
5149}
5150
5151
c32bde28 5152static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5153 PyObject *resultobj;
5154 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5155 PyObject * obj0 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 delete arg1;
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 Py_INCREF(Py_None); resultobj = Py_None;
5171 return resultobj;
5172 fail:
5173 return NULL;
5174}
5175
5176
c32bde28 5177static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5178 PyObject *resultobj;
5179 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5180 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self",(char *) "s", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
5190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5191 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 (arg1)->SetSelection(arg2);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
c32bde28 5206static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5207 PyObject *resultobj;
5208 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5209 wxHtmlSelection *result;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
5216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
15afbcd0 5225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5226 return resultobj;
5227 fail:
5228 return NULL;
5229}
5230
5231
c32bde28 5232static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5233 PyObject *resultobj;
5234 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5235 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5236 PyObject * obj0 = 0 ;
5237 PyObject * obj1 = 0 ;
5238 char *kwnames[] = {
5239 (char *) "self",(char *) "style", NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5244 if (SWIG_arg_fail(1)) SWIG_fail;
5245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5246 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetStyle(arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258}
5259
5260
c32bde28 5261static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5262 PyObject *resultobj;
5263 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5264 wxHtmlRenderingStyle *result;
5265 PyObject * obj0 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
5271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5272 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 {
5276 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5277 result = (wxHtmlRenderingStyle *) &_result_ref;
5278 }
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
15afbcd0 5283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5284 return resultobj;
5285 fail:
5286 return NULL;
5287}
5288
5289
c32bde28 5290static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5291 PyObject *resultobj;
5292 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5293 wxHtmlRenderingState *result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
5300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 {
5305 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5306 result = (wxHtmlRenderingState *) &_result_ref;
5307 }
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
15afbcd0 5312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5313 return resultobj;
5314 fail:
5315 return NULL;
5316}
5317
5318
c32bde28 5319static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5320 PyObject *obj;
5321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5323 Py_INCREF(obj);
5324 return Py_BuildValue((char *)"");
5325}
c32bde28 5326static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5327 PyObject *resultobj;
5328 wxHtmlCell *result;
5329 char *kwnames[] = {
5330 NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (wxHtmlCell *)new wxHtmlCell();
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
15afbcd0 5341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5342 return resultobj;
5343 fail:
5344 return NULL;
5345}
5346
5347
c32bde28 5348static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5349 PyObject *resultobj;
5350 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5351 int result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
093d3ff1
RD
5358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (int)(arg1)->GetPosX();
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
093d3ff1
RD
5367 {
5368 resultobj = SWIG_From_int((int)(result));
5369 }
d14a1e28
RD
5370 return resultobj;
5371 fail:
5372 return NULL;
5373}
5374
5375
c32bde28 5376static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5377 PyObject *resultobj;
5378 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5379 int result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
093d3ff1
RD
5386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (int)(arg1)->GetPosY();
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
093d3ff1
RD
5395 {
5396 resultobj = SWIG_From_int((int)(result));
5397 }
d14a1e28
RD
5398 return resultobj;
5399 fail:
5400 return NULL;
5401}
5402
5403
c32bde28 5404static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5405 PyObject *resultobj;
5406 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5407 int result;
5408 PyObject * obj0 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (int)(arg1)->GetWidth();
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
093d3ff1
RD
5423 {
5424 resultobj = SWIG_From_int((int)(result));
5425 }
d14a1e28
RD
5426 return resultobj;
5427 fail:
5428 return NULL;
5429}
5430
5431
c32bde28 5432static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5433 PyObject *resultobj;
5434 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5435 int result;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = (int)(arg1)->GetHeight();
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
093d3ff1
RD
5451 {
5452 resultobj = SWIG_From_int((int)(result));
5453 }
d14a1e28
RD
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
c32bde28 5460static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5461 PyObject *resultobj;
5462 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5463 int result;
5464 PyObject * obj0 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 result = (int)(arg1)->GetDescent();
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
093d3ff1
RD
5479 {
5480 resultobj = SWIG_From_int((int)(result));
5481 }
d14a1e28
RD
5482 return resultobj;
5483 fail:
5484 return NULL;
5485}
5486
5487
c32bde28 5488static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4f89f6a3
RD
5489 PyObject *resultobj;
5490 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5491 int result;
5492 PyObject * obj0 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
093d3ff1
RD
5507 {
5508 resultobj = SWIG_From_int((int)(result));
5509 }
4f89f6a3
RD
5510 return resultobj;
5511 fail:
5512 return NULL;
5513}
5514
5515
c32bde28 5516static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
5517 PyObject *resultobj;
5518 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5519 wxString *result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
5526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail;
39f61e25
RD
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 {
5531 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5532 result = (wxString *) &_result_ref;
5533 }
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 {
5539#if wxUSE_UNICODE
5540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5541#else
5542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5543#endif
5544 }
5545 return resultobj;
5546 fail:
5547 return NULL;
5548}
5549
5550
c32bde28 5551static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
5552 PyObject *resultobj;
5553 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5554 wxString *arg2 = 0 ;
ae8162c8 5555 bool temp2 = false ;
39f61e25
RD
5556 PyObject * obj0 = 0 ;
5557 PyObject * obj1 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "self",(char *) "id", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail;
39f61e25
RD
5565 {
5566 arg2 = wxString_in_helper(obj1);
5567 if (arg2 == NULL) SWIG_fail;
ae8162c8 5568 temp2 = true;
39f61e25
RD
5569 }
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 (arg1)->SetId((wxString const &)*arg2);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 Py_INCREF(Py_None); resultobj = Py_None;
5578 {
5579 if (temp2)
5580 delete arg2;
5581 }
5582 return resultobj;
5583 fail:
5584 {
5585 if (temp2)
5586 delete arg2;
5587 }
5588 return NULL;
5589}
5590
5591
c32bde28 5592static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5593 PyObject *resultobj;
5594 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5595 int arg2 = (int) 0 ;
5596 int arg3 = (int) 0 ;
5597 wxHtmlLinkInfo *result;
5598 PyObject * obj0 = 0 ;
994141e6
RD
5599 PyObject * obj1 = 0 ;
5600 PyObject * obj2 = 0 ;
d14a1e28
RD
5601 char *kwnames[] = {
5602 (char *) "self",(char *) "x",(char *) "y", NULL
5603 };
5604
994141e6 5605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5608 if (obj1) {
093d3ff1
RD
5609 {
5610 arg2 = (int)(SWIG_As_int(obj1));
5611 if (SWIG_arg_fail(2)) SWIG_fail;
5612 }
994141e6
RD
5613 }
5614 if (obj2) {
093d3ff1
RD
5615 {
5616 arg3 = (int)(SWIG_As_int(obj2));
5617 if (SWIG_arg_fail(3)) SWIG_fail;
5618 }
994141e6 5619 }
d14a1e28
RD
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
15afbcd0 5627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5628 return resultobj;
5629 fail:
5630 return NULL;
5631}
5632
5633
c32bde28 5634static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5635 PyObject *resultobj;
5636 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5637 wxHtmlCell *result;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
5644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (wxHtmlCell *)(arg1)->GetNext();
5649
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
15afbcd0 5653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5654 return resultobj;
5655 fail:
5656 return NULL;
5657}
5658
5659
c32bde28 5660static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5661 PyObject *resultobj;
5662 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5663 wxHtmlContainerCell *result;
5664 PyObject * obj0 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
15afbcd0 5679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5680 return resultobj;
5681 fail:
5682 return NULL;
5683}
5684
5685
c32bde28 5686static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5687 PyObject *resultobj;
5688 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5689 wxHtmlCell *result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
5696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
15afbcd0 5705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
c32bde28 5712static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5713 PyObject *resultobj;
5714 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5715 wxCursor result;
5716 PyObject * obj0 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = ((wxHtmlCell const *)arg1)->GetCursor();
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 wxCursor * resultptr;
093d3ff1 5733 resultptr = new wxCursor((wxCursor &)(result));
15afbcd0 5734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5735 }
5736 return resultobj;
5737 fail:
5738 return NULL;
5739}
5740
5741
c32bde28 5742static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5743 PyObject *resultobj;
5744 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5745 bool result;
5746 PyObject * obj0 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
5752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
4f89f6a3
RD
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
d14a1e28
RD
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
c32bde28 5770static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5771 PyObject *resultobj;
5772 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5773 wxHtmlLinkInfo *arg2 = 0 ;
5774 PyObject * obj0 = 0 ;
5775 PyObject * obj1 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "link", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail;
5783 {
5784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
5785 if (SWIG_arg_fail(2)) SWIG_fail;
5786 if (arg2 == NULL) {
5787 SWIG_null_ref("wxHtmlLinkInfo");
5788 }
5789 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5790 }
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
5794
5795 wxPyEndAllowThreads(__tstate);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 }
5798 Py_INCREF(Py_None); resultobj = Py_None;
5799 return resultobj;
5800 fail:
5801 return NULL;
5802}
5803
5804
c32bde28 5805static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5806 PyObject *resultobj;
5807 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5808 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5809 PyObject * obj0 = 0 ;
5810 PyObject * obj1 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "cell", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5817 if (SWIG_arg_fail(1)) SWIG_fail;
5818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5819 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->SetNext(arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 return resultobj;
5829 fail:
5830 return NULL;
5831}
5832
5833
c32bde28 5834static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5835 PyObject *resultobj;
5836 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5837 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self",(char *) "p", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail;
5847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
5848 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->SetParent(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
c32bde28 5863static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5864 PyObject *resultobj;
5865 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5866 int arg2 ;
5867 int arg3 ;
5868 PyObject * obj0 = 0 ;
994141e6
RD
5869 PyObject * obj1 = 0 ;
5870 PyObject * obj2 = 0 ;
d14a1e28
RD
5871 char *kwnames[] = {
5872 (char *) "self",(char *) "x",(char *) "y", NULL
5873 };
5874
994141e6 5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5877 if (SWIG_arg_fail(1)) SWIG_fail;
5878 {
5879 arg2 = (int)(SWIG_As_int(obj1));
5880 if (SWIG_arg_fail(2)) SWIG_fail;
5881 }
5882 {
5883 arg3 = (int)(SWIG_As_int(obj2));
5884 if (SWIG_arg_fail(3)) SWIG_fail;
5885 }
d14a1e28
RD
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->SetPos(arg2,arg3);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 Py_INCREF(Py_None); resultobj = Py_None;
5894 return resultobj;
5895 fail:
5896 return NULL;
5897}
5898
5899
c32bde28 5900static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5901 PyObject *resultobj;
5902 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5903 int arg2 ;
5904 PyObject * obj0 = 0 ;
994141e6 5905 PyObject * obj1 = 0 ;
d14a1e28
RD
5906 char *kwnames[] = {
5907 (char *) "self",(char *) "w", NULL
5908 };
5909
994141e6 5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5912 if (SWIG_arg_fail(1)) SWIG_fail;
5913 {
5914 arg2 = (int)(SWIG_As_int(obj1));
5915 if (SWIG_arg_fail(2)) SWIG_fail;
5916 }
d14a1e28
RD
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 (arg1)->Layout(arg2);
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 Py_INCREF(Py_None); resultobj = Py_None;
5925 return resultobj;
5926 fail:
5927 return NULL;
5928}
5929
5930
c32bde28 5931static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5932 PyObject *resultobj;
5933 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5934 wxDC *arg2 = 0 ;
5935 int arg3 ;
5936 int arg4 ;
5937 int arg5 ;
5938 int arg6 ;
5939 wxHtmlRenderingInfo *arg7 = 0 ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
994141e6
RD
5942 PyObject * obj2 = 0 ;
5943 PyObject * obj3 = 0 ;
5944 PyObject * obj4 = 0 ;
5945 PyObject * obj5 = 0 ;
d14a1e28
RD
5946 PyObject * obj6 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5949 };
5950
994141e6 5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail;
5954 {
5955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5956 if (SWIG_arg_fail(2)) SWIG_fail;
5957 if (arg2 == NULL) {
5958 SWIG_null_ref("wxDC");
5959 }
5960 if (SWIG_arg_fail(2)) SWIG_fail;
5961 }
5962 {
5963 arg3 = (int)(SWIG_As_int(obj2));
5964 if (SWIG_arg_fail(3)) SWIG_fail;
5965 }
5966 {
5967 arg4 = (int)(SWIG_As_int(obj3));
5968 if (SWIG_arg_fail(4)) SWIG_fail;
5969 }
5970 {
5971 arg5 = (int)(SWIG_As_int(obj4));
5972 if (SWIG_arg_fail(5)) SWIG_fail;
5973 }
5974 {
5975 arg6 = (int)(SWIG_As_int(obj5));
5976 if (SWIG_arg_fail(6)) SWIG_fail;
5977 }
5978 {
5979 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5980 if (SWIG_arg_fail(7)) SWIG_fail;
5981 if (arg7 == NULL) {
5982 SWIG_null_ref("wxHtmlRenderingInfo");
5983 }
5984 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5985 }
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
5989
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 Py_INCREF(Py_None); resultobj = Py_None;
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
c32bde28 6000static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6001 PyObject *resultobj;
6002 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6003 wxDC *arg2 = 0 ;
6004 int arg3 ;
6005 int arg4 ;
6006 wxHtmlRenderingInfo *arg5 = 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
994141e6
RD
6009 PyObject * obj2 = 0 ;
6010 PyObject * obj3 = 0 ;
d14a1e28
RD
6011 PyObject * obj4 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6014 };
6015
994141e6 6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6018 if (SWIG_arg_fail(1)) SWIG_fail;
6019 {
6020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6021 if (SWIG_arg_fail(2)) SWIG_fail;
6022 if (arg2 == NULL) {
6023 SWIG_null_ref("wxDC");
6024 }
6025 if (SWIG_arg_fail(2)) SWIG_fail;
6026 }
6027 {
6028 arg3 = (int)(SWIG_As_int(obj2));
6029 if (SWIG_arg_fail(3)) SWIG_fail;
6030 }
6031 {
6032 arg4 = (int)(SWIG_As_int(obj3));
6033 if (SWIG_arg_fail(4)) SWIG_fail;
6034 }
6035 {
6036 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6037 if (SWIG_arg_fail(5)) SWIG_fail;
6038 if (arg5 == NULL) {
6039 SWIG_null_ref("wxHtmlRenderingInfo");
6040 }
6041 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6042 }
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 Py_INCREF(Py_None); resultobj = Py_None;
6051 return resultobj;
6052 fail:
6053 return NULL;
6054}
6055
6056
c32bde28 6057static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6058 PyObject *resultobj;
6059 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6060 int arg2 ;
6061 void *arg3 = (void *) 0 ;
6062 wxHtmlCell *result;
6063 PyObject * obj0 = 0 ;
994141e6 6064 PyObject * obj1 = 0 ;
d14a1e28
RD
6065 PyObject * obj2 = 0 ;
6066 char *kwnames[] = {
6067 (char *) "self",(char *) "condition",(char *) "param", NULL
6068 };
6069
994141e6 6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail;
6073 {
6074 arg2 = (int)(SWIG_As_int(obj1));
6075 if (SWIG_arg_fail(2)) SWIG_fail;
6076 }
6077 {
6078 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6079 SWIG_arg_fail(3);SWIG_fail;
6080 }
6081 }
d14a1e28
RD
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
15afbcd0 6089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6090 return resultobj;
6091 fail:
6092 return NULL;
6093}
6094
6095
c32bde28 6096static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6097 PyObject *resultobj;
6098 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6099 int *arg2 = (int *) 0 ;
6100 bool result;
6101 int temp2 ;
c32bde28 6102 int res2 = 0 ;
d14a1e28
RD
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self",(char *) "INOUT", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6112 {
c32bde28
RD
6113 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6114 temp2 = SWIG_As_int(obj1);
093d3ff1 6115 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
6116 arg2 = &temp2;
6117 res2 = SWIG_NEWOBJ;
6118 }
d14a1e28
RD
6119 }
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (bool)(arg1)->AdjustPagebreak(arg2);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
4f89f6a3
RD
6127 {
6128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6129 }
c32bde28
RD
6130 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6131 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6132 return resultobj;
6133 fail:
6134 return NULL;
6135}
6136
6137
c32bde28 6138static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6139 PyObject *resultobj;
6140 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6141 bool arg2 ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 char *kwnames[] = {
6145 (char *) "self",(char *) "can", NULL
6146 };
6147
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6150 if (SWIG_arg_fail(1)) SWIG_fail;
6151 {
6152 arg2 = (bool)(SWIG_As_bool(obj1));
6153 if (SWIG_arg_fail(2)) SWIG_fail;
6154 }
d14a1e28
RD
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetCanLiveOnPagebreak(arg2);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
c32bde28 6169static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6170 PyObject *resultobj;
6171 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6172 bool result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
093d3ff1
RD
6179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
4f89f6a3
RD
6188 {
6189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6190 }
d14a1e28
RD
6191 return resultobj;
6192 fail:
6193 return NULL;
6194}
6195
6196
c32bde28 6197static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6198 PyObject *resultobj;
6199 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6200 bool result;
6201 PyObject * obj0 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
4f89f6a3
RD
6216 {
6217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6218 }
d14a1e28
RD
6219 return resultobj;
6220 fail:
6221 return NULL;
6222}
6223
6224
c32bde28 6225static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6226 PyObject *resultobj;
6227 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e811c8ce
RD
6228 int arg2 ;
6229 int arg3 ;
d14a1e28
RD
6230 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6231 wxHtmlCell *result;
6232 PyObject * obj0 = 0 ;
994141e6
RD
6233 PyObject * obj1 = 0 ;
6234 PyObject * obj2 = 0 ;
d14a1e28
RD
6235 PyObject * obj3 = 0 ;
6236 char *kwnames[] = {
6237 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6238 };
6239
994141e6 6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail;
6243 {
6244 arg2 = (int)(SWIG_As_int(obj1));
6245 if (SWIG_arg_fail(2)) SWIG_fail;
6246 }
6247 {
6248 arg3 = (int)(SWIG_As_int(obj2));
6249 if (SWIG_arg_fail(3)) SWIG_fail;
6250 }
d14a1e28 6251 if (obj3) {
093d3ff1
RD
6252 {
6253 arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3));
6254 if (SWIG_arg_fail(4)) SWIG_fail;
6255 }
d14a1e28
RD
6256 }
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
15afbcd0 6264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
c32bde28 6271static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6272 PyObject *resultobj;
6273 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6274 wxPoint result;
6275 PyObject * obj0 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
6281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 wxPoint * resultptr;
093d3ff1 6292 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 6293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6294 }
6295 return resultobj;
6296 fail:
6297 return NULL;
6298}
6299
6300
c32bde28 6301static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6302 PyObject *resultobj;
6303 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6304 wxHtmlCell *result;
6305 PyObject * obj0 = 0 ;
6306 char *kwnames[] = {
6307 (char *) "self", NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
15afbcd0 6320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6321 return resultobj;
6322 fail:
6323 return NULL;
6324}
6325
6326
c32bde28 6327static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6328 PyObject *resultobj;
6329 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6330 wxHtmlCell *result;
6331 PyObject * obj0 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6338 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
15afbcd0 6346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6347 return resultobj;
6348 fail:
6349 return NULL;
6350}
6351
6352
c32bde28 6353static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6354 PyObject *resultobj;
6355 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6356 unsigned int result;
6357 PyObject * obj0 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
6363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
093d3ff1
RD
6372 {
6373 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
6374 }
d14a1e28
RD
6375 return resultobj;
6376 fail:
6377 return NULL;
6378}
6379
6380
c32bde28 6381static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6382 PyObject *resultobj;
6383 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6384 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6385 bool result;
6386 PyObject * obj0 = 0 ;
6387 PyObject * obj1 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self",(char *) "cell", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail;
6395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6396 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
4f89f6a3
RD
6404 {
6405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6406 }
d14a1e28
RD
6407 return resultobj;
6408 fail:
6409 return NULL;
6410}
6411
6412
c32bde28 6413static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6414 PyObject *resultobj;
6415 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6416 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6417 wxString result;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "sel", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6426 if (SWIG_arg_fail(1)) SWIG_fail;
6427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6428 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437#if wxUSE_UNICODE
6438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6439#else
6440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6441#endif
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
c32bde28 6449static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6450 PyObject *obj;
6451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6453 Py_INCREF(obj);
6454 return Py_BuildValue((char *)"");
6455}
c32bde28 6456static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6457 PyObject *resultobj;
6458 wxString *arg1 = 0 ;
6459 wxDC *arg2 = 0 ;
6460 wxHtmlWordCell *result;
ae8162c8 6461 bool temp1 = false ;
d14a1e28
RD
6462 PyObject * obj0 = 0 ;
6463 PyObject * obj1 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "word",(char *) "dc", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6469 {
6470 arg1 = wxString_in_helper(obj0);
6471 if (arg1 == NULL) SWIG_fail;
ae8162c8 6472 temp1 = true;
d14a1e28 6473 }
093d3ff1
RD
6474 {
6475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6476 if (SWIG_arg_fail(2)) SWIG_fail;
6477 if (arg2 == NULL) {
6478 SWIG_null_ref("wxDC");
6479 }
6480 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
15afbcd0 6489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6490 {
6491 if (temp1)
6492 delete arg1;
6493 }
6494 return resultobj;
6495 fail:
6496 {
6497 if (temp1)
6498 delete arg1;
6499 }
6500 return NULL;
6501}
6502
6503
c32bde28 6504static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6505 PyObject *obj;
6506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6507 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6508 Py_INCREF(obj);
6509 return Py_BuildValue((char *)"");
6510}
c32bde28 6511static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6512 PyObject *resultobj;
6513 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6514 wxHtmlContainerCell *result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "parent", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6522 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
15afbcd0 6530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6531 return resultobj;
6532 fail:
6533 return NULL;
6534}
6535
6536
c32bde28 6537static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6538 PyObject *resultobj;
6539 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6540 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self",(char *) "cell", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6549 if (SWIG_arg_fail(1)) SWIG_fail;
6550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6551 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 (arg1)->InsertCell(arg2);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563}
6564
6565
c32bde28 6566static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6567 PyObject *resultobj;
6568 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6569 int arg2 ;
6570 PyObject * obj0 = 0 ;
994141e6 6571 PyObject * obj1 = 0 ;
d14a1e28
RD
6572 char *kwnames[] = {
6573 (char *) "self",(char *) "al", NULL
6574 };
6575
994141e6 6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail;
6579 {
6580 arg2 = (int)(SWIG_As_int(obj1));
6581 if (SWIG_arg_fail(2)) SWIG_fail;
6582 }
d14a1e28
RD
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 (arg1)->SetAlignHor(arg2);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 Py_INCREF(Py_None); resultobj = Py_None;
6591 return resultobj;
6592 fail:
6593 return NULL;
6594}
6595
6596
c32bde28 6597static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6598 PyObject *resultobj;
6599 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6600 int result;
6601 PyObject * obj0 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (int)(arg1)->GetAlignHor();
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
093d3ff1
RD
6616 {
6617 resultobj = SWIG_From_int((int)(result));
6618 }
d14a1e28
RD
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
c32bde28 6625static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6626 PyObject *resultobj;
6627 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6628 int arg2 ;
6629 PyObject * obj0 = 0 ;
994141e6 6630 PyObject * obj1 = 0 ;
d14a1e28
RD
6631 char *kwnames[] = {
6632 (char *) "self",(char *) "al", NULL
6633 };
6634
994141e6 6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6637 if (SWIG_arg_fail(1)) SWIG_fail;
6638 {
6639 arg2 = (int)(SWIG_As_int(obj1));
6640 if (SWIG_arg_fail(2)) SWIG_fail;
6641 }
d14a1e28
RD
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 (arg1)->SetAlignVer(arg2);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
6650 return resultobj;
6651 fail:
6652 return NULL;
6653}
6654
6655
c32bde28 6656static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6657 PyObject *resultobj;
6658 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6659 int result;
6660 PyObject * obj0 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self", NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
093d3ff1
RD
6666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (int)(arg1)->GetAlignVer();
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
093d3ff1
RD
6675 {
6676 resultobj = SWIG_From_int((int)(result));
6677 }
d14a1e28
RD
6678 return resultobj;
6679 fail:
6680 return NULL;
6681}
6682
6683
c32bde28 6684static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6685 PyObject *resultobj;
6686 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6687 int arg2 ;
6688 int arg3 ;
6689 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6690 PyObject * obj0 = 0 ;
994141e6
RD
6691 PyObject * obj1 = 0 ;
6692 PyObject * obj2 = 0 ;
6693 PyObject * obj3 = 0 ;
d14a1e28
RD
6694 char *kwnames[] = {
6695 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6696 };
6697
994141e6 6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail;
6701 {
6702 arg2 = (int)(SWIG_As_int(obj1));
6703 if (SWIG_arg_fail(2)) SWIG_fail;
6704 }
6705 {
6706 arg3 = (int)(SWIG_As_int(obj2));
6707 if (SWIG_arg_fail(3)) SWIG_fail;
6708 }
994141e6 6709 if (obj3) {
093d3ff1
RD
6710 {
6711 arg4 = (int)(SWIG_As_int(obj3));
6712 if (SWIG_arg_fail(4)) SWIG_fail;
6713 }
994141e6 6714 }
d14a1e28
RD
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 (arg1)->SetIndent(arg2,arg3,arg4);
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 Py_INCREF(Py_None); resultobj = Py_None;
6723 return resultobj;
6724 fail:
6725 return NULL;
6726}
6727
6728
c32bde28 6729static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6730 PyObject *resultobj;
6731 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6732 int arg2 ;
6733 int result;
6734 PyObject * obj0 = 0 ;
994141e6 6735 PyObject * obj1 = 0 ;
d14a1e28
RD
6736 char *kwnames[] = {
6737 (char *) "self",(char *) "ind", NULL
6738 };
6739
994141e6 6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6742 if (SWIG_arg_fail(1)) SWIG_fail;
6743 {
6744 arg2 = (int)(SWIG_As_int(obj1));
6745 if (SWIG_arg_fail(2)) SWIG_fail;
6746 }
d14a1e28
RD
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (int)(arg1)->GetIndent(arg2);
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
093d3ff1
RD
6754 {
6755 resultobj = SWIG_From_int((int)(result));
6756 }
d14a1e28
RD
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
c32bde28 6763static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6764 PyObject *resultobj;
6765 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6766 int arg2 ;
6767 int result;
6768 PyObject * obj0 = 0 ;
994141e6 6769 PyObject * obj1 = 0 ;
d14a1e28
RD
6770 char *kwnames[] = {
6771 (char *) "self",(char *) "ind", NULL
6772 };
6773
994141e6 6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
6777 {
6778 arg2 = (int)(SWIG_As_int(obj1));
6779 if (SWIG_arg_fail(2)) SWIG_fail;
6780 }
d14a1e28
RD
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 result = (int)(arg1)->GetIndentUnits(arg2);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
093d3ff1
RD
6788 {
6789 resultobj = SWIG_From_int((int)(result));
6790 }
d14a1e28
RD
6791 return resultobj;
6792 fail:
6793 return NULL;
6794}
6795
6796
c32bde28 6797static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6798 PyObject *resultobj;
6799 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6800 wxHtmlTag *arg2 = 0 ;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "tag", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail;
6810 {
6811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6812 if (SWIG_arg_fail(2)) SWIG_fail;
6813 if (arg2 == NULL) {
6814 SWIG_null_ref("wxHtmlTag");
6815 }
6816 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 Py_INCREF(Py_None); resultobj = Py_None;
6826 return resultobj;
6827 fail:
6828 return NULL;
6829}
6830
6831
c32bde28 6832static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6833 PyObject *resultobj;
6834 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6835 int arg2 ;
6836 int arg3 ;
6837 PyObject * obj0 = 0 ;
994141e6
RD
6838 PyObject * obj1 = 0 ;
6839 PyObject * obj2 = 0 ;
d14a1e28
RD
6840 char *kwnames[] = {
6841 (char *) "self",(char *) "w",(char *) "units", NULL
6842 };
6843
994141e6 6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail;
6847 {
6848 arg2 = (int)(SWIG_As_int(obj1));
6849 if (SWIG_arg_fail(2)) SWIG_fail;
6850 }
6851 {
6852 arg3 = (int)(SWIG_As_int(obj2));
6853 if (SWIG_arg_fail(3)) SWIG_fail;
6854 }
d14a1e28
RD
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 (arg1)->SetWidthFloat(arg2,arg3);
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 Py_INCREF(Py_None); resultobj = Py_None;
6863 return resultobj;
6864 fail:
6865 return NULL;
6866}
6867
6868
c32bde28 6869static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6870 PyObject *resultobj;
6871 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6872 wxHtmlTag *arg2 = 0 ;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self",(char *) "tag", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail;
6882 {
6883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6884 if (SWIG_arg_fail(2)) SWIG_fail;
6885 if (arg2 == NULL) {
6886 SWIG_null_ref("wxHtmlTag");
6887 }
6888 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6889 }
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 Py_INCREF(Py_None); resultobj = Py_None;
6898 return resultobj;
6899 fail:
6900 return NULL;
6901}
6902
6903
c32bde28 6904static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6905 PyObject *resultobj;
6906 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6907 int arg2 ;
6908 int arg3 = (int) wxHTML_ALIGN_TOP ;
6909 PyObject * obj0 = 0 ;
994141e6
RD
6910 PyObject * obj1 = 0 ;
6911 PyObject * obj2 = 0 ;
d14a1e28
RD
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "h",(char *) "align", NULL
6914 };
6915
994141e6 6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
6919 {
6920 arg2 = (int)(SWIG_As_int(obj1));
6921 if (SWIG_arg_fail(2)) SWIG_fail;
6922 }
994141e6 6923 if (obj2) {
093d3ff1
RD
6924 {
6925 arg3 = (int)(SWIG_As_int(obj2));
6926 if (SWIG_arg_fail(3)) SWIG_fail;
6927 }
994141e6 6928 }
d14a1e28
RD
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetMinHeight(arg2,arg3);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940}
6941
6942
c32bde28 6943static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6944 PyObject *resultobj;
6945 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6946 wxColour *arg2 = 0 ;
6947 wxColour temp2 ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self",(char *) "clr", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6957 {
6958 arg2 = &temp2;
6959 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 Py_INCREF(Py_None); resultobj = Py_None;
6969 return resultobj;
6970 fail:
6971 return NULL;
6972}
6973
6974
c32bde28 6975static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6976 PyObject *resultobj;
6977 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6978 wxColour result;
6979 PyObject * obj0 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self", NULL
6982 };
6983
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
6985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 result = (arg1)->GetBackgroundColour();
6990
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 {
6995 wxColour * resultptr;
093d3ff1 6996 resultptr = new wxColour((wxColour &)(result));
15afbcd0 6997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
6998 }
6999 return resultobj;
7000 fail:
7001 return NULL;
7002}
7003
7004
c32bde28 7005static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7006 PyObject *resultobj;
7007 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7008 wxColour *arg2 = 0 ;
7009 wxColour *arg3 = 0 ;
7010 wxColour temp2 ;
7011 wxColour temp3 ;
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 PyObject * obj2 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7022 {
7023 arg2 = &temp2;
7024 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7025 }
7026 {
7027 arg3 = &temp3;
7028 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7029 }
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 Py_INCREF(Py_None); resultobj = Py_None;
7038 return resultobj;
7039 fail:
7040 return NULL;
7041}
7042
7043
c32bde28 7044static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7045 PyObject *resultobj;
7046 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7047 wxHtmlCell *result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
7054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
15afbcd0 7063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
c32bde28 7070static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7071 PyObject *obj;
7072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7073 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7074 Py_INCREF(obj);
7075 return Py_BuildValue((char *)"");
7076}
c32bde28 7077static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7078 PyObject *resultobj;
51b83b37 7079 wxColour *arg1 = 0 ;
d14a1e28
RD
7080 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7081 wxHtmlColourCell *result;
51b83b37 7082 wxColour temp1 ;
d14a1e28 7083 PyObject * obj0 = 0 ;
994141e6 7084 PyObject * obj1 = 0 ;
d14a1e28
RD
7085 char *kwnames[] = {
7086 (char *) "clr",(char *) "flags", NULL
7087 };
7088
994141e6 7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 7090 {
51b83b37
RD
7091 arg1 = &temp1;
7092 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
093d3ff1 7093 }
994141e6 7094 if (obj1) {
093d3ff1
RD
7095 {
7096 arg2 = (int)(SWIG_As_int(obj1));
7097 if (SWIG_arg_fail(2)) SWIG_fail;
7098 }
994141e6 7099 }
d14a1e28
RD
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
51b83b37 7102 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
d14a1e28
RD
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
15afbcd0 7107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7108 return resultobj;
7109 fail:
7110 return NULL;
7111}
7112
7113
c32bde28 7114static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7115 PyObject *obj;
7116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7118 Py_INCREF(obj);
7119 return Py_BuildValue((char *)"");
7120}
c32bde28 7121static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7122 PyObject *resultobj;
7123 wxFont *arg1 = (wxFont *) 0 ;
7124 wxHtmlFontCell *result;
7125 PyObject * obj0 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "font", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
7131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
15afbcd0 7140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7141 return resultobj;
7142 fail:
7143 return NULL;
7144}
7145
7146
c32bde28 7147static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7148 PyObject *obj;
7149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7150 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7151 Py_INCREF(obj);
7152 return Py_BuildValue((char *)"");
7153}
c32bde28 7154static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7155 PyObject *resultobj;
7156 wxWindow *arg1 = (wxWindow *) 0 ;
7157 int arg2 = (int) 0 ;
7158 wxHtmlWidgetCell *result;
7159 PyObject * obj0 = 0 ;
994141e6 7160 PyObject * obj1 = 0 ;
d14a1e28
RD
7161 char *kwnames[] = {
7162 (char *) "wnd",(char *) "w", NULL
7163 };
7164
994141e6 7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7168 if (obj1) {
093d3ff1
RD
7169 {
7170 arg2 = (int)(SWIG_As_int(obj1));
7171 if (SWIG_arg_fail(2)) SWIG_fail;
7172 }
994141e6 7173 }
d14a1e28
RD
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
15afbcd0 7181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7182 return resultobj;
7183 fail:
7184 return NULL;
7185}
7186
7187
c32bde28 7188static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7189 PyObject *obj;
7190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7191 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7192 Py_INCREF(obj);
7193 return Py_BuildValue((char *)"");
7194}
c32bde28 7195static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7196 PyObject *resultobj;
7197 wxPyHtmlFilter *result;
7198 char *kwnames[] = {
7199 NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
15afbcd0 7210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7211 return resultobj;
7212 fail:
7213 return NULL;
7214}
7215
7216
c32bde28 7217static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7218 PyObject *resultobj;
7219 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7220 PyObject *arg2 = (PyObject *) 0 ;
7221 PyObject *arg3 = (PyObject *) 0 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self",(char *) "self",(char *) "_class", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7232 arg2 = obj1;
7233 arg3 = obj2;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->_setCallbackInfo(arg2,arg3);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245}
7246
7247
c32bde28 7248static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7249 PyObject *obj;
7250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7252 Py_INCREF(obj);
7253 return Py_BuildValue((char *)"");
7254}
c32bde28 7255static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7256 PyObject *resultobj;
7257 wxWindow *arg1 = (wxWindow *) 0 ;
7258 int arg2 = (int) -1 ;
7259 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7260 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7261 wxSize const &arg4_defvalue = wxDefaultSize ;
7262 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7263 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7264 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7265 wxString *arg6 = (wxString *) &arg6_defvalue ;
7266 wxPyHtmlWindow *result;
7267 wxPoint temp3 ;
7268 wxSize temp4 ;
ae8162c8 7269 bool temp6 = false ;
d14a1e28 7270 PyObject * obj0 = 0 ;
994141e6 7271 PyObject * obj1 = 0 ;
d14a1e28
RD
7272 PyObject * obj2 = 0 ;
7273 PyObject * obj3 = 0 ;
994141e6 7274 PyObject * obj4 = 0 ;
d14a1e28
RD
7275 PyObject * obj5 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7278 };
7279
994141e6 7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7283 if (obj1) {
093d3ff1
RD
7284 {
7285 arg2 = (int)(SWIG_As_int(obj1));
7286 if (SWIG_arg_fail(2)) SWIG_fail;
7287 }
994141e6 7288 }
d14a1e28
RD
7289 if (obj2) {
7290 {
7291 arg3 = &temp3;
7292 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7293 }
7294 }
7295 if (obj3) {
7296 {
7297 arg4 = &temp4;
7298 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7299 }
7300 }
994141e6 7301 if (obj4) {
093d3ff1
RD
7302 {
7303 arg5 = (int)(SWIG_As_int(obj4));
7304 if (SWIG_arg_fail(5)) SWIG_fail;
7305 }
994141e6 7306 }
d14a1e28
RD
7307 if (obj5) {
7308 {
7309 arg6 = wxString_in_helper(obj5);
7310 if (arg6 == NULL) SWIG_fail;
ae8162c8 7311 temp6 = true;
d14a1e28
RD
7312 }
7313 }
7314 {
e3b71cb8 7315 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7318
7319 wxPyEndAllowThreads(__tstate);
110da5b0 7320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7321 }
b0f7404b 7322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7323 {
7324 if (temp6)
7325 delete arg6;
7326 }
7327 return resultobj;
7328 fail:
7329 {
7330 if (temp6)
7331 delete arg6;
7332 }
7333 return NULL;
7334}
7335
7336
c32bde28 7337static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7338 PyObject *resultobj;
7339 wxPyHtmlWindow *result;
7340 char *kwnames[] = {
7341 NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7345 {
e3b71cb8 7346 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7349
7350 wxPyEndAllowThreads(__tstate);
110da5b0 7351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7352 }
b0f7404b 7353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7354 return resultobj;
7355 fail:
7356 return NULL;
7357}
7358
7359
c32bde28 7360static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7361 PyObject *resultobj;
7362 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7363 wxWindow *arg2 = (wxWindow *) 0 ;
7364 int arg3 = (int) -1 ;
7365 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7366 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7367 wxSize const &arg5_defvalue = wxDefaultSize ;
7368 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7369 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7370 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7371 wxString *arg7 = (wxString *) &arg7_defvalue ;
7372 bool result;
7373 wxPoint temp4 ;
7374 wxSize temp5 ;
ae8162c8 7375 bool temp7 = false ;
d14a1e28
RD
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
994141e6 7378 PyObject * obj2 = 0 ;
d14a1e28
RD
7379 PyObject * obj3 = 0 ;
7380 PyObject * obj4 = 0 ;
994141e6 7381 PyObject * obj5 = 0 ;
d14a1e28
RD
7382 PyObject * obj6 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7385 };
7386
994141e6 7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7389 if (SWIG_arg_fail(1)) SWIG_fail;
7390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7391 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 7392 if (obj2) {
093d3ff1
RD
7393 {
7394 arg3 = (int)(SWIG_As_int(obj2));
7395 if (SWIG_arg_fail(3)) SWIG_fail;
7396 }
994141e6 7397 }
d14a1e28
RD
7398 if (obj3) {
7399 {
7400 arg4 = &temp4;
7401 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7402 }
7403 }
7404 if (obj4) {
7405 {
7406 arg5 = &temp5;
7407 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7408 }
7409 }
994141e6 7410 if (obj5) {
093d3ff1
RD
7411 {
7412 arg6 = (int)(SWIG_As_int(obj5));
7413 if (SWIG_arg_fail(6)) SWIG_fail;
7414 }
994141e6 7415 }
d14a1e28
RD
7416 if (obj6) {
7417 {
7418 arg7 = wxString_in_helper(obj6);
7419 if (arg7 == NULL) SWIG_fail;
ae8162c8 7420 temp7 = true;
d14a1e28
RD
7421 }
7422 }
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
4f89f6a3
RD
7430 {
7431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7432 }
d14a1e28
RD
7433 {
7434 if (temp7)
7435 delete arg7;
7436 }
7437 return resultobj;
7438 fail:
7439 {
7440 if (temp7)
7441 delete arg7;
7442 }
7443 return NULL;
7444}
7445
7446
c32bde28 7447static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7448 PyObject *resultobj;
7449 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7450 PyObject *arg2 = (PyObject *) 0 ;
7451 PyObject *arg3 = (PyObject *) 0 ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 PyObject * obj2 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "self",(char *) "_class", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7462 arg2 = obj1;
7463 arg3 = obj2;
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 (arg1)->_setCallbackInfo(arg2,arg3);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 return resultobj;
7473 fail:
7474 return NULL;
7475}
7476
7477
c32bde28 7478static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7479 PyObject *resultobj;
7480 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7481 wxString *arg2 = 0 ;
7482 bool result;
ae8162c8 7483 bool temp2 = false ;
d14a1e28
RD
7484 PyObject * obj0 = 0 ;
7485 PyObject * obj1 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self",(char *) "source", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7493 {
7494 arg2 = wxString_in_helper(obj1);
7495 if (arg2 == NULL) SWIG_fail;
ae8162c8 7496 temp2 = true;
d14a1e28
RD
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
4f89f6a3
RD
7505 {
7506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7507 }
d14a1e28
RD
7508 {
7509 if (temp2)
7510 delete arg2;
7511 }
7512 return resultobj;
7513 fail:
7514 {
7515 if (temp2)
7516 delete arg2;
7517 }
7518 return NULL;
7519}
7520
7521
c32bde28 7522static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7523 PyObject *resultobj;
7524 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7525 wxString *arg2 = 0 ;
7526 bool result;
ae8162c8 7527 bool temp2 = false ;
d14a1e28
RD
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self",(char *) "location", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7537 {
7538 arg2 = wxString_in_helper(obj1);
7539 if (arg2 == NULL) SWIG_fail;
ae8162c8 7540 temp2 = true;
d14a1e28
RD
7541 }
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
4f89f6a3
RD
7549 {
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 }
d14a1e28
RD
7552 {
7553 if (temp2)
7554 delete arg2;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp2)
7560 delete arg2;
7561 }
7562 return NULL;
7563}
7564
7565
c32bde28 7566static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7567 PyObject *resultobj;
7568 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7569 wxString *arg2 = 0 ;
7570 bool result;
ae8162c8 7571 bool temp2 = false ;
d14a1e28
RD
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self",(char *) "filename", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7581 {
7582 arg2 = wxString_in_helper(obj1);
7583 if (arg2 == NULL) SWIG_fail;
ae8162c8 7584 temp2 = true;
d14a1e28
RD
7585 }
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7589
7590 wxPyEndAllowThreads(__tstate);
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
4f89f6a3
RD
7593 {
7594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7595 }
d14a1e28
RD
7596 {
7597 if (temp2)
7598 delete arg2;
7599 }
7600 return resultobj;
7601 fail:
7602 {
7603 if (temp2)
7604 delete arg2;
7605 }
7606 return NULL;
7607}
7608
7609
c32bde28 7610static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7611 PyObject *resultobj;
7612 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7613 wxString *arg2 = 0 ;
7614 bool result;
ae8162c8 7615 bool temp2 = false ;
d14a1e28
RD
7616 PyObject * obj0 = 0 ;
7617 PyObject * obj1 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "source", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7625 {
7626 arg2 = wxString_in_helper(obj1);
7627 if (arg2 == NULL) SWIG_fail;
ae8162c8 7628 temp2 = true;
d14a1e28
RD
7629 }
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
4f89f6a3
RD
7637 {
7638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7639 }
d14a1e28
RD
7640 {
7641 if (temp2)
7642 delete arg2;
7643 }
7644 return resultobj;
7645 fail:
7646 {
7647 if (temp2)
7648 delete arg2;
7649 }
7650 return NULL;
7651}
7652
7653
c32bde28 7654static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7655 PyObject *resultobj;
7656 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7657 wxString result;
7658 PyObject * obj0 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
7664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 result = (arg1)->GetOpenedPage();
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 {
7674#if wxUSE_UNICODE
7675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7676#else
7677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7678#endif
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683}
7684
7685
c32bde28 7686static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7687 PyObject *resultobj;
7688 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7689 wxString result;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 result = (arg1)->GetOpenedAnchor();
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 {
7706#if wxUSE_UNICODE
7707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7708#else
7709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7710#endif
7711 }
7712 return resultobj;
7713 fail:
7714 return NULL;
7715}
7716
7717
c32bde28 7718static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7719 PyObject *resultobj;
7720 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7721 wxString result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
7728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (arg1)->GetOpenedPageTitle();
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 {
7738#if wxUSE_UNICODE
7739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7740#else
7741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7742#endif
7743 }
7744 return resultobj;
7745 fail:
7746 return NULL;
7747}
7748
7749
c32bde28 7750static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7751 PyObject *resultobj;
7752 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7753 wxFrame *arg2 = (wxFrame *) 0 ;
7754 wxString *arg3 = 0 ;
ae8162c8 7755 bool temp3 = false ;
d14a1e28
RD
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 PyObject * obj2 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self",(char *) "frame",(char *) "format", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail;
7766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
7767 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7768 {
7769 arg3 = wxString_in_helper(obj2);
7770 if (arg3 == NULL) SWIG_fail;
ae8162c8 7771 temp3 = true;
d14a1e28
RD
7772 }
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 Py_INCREF(Py_None); resultobj = Py_None;
7781 {
7782 if (temp3)
7783 delete arg3;
7784 }
7785 return resultobj;
7786 fail:
7787 {
7788 if (temp3)
7789 delete arg3;
7790 }
7791 return NULL;
7792}
7793
7794
c32bde28 7795static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7796 PyObject *resultobj;
7797 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7798 wxFrame *result;
7799 PyObject * obj0 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
7805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (wxFrame *)(arg1)->GetRelatedFrame();
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 {
412d302d 7815 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7816 }
7817 return resultobj;
7818 fail:
7819 return NULL;
7820}
7821
7822
c32bde28 7823static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7824 PyObject *resultobj;
7825 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7826 int arg2 ;
7827 PyObject * obj0 = 0 ;
994141e6 7828 PyObject * obj1 = 0 ;
d14a1e28
RD
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "bar", NULL
7831 };
7832
994141e6 7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail;
7836 {
7837 arg2 = (int)(SWIG_As_int(obj1));
7838 if (SWIG_arg_fail(2)) SWIG_fail;
7839 }
d14a1e28
RD
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 (arg1)->SetRelatedStatusBar(arg2);
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 Py_INCREF(Py_None); resultobj = Py_None;
7848 return resultobj;
7849 fail:
7850 return NULL;
7851}
7852
7853
c32bde28 7854static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7855 PyObject *resultobj;
7856 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7857 wxString arg2 ;
7858 wxString arg3 ;
7859 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 PyObject * obj2 = 0 ;
7863 PyObject * obj3 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7870 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
7871 {
7872 wxString* sptr = wxString_in_helper(obj1);
7873 if (sptr == NULL) SWIG_fail;
7874 arg2 = *sptr;
7875 delete sptr;
7876 }
7877 {
7878 wxString* sptr = wxString_in_helper(obj2);
7879 if (sptr == NULL) SWIG_fail;
7880 arg3 = *sptr;
7881 delete sptr;
7882 }
d14a1e28
RD
7883 if (obj3) {
7884 arg4 = obj3;
7885 }
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 Py_INCREF(Py_None); resultobj = Py_None;
7894 return resultobj;
7895 fail:
7896 return NULL;
7897}
7898
7899
ae8162c8 7900static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
7901 PyObject *resultobj;
7902 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7903 int arg2 = (int) -1 ;
ae8162c8
RD
7904 wxString const &arg3_defvalue = wxPyEmptyString ;
7905 wxString *arg3 = (wxString *) &arg3_defvalue ;
7906 wxString const &arg4_defvalue = wxPyEmptyString ;
7907 wxString *arg4 = (wxString *) &arg4_defvalue ;
7908 bool temp3 = false ;
7909 bool temp4 = false ;
30ee79f7
RD
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
ae8162c8
RD
7912 PyObject * obj2 = 0 ;
7913 PyObject * obj3 = 0 ;
30ee79f7 7914 char *kwnames[] = {
ae8162c8 7915 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
7916 };
7917
ae8162c8 7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 7921 if (obj1) {
093d3ff1
RD
7922 {
7923 arg2 = (int)(SWIG_As_int(obj1));
7924 if (SWIG_arg_fail(2)) SWIG_fail;
7925 }
30ee79f7 7926 }
ae8162c8
RD
7927 if (obj2) {
7928 {
7929 arg3 = wxString_in_helper(obj2);
7930 if (arg3 == NULL) SWIG_fail;
7931 temp3 = true;
7932 }
7933 }
7934 if (obj3) {
7935 {
7936 arg4 = wxString_in_helper(obj3);
7937 if (arg4 == NULL) SWIG_fail;
7938 temp4 = true;
7939 }
7940 }
30ee79f7
RD
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 7943 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
7949 {
7950 if (temp3)
7951 delete arg3;
7952 }
7953 {
7954 if (temp4)
7955 delete arg4;
7956 }
30ee79f7
RD
7957 return resultobj;
7958 fail:
ae8162c8
RD
7959 {
7960 if (temp3)
7961 delete arg3;
7962 }
7963 {
7964 if (temp4)
7965 delete arg4;
7966 }
30ee79f7
RD
7967 return NULL;
7968}
7969
7970
c32bde28 7971static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7972 PyObject *resultobj;
7973 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7974 wxString *arg2 = 0 ;
ae8162c8 7975 bool temp2 = false ;
d14a1e28
RD
7976 PyObject * obj0 = 0 ;
7977 PyObject * obj1 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self",(char *) "title", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7985 {
7986 arg2 = wxString_in_helper(obj1);
7987 if (arg2 == NULL) SWIG_fail;
ae8162c8 7988 temp2 = true;
d14a1e28
RD
7989 }
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 (arg1)->SetTitle((wxString const &)*arg2);
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 Py_INCREF(Py_None); resultobj = Py_None;
7998 {
7999 if (temp2)
8000 delete arg2;
8001 }
8002 return resultobj;
8003 fail:
8004 {
8005 if (temp2)
8006 delete arg2;
8007 }
8008 return NULL;
8009}
8010
8011
c32bde28 8012static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8013 PyObject *resultobj;
8014 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8015 int arg2 ;
8016 PyObject * obj0 = 0 ;
994141e6 8017 PyObject * obj1 = 0 ;
d14a1e28
RD
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "b", NULL
8020 };
8021
994141e6 8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail;
8025 {
8026 arg2 = (int)(SWIG_As_int(obj1));
8027 if (SWIG_arg_fail(2)) SWIG_fail;
8028 }
d14a1e28
RD
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 (arg1)->SetBorders(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 Py_INCREF(Py_None); resultobj = Py_None;
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
53aa7709
RD
8043static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8046 wxBitmap *arg2 = 0 ;
8047 PyObject * obj0 = 0 ;
8048 PyObject * obj1 = 0 ;
8049 char *kwnames[] = {
8050 (char *) "self",(char *) "bmpBg", NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail;
8056 {
8057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8058 if (SWIG_arg_fail(2)) SWIG_fail;
8059 if (arg2 == NULL) {
8060 SWIG_null_ref("wxBitmap");
8061 }
8062 if (SWIG_arg_fail(2)) SWIG_fail;
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075}
8076
8077
c32bde28 8078static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8079 PyObject *resultobj;
8080 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8081 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8082 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "cfg",(char *) "path", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail;
8093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8094 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8095 if (obj2) {
e811c8ce
RD
8096 {
8097 wxString* sptr = wxString_in_helper(obj2);
8098 if (sptr == NULL) SWIG_fail;
8099 arg3 = *sptr;
8100 delete sptr;
8101 }
d14a1e28
RD
8102 }
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->ReadCustomization(arg2,arg3);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114}
8115
8116
c32bde28 8117static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8118 PyObject *resultobj;
8119 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8120 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8121 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 PyObject * obj2 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "cfg",(char *) "path", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail;
8132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8134 if (obj2) {
e811c8ce
RD
8135 {
8136 wxString* sptr = wxString_in_helper(obj2);
8137 if (sptr == NULL) SWIG_fail;
8138 arg3 = *sptr;
8139 delete sptr;
8140 }
d14a1e28
RD
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 (arg1)->WriteCustomization(arg2,arg3);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 Py_INCREF(Py_None); resultobj = Py_None;
8150 return resultobj;
8151 fail:
8152 return NULL;
8153}
8154
8155
c32bde28 8156static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8157 PyObject *resultobj;
8158 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8159 bool result;
8160 PyObject * obj0 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "self", NULL
8163 };
8164
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 result = (bool)(arg1)->HistoryBack();
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
4f89f6a3
RD
8175 {
8176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8177 }
d14a1e28
RD
8178 return resultobj;
8179 fail:
8180 return NULL;
8181}
8182
8183
c32bde28 8184static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8185 PyObject *resultobj;
8186 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8187 bool result;
8188 PyObject * obj0 = 0 ;
8189 char *kwnames[] = {
8190 (char *) "self", NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (bool)(arg1)->HistoryForward();
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
4f89f6a3
RD
8203 {
8204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8205 }
d14a1e28
RD
8206 return resultobj;
8207 fail:
8208 return NULL;
8209}
8210
8211
c32bde28 8212static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8213 PyObject *resultobj;
8214 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8215 bool result;
8216 PyObject * obj0 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8223 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 result = (bool)(arg1)->HistoryCanBack();
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
4f89f6a3
RD
8231 {
8232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8233 }
d14a1e28
RD
8234 return resultobj;
8235 fail:
8236 return NULL;
8237}
8238
8239
c32bde28 8240static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8241 PyObject *resultobj;
8242 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8251 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->HistoryCanForward();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
4f89f6a3
RD
8259 {
8260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8261 }
d14a1e28
RD
8262 return resultobj;
8263 fail:
8264 return NULL;
8265}
8266
8267
c32bde28 8268static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8269 PyObject *resultobj;
8270 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
093d3ff1
RD
8277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->HistoryClear();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
c32bde28 8293static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8294 PyObject *resultobj;
8295 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8296 wxHtmlContainerCell *result;
8297 PyObject * obj0 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
093d3ff1
RD
8303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
15afbcd0 8312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8313 return resultobj;
8314 fail:
8315 return NULL;
8316}
8317
8318
c32bde28 8319static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8320 PyObject *resultobj;
8321 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8322 wxHtmlWinParser *result;
8323 PyObject * obj0 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
8329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (wxHtmlWinParser *)(arg1)->GetParser();
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
15afbcd0 8338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8339 return resultobj;
8340 fail:
8341 return NULL;
8342}
8343
8344
c32bde28 8345static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8346 PyObject *resultobj;
8347 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8348 wxString *arg2 = 0 ;
8349 bool result;
ae8162c8 8350 bool temp2 = false ;
d14a1e28
RD
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self",(char *) "anchor", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8360 {
8361 arg2 = wxString_in_helper(obj1);
8362 if (arg2 == NULL) SWIG_fail;
ae8162c8 8363 temp2 = true;
d14a1e28
RD
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
4f89f6a3
RD
8372 {
8373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8374 }
d14a1e28
RD
8375 {
8376 if (temp2)
8377 delete arg2;
8378 }
8379 return resultobj;
8380 fail:
8381 {
8382 if (temp2)
8383 delete arg2;
8384 }
8385 return NULL;
8386}
8387
8388
c32bde28 8389static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8390 PyObject *resultobj;
8391 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8392 wxString *arg2 = 0 ;
8393 bool result;
ae8162c8 8394 bool temp2 = false ;
d14a1e28
RD
8395 PyObject * obj0 = 0 ;
8396 PyObject * obj1 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "anchor", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8404 {
8405 arg2 = wxString_in_helper(obj1);
8406 if (arg2 == NULL) SWIG_fail;
ae8162c8 8407 temp2 = true;
d14a1e28
RD
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
4f89f6a3
RD
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
d14a1e28
RD
8419 {
8420 if (temp2)
8421 delete arg2;
8422 }
8423 return resultobj;
8424 fail:
8425 {
8426 if (temp2)
8427 delete arg2;
8428 }
8429 return NULL;
8430}
8431
8432
c32bde28 8433static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8434 PyObject *resultobj;
8435 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "filter", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
8442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 wxPyHtmlWindow::AddFilter(arg1);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 Py_INCREF(Py_None); resultobj = Py_None;
8452 return resultobj;
8453 fail:
8454 return NULL;
8455}
8456
8457
c32bde28 8458static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8459 PyObject *resultobj;
8460 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8461 wxPoint *arg2 = 0 ;
8462 wxPoint temp2 ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "pos", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8472 {
8473 arg2 = &temp2;
8474 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8475 }
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 (arg1)->SelectWord((wxPoint const &)*arg2);
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 Py_INCREF(Py_None); resultobj = Py_None;
8484 return resultobj;
8485 fail:
8486 return NULL;
8487}
8488
8489
c32bde28 8490static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8491 PyObject *resultobj;
8492 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8493 wxPoint *arg2 = 0 ;
8494 wxPoint temp2 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "pos", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8504 {
8505 arg2 = &temp2;
8506 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8507 }
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 (arg1)->SelectLine((wxPoint const &)*arg2);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
c32bde28 8522static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8523 PyObject *resultobj;
8524 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8525 PyObject * obj0 = 0 ;
8526 char *kwnames[] = {
8527 (char *) "self", NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
8531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8532 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 (arg1)->SelectAll();
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 Py_INCREF(Py_None); resultobj = Py_None;
8541 return resultobj;
8542 fail:
8543 return NULL;
8544}
8545
8546
c32bde28 8547static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8548 PyObject *resultobj;
8549 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8550 wxString result;
8551 PyObject * obj0 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (arg1)->SelectionToText();
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567#if wxUSE_UNICODE
8568 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8569#else
8570 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8571#endif
8572 }
8573 return resultobj;
8574 fail:
8575 return NULL;
8576}
8577
8578
c32bde28 8579static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8580 PyObject *resultobj;
8581 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8582 wxString result;
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (arg1)->ToText();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 {
8599#if wxUSE_UNICODE
8600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8601#else
8602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8603#endif
8604 }
8605 return resultobj;
8606 fail:
8607 return NULL;
8608}
8609
8610
c32bde28 8611static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8612 PyObject *resultobj;
8613 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8614 wxHtmlLinkInfo *arg2 = 0 ;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "link", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8623 if (SWIG_arg_fail(1)) SWIG_fail;
8624 {
8625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8626 if (SWIG_arg_fail(2)) SWIG_fail;
8627 if (arg2 == NULL) {
8628 SWIG_null_ref("wxHtmlLinkInfo");
8629 }
8630 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 Py_INCREF(Py_None); resultobj = Py_None;
8640 return resultobj;
8641 fail:
8642 return NULL;
8643}
8644
8645
c32bde28 8646static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8647 PyObject *resultobj;
8648 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8649 wxString *arg2 = 0 ;
ae8162c8 8650 bool temp2 = false ;
d14a1e28
RD
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self",(char *) "title", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8660 {
8661 arg2 = wxString_in_helper(obj1);
8662 if (arg2 == NULL) SWIG_fail;
ae8162c8 8663 temp2 = true;
d14a1e28
RD
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 Py_INCREF(Py_None); resultobj = Py_None;
8673 {
8674 if (temp2)
8675 delete arg2;
8676 }
8677 return resultobj;
8678 fail:
8679 {
8680 if (temp2)
8681 delete arg2;
8682 }
8683 return NULL;
8684}
8685
8686
c32bde28 8687static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8688 PyObject *resultobj;
8689 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8690 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
8691 int arg3 ;
8692 int arg4 ;
d14a1e28
RD
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
994141e6
RD
8695 PyObject * obj2 = 0 ;
8696 PyObject * obj3 = 0 ;
d14a1e28
RD
8697 char *kwnames[] = {
8698 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8699 };
8700
994141e6 8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail;
8704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8705 if (SWIG_arg_fail(2)) SWIG_fail;
8706 {
8707 arg3 = (int)(SWIG_As_int(obj2));
8708 if (SWIG_arg_fail(3)) SWIG_fail;
8709 }
8710 {
8711 arg4 = (int)(SWIG_As_int(obj3));
8712 if (SWIG_arg_fail(4)) SWIG_fail;
8713 }
d14a1e28
RD
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 Py_INCREF(Py_None); resultobj = Py_None;
8722 return resultobj;
8723 fail:
8724 return NULL;
8725}
8726
8727
c32bde28 8728static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8729 PyObject *resultobj;
8730 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8731 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
8732 int arg3 ;
8733 int arg4 ;
d14a1e28
RD
8734 wxMouseEvent *arg5 = 0 ;
8735 PyObject * obj0 = 0 ;
8736 PyObject * obj1 = 0 ;
994141e6
RD
8737 PyObject * obj2 = 0 ;
8738 PyObject * obj3 = 0 ;
d14a1e28
RD
8739 PyObject * obj4 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8742 };
8743
994141e6 8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
8745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail;
8747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8748 if (SWIG_arg_fail(2)) SWIG_fail;
8749 {
8750 arg3 = (int)(SWIG_As_int(obj2));
8751 if (SWIG_arg_fail(3)) SWIG_fail;
8752 }
8753 {
8754 arg4 = (int)(SWIG_As_int(obj3));
8755 if (SWIG_arg_fail(4)) SWIG_fail;
8756 }
8757 {
8758 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
8759 if (SWIG_arg_fail(5)) SWIG_fail;
8760 if (arg5 == NULL) {
8761 SWIG_null_ref("wxMouseEvent");
8762 }
8763 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
8764 }
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 Py_INCREF(Py_None); resultobj = Py_None;
8773 return resultobj;
8774 fail:
8775 return NULL;
8776}
8777
8778
c32bde28 8779static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 8780 PyObject *resultobj;
093d3ff1 8781 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8782 wxVisualAttributes result;
8783 PyObject * obj0 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "variant", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8789 if (obj0) {
093d3ff1
RD
8790 {
8791 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8792 if (SWIG_arg_fail(1)) SWIG_fail;
8793 }
22bfe96c
RD
8794 }
8795 {
e3b71cb8 8796 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8799
8800 wxPyEndAllowThreads(__tstate);
110da5b0 8801 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8802 }
8803 {
8804 wxVisualAttributes * resultptr;
093d3ff1 8805 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
8806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8807 }
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
c32bde28 8814static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8815 PyObject *obj;
8816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8817 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
8818 Py_INCREF(obj);
8819 return Py_BuildValue((char *)"");
8820}
c32bde28 8821static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8822 PyObject *resultobj;
8823 wxHtmlDCRenderer *result;
8824 char *kwnames[] = {
8825 NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
8829 {
e3b71cb8 8830 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
8833
8834 wxPyEndAllowThreads(__tstate);
110da5b0 8835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8836 }
15afbcd0 8837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
8838 return resultobj;
8839 fail:
8840 return NULL;
8841}
8842
8843
c32bde28 8844static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8845 PyObject *resultobj;
8846 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8847 PyObject * obj0 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 delete arg1;
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 Py_INCREF(Py_None); resultobj = Py_None;
8863 return resultobj;
8864 fail:
8865 return NULL;
8866}
8867
8868
c32bde28 8869static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8870 PyObject *resultobj;
8871 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8872 wxDC *arg2 = (wxDC *) 0 ;
8873 int arg3 ;
8874 PyObject * obj0 = 0 ;
8875 PyObject * obj1 = 0 ;
994141e6 8876 PyObject * obj2 = 0 ;
d14a1e28
RD
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8879 };
8880
994141e6 8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail;
8884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8885 if (SWIG_arg_fail(2)) SWIG_fail;
8886 {
8887 arg3 = (int)(SWIG_As_int(obj2));
8888 if (SWIG_arg_fail(3)) SWIG_fail;
8889 }
d14a1e28
RD
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 (arg1)->SetDC(arg2,arg3);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 Py_INCREF(Py_None); resultobj = Py_None;
8898 return resultobj;
8899 fail:
8900 return NULL;
8901}
8902
8903
c32bde28 8904static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8905 PyObject *resultobj;
8906 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8907 int arg2 ;
8908 int arg3 ;
8909 PyObject * obj0 = 0 ;
994141e6
RD
8910 PyObject * obj1 = 0 ;
8911 PyObject * obj2 = 0 ;
d14a1e28
RD
8912 char *kwnames[] = {
8913 (char *) "self",(char *) "width",(char *) "height", NULL
8914 };
8915
994141e6 8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail;
8919 {
8920 arg2 = (int)(SWIG_As_int(obj1));
8921 if (SWIG_arg_fail(2)) SWIG_fail;
8922 }
8923 {
8924 arg3 = (int)(SWIG_As_int(obj2));
8925 if (SWIG_arg_fail(3)) SWIG_fail;
8926 }
d14a1e28
RD
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->SetSize(arg2,arg3);
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 return resultobj;
8936 fail:
8937 return NULL;
8938}
8939
8940
c32bde28 8941static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8942 PyObject *resultobj;
8943 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8944 wxString *arg2 = 0 ;
8945 wxString const &arg3_defvalue = wxPyEmptyString ;
8946 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
8947 bool arg4 = (bool) true ;
8948 bool temp2 = false ;
8949 bool temp3 = false ;
d14a1e28
RD
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 PyObject * obj2 = 0 ;
8953 PyObject * obj3 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8961 {
8962 arg2 = wxString_in_helper(obj1);
8963 if (arg2 == NULL) SWIG_fail;
ae8162c8 8964 temp2 = true;
d14a1e28
RD
8965 }
8966 if (obj2) {
8967 {
8968 arg3 = wxString_in_helper(obj2);
8969 if (arg3 == NULL) SWIG_fail;
ae8162c8 8970 temp3 = true;
d14a1e28
RD
8971 }
8972 }
8973 if (obj3) {
093d3ff1
RD
8974 {
8975 arg4 = (bool)(SWIG_As_bool(obj3));
8976 if (SWIG_arg_fail(4)) SWIG_fail;
8977 }
d14a1e28
RD
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 Py_INCREF(Py_None); resultobj = Py_None;
8987 {
8988 if (temp2)
8989 delete arg2;
8990 }
8991 {
8992 if (temp3)
8993 delete arg3;
8994 }
8995 return resultobj;
8996 fail:
8997 {
8998 if (temp2)
8999 delete arg2;
9000 }
9001 {
9002 if (temp3)
9003 delete arg3;
9004 }
9005 return NULL;
9006}
9007
9008
c32bde28 9009static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9010 PyObject *resultobj;
9011 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9012 wxString arg2 ;
9013 wxString arg3 ;
9014 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9015 PyObject * obj0 = 0 ;
9016 PyObject * obj1 = 0 ;
9017 PyObject * obj2 = 0 ;
9018 PyObject * obj3 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
9026 {
9027 wxString* sptr = wxString_in_helper(obj1);
9028 if (sptr == NULL) SWIG_fail;
9029 arg2 = *sptr;
9030 delete sptr;
9031 }
9032 {
9033 wxString* sptr = wxString_in_helper(obj2);
9034 if (sptr == NULL) SWIG_fail;
9035 arg3 = *sptr;
9036 delete sptr;
9037 }
d14a1e28
RD
9038 if (obj3) {
9039 arg4 = obj3;
9040 }
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 Py_INCREF(Py_None); resultobj = Py_None;
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
ae8162c8 9055static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9056 PyObject *resultobj;
9057 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9058 int arg2 = (int) -1 ;
ae8162c8
RD
9059 wxString const &arg3_defvalue = wxPyEmptyString ;
9060 wxString *arg3 = (wxString *) &arg3_defvalue ;
9061 wxString const &arg4_defvalue = wxPyEmptyString ;
9062 wxString *arg4 = (wxString *) &arg4_defvalue ;
9063 bool temp3 = false ;
9064 bool temp4 = false ;
30ee79f7
RD
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
ae8162c8
RD
9067 PyObject * obj2 = 0 ;
9068 PyObject * obj3 = 0 ;
30ee79f7 9069 char *kwnames[] = {
ae8162c8 9070 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9071 };
9072
ae8162c8 9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9075 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9076 if (obj1) {
093d3ff1
RD
9077 {
9078 arg2 = (int)(SWIG_As_int(obj1));
9079 if (SWIG_arg_fail(2)) SWIG_fail;
9080 }
30ee79f7 9081 }
ae8162c8
RD
9082 if (obj2) {
9083 {
9084 arg3 = wxString_in_helper(obj2);
9085 if (arg3 == NULL) SWIG_fail;
9086 temp3 = true;
9087 }
9088 }
9089 if (obj3) {
9090 {
9091 arg4 = wxString_in_helper(obj3);
9092 if (arg4 == NULL) SWIG_fail;
9093 temp4 = true;
9094 }
9095 }
30ee79f7
RD
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9098 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9104 {
9105 if (temp3)
9106 delete arg3;
9107 }
9108 {
9109 if (temp4)
9110 delete arg4;
9111 }
30ee79f7
RD
9112 return resultobj;
9113 fail:
ae8162c8
RD
9114 {
9115 if (temp3)
9116 delete arg3;
9117 }
9118 {
9119 if (temp4)
9120 delete arg4;
9121 }
30ee79f7
RD
9122 return NULL;
9123}
9124
9125
c32bde28 9126static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9127 PyObject *resultobj;
9128 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9129 int arg2 ;
9130 int arg3 ;
9131 int arg4 = (int) 0 ;
ae8162c8 9132 int arg5 = (int) false ;
d14a1e28
RD
9133 int arg6 = (int) INT_MAX ;
9134 int *arg7 = (int *) NULL ;
9135 int arg8 = (int) 0 ;
9136 int result;
9137 PyObject * obj0 = 0 ;
994141e6
RD
9138 PyObject * obj1 = 0 ;
9139 PyObject * obj2 = 0 ;
9140 PyObject * obj3 = 0 ;
9141 PyObject * obj4 = 0 ;
9142 PyObject * obj5 = 0 ;
d14a1e28 9143 PyObject * obj6 = 0 ;
994141e6 9144 PyObject * obj7 = 0 ;
d14a1e28 9145 char *kwnames[] = {
f78cc896 9146 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9147 };
9148
994141e6 9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 {
9153 arg2 = (int)(SWIG_As_int(obj1));
9154 if (SWIG_arg_fail(2)) SWIG_fail;
9155 }
9156 {
9157 arg3 = (int)(SWIG_As_int(obj2));
9158 if (SWIG_arg_fail(3)) SWIG_fail;
9159 }
994141e6 9160 if (obj3) {
093d3ff1
RD
9161 {
9162 arg4 = (int)(SWIG_As_int(obj3));
9163 if (SWIG_arg_fail(4)) SWIG_fail;
9164 }
994141e6
RD
9165 }
9166 if (obj4) {
093d3ff1
RD
9167 {
9168 arg5 = (int)(SWIG_As_int(obj4));
9169 if (SWIG_arg_fail(5)) SWIG_fail;
9170 }
994141e6
RD
9171 }
9172 if (obj5) {
093d3ff1
RD
9173 {
9174 arg6 = (int)(SWIG_As_int(obj5));
9175 if (SWIG_arg_fail(6)) SWIG_fail;
9176 }
994141e6 9177 }
d14a1e28 9178 if (obj6) {
093d3ff1
RD
9179 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9180 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9181 }
994141e6 9182 if (obj7) {
093d3ff1
RD
9183 {
9184 arg8 = (int)(SWIG_As_int(obj7));
9185 if (SWIG_arg_fail(8)) SWIG_fail;
9186 }
994141e6 9187 }
d14a1e28
RD
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
093d3ff1
RD
9195 {
9196 resultobj = SWIG_From_int((int)(result));
9197 }
d14a1e28
RD
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
c32bde28 9204static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9205 PyObject *resultobj;
9206 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9207 int result;
9208 PyObject * obj0 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
9214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (int)(arg1)->GetTotalHeight();
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
093d3ff1
RD
9223 {
9224 resultobj = SWIG_From_int((int)(result));
9225 }
d14a1e28
RD
9226 return resultobj;
9227 fail:
9228 return NULL;
9229}
9230
9231
c32bde28 9232static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9233 PyObject *obj;
9234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9235 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9236 Py_INCREF(obj);
9237 return Py_BuildValue((char *)"");
9238}
c32bde28 9239static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9240 PyObject *resultobj;
9241 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9242 wxString *arg1 = (wxString *) &arg1_defvalue ;
9243 wxHtmlPrintout *result;
ae8162c8 9244 bool temp1 = false ;
d14a1e28
RD
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "title", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9251 if (obj0) {
9252 {
9253 arg1 = wxString_in_helper(obj0);
9254 if (arg1 == NULL) SWIG_fail;
ae8162c8 9255 temp1 = true;
d14a1e28
RD
9256 }
9257 }
9258 {
e3b71cb8 9259 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9262
9263 wxPyEndAllowThreads(__tstate);
110da5b0 9264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9265 }
15afbcd0 9266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9267 {
9268 if (temp1)
9269 delete arg1;
9270 }
9271 return resultobj;
9272 fail:
9273 {
9274 if (temp1)
9275 delete arg1;
9276 }
9277 return NULL;
9278}
9279
9280
c32bde28 9281static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9282 PyObject *resultobj;
9283 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9284 wxString *arg2 = 0 ;
9285 wxString const &arg3_defvalue = wxPyEmptyString ;
9286 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9287 bool arg4 = (bool) true ;
9288 bool temp2 = false ;
9289 bool temp3 = false ;
d14a1e28
RD
9290 PyObject * obj0 = 0 ;
9291 PyObject * obj1 = 0 ;
9292 PyObject * obj2 = 0 ;
9293 PyObject * obj3 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9301 {
9302 arg2 = wxString_in_helper(obj1);
9303 if (arg2 == NULL) SWIG_fail;
ae8162c8 9304 temp2 = true;
d14a1e28
RD
9305 }
9306 if (obj2) {
9307 {
9308 arg3 = wxString_in_helper(obj2);
9309 if (arg3 == NULL) SWIG_fail;
ae8162c8 9310 temp3 = true;
d14a1e28
RD
9311 }
9312 }
9313 if (obj3) {
093d3ff1
RD
9314 {
9315 arg4 = (bool)(SWIG_As_bool(obj3));
9316 if (SWIG_arg_fail(4)) SWIG_fail;
9317 }
d14a1e28
RD
9318 }
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 {
9328 if (temp2)
9329 delete arg2;
9330 }
9331 {
9332 if (temp3)
9333 delete arg3;
9334 }
9335 return resultobj;
9336 fail:
9337 {
9338 if (temp2)
9339 delete arg2;
9340 }
9341 {
9342 if (temp3)
9343 delete arg3;
9344 }
9345 return NULL;
9346}
9347
9348
c32bde28 9349static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9350 PyObject *resultobj;
9351 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9352 wxString *arg2 = 0 ;
ae8162c8 9353 bool temp2 = false ;
d14a1e28
RD
9354 PyObject * obj0 = 0 ;
9355 PyObject * obj1 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self",(char *) "htmlfile", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9363 {
9364 arg2 = wxString_in_helper(obj1);
9365 if (arg2 == NULL) SWIG_fail;
ae8162c8 9366 temp2 = true;
d14a1e28
RD
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetHtmlFile((wxString const &)*arg2);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 {
9377 if (temp2)
9378 delete arg2;
9379 }
9380 return resultobj;
9381 fail:
9382 {
9383 if (temp2)
9384 delete arg2;
9385 }
9386 return NULL;
9387}
9388
9389
c32bde28 9390static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9391 PyObject *resultobj;
9392 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9393 wxString *arg2 = 0 ;
9394 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9395 bool temp2 = false ;
d14a1e28
RD
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
994141e6 9398 PyObject * obj2 = 0 ;
d14a1e28
RD
9399 char *kwnames[] = {
9400 (char *) "self",(char *) "header",(char *) "pg", NULL
9401 };
9402
994141e6 9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9406 {
9407 arg2 = wxString_in_helper(obj1);
9408 if (arg2 == NULL) SWIG_fail;
ae8162c8 9409 temp2 = true;
d14a1e28 9410 }
994141e6 9411 if (obj2) {
093d3ff1
RD
9412 {
9413 arg3 = (int)(SWIG_As_int(obj2));
9414 if (SWIG_arg_fail(3)) SWIG_fail;
9415 }
994141e6 9416 }
d14a1e28
RD
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 Py_INCREF(Py_None); resultobj = Py_None;
9425 {
9426 if (temp2)
9427 delete arg2;
9428 }
9429 return resultobj;
9430 fail:
9431 {
9432 if (temp2)
9433 delete arg2;
9434 }
9435 return NULL;
9436}
9437
9438
c32bde28 9439static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9440 PyObject *resultobj;
9441 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9442 wxString *arg2 = 0 ;
9443 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9444 bool temp2 = false ;
d14a1e28
RD
9445 PyObject * obj0 = 0 ;
9446 PyObject * obj1 = 0 ;
994141e6 9447 PyObject * obj2 = 0 ;
d14a1e28
RD
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "footer",(char *) "pg", NULL
9450 };
9451
994141e6 9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9455 {
9456 arg2 = wxString_in_helper(obj1);
9457 if (arg2 == NULL) SWIG_fail;
ae8162c8 9458 temp2 = true;
d14a1e28 9459 }
994141e6 9460 if (obj2) {
093d3ff1
RD
9461 {
9462 arg3 = (int)(SWIG_As_int(obj2));
9463 if (SWIG_arg_fail(3)) SWIG_fail;
9464 }
994141e6 9465 }
d14a1e28
RD
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 Py_INCREF(Py_None); resultobj = Py_None;
9474 {
9475 if (temp2)
9476 delete arg2;
9477 }
9478 return resultobj;
9479 fail:
9480 {
9481 if (temp2)
9482 delete arg2;
9483 }
9484 return NULL;
9485}
9486
9487
c32bde28 9488static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9489 PyObject *resultobj;
9490 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9491 wxString arg2 ;
9492 wxString arg3 ;
9493 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 PyObject * obj2 = 0 ;
9497 PyObject * obj3 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
9505 {
9506 wxString* sptr = wxString_in_helper(obj1);
9507 if (sptr == NULL) SWIG_fail;
9508 arg2 = *sptr;
9509 delete sptr;
9510 }
9511 {
9512 wxString* sptr = wxString_in_helper(obj2);
9513 if (sptr == NULL) SWIG_fail;
9514 arg3 = *sptr;
9515 delete sptr;
9516 }
d14a1e28
RD
9517 if (obj3) {
9518 arg4 = obj3;
9519 }
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 Py_INCREF(Py_None); resultobj = Py_None;
9528 return resultobj;
9529 fail:
9530 return NULL;
9531}
9532
9533
ae8162c8 9534static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9535 PyObject *resultobj;
9536 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9537 int arg2 = (int) -1 ;
ae8162c8
RD
9538 wxString const &arg3_defvalue = wxPyEmptyString ;
9539 wxString *arg3 = (wxString *) &arg3_defvalue ;
9540 wxString const &arg4_defvalue = wxPyEmptyString ;
9541 wxString *arg4 = (wxString *) &arg4_defvalue ;
9542 bool temp3 = false ;
9543 bool temp4 = false ;
30ee79f7
RD
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
ae8162c8
RD
9546 PyObject * obj2 = 0 ;
9547 PyObject * obj3 = 0 ;
30ee79f7 9548 char *kwnames[] = {
ae8162c8 9549 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9550 };
9551
ae8162c8 9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9554 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9555 if (obj1) {
093d3ff1
RD
9556 {
9557 arg2 = (int)(SWIG_As_int(obj1));
9558 if (SWIG_arg_fail(2)) SWIG_fail;
9559 }
30ee79f7 9560 }
ae8162c8
RD
9561 if (obj2) {
9562 {
9563 arg3 = wxString_in_helper(obj2);
9564 if (arg3 == NULL) SWIG_fail;
9565 temp3 = true;
9566 }
9567 }
9568 if (obj3) {
9569 {
9570 arg4 = wxString_in_helper(obj3);
9571 if (arg4 == NULL) SWIG_fail;
9572 temp4 = true;
9573 }
9574 }
30ee79f7
RD
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9577 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9583 {
9584 if (temp3)
9585 delete arg3;
9586 }
9587 {
9588 if (temp4)
9589 delete arg4;
9590 }
30ee79f7
RD
9591 return resultobj;
9592 fail:
ae8162c8
RD
9593 {
9594 if (temp3)
9595 delete arg3;
9596 }
9597 {
9598 if (temp4)
9599 delete arg4;
9600 }
30ee79f7
RD
9601 return NULL;
9602}
9603
9604
c32bde28 9605static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9606 PyObject *resultobj;
9607 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9608 float arg2 = (float) 25.2 ;
9609 float arg3 = (float) 25.2 ;
9610 float arg4 = (float) 25.2 ;
9611 float arg5 = (float) 25.2 ;
9612 float arg6 = (float) 5 ;
9613 PyObject * obj0 = 0 ;
994141e6
RD
9614 PyObject * obj1 = 0 ;
9615 PyObject * obj2 = 0 ;
9616 PyObject * obj3 = 0 ;
9617 PyObject * obj4 = 0 ;
9618 PyObject * obj5 = 0 ;
d14a1e28
RD
9619 char *kwnames[] = {
9620 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9621 };
9622
994141e6 9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
9624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 9626 if (obj1) {
093d3ff1
RD
9627 {
9628 arg2 = (float)(SWIG_As_float(obj1));
9629 if (SWIG_arg_fail(2)) SWIG_fail;
9630 }
994141e6
RD
9631 }
9632 if (obj2) {
093d3ff1
RD
9633 {
9634 arg3 = (float)(SWIG_As_float(obj2));
9635 if (SWIG_arg_fail(3)) SWIG_fail;
9636 }
994141e6
RD
9637 }
9638 if (obj3) {
093d3ff1
RD
9639 {
9640 arg4 = (float)(SWIG_As_float(obj3));
9641 if (SWIG_arg_fail(4)) SWIG_fail;
9642 }
994141e6
RD
9643 }
9644 if (obj4) {
093d3ff1
RD
9645 {
9646 arg5 = (float)(SWIG_As_float(obj4));
9647 if (SWIG_arg_fail(5)) SWIG_fail;
9648 }
994141e6
RD
9649 }
9650 if (obj5) {
093d3ff1
RD
9651 {
9652 arg6 = (float)(SWIG_As_float(obj5));
9653 if (SWIG_arg_fail(6)) SWIG_fail;
9654 }
994141e6 9655 }
d14a1e28
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 Py_INCREF(Py_None); resultobj = Py_None;
9664 return resultobj;
9665 fail:
9666 return NULL;
9667}
9668
9669
c32bde28 9670static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9671 PyObject *resultobj;
9672 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "filter", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
9679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 wxHtmlPrintout::AddFilter(arg1);
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 Py_INCREF(Py_None); resultobj = Py_None;
9689 return resultobj;
9690 fail:
9691 return NULL;
9692}
9693
9694
c32bde28 9695static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9696 PyObject *resultobj;
9697 char *kwnames[] = {
9698 NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 wxHtmlPrintout::CleanUpStatics();
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 Py_INCREF(Py_None); resultobj = Py_None;
9710 return resultobj;
9711 fail:
9712 return NULL;
9713}
9714
9715
c32bde28 9716static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9717 PyObject *obj;
9718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9719 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9720 Py_INCREF(obj);
9721 return Py_BuildValue((char *)"");
9722}
c32bde28 9723static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9724 PyObject *resultobj;
9725 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9726 wxString *arg1 = (wxString *) &arg1_defvalue ;
9727 wxWindow *arg2 = (wxWindow *) NULL ;
9728 wxHtmlEasyPrinting *result;
ae8162c8 9729 bool temp1 = false ;
d14a1e28
RD
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 char *kwnames[] = {
9733 (char *) "name",(char *) "parentWindow", NULL
9734 };
9735
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9737 if (obj0) {
9738 {
9739 arg1 = wxString_in_helper(obj0);
9740 if (arg1 == NULL) SWIG_fail;
ae8162c8 9741 temp1 = true;
d14a1e28
RD
9742 }
9743 }
9744 if (obj1) {
093d3ff1
RD
9745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9746 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9747 }
9748 {
e3b71cb8 9749 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9752
9753 wxPyEndAllowThreads(__tstate);
110da5b0 9754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9755 }
15afbcd0 9756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
9757 {
9758 if (temp1)
9759 delete arg1;
9760 }
9761 return resultobj;
9762 fail:
9763 {
9764 if (temp1)
9765 delete arg1;
9766 }
9767 return NULL;
9768}
9769
9770
c32bde28 9771static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9772 PyObject *resultobj;
9773 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9774 PyObject * obj0 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
9780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 delete arg1;
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 Py_INCREF(Py_None); resultobj = Py_None;
9790 return resultobj;
9791 fail:
9792 return NULL;
9793}
9794
9795
c32bde28 9796static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9797 PyObject *resultobj;
9798 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9799 wxString *arg2 = 0 ;
ae8162c8 9800 bool temp2 = false ;
d14a1e28
RD
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self",(char *) "htmlfile", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9810 {
9811 arg2 = wxString_in_helper(obj1);
9812 if (arg2 == NULL) SWIG_fail;
ae8162c8 9813 temp2 = true;
d14a1e28
RD
9814 }
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 (arg1)->PreviewFile((wxString const &)*arg2);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 {
9824 if (temp2)
9825 delete arg2;
9826 }
9827 return resultobj;
9828 fail:
9829 {
9830 if (temp2)
9831 delete arg2;
9832 }
9833 return NULL;
9834}
9835
9836
c32bde28 9837static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9838 PyObject *resultobj;
9839 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9840 wxString *arg2 = 0 ;
9841 wxString const &arg3_defvalue = wxPyEmptyString ;
9842 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9843 bool temp2 = false ;
9844 bool temp3 = false ;
d14a1e28
RD
9845 PyObject * obj0 = 0 ;
9846 PyObject * obj1 = 0 ;
9847 PyObject * obj2 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9855 {
9856 arg2 = wxString_in_helper(obj1);
9857 if (arg2 == NULL) SWIG_fail;
ae8162c8 9858 temp2 = true;
d14a1e28
RD
9859 }
9860 if (obj2) {
9861 {
9862 arg3 = wxString_in_helper(obj2);
9863 if (arg3 == NULL) SWIG_fail;
ae8162c8 9864 temp3 = true;
d14a1e28
RD
9865 }
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 {
9876 if (temp2)
9877 delete arg2;
9878 }
9879 {
9880 if (temp3)
9881 delete arg3;
9882 }
9883 return resultobj;
9884 fail:
9885 {
9886 if (temp2)
9887 delete arg2;
9888 }
9889 {
9890 if (temp3)
9891 delete arg3;
9892 }
9893 return NULL;
9894}
9895
9896
c32bde28 9897static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9898 PyObject *resultobj;
9899 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9900 wxString *arg2 = 0 ;
ae8162c8 9901 bool temp2 = false ;
d14a1e28
RD
9902 PyObject * obj0 = 0 ;
9903 PyObject * obj1 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "htmlfile", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9911 {
9912 arg2 = wxString_in_helper(obj1);
9913 if (arg2 == NULL) SWIG_fail;
ae8162c8 9914 temp2 = true;
d14a1e28
RD
9915 }
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 (arg1)->PrintFile((wxString const &)*arg2);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 Py_INCREF(Py_None); resultobj = Py_None;
9924 {
9925 if (temp2)
9926 delete arg2;
9927 }
9928 return resultobj;
9929 fail:
9930 {
9931 if (temp2)
9932 delete arg2;
9933 }
9934 return NULL;
9935}
9936
9937
c32bde28 9938static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9939 PyObject *resultobj;
9940 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9941 wxString *arg2 = 0 ;
9942 wxString const &arg3_defvalue = wxPyEmptyString ;
9943 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9944 bool temp2 = false ;
9945 bool temp3 = false ;
d14a1e28
RD
9946 PyObject * obj0 = 0 ;
9947 PyObject * obj1 = 0 ;
9948 PyObject * obj2 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9956 {
9957 arg2 = wxString_in_helper(obj1);
9958 if (arg2 == NULL) SWIG_fail;
ae8162c8 9959 temp2 = true;
d14a1e28
RD
9960 }
9961 if (obj2) {
9962 {
9963 arg3 = wxString_in_helper(obj2);
9964 if (arg3 == NULL) SWIG_fail;
ae8162c8 9965 temp3 = true;
d14a1e28
RD
9966 }
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 {
9977 if (temp2)
9978 delete arg2;
9979 }
9980 {
9981 if (temp3)
9982 delete arg3;
9983 }
9984 return resultobj;
9985 fail:
9986 {
9987 if (temp2)
9988 delete arg2;
9989 }
9990 {
9991 if (temp3)
9992 delete arg3;
9993 }
9994 return NULL;
9995}
9996
9997
c32bde28 9998static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9999 PyObject *resultobj;
10000 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10001 PyObject * obj0 = 0 ;
10002 char *kwnames[] = {
10003 (char *) "self", NULL
10004 };
10005
10006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
093d3ff1
RD
10007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 (arg1)->PageSetup();
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 Py_INCREF(Py_None); resultobj = Py_None;
10017 return resultobj;
10018 fail:
10019 return NULL;
10020}
10021
10022
c32bde28 10023static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10024 PyObject *resultobj;
10025 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10026 wxString *arg2 = 0 ;
10027 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 10028 bool temp2 = false ;
d14a1e28
RD
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
994141e6 10031 PyObject * obj2 = 0 ;
d14a1e28
RD
10032 char *kwnames[] = {
10033 (char *) "self",(char *) "header",(char *) "pg", NULL
10034 };
10035
994141e6 10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10039 {
10040 arg2 = wxString_in_helper(obj1);
10041 if (arg2 == NULL) SWIG_fail;
ae8162c8 10042 temp2 = true;
d14a1e28 10043 }
994141e6 10044 if (obj2) {
093d3ff1
RD
10045 {
10046 arg3 = (int)(SWIG_As_int(obj2));
10047 if (SWIG_arg_fail(3)) SWIG_fail;
10048 }
994141e6 10049 }
d14a1e28
RD
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 Py_INCREF(Py_None); resultobj = Py_None;
10058 {
10059 if (temp2)
10060 delete arg2;
10061 }
10062 return resultobj;
10063 fail:
10064 {
10065 if (temp2)
10066 delete arg2;
10067 }
10068 return NULL;
10069}
10070
10071
c32bde28 10072static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10073 PyObject *resultobj;
10074 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10075 wxString *arg2 = 0 ;
10076 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 10077 bool temp2 = false ;
d14a1e28
RD
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
994141e6 10080 PyObject * obj2 = 0 ;
d14a1e28
RD
10081 char *kwnames[] = {
10082 (char *) "self",(char *) "footer",(char *) "pg", NULL
10083 };
10084
994141e6 10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10087 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10088 {
10089 arg2 = wxString_in_helper(obj1);
10090 if (arg2 == NULL) SWIG_fail;
ae8162c8 10091 temp2 = true;
d14a1e28 10092 }
994141e6 10093 if (obj2) {
093d3ff1
RD
10094 {
10095 arg3 = (int)(SWIG_As_int(obj2));
10096 if (SWIG_arg_fail(3)) SWIG_fail;
10097 }
994141e6 10098 }
d14a1e28
RD
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 {
10108 if (temp2)
10109 delete arg2;
10110 }
10111 return resultobj;
10112 fail:
10113 {
10114 if (temp2)
10115 delete arg2;
10116 }
10117 return NULL;
10118}
10119
10120
c32bde28 10121static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10122 PyObject *resultobj;
10123 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10124 wxString arg2 ;
10125 wxString arg3 ;
10126 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 PyObject * obj2 = 0 ;
10130 PyObject * obj3 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
10138 {
10139 wxString* sptr = wxString_in_helper(obj1);
10140 if (sptr == NULL) SWIG_fail;
10141 arg2 = *sptr;
10142 delete sptr;
10143 }
10144 {
10145 wxString* sptr = wxString_in_helper(obj2);
10146 if (sptr == NULL) SWIG_fail;
10147 arg3 = *sptr;
10148 delete sptr;
10149 }
d14a1e28
RD
10150 if (obj3) {
10151 arg4 = obj3;
10152 }
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 Py_INCREF(Py_None); resultobj = Py_None;
10161 return resultobj;
10162 fail:
10163 return NULL;
10164}
10165
10166
ae8162c8 10167static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
10168 PyObject *resultobj;
10169 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10170 int arg2 = (int) -1 ;
ae8162c8
RD
10171 wxString const &arg3_defvalue = wxPyEmptyString ;
10172 wxString *arg3 = (wxString *) &arg3_defvalue ;
10173 wxString const &arg4_defvalue = wxPyEmptyString ;
10174 wxString *arg4 = (wxString *) &arg4_defvalue ;
10175 bool temp3 = false ;
10176 bool temp4 = false ;
30ee79f7
RD
10177 PyObject * obj0 = 0 ;
10178 PyObject * obj1 = 0 ;
ae8162c8
RD
10179 PyObject * obj2 = 0 ;
10180 PyObject * obj3 = 0 ;
30ee79f7 10181 char *kwnames[] = {
ae8162c8 10182 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10183 };
10184
ae8162c8 10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10188 if (obj1) {
093d3ff1
RD
10189 {
10190 arg2 = (int)(SWIG_As_int(obj1));
10191 if (SWIG_arg_fail(2)) SWIG_fail;
10192 }
30ee79f7 10193 }
ae8162c8
RD
10194 if (obj2) {
10195 {
10196 arg3 = wxString_in_helper(obj2);
10197 if (arg3 == NULL) SWIG_fail;
10198 temp3 = true;
10199 }
10200 }
10201 if (obj3) {
10202 {
10203 arg4 = wxString_in_helper(obj3);
10204 if (arg4 == NULL) SWIG_fail;
10205 temp4 = true;
10206 }
10207 }
30ee79f7
RD
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 10210 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
10216 {
10217 if (temp3)
10218 delete arg3;
10219 }
10220 {
10221 if (temp4)
10222 delete arg4;
10223 }
30ee79f7
RD
10224 return resultobj;
10225 fail:
ae8162c8
RD
10226 {
10227 if (temp3)
10228 delete arg3;
10229 }
10230 {
10231 if (temp4)
10232 delete arg4;
10233 }
30ee79f7
RD
10234 return NULL;
10235}
10236
10237
c32bde28 10238static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10239 PyObject *resultobj;
10240 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10241 wxPrintData *result;
10242 PyObject * obj0 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10249 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (wxPrintData *)(arg1)->GetPrintData();
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
15afbcd0 10257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10258 return resultobj;
10259 fail:
10260 return NULL;
10261}
10262
10263
c32bde28 10264static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10265 PyObject *resultobj;
10266 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10267 wxPageSetupDialogData *result;
10268 PyObject * obj0 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
15afbcd0 10283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10284 return resultobj;
10285 fail:
10286 return NULL;
10287}
10288
10289
c32bde28 10290static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10291 PyObject *obj;
10292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10293 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10294 Py_INCREF(obj);
10295 return Py_BuildValue((char *)"");
10296}
c32bde28 10297static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10298 PyObject *resultobj;
10299 wxString *arg1 = 0 ;
10300 wxString *arg2 = 0 ;
10301 wxString *arg3 = 0 ;
10302 wxString *arg4 = 0 ;
10303 wxHtmlBookRecord *result;
ae8162c8
RD
10304 bool temp1 = false ;
10305 bool temp2 = false ;
10306 bool temp3 = false ;
10307 bool temp4 = false ;
d14a1e28
RD
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310 PyObject * obj2 = 0 ;
10311 PyObject * obj3 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10317 {
10318 arg1 = wxString_in_helper(obj0);
10319 if (arg1 == NULL) SWIG_fail;
ae8162c8 10320 temp1 = true;
d14a1e28
RD
10321 }
10322 {
10323 arg2 = wxString_in_helper(obj1);
10324 if (arg2 == NULL) SWIG_fail;
ae8162c8 10325 temp2 = true;
d14a1e28
RD
10326 }
10327 {
10328 arg3 = wxString_in_helper(obj2);
10329 if (arg3 == NULL) SWIG_fail;
ae8162c8 10330 temp3 = true;
d14a1e28
RD
10331 }
10332 {
10333 arg4 = wxString_in_helper(obj3);
10334 if (arg4 == NULL) SWIG_fail;
ae8162c8 10335 temp4 = true;
d14a1e28
RD
10336 }
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
15afbcd0 10344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10345 {
10346 if (temp1)
10347 delete arg1;
10348 }
10349 {
10350 if (temp2)
10351 delete arg2;
10352 }
10353 {
10354 if (temp3)
10355 delete arg3;
10356 }
10357 {
10358 if (temp4)
10359 delete arg4;
10360 }
10361 return resultobj;
10362 fail:
10363 {
10364 if (temp1)
10365 delete arg1;
10366 }
10367 {
10368 if (temp2)
10369 delete arg2;
10370 }
10371 {
10372 if (temp3)
10373 delete arg3;
10374 }
10375 {
10376 if (temp4)
10377 delete arg4;
10378 }
10379 return NULL;
10380}
10381
10382
c32bde28 10383static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10384 PyObject *resultobj;
10385 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10386 wxString result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (arg1)->GetBookFile();
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 {
10403#if wxUSE_UNICODE
10404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10405#else
10406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10407#endif
10408 }
10409 return resultobj;
10410 fail:
10411 return NULL;
10412}
10413
10414
c32bde28 10415static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10416 PyObject *resultobj;
10417 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10418 wxString result;
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 result = (arg1)->GetTitle();
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 {
10435#if wxUSE_UNICODE
10436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10437#else
10438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10439#endif
10440 }
10441 return resultobj;
10442 fail:
10443 return NULL;
10444}
10445
10446
c32bde28 10447static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10448 PyObject *resultobj;
10449 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10450 wxString result;
10451 PyObject * obj0 = 0 ;
10452 char *kwnames[] = {
10453 (char *) "self", NULL
10454 };
10455
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (arg1)->GetStart();
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 {
10467#if wxUSE_UNICODE
10468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10469#else
10470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10471#endif
10472 }
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
c32bde28 10479static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10480 PyObject *resultobj;
10481 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10482 wxString result;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
10489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (arg1)->GetBasePath();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 {
10499#if wxUSE_UNICODE
10500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10501#else
10502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10503#endif
10504 }
10505 return resultobj;
10506 fail:
10507 return NULL;
10508}
10509
10510
c32bde28 10511static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10512 PyObject *resultobj;
10513 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10514 int arg2 ;
10515 int arg3 ;
10516 PyObject * obj0 = 0 ;
994141e6
RD
10517 PyObject * obj1 = 0 ;
10518 PyObject * obj2 = 0 ;
d14a1e28
RD
10519 char *kwnames[] = {
10520 (char *) "self",(char *) "start",(char *) "end", NULL
10521 };
10522
994141e6 10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10525 if (SWIG_arg_fail(1)) SWIG_fail;
10526 {
10527 arg2 = (int)(SWIG_As_int(obj1));
10528 if (SWIG_arg_fail(2)) SWIG_fail;
10529 }
10530 {
10531 arg3 = (int)(SWIG_As_int(obj2));
10532 if (SWIG_arg_fail(3)) SWIG_fail;
10533 }
d14a1e28
RD
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->SetContentsRange(arg2,arg3);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545}
10546
10547
c32bde28 10548static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10549 PyObject *resultobj;
10550 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10551 int result;
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (int)(arg1)->GetContentsStart();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
093d3ff1
RD
10567 {
10568 resultobj = SWIG_From_int((int)(result));
10569 }
d14a1e28
RD
10570 return resultobj;
10571 fail:
10572 return NULL;
10573}
10574
10575
c32bde28 10576static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10577 PyObject *resultobj;
10578 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10579 int result;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
10586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (int)(arg1)->GetContentsEnd();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
093d3ff1
RD
10595 {
10596 resultobj = SWIG_From_int((int)(result));
10597 }
d14a1e28
RD
10598 return resultobj;
10599 fail:
10600 return NULL;
10601}
10602
10603
c32bde28 10604static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10605 PyObject *resultobj;
10606 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10607 wxString *arg2 = 0 ;
ae8162c8 10608 bool temp2 = false ;
d14a1e28
RD
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self",(char *) "title", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10618 {
10619 arg2 = wxString_in_helper(obj1);
10620 if (arg2 == NULL) SWIG_fail;
ae8162c8 10621 temp2 = true;
d14a1e28
RD
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->SetTitle((wxString const &)*arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 {
10632 if (temp2)
10633 delete arg2;
10634 }
10635 return resultobj;
10636 fail:
10637 {
10638 if (temp2)
10639 delete arg2;
10640 }
10641 return NULL;
10642}
10643
10644
c32bde28 10645static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10646 PyObject *resultobj;
10647 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10648 wxString *arg2 = 0 ;
ae8162c8 10649 bool temp2 = false ;
d14a1e28
RD
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "path", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10659 {
10660 arg2 = wxString_in_helper(obj1);
10661 if (arg2 == NULL) SWIG_fail;
ae8162c8 10662 temp2 = true;
d14a1e28
RD
10663 }
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 (arg1)->SetBasePath((wxString const &)*arg2);
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 Py_INCREF(Py_None); resultobj = Py_None;
10672 {
10673 if (temp2)
10674 delete arg2;
10675 }
10676 return resultobj;
10677 fail:
10678 {
10679 if (temp2)
10680 delete arg2;
10681 }
10682 return NULL;
10683}
10684
10685
c32bde28 10686static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10687 PyObject *resultobj;
10688 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10689 wxString *arg2 = 0 ;
ae8162c8 10690 bool temp2 = false ;
d14a1e28
RD
10691 PyObject * obj0 = 0 ;
10692 PyObject * obj1 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self",(char *) "start", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10700 {
10701 arg2 = wxString_in_helper(obj1);
10702 if (arg2 == NULL) SWIG_fail;
ae8162c8 10703 temp2 = true;
d14a1e28
RD
10704 }
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->SetStart((wxString const &)*arg2);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 Py_INCREF(Py_None); resultobj = Py_None;
10713 {
10714 if (temp2)
10715 delete arg2;
10716 }
10717 return resultobj;
10718 fail:
10719 {
10720 if (temp2)
10721 delete arg2;
10722 }
10723 return NULL;
10724}
10725
10726
c32bde28 10727static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10728 PyObject *resultobj;
10729 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10730 wxString *arg2 = 0 ;
10731 wxString result;
ae8162c8 10732 bool temp2 = false ;
d14a1e28
RD
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self",(char *) "page", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10742 {
10743 arg2 = wxString_in_helper(obj1);
10744 if (arg2 == NULL) SWIG_fail;
ae8162c8 10745 temp2 = true;
d14a1e28
RD
10746 }
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755#if wxUSE_UNICODE
10756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10757#else
10758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10759#endif
10760 }
10761 {
10762 if (temp2)
10763 delete arg2;
10764 }
10765 return resultobj;
10766 fail:
10767 {
10768 if (temp2)
10769 delete arg2;
10770 }
10771 return NULL;
10772}
10773
10774
c32bde28 10775static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10776 PyObject *obj;
10777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10778 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
10779 Py_INCREF(obj);
10780 return Py_BuildValue((char *)"");
10781}
c32bde28 10782static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10783 PyObject *resultobj;
10784 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10785 int result;
10786 PyObject * obj0 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
10792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (int)wxHtmlContentsItem_GetLevel(arg1);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
093d3ff1
RD
10801 {
10802 resultobj = SWIG_From_int((int)(result));
10803 }
d14a1e28
RD
10804 return resultobj;
10805 fail:
10806 return NULL;
10807}
10808
10809
c32bde28 10810static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10811 PyObject *resultobj;
10812 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10813 int result;
10814 PyObject * obj0 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
093d3ff1
RD
10820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10821 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 result = (int)wxHtmlContentsItem_GetID(arg1);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
093d3ff1
RD
10829 {
10830 resultobj = SWIG_From_int((int)(result));
10831 }
d14a1e28
RD
10832 return resultobj;
10833 fail:
10834 return NULL;
10835}
10836
10837
c32bde28 10838static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10839 PyObject *resultobj;
10840 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10841 wxString result;
10842 PyObject * obj0 = 0 ;
10843 char *kwnames[] = {
10844 (char *) "self", NULL
10845 };
10846
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
10848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = wxHtmlContentsItem_GetName(arg1);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 {
10858#if wxUSE_UNICODE
10859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10860#else
10861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10862#endif
10863 }
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
c32bde28 10870static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10871 PyObject *resultobj;
10872 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10873 wxString result;
10874 PyObject * obj0 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
10880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = wxHtmlContentsItem_GetPage(arg1);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 {
10890#if wxUSE_UNICODE
10891 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10892#else
10893 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10894#endif
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
c32bde28 10902static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10903 PyObject *resultobj;
10904 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10905 wxHtmlBookRecord *result;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
093d3ff1
RD
10912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
15afbcd0 10921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
d14a1e28
RD
10922 return resultobj;
10923 fail:
10924 return NULL;
10925}
10926
10927
c32bde28 10928static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10929 PyObject *obj;
10930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
10932 Py_INCREF(obj);
10933 return Py_BuildValue((char *)"");
10934}
c32bde28 10935static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10936 PyObject *resultobj;
10937 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10938 bool result;
10939 PyObject * obj0 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
093d3ff1
RD
10945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = (bool)(arg1)->Search();
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
4f89f6a3
RD
10954 {
10955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10956 }
d14a1e28
RD
10957 return resultobj;
10958 fail:
10959 return NULL;
10960}
10961
10962
c32bde28 10963static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10964 PyObject *resultobj;
10965 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10966 bool result;
10967 PyObject * obj0 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = (bool)(arg1)->IsActive();
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
4f89f6a3
RD
10982 {
10983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10984 }
d14a1e28
RD
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
c32bde28 10991static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10992 PyObject *resultobj;
10993 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10994 int result;
10995 PyObject * obj0 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (int)(arg1)->GetCurIndex();
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
093d3ff1
RD
11010 {
11011 resultobj = SWIG_From_int((int)(result));
11012 }
d14a1e28
RD
11013 return resultobj;
11014 fail:
11015 return NULL;
11016}
11017
11018
c32bde28 11019static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11020 PyObject *resultobj;
11021 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11022 int result;
11023 PyObject * obj0 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (int)(arg1)->GetMaxIndex();
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
093d3ff1
RD
11038 {
11039 resultobj = SWIG_From_int((int)(result));
11040 }
d14a1e28
RD
11041 return resultobj;
11042 fail:
11043 return NULL;
11044}
11045
11046
c32bde28 11047static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11048 PyObject *resultobj;
11049 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11050 wxString *result;
11051 PyObject * obj0 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "self", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
11057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 {
11062 wxString const &_result_ref = (arg1)->GetName();
11063 result = (wxString *) &_result_ref;
11064 }
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
cc6dd355
RD
11069 {
11070#if wxUSE_UNICODE
11071 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11072#else
11073 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11074#endif
11075 }
d14a1e28
RD
11076 return resultobj;
11077 fail:
11078 return NULL;
11079}
11080
11081
c32bde28 11082static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11083 PyObject *resultobj;
11084 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11085 wxHtmlContentsItem *result;
11086 PyObject * obj0 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
11092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11094 {
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
11097
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
15afbcd0 11101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11102 return resultobj;
11103 fail:
11104 return NULL;
11105}
11106
11107
c32bde28 11108static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11109 PyObject *obj;
11110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11111 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11112 Py_INCREF(obj);
11113 return Py_BuildValue((char *)"");
11114}
c32bde28 11115static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11116 PyObject *resultobj;
11117 wxHtmlHelpData *result;
11118 char *kwnames[] = {
11119 NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
15afbcd0 11130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
11131 return resultobj;
11132 fail:
11133 return NULL;
11134}
11135
11136
c32bde28 11137static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11138 PyObject *resultobj;
11139 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11140 PyObject * obj0 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 delete arg1;
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159}
11160
11161
c32bde28 11162static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11163 PyObject *resultobj;
11164 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11165 wxString *arg2 = 0 ;
ae8162c8 11166 bool temp2 = false ;
d14a1e28
RD
11167 PyObject * obj0 = 0 ;
11168 PyObject * obj1 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "self",(char *) "path", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11175 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11176 {
11177 arg2 = wxString_in_helper(obj1);
11178 if (arg2 == NULL) SWIG_fail;
ae8162c8 11179 temp2 = true;
d14a1e28
RD
11180 }
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetTempDir((wxString const &)*arg2);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 Py_INCREF(Py_None); resultobj = Py_None;
11189 {
11190 if (temp2)
11191 delete arg2;
11192 }
11193 return resultobj;
11194 fail:
11195 {
11196 if (temp2)
11197 delete arg2;
11198 }
11199 return NULL;
11200}
11201
11202
c32bde28 11203static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11204 PyObject *resultobj;
11205 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11206 wxString *arg2 = 0 ;
11207 bool result;
ae8162c8 11208 bool temp2 = false ;
d14a1e28
RD
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 char *kwnames[] = {
11212 (char *) "self",(char *) "book", NULL
11213 };
11214
11215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11218 {
11219 arg2 = wxString_in_helper(obj1);
11220 if (arg2 == NULL) SWIG_fail;
ae8162c8 11221 temp2 = true;
d14a1e28
RD
11222 }
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
4f89f6a3
RD
11230 {
11231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11232 }
d14a1e28
RD
11233 {
11234 if (temp2)
11235 delete arg2;
11236 }
11237 return resultobj;
11238 fail:
11239 {
11240 if (temp2)
11241 delete arg2;
11242 }
11243 return NULL;
11244}
11245
11246
c32bde28 11247static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11248 PyObject *resultobj;
11249 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11250 wxString *arg2 = 0 ;
11251 wxString result;
ae8162c8 11252 bool temp2 = false ;
d14a1e28
RD
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self",(char *) "page", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11262 {
11263 arg2 = wxString_in_helper(obj1);
11264 if (arg2 == NULL) SWIG_fail;
ae8162c8 11265 temp2 = true;
d14a1e28
RD
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (arg1)->FindPageByName((wxString const &)*arg2);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 {
11275#if wxUSE_UNICODE
11276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11277#else
11278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11279#endif
11280 }
11281 {
11282 if (temp2)
11283 delete arg2;
11284 }
11285 return resultobj;
11286 fail:
11287 {
11288 if (temp2)
11289 delete arg2;
11290 }
11291 return NULL;
11292}
11293
11294
c32bde28 11295static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11296 PyObject *resultobj;
11297 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11298 int arg2 ;
11299 wxString result;
11300 PyObject * obj0 = 0 ;
994141e6 11301 PyObject * obj1 = 0 ;
d14a1e28
RD
11302 char *kwnames[] = {
11303 (char *) "self",(char *) "id", NULL
11304 };
11305
994141e6 11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail;
11309 {
11310 arg2 = (int)(SWIG_As_int(obj1));
11311 if (SWIG_arg_fail(2)) SWIG_fail;
11312 }
d14a1e28
RD
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (arg1)->FindPageById(arg2);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321#if wxUSE_UNICODE
11322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11323#else
11324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11325#endif
11326 }
11327 return resultobj;
11328 fail:
11329 return NULL;
11330}
11331
11332
c32bde28 11333static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11334 PyObject *resultobj;
11335 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11336 wxHtmlBookRecArray *result;
11337 PyObject * obj0 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
093d3ff1
RD
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 {
11348 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11349 result = (wxHtmlBookRecArray *) &_result_ref;
11350 }
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
15afbcd0 11355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11356 return resultobj;
11357 fail:
11358 return NULL;
11359}
11360
11361
c32bde28 11362static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11363 PyObject *resultobj;
11364 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11365 wxHtmlContentsItem *result;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (wxHtmlContentsItem *)(arg1)->GetContents();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
15afbcd0 11381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11382 return resultobj;
11383 fail:
11384 return NULL;
11385}
11386
11387
c32bde28 11388static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11389 PyObject *resultobj;
11390 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11391 int result;
11392 PyObject * obj0 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11399 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (int)(arg1)->GetContentsCnt();
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
093d3ff1
RD
11407 {
11408 resultobj = SWIG_From_int((int)(result));
11409 }
d14a1e28
RD
11410 return resultobj;
11411 fail:
11412 return NULL;
11413}
11414
11415
c32bde28 11416static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11417 PyObject *resultobj;
11418 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11419 wxHtmlContentsItem *result;
11420 PyObject * obj0 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
15afbcd0 11435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11436 return resultobj;
11437 fail:
11438 return NULL;
11439}
11440
11441
c32bde28 11442static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11443 PyObject *resultobj;
11444 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11445 int result;
11446 PyObject * obj0 = 0 ;
11447 char *kwnames[] = {
11448 (char *) "self", NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 result = (int)(arg1)->GetIndexCnt();
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
093d3ff1
RD
11461 {
11462 resultobj = SWIG_From_int((int)(result));
11463 }
d14a1e28
RD
11464 return resultobj;
11465 fail:
11466 return NULL;
11467}
11468
11469
c32bde28 11470static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11471 PyObject *obj;
11472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11474 Py_INCREF(obj);
11475 return Py_BuildValue((char *)"");
11476}
c32bde28 11477static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11478 PyObject *resultobj;
11479 wxWindow *arg1 = (wxWindow *) 0 ;
11480 int arg2 ;
11481 wxString const &arg3_defvalue = wxPyEmptyString ;
11482 wxString *arg3 = (wxString *) &arg3_defvalue ;
11483 int arg4 = (int) wxHF_DEFAULTSTYLE ;
11484 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
11485 wxHtmlHelpFrame *result;
ae8162c8 11486 bool temp3 = false ;
d14a1e28 11487 PyObject * obj0 = 0 ;
994141e6 11488 PyObject * obj1 = 0 ;
d14a1e28 11489 PyObject * obj2 = 0 ;
994141e6 11490 PyObject * obj3 = 0 ;
d14a1e28
RD
11491 PyObject * obj4 = 0 ;
11492 char *kwnames[] = {
e811c8ce 11493 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
11494 };
11495
994141e6 11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
11497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11498 if (SWIG_arg_fail(1)) SWIG_fail;
11499 {
11500 arg2 = (int)(SWIG_As_int(obj1));
11501 if (SWIG_arg_fail(2)) SWIG_fail;
11502 }
d14a1e28
RD
11503 if (obj2) {
11504 {
11505 arg3 = wxString_in_helper(obj2);
11506 if (arg3 == NULL) SWIG_fail;
ae8162c8 11507 temp3 = true;
d14a1e28
RD
11508 }
11509 }
994141e6 11510 if (obj3) {
093d3ff1
RD
11511 {
11512 arg4 = (int)(SWIG_As_int(obj3));
11513 if (SWIG_arg_fail(4)) SWIG_fail;
11514 }
994141e6 11515 }
d14a1e28 11516 if (obj4) {
093d3ff1
RD
11517 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11518 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
11519 }
11520 {
e3b71cb8 11521 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
11524
11525 wxPyEndAllowThreads(__tstate);
110da5b0 11526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11527 }
15afbcd0 11528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
11529 {
11530 if (temp3)
11531 delete arg3;
11532 }
11533 return resultobj;
11534 fail:
11535 {
11536 if (temp3)
11537 delete arg3;
11538 }
11539 return NULL;
11540}
11541
11542
c32bde28 11543static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11544 PyObject *resultobj;
11545 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11546 wxHtmlHelpData *result;
11547 PyObject * obj0 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = (wxHtmlHelpData *)(arg1)->GetData();
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
15afbcd0 11562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11563 return resultobj;
11564 fail:
11565 return NULL;
11566}
11567
11568
c32bde28 11569static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11570 PyObject *resultobj;
11571 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11572 wxString *arg2 = 0 ;
ae8162c8 11573 bool temp2 = false ;
d14a1e28
RD
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "format", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11583 {
11584 arg2 = wxString_in_helper(obj1);
11585 if (arg2 == NULL) SWIG_fail;
ae8162c8 11586 temp2 = true;
d14a1e28
RD
11587 }
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 (arg1)->SetTitleFormat((wxString const &)*arg2);
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 Py_INCREF(Py_None); resultobj = Py_None;
11596 {
11597 if (temp2)
11598 delete arg2;
11599 }
11600 return resultobj;
11601 fail:
11602 {
11603 if (temp2)
11604 delete arg2;
11605 }
11606 return NULL;
11607}
11608
11609
c32bde28 11610static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11611 PyObject *resultobj;
11612 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11613 wxString *arg2 = 0 ;
ae8162c8 11614 bool temp2 = false ;
d14a1e28
RD
11615 PyObject * obj0 = 0 ;
11616 PyObject * obj1 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self",(char *) "x", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11623 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11624 {
11625 arg2 = wxString_in_helper(obj1);
11626 if (arg2 == NULL) SWIG_fail;
ae8162c8 11627 temp2 = true;
d14a1e28
RD
11628 }
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 (arg1)->Display((wxString const &)*arg2);
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 Py_INCREF(Py_None); resultobj = Py_None;
11637 {
11638 if (temp2)
11639 delete arg2;
11640 }
11641 return resultobj;
11642 fail:
11643 {
11644 if (temp2)
11645 delete arg2;
11646 }
11647 return NULL;
11648}
11649
11650
c32bde28 11651static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11652 PyObject *resultobj;
11653 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11654 int arg2 ;
11655 PyObject * obj0 = 0 ;
994141e6 11656 PyObject * obj1 = 0 ;
d14a1e28
RD
11657 char *kwnames[] = {
11658 (char *) "self",(char *) "id", NULL
11659 };
11660
994141e6 11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail;
11664 {
11665 arg2 = (int)(SWIG_As_int(obj1));
11666 if (SWIG_arg_fail(2)) SWIG_fail;
11667 }
d14a1e28
RD
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 (arg1)->Display(arg2);
11671
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 Py_INCREF(Py_None); resultobj = Py_None;
11676 return resultobj;
11677 fail:
11678 return NULL;
11679}
11680
11681
c32bde28 11682static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11683 PyObject *resultobj;
11684 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 (arg1)->DisplayContents();
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 Py_INCREF(Py_None); resultobj = Py_None;
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
c32bde28 11707static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11708 PyObject *resultobj;
11709 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11710 PyObject * obj0 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 (arg1)->DisplayIndex();
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 Py_INCREF(Py_None); resultobj = Py_None;
11726 return resultobj;
11727 fail:
11728 return NULL;
11729}
11730
11731
c32bde28 11732static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11733 PyObject *resultobj;
11734 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11735 wxString *arg2 = 0 ;
11736 bool result;
ae8162c8 11737 bool temp2 = false ;
d14a1e28
RD
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self",(char *) "keyword", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11747 {
11748 arg2 = wxString_in_helper(obj1);
11749 if (arg2 == NULL) SWIG_fail;
ae8162c8 11750 temp2 = true;
d14a1e28
RD
11751 }
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
4f89f6a3
RD
11759 {
11760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11761 }
d14a1e28
RD
11762 {
11763 if (temp2)
11764 delete arg2;
11765 }
11766 return resultobj;
11767 fail:
11768 {
11769 if (temp2)
11770 delete arg2;
11771 }
11772 return NULL;
11773}
11774
11775
c32bde28 11776static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11777 PyObject *resultobj;
11778 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11779 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11780 wxString const &arg3_defvalue = wxPyEmptyString ;
11781 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 11782 bool temp3 = false ;
d14a1e28
RD
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 PyObject * obj2 = 0 ;
11786 char *kwnames[] = {
11787 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11788 };
11789
11790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail;
11793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11794 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11795 if (obj2) {
11796 {
11797 arg3 = wxString_in_helper(obj2);
11798 if (arg3 == NULL) SWIG_fail;
ae8162c8 11799 temp3 = true;
d14a1e28
RD
11800 }
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 {
11811 if (temp3)
11812 delete arg3;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp3)
11818 delete arg3;
11819 }
11820 return NULL;
11821}
11822
11823
c32bde28 11824static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11825 PyObject *resultobj;
11826 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11827 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11828 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 PyObject * obj2 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "self",(char *) "cfg",(char *) "path", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail;
11839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11840 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11841 if (obj2) {
e811c8ce
RD
11842 {
11843 wxString* sptr = wxString_in_helper(obj2);
11844 if (sptr == NULL) SWIG_fail;
11845 arg3 = *sptr;
11846 delete sptr;
11847 }
d14a1e28
RD
11848 }
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 (arg1)->ReadCustomization(arg2,arg3);
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 Py_INCREF(Py_None); resultobj = Py_None;
11857 return resultobj;
11858 fail:
11859 return NULL;
11860}
11861
11862
c32bde28 11863static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11864 PyObject *resultobj;
11865 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11866 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11867 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 PyObject * obj2 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self",(char *) "cfg",(char *) "path", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail;
11878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11879 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11880 if (obj2) {
e811c8ce
RD
11881 {
11882 wxString* sptr = wxString_in_helper(obj2);
11883 if (sptr == NULL) SWIG_fail;
11884 arg3 = *sptr;
11885 delete sptr;
11886 }
d14a1e28
RD
11887 }
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->WriteCustomization(arg2,arg3);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 return resultobj;
11897 fail:
11898 return NULL;
11899}
11900
11901
c32bde28 11902static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11903 PyObject *obj;
11904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11905 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
11906 Py_INCREF(obj);
11907 return Py_BuildValue((char *)"");
11908}
c32bde28 11909static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11910 PyObject *resultobj;
11911 int arg1 = (int) wxHF_DEFAULTSTYLE ;
11912 wxHtmlHelpController *result;
994141e6 11913 PyObject * obj0 = 0 ;
d14a1e28
RD
11914 char *kwnames[] = {
11915 (char *) "style", NULL
11916 };
11917
994141e6
RD
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
11919 if (obj0) {
093d3ff1
RD
11920 {
11921 arg1 = (int)(SWIG_As_int(obj0));
11922 if (SWIG_arg_fail(1)) SWIG_fail;
11923 }
994141e6 11924 }
d14a1e28 11925 {
e3b71cb8 11926 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
11929
11930 wxPyEndAllowThreads(__tstate);
110da5b0 11931 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11932 }
15afbcd0 11933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
11934 return resultobj;
11935 fail:
11936 return NULL;
11937}
11938
11939
c32bde28 11940static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11941 PyObject *resultobj;
11942 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11943 PyObject * obj0 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
093d3ff1
RD
11949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 delete arg1;
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962}
11963
11964
c32bde28 11965static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11966 PyObject *resultobj;
11967 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11968 wxString *arg2 = 0 ;
ae8162c8 11969 bool temp2 = false ;
d14a1e28
RD
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self",(char *) "format", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11979 {
11980 arg2 = wxString_in_helper(obj1);
11981 if (arg2 == NULL) SWIG_fail;
ae8162c8 11982 temp2 = true;
d14a1e28
RD
11983 }
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->SetTitleFormat((wxString const &)*arg2);
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 {
11993 if (temp2)
11994 delete arg2;
11995 }
11996 return resultobj;
11997 fail:
11998 {
11999 if (temp2)
12000 delete arg2;
12001 }
12002 return NULL;
12003}
12004
12005
c32bde28 12006static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12007 PyObject *resultobj;
12008 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12009 wxString *arg2 = 0 ;
ae8162c8 12010 bool temp2 = false ;
d14a1e28
RD
12011 PyObject * obj0 = 0 ;
12012 PyObject * obj1 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self",(char *) "path", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12020 {
12021 arg2 = wxString_in_helper(obj1);
12022 if (arg2 == NULL) SWIG_fail;
ae8162c8 12023 temp2 = true;
d14a1e28
RD
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 (arg1)->SetTempDir((wxString const &)*arg2);
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 Py_INCREF(Py_None); resultobj = Py_None;
12033 {
12034 if (temp2)
12035 delete arg2;
12036 }
12037 return resultobj;
12038 fail:
12039 {
12040 if (temp2)
12041 delete arg2;
12042 }
12043 return NULL;
12044}
12045
12046
c32bde28 12047static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12048 PyObject *resultobj;
12049 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12050 wxString *arg2 = 0 ;
ae8162c8 12051 int arg3 = (int) false ;
d14a1e28 12052 bool result;
ae8162c8 12053 bool temp2 = false ;
d14a1e28
RD
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
994141e6 12056 PyObject * obj2 = 0 ;
d14a1e28
RD
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12059 };
12060
994141e6 12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12064 {
12065 arg2 = wxString_in_helper(obj1);
12066 if (arg2 == NULL) SWIG_fail;
ae8162c8 12067 temp2 = true;
d14a1e28 12068 }
994141e6 12069 if (obj2) {
093d3ff1
RD
12070 {
12071 arg3 = (int)(SWIG_As_int(obj2));
12072 if (SWIG_arg_fail(3)) SWIG_fail;
12073 }
994141e6 12074 }
d14a1e28
RD
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
4f89f6a3
RD
12082 {
12083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12084 }
d14a1e28
RD
12085 {
12086 if (temp2)
12087 delete arg2;
12088 }
12089 return resultobj;
12090 fail:
12091 {
12092 if (temp2)
12093 delete arg2;
12094 }
12095 return NULL;
12096}
12097
12098
c32bde28 12099static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12100 PyObject *resultobj;
12101 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12102 wxString *arg2 = 0 ;
ae8162c8 12103 bool temp2 = false ;
d14a1e28
RD
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self",(char *) "x", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12113 {
12114 arg2 = wxString_in_helper(obj1);
12115 if (arg2 == NULL) SWIG_fail;
ae8162c8 12116 temp2 = true;
d14a1e28
RD
12117 }
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 (arg1)->Display((wxString const &)*arg2);
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 Py_INCREF(Py_None); resultobj = Py_None;
12126 {
12127 if (temp2)
12128 delete arg2;
12129 }
12130 return resultobj;
12131 fail:
12132 {
12133 if (temp2)
12134 delete arg2;
12135 }
12136 return NULL;
12137}
12138
12139
c32bde28 12140static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12141 PyObject *resultobj;
12142 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12143 int arg2 ;
12144 PyObject * obj0 = 0 ;
994141e6 12145 PyObject * obj1 = 0 ;
d14a1e28
RD
12146 char *kwnames[] = {
12147 (char *) "self",(char *) "id", NULL
12148 };
12149
994141e6 12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12152 if (SWIG_arg_fail(1)) SWIG_fail;
12153 {
12154 arg2 = (int)(SWIG_As_int(obj1));
12155 if (SWIG_arg_fail(2)) SWIG_fail;
12156 }
d14a1e28
RD
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 (arg1)->Display(arg2);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 Py_INCREF(Py_None); resultobj = Py_None;
12165 return resultobj;
12166 fail:
12167 return NULL;
12168}
12169
12170
c32bde28 12171static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12172 PyObject *resultobj;
12173 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12174 PyObject * obj0 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
12180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 (arg1)->DisplayContents();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 Py_INCREF(Py_None); resultobj = Py_None;
12190 return resultobj;
12191 fail:
12192 return NULL;
12193}
12194
12195
c32bde28 12196static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12197 PyObject *resultobj;
12198 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12199 PyObject * obj0 = 0 ;
12200 char *kwnames[] = {
12201 (char *) "self", NULL
12202 };
12203
12204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
12205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12206 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 (arg1)->DisplayIndex();
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 Py_INCREF(Py_None); resultobj = Py_None;
12215 return resultobj;
12216 fail:
12217 return NULL;
12218}
12219
12220
c32bde28 12221static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12222 PyObject *resultobj;
12223 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12224 wxString *arg2 = 0 ;
12225 bool result;
ae8162c8 12226 bool temp2 = false ;
d14a1e28
RD
12227 PyObject * obj0 = 0 ;
12228 PyObject * obj1 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self",(char *) "keyword", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12236 {
12237 arg2 = wxString_in_helper(obj1);
12238 if (arg2 == NULL) SWIG_fail;
ae8162c8 12239 temp2 = true;
d14a1e28
RD
12240 }
12241 {
12242 PyThreadState* __tstate = wxPyBeginAllowThreads();
12243 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
4f89f6a3
RD
12248 {
12249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12250 }
d14a1e28
RD
12251 {
12252 if (temp2)
12253 delete arg2;
12254 }
12255 return resultobj;
12256 fail:
12257 {
12258 if (temp2)
12259 delete arg2;
12260 }
12261 return NULL;
12262}
12263
12264
c32bde28 12265static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12266 PyObject *resultobj;
12267 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12268 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12269 wxString const &arg3_defvalue = wxPyEmptyString ;
12270 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 12271 bool temp3 = false ;
d14a1e28
RD
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 PyObject * obj2 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail;
12282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12283 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12284 if (obj2) {
12285 {
12286 arg3 = wxString_in_helper(obj2);
12287 if (arg3 == NULL) SWIG_fail;
ae8162c8 12288 temp3 = true;
d14a1e28
RD
12289 }
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 Py_INCREF(Py_None); resultobj = Py_None;
12299 {
12300 if (temp3)
12301 delete arg3;
12302 }
12303 return resultobj;
12304 fail:
12305 {
12306 if (temp3)
12307 delete arg3;
12308 }
12309 return NULL;
12310}
12311
12312
c32bde28 12313static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12314 PyObject *resultobj;
12315 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12316 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12317 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 PyObject * obj2 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self",(char *) "cfg",(char *) "path", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail;
12328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12329 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12330 if (obj2) {
e811c8ce
RD
12331 {
12332 wxString* sptr = wxString_in_helper(obj2);
12333 if (sptr == NULL) SWIG_fail;
12334 arg3 = *sptr;
12335 delete sptr;
12336 }
d14a1e28
RD
12337 }
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 (arg1)->ReadCustomization(arg2,arg3);
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 Py_INCREF(Py_None); resultobj = Py_None;
12346 return resultobj;
12347 fail:
12348 return NULL;
12349}
12350
12351
c32bde28 12352static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12353 PyObject *resultobj;
12354 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12355 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12356 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12357 PyObject * obj0 = 0 ;
12358 PyObject * obj1 = 0 ;
12359 PyObject * obj2 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "cfg",(char *) "path", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail;
12367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12368 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12369 if (obj2) {
e811c8ce
RD
12370 {
12371 wxString* sptr = wxString_in_helper(obj2);
12372 if (sptr == NULL) SWIG_fail;
12373 arg3 = *sptr;
12374 delete sptr;
12375 }
d14a1e28
RD
12376 }
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 (arg1)->WriteCustomization(arg2,arg3);
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 Py_INCREF(Py_None); resultobj = Py_None;
12385 return resultobj;
12386 fail:
12387 return NULL;
12388}
12389
12390
c32bde28 12391static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12392 PyObject *resultobj;
12393 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12394 wxHtmlHelpFrame *result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
12401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
15afbcd0 12410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
12411 return resultobj;
12412 fail:
12413 return NULL;
12414}
12415
12416
c32bde28 12417static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12418 PyObject *obj;
12419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12420 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
12421 Py_INCREF(obj);
12422 return Py_BuildValue((char *)"");
12423}
12424static PyMethodDef SwigMethods[] = {
093d3ff1
RD
12425 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12426 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
12427 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
12428 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12429 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12430 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12431 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12432 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
12433 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12434 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
12435 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
12436 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
12437 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
12438 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
12439 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
12440 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
12441 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
12442 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12443 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12444 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
12445 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
12446 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
12447 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12448 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12449 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12450 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
12451 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12452 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12453 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
12454 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
12455 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12456 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12457 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12458 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12459 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12460 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12461 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12462 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12463 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12464 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12465 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12466 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12467 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12468 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12469 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12470 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12471 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12472 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12473 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12474 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12475 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12476 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12477 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12478 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12479 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12480 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12481 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12482 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12483 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
12484 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12485 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
12486 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12487 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12488 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12489 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12490 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12491 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
12492 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12493 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12494 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12495 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12496 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12497 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
12498 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12499 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12500 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12501 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
12502 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
12503 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
12504 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
12505 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
12506 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
12507 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12508 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12509 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12510 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12511 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12512 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
12513 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
12514 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12515 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12516 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12517 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12518 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12519 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12520 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12521 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12522 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
12523 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12524 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12525 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12526 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12527 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12528 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12529 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12530 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12531 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12532 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12533 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12534 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12535 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
12536 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
12537 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12538 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
12539 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
12540 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12541 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12542 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
12543 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12544 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
12545 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
12546 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12547 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12548 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12549 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12550 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
12551 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
12552 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12553 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12554 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12555 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
12556 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
12557 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
12558 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
12559 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
12560 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12561 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12562 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
12563 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
12564 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
12565 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
12566 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12567 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12568 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
12569 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12570 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
12571 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
12572 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
12573 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
12574 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
12575 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
12576 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12577 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12578 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12579 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12580 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12581 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12582 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
12583 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12584 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
12585 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
12586 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12587 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12588 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12589 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
12590 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12591 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
12592 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
12593 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
12594 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
12595 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
12596 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
12597 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
12598 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12599 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12600 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
12601 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12602 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12603 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12604 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12605 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12606 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
12607 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12608 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
12609 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
12610 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12611 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12612 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12613 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12614 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
12615 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12616 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12617 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12618 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 12619 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
12620 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12621 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12622 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
12623 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
12624 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
12625 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
12626 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
12627 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
12628 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12629 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12630 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12631 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12632 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
12633 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
12634 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
12635 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
12636 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
12637 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12638 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12639 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
12640 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12641 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12642 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
12643 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12644 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12645 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12646 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
12647 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12648 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12649 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12650 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
12651 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12652 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
12653 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
12654 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12655 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
12656 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12657 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12658 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12659 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12660 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
12661 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12662 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
12663 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
12664 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12665 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12666 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
12667 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
12668 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
12669 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
12670 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
12671 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12672 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12673 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12674 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12675 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
12676 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
12677 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
12678 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
12679 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
12680 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12681 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12682 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12683 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
12684 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
12685 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12686 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12687 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12688 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12689 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
12690 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
12691 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL},
12692 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL},
12693 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12694 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12695 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL},
12696 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL},
12697 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
12698 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
12699 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12700 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12701 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12702 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL},
12703 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
12704 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12705 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12706 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12707 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12708 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
12709 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
12710 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
12711 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL},
12712 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12713 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12714 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12715 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
12716 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12717 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
12718 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12719 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12720 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12721 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12722 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12723 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12724 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12725 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12726 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12727 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
12728 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12729 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12730 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12731 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12732 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12733 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12734 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12735 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12736 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12737 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12738 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12739 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12740 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12741 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12742 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
c32bde28 12743 { NULL, NULL, 0, NULL }
d14a1e28
RD
12744};
12745
12746
12747/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12748
12749static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
12750 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
12751}
53aa7709
RD
12752static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
12753 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28 12754}
53aa7709
RD
12755static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
12756 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
d14a1e28 12757}
53aa7709
RD
12758static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
12759 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 12760}
53aa7709
RD
12761static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
12762 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
823f0cfe 12763}
53aa7709
RD
12764static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
12765 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 12766}
53aa7709
RD
12767static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 12769}
53aa7709
RD
12770static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12771 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 12772}
53aa7709
RD
12773static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12774 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 12775}
53aa7709
RD
12776static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
d14a1e28 12778}
53aa7709
RD
12779static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12780 return (void *)((wxEvtHandler *) ((wxValidator *) x));
d14a1e28 12781}
53aa7709
RD
12782static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12783 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
d14a1e28 12784}
53aa7709
RD
12785static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12786 return (void *)((wxEvtHandler *) ((wxMenu *) x));
823f0cfe 12787}
53aa7709
RD
12788static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 12790}
53aa7709
RD
12791static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 12793}
53aa7709
RD
12794static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 12796}
53aa7709
RD
12797static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 12799}
53aa7709
RD
12800static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 12802}
53aa7709
RD
12803static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 12805}
53aa7709
RD
12806static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 12808}
53aa7709
RD
12809static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 12811}
53aa7709
RD
12812static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
d14a1e28 12814}
53aa7709
RD
12815static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
d3b6e4ff 12817}
53aa7709
RD
12818static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 12820}
53aa7709
RD
12821static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12822 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 12823}
53aa7709
RD
12824static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12825 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 12826}
53aa7709
RD
12827static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12828 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
d14a1e28 12829}
53aa7709
RD
12830static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12831 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 12832}
53aa7709
RD
12833static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12834 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
d14a1e28 12835}
53aa7709
RD
12836static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12837 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 12838}
53aa7709
RD
12839static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 12841}
53aa7709
RD
12842static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12843 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 12844}
53aa7709
RD
12845static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12846 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 12847}
53aa7709
RD
12848static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12849 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 12850}
53aa7709
RD
12851static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 12853}
53aa7709
RD
12854static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12855 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 12856}
53aa7709
RD
12857static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
12858 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 12859}
53aa7709
RD
12860static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12861 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
d14a1e28 12862}
53aa7709
RD
12863static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 12865}
53aa7709
RD
12866static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d3b6e4ff 12868}
53aa7709
RD
12869static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
823f0cfe 12871}
53aa7709
RD
12872static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12873 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 12874}
53aa7709
RD
12875static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 12877}
53aa7709
RD
12878static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12879 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 12880}
53aa7709
RD
12881static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12882 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 12883}
53aa7709
RD
12884static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 12886}
53aa7709
RD
12887static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12888 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 12889}
53aa7709
RD
12890static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 12892}
53aa7709
RD
12893static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12894 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 12895}
53aa7709
RD
12896static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12897 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 12898}
53aa7709
RD
12899static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
12900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 12901}
53aa7709
RD
12902static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 12904}
53aa7709
RD
12905static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 12907}
53aa7709
RD
12908static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 12910}
53aa7709
RD
12911static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 12913}
53aa7709
RD
12914static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 12916}
53aa7709
RD
12917static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 12919}
53aa7709
RD
12920static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
12921 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 12922}
53aa7709
RD
12923static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
12924 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
d3b6e4ff 12925}
53aa7709
RD
12926static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
12927 return (void *)((wxFrame *) ((wxProgressDialog *) x));
d14a1e28 12928}
53aa7709
RD
12929static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
12930 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 12931}
53aa7709
RD
12932static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
12933 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 12934}
53aa7709
RD
12935static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
12936 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 12937}
53aa7709
RD
12938static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
12939 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
d3b6e4ff 12940}
53aa7709
RD
12941static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
12942 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 12943}
53aa7709
RD
12944static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
12945 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 12946}
53aa7709
RD
12947static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
12948 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28
RD
12949}
12950static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12951 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12952}
12953static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12954 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12955}
12956static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12958}
12959static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12961}
12962static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12963 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12964}
12965static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12966 return (void *)((wxObject *) ((wxSizerItem *) x));
12967}
12968static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12970}
12971static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12972 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12973}
12974static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
12975 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
12976}
12977static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12978 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12979}
12980static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12981 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12982}
12983static void *_p_wxSizerTo_p_wxObject(void *x) {
12984 return (void *)((wxObject *) ((wxSizer *) x));
12985}
12986static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12987 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12988}
12989static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
12990 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
12991}
12992static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12994}
12995static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12997}
12998static void *_p_wxEventTo_p_wxObject(void *x) {
12999 return (void *)((wxObject *) ((wxEvent *) x));
13000}
13001static void *_p_wxFontDataTo_p_wxObject(void *x) {
13002 return (void *)((wxObject *) ((wxFontData *) x));
13003}
13004static void *_p_wxPrintDataTo_p_wxObject(void *x) {
13005 return (void *)((wxObject *) ((wxPrintData *) x));
13006}
13007static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
13008 return (void *)((wxObject *) ((wxHtmlTag *) x));
13009}
13010static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13011 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13012}
13013static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13014 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13015}
13016static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13017 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13018}
13019static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
13020 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
13021}
84f85550
RD
13022static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
13023 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
13024}
13025static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
13026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
13027}
13028static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
13029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13030}
13031static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
13032 return (void *)((wxObject *) ((wxHtmlCell *) x));
13033}
13034static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13035 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13036}
13037static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13038 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13039}
13040static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13041 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13042}
13043static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13044 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13045}
13046static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13047 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13048}
13049static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13050 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13051}
13052static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
13053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13054}
13055static void *_p_wxControlTo_p_wxObject(void *x) {
13056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13057}
13058static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13059 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13060}
13061static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
13062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13063}
13064static void *_p_wxFSFileTo_p_wxObject(void *x) {
13065 return (void *)((wxObject *) ((wxFSFile *) x));
13066}
13067static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
13068 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13069}
13070static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
13071 return (void *)((wxObject *) ((wxFindReplaceData *) x));
13072}
13073static void *_p_wxPySizerTo_p_wxObject(void *x) {
13074 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13075}
13076static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
13077 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
13078}
13079static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
13080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13081}
13082static void *_p_wxColourDataTo_p_wxObject(void *x) {
13083 return (void *)((wxObject *) ((wxColourData *) x));
13084}
13085static void *_p_wxPyEventTo_p_wxObject(void *x) {
13086 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13087}
13088static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13090}
13091static void *_p_wxPyWindowTo_p_wxObject(void *x) {
13092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
13093}
13094static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
13095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13096}
13097static void *_p_wxFileDialogTo_p_wxObject(void *x) {
13098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13099}
13100static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
13101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13102}
13103static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
13104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13105}
13106static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
13107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13108}
d3b6e4ff
RD
13109static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
13110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13111}
d14a1e28
RD
13112static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
13113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13114}
13115static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
13116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13117}
13118static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
13119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13120}
13121static void *_p_wxShowEventTo_p_wxObject(void *x) {
13122 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13123}
13124static void *_p_wxPrinterTo_p_wxObject(void *x) {
13125 return (void *)((wxObject *) ((wxPrinter *) x));
13126}
13127static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13128 return (void *)((wxObject *) ((wxMenuItem *) x));
13129}
53aa7709
RD
13130static void *_p_wxDateEventTo_p_wxObject(void *x) {
13131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
13132}
d14a1e28
RD
13133static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13134 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13135}
13136static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13138}
13139static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13140 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13141}
13142static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13143 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13144}
13145static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13146 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13147}
13148static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13149 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13150}
13151static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13152 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13153}
13154static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13155 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13156}
13157static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
13158 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
13159}
13160static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13161 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13162}
13163static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13164 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13165}
13166static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13167 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13168}
13169static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13170 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13171}
13172static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13173 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13174}
13175static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13176 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13177}
13178static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13179 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13180}
13181static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13182 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13183}
13184static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13185 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13186}
13187static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13188 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13189}
13190static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13191 return (void *)((wxObject *) ((wxImageHandler *) x));
13192}
13193static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13194 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13195}
13196static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13197 return (void *)((wxObject *) ((wxEvtHandler *) x));
13198}
13199static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
13200 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
13201}
13202static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
13203 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
13204}
13205static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
13206 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13207}
13208static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
13209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13210}
13211static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
13212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13213}
51b83b37
RD
13214static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
13215 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13216}
d14a1e28
RD
13217static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13218 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13219}
13220static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
13221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13222}
13223static void *_p_wxImageTo_p_wxObject(void *x) {
13224 return (void *)((wxObject *) ((wxImage *) x));
13225}
13226static void *_p_wxFrameTo_p_wxObject(void *x) {
13227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13228}
13229static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
13230 return (void *)((wxObject *) ((wxPyPrintout *) x));
13231}
13232static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
13233 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
13234}
13235static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13236 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13237}
13238static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
13239 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
13240}
13241static void *_p_wxStatusBarTo_p_wxObject(void *x) {
13242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
13243}
13244static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
13245 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
13246}
13247static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
13248 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
13249}
13250static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
13251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13252}
13253static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13255}
13256static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13257 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13258}
13259static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13260 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13261}
d14a1e28
RD
13262static void *_p_wxWindowTo_p_wxObject(void *x) {
13263 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13264}
13265static void *_p_wxMenuTo_p_wxObject(void *x) {
13266 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13267}
13268static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13270}
0df68c9f
RD
13271static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
13272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13273}
d14a1e28
RD
13274static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
13275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
13276}
13277static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
13278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
13279}
13280static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
13281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
13282}
13283static void *_p_wxSashWindowTo_p_wxObject(void *x) {
13284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
13285}
13286static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
13287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13288}
13289static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
13290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
13291}
13292static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
13293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13294}
13295static void *_p_wxTipWindowTo_p_wxObject(void *x) {
13296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13297}
13298static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
13299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13300}
13301static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
13302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
13303}
823f0cfe
RD
13304static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
13305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13306}
d14a1e28
RD
13307static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
13308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13309}
13310static void *_p_wxSashEventTo_p_wxObject(void *x) {
13311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
13312}
13313static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
13314 return (void *)((wxObject *) ((wxPrintPreview *) x));
13315}
13316static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
13317 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
13318}
13319static void *_p_wxPanelTo_p_wxObject(void *x) {
13320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
13321}
13322static void *_p_wxDialogTo_p_wxObject(void *x) {
13323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13324}
13325static void *_p_wxColourDialogTo_p_wxObject(void *x) {
13326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13327}
13328static void *_p_wxDirDialogTo_p_wxObject(void *x) {
13329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13330}
13331static void *_p_wxFontDialogTo_p_wxObject(void *x) {
13332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13333}
13334static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 13335 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
13336}
13337static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
8fb0e70a 13338 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
13339}
13340static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
13341 return (void *)((wxObject *) ((wxHtmlParser *) x));
13342}
13343static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
13344 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
13345}
13346static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13347 return (void *)((wxObject *) ((wxFileSystem *) x));
13348}
13349static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13351}
13352static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13353 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13354}
13355static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
13356 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
13357}
13358static void *_p_wxPyAppTo_p_wxObject(void *x) {
13359 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13360}
13361static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13362 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13363}
13364static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13365 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13366}
13367static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13368 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13369}
13370static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13372}
13373static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13374 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13375}
13376static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13378}
13379static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13381}
13382static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
13383 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
13384}
13385static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13386 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13387}
13388static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13389 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13390}
13391static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13393}
13394static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
8fb0e70a 13395 return (void *)((wxObject *) ((wxHtmlHelpController *) x));
d14a1e28
RD
13396}
13397static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13399}
13400static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13401 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13402}
13403static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13404 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13405}
13406static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13407 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13408}
13409static void *_p_wxValidatorTo_p_wxObject(void *x) {
13410 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13411}
53aa7709
RD
13412static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
13413 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 13414}
53aa7709
RD
13415static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
13416 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 13417}
53aa7709
RD
13418static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
13419 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 13420}
53aa7709
RD
13421static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
13422 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
d14a1e28 13423}
53aa7709
RD
13424static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
13425 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 13426}
53aa7709
RD
13427static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
13428 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 13429}
53aa7709
RD
13430static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
13431 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 13432}
53aa7709
RD
13433static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
13434 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 13435}
53aa7709
RD
13436static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
13437 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
d3b6e4ff 13438}
53aa7709
RD
13439static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
13440 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
d14a1e28 13441}
53aa7709
RD
13442static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
13443 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
d14a1e28 13444}
53aa7709
RD
13445static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
13446 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 13447}
53aa7709
RD
13448static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
13449 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 13450}
53aa7709
RD
13451static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13452 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 13453}
53aa7709
RD
13454static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13455 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 13456}
53aa7709
RD
13457static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
13458 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
d14a1e28 13459}
53aa7709
RD
13460static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
13461 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 13462}
53aa7709
RD
13463static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
13464 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 13465}
53aa7709
RD
13466static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13467 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 13468}
53aa7709
RD
13469static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13470 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 13471}
53aa7709
RD
13472static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
13473 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 13474}
53aa7709
RD
13475static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
13476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 13477}
53aa7709
RD
13478static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
13479 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 13480}
53aa7709
RD
13481static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13482 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 13483}
53aa7709
RD
13484static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
13485 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 13486}
53aa7709
RD
13487static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
13488 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 13489}
53aa7709
RD
13490static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
13491 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 13492}
53aa7709
RD
13493static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
13494 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 13495}
53aa7709
RD
13496static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
13497 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 13498}
53aa7709
RD
13499static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
13500 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 13501}
53aa7709
RD
13502static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
13503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
823f0cfe 13504}
53aa7709
RD
13505static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
13506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 13507}
53aa7709
RD
13508static void *_p_wxPanelTo_p_wxWindow(void *x) {
13509 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 13510}
53aa7709
RD
13511static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
13512 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 13513}
53aa7709
RD
13514static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
13515 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 13516}
53aa7709
RD
13517static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
13518 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 13519}
53aa7709
RD
13520static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
13521 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 13522}
53aa7709
RD
13523static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
13524 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 13525}
53aa7709
RD
13526static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
13527 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 13528}
53aa7709
RD
13529static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
13530 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 13531}
53aa7709
RD
13532static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
13533 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 13534}
53aa7709
RD
13535static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
13536 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 13537}
53aa7709
RD
13538static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
13539 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 13540}
53aa7709
RD
13541static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
13542 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 13543}
53aa7709
RD
13544static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
13545 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 13546}
53aa7709
RD
13547static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
13548 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 13549}
53aa7709
RD
13550static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
13551 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 13552}
53aa7709
RD
13553static void *_p_wxControlTo_p_wxWindow(void *x) {
13554 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 13555}
53aa7709
RD
13556static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
13557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 13558}
53aa7709
RD
13559static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
13560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 13561}
53aa7709
RD
13562static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
13563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d3b6e4ff 13564}
53aa7709
RD
13565static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13566 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 13567}
53aa7709
RD
13568static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
13569 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 13570}
53aa7709
RD
13571static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
13572 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 13573}
53aa7709
RD
13574static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
13575 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 13576}
53aa7709
RD
13577static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
13578 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 13579}
53aa7709
RD
13580static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
13581 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 13582}
53aa7709
RD
13583static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
13584 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 13585}
53aa7709
RD
13586static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
13587 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 13588}
53aa7709
RD
13589static void *_p_wxFrameTo_p_wxWindow(void *x) {
13590 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 13591}
53aa7709
RD
13592static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
13593 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 13594}
53aa7709
RD
13595static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
13596 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 13597}
53aa7709
RD
13598static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
13599 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 13600}
53aa7709
RD
13601static void *_p_wxDialogTo_p_wxWindow(void *x) {
13602 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 13603}
53aa7709
RD
13604static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
13605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 13606}
53aa7709
RD
13607static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
13608 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13609}
13610static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
13611 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13612}
13613static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
13614 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
13615}
13616static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
13617 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
13618}
13619static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
13620 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
13621}
13622static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
13623 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13624}
13625static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
13626 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13627}
13628static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
13629 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13630}
13631static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
13632 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13633}
13634static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
13635 return (void *)((wxPanel *) ((wxPyPanel *) x));
13636}
13637static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
13638 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
13639}
13640static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
13641 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
13642}
13643static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
13644 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13645}
13646static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
13647 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 13648}
15afbcd0
RD
13649static 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}};
13650static 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}};
13651static 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}};
13652static 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 13653static 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
13654static 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}};
13655static 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
13656static 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}};
13657static 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 13658static 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 13659static 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
13660static 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}};
13661static 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}};
13662static 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}};
13663static 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 13664static 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 13665static 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 13666static 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
13667static 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}};
13668static 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 13669static 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 13670static 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
13671static 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}};
13672static 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}};
13673static 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}};
13674static 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}};
13675static 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}};
53aa7709
RD
13676static 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_wxDateEvent", _p_wxDateEventTo_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_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_wxPCXHandler", _p_wxPCXHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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}};
13677static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 13678static 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 13679static 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
13680static 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}};
13681static 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
13682static 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}};
13683static 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 13684static 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 13685static 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
13686static 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}};
13687static 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}};
13688static 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}};
13689static 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}};
13690static 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 13691static 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
13692static 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}};
13693static 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}};
13694static 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
13695static 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}};
13696static 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
13697static 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}};
13698static 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}};
13699static 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}};
13700static 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 13701static 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 13702static 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
13703static 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}};
13704static 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}};
13705static 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}};
13706static 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}};
13707static 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 13708static 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 13709static 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 13710static 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 13711static 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
13712
13713static swig_type_info *swig_types_initial[] = {
13714_swigt__p_wxHtmlDCRenderer,
13715_swigt__p_wxColour,
13716_swigt__p_wxPageSetupDialogData,
13717_swigt__p_wxDC,
093d3ff1 13718_swigt__p_form_ops_t,
d14a1e28
RD
13719_swigt__p_wxHtmlRenderingStyle,
13720_swigt__p_wxMouseEvent,
093d3ff1
RD
13721_swigt__p_wxDuplexMode,
13722_swigt__p_wxDefaultHtmlRenderingStyle,
d14a1e28 13723_swigt__p_wxHtmlWordCell,
22bfe96c 13724_swigt__p_wxVisualAttributes,
d14a1e28 13725_swigt__p_wxHtmlHelpData,
994141e6 13726_swigt__p_char,
d14a1e28
RD
13727_swigt__p_wxHtmlWinParser,
13728_swigt__p_wxHtmlParser,
13729_swigt__p_wxPanel,
d14a1e28
RD
13730_swigt__p_wxPyHtmlWindow,
13731_swigt__p_wxScrolledWindow,
13732_swigt__p_wxWindow,
13733_swigt__p_wxTopLevelWindow,
093d3ff1 13734_swigt__p_wxFont,
c32bde28 13735_swigt__p_wxHtmlColourCell,
994141e6 13736_swigt__p_wxHtmlFontCell,
d14a1e28
RD
13737_swigt__p_wxHtmlEasyPrinting,
13738_swigt__p_wxHtmlSelection,
13739_swigt__p_wxHtmlRenderingInfo,
13740_swigt__p_wxHtmlWidgetCell,
13741_swigt__p_wxObject,
53aa7709 13742_swigt__p_wxBitmap,
093d3ff1 13743_swigt__p_wxPaperSize,
d14a1e28 13744_swigt__p_wxString,
093d3ff1
RD
13745_swigt__p_unsigned_int,
13746_swigt__unsigned_int,
d14a1e28
RD
13747_swigt__p_wxHtmlTagHandler,
13748_swigt__p_wxPyHtmlTagHandler,
13749_swigt__p_wxEvtHandler,
093d3ff1 13750_swigt__p_wxPyHtmlWinTagHandler,
d14a1e28
RD
13751_swigt__p_wxPoint,
13752_swigt__p_wxHtmlHelpController,
13753_swigt__p_wxCursor,
13754_swigt__p_wxFileSystem,
13755_swigt__p_wxHtmlBookRecArray,
093d3ff1 13756_swigt__p_unsigned_char,
d14a1e28
RD
13757_swigt__p_wxPyPrintout,
13758_swigt__p_wxHtmlPrintout,
13759_swigt__p_wxHtmlSearchStatus,
093d3ff1
RD
13760_swigt__std__ptrdiff_t,
13761_swigt__ptrdiff_t,
d14a1e28
RD
13762_swigt__p_wxHtmlContentsItem,
13763_swigt__p_wxConfigBase,
13764_swigt__p_wxPrintData,
13765_swigt__p_wxHtmlHelpFrame,
d14a1e28 13766_swigt__p_wxFrame,
093d3ff1 13767_swigt__p_wxHtmlRenderingState,
d14a1e28
RD
13768_swigt__p_wxPyHtmlFilter,
13769_swigt__p_wxHtmlFilter,
13770_swigt__p_wxHtmlCell,
13771_swigt__p_wxHtmlContainerCell,
13772_swigt__p_wxHtmlTag,
d14a1e28 13773_swigt__p_int,
c32bde28 13774_swigt__p_wxHtmlLinkInfo,
093d3ff1 13775_swigt__p_unsigned_long,
d14a1e28
RD
13776_swigt__p_wxHtmlBookRecord,
137770
13778};
13779
13780
13781/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13782
13783static swig_const_info swig_const_table[] = {
c32bde28 13784{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
13785
13786#ifdef __cplusplus
13787}
13788#endif
13789
093d3ff1
RD
13790
13791#ifdef __cplusplus
13792extern "C" {
13793#endif
13794
13795 /* Python-specific SWIG API */
13796#define SWIG_newvarlink() SWIG_Python_newvarlink()
13797#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13798#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13799
13800 /* -----------------------------------------------------------------------------
13801 * global variable support code.
13802 * ----------------------------------------------------------------------------- */
13803
13804 typedef struct swig_globalvar {
13805 char *name; /* Name of global variable */
13806 PyObject *(*get_attr)(); /* Return the current value */
13807 int (*set_attr)(PyObject *); /* Set the value */
13808 struct swig_globalvar *next;
13809 } swig_globalvar;
13810
13811 typedef struct swig_varlinkobject {
13812 PyObject_HEAD
13813 swig_globalvar *vars;
13814 } swig_varlinkobject;
13815
13816 static PyObject *
13817 swig_varlink_repr(swig_varlinkobject *v) {
13818 v = v;
13819 return PyString_FromString("<Swig global variables>");
13820 }
13821
13822 static int
13823 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
13824 swig_globalvar *var;
13825 flags = flags;
13826 fprintf(fp,"Swig global variables { ");
13827 for (var = v->vars; var; var=var->next) {
13828 fprintf(fp,"%s", var->name);
13829 if (var->next) fprintf(fp,", ");
13830 }
13831 fprintf(fp," }\n");
13832 return 0;
13833 }
13834
13835 static PyObject *
13836 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13837 swig_globalvar *var = v->vars;
13838 while (var) {
13839 if (strcmp(var->name,n) == 0) {
13840 return (*var->get_attr)();
13841 }
13842 var = var->next;
13843 }
13844 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13845 return NULL;
13846 }
13847
13848 static int
13849 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13850 swig_globalvar *var = v->vars;
13851 while (var) {
13852 if (strcmp(var->name,n) == 0) {
13853 return (*var->set_attr)(p);
13854 }
13855 var = var->next;
13856 }
13857 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13858 return 1;
13859 }
13860
13861 static PyTypeObject varlinktype = {
13862 PyObject_HEAD_INIT(0)
13863 0, /* Number of items in variable part (ob_size) */
13864 (char *)"swigvarlink", /* Type name (tp_name) */
13865 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13866 0, /* Itemsize (tp_itemsize) */
13867 0, /* Deallocator (tp_dealloc) */
13868 (printfunc) swig_varlink_print, /* Print (tp_print) */
13869 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13870 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13871 0, /* tp_compare */
13872 (reprfunc) swig_varlink_repr, /* tp_repr */
13873 0, /* tp_as_number */
13874 0, /* tp_as_sequence */
13875 0, /* tp_as_mapping */
13876 0, /* tp_hash */
13877 0, /* tp_call */
13878 0, /* tp_str */
13879 0, /* tp_getattro */
13880 0, /* tp_setattro */
13881 0, /* tp_as_buffer */
13882 0, /* tp_flags */
13883 0, /* tp_doc */
13884#if PY_VERSION_HEX >= 0x02000000
13885 0, /* tp_traverse */
13886 0, /* tp_clear */
13887#endif
13888#if PY_VERSION_HEX >= 0x02010000
13889 0, /* tp_richcompare */
13890 0, /* tp_weaklistoffset */
13891#endif
13892#if PY_VERSION_HEX >= 0x02020000
13893 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13894#endif
13895#if PY_VERSION_HEX >= 0x02030000
13896 0, /* tp_del */
13897#endif
13898#ifdef COUNT_ALLOCS
13899 0,0,0,0 /* tp_alloc -> tp_next */
13900#endif
13901 };
13902
13903 /* Create a variable linking object for use later */
13904 static PyObject *
13905 SWIG_Python_newvarlink(void) {
13906 swig_varlinkobject *result = 0;
13907 result = PyMem_NEW(swig_varlinkobject,1);
13908 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
13909 result->ob_type = &varlinktype;
13910 result->vars = 0;
13911 result->ob_refcnt = 0;
13912 Py_XINCREF((PyObject *) result);
13913 return ((PyObject*) result);
13914 }
13915
13916 static void
13917 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13918 swig_varlinkobject *v;
13919 swig_globalvar *gv;
13920 v= (swig_varlinkobject *) p;
13921 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13922 gv->name = (char *) malloc(strlen(name)+1);
13923 strcpy(gv->name,name);
13924 gv->get_attr = get_attr;
13925 gv->set_attr = set_attr;
13926 gv->next = v->vars;
13927 v->vars = gv;
13928 }
13929
13930 /* -----------------------------------------------------------------------------
13931 * constants/methods manipulation
13932 * ----------------------------------------------------------------------------- */
13933
13934 /* Install Constants */
13935 static void
13936 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13937 PyObject *obj = 0;
13938 size_t i;
13939 for (i = 0; constants[i].type; i++) {
13940 switch(constants[i].type) {
13941 case SWIG_PY_INT:
13942 obj = PyInt_FromLong(constants[i].lvalue);
13943 break;
13944 case SWIG_PY_FLOAT:
13945 obj = PyFloat_FromDouble(constants[i].dvalue);
13946 break;
13947 case SWIG_PY_STRING:
13948 if (constants[i].pvalue) {
13949 obj = PyString_FromString((char *) constants[i].pvalue);
13950 } else {
13951 Py_INCREF(Py_None);
13952 obj = Py_None;
13953 }
13954 break;
13955 case SWIG_PY_POINTER:
13956 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13957 break;
13958 case SWIG_PY_BINARY:
13959 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13960 break;
13961 default:
13962 obj = 0;
13963 break;
13964 }
13965 if (obj) {
13966 PyDict_SetItemString(d,constants[i].name,obj);
13967 Py_DECREF(obj);
13968 }
13969 }
13970 }
13971
13972 /* -----------------------------------------------------------------------------*/
13973 /* Fix SwigMethods to carry the callback ptrs when needed */
13974 /* -----------------------------------------------------------------------------*/
13975
13976 static void
13977 SWIG_Python_FixMethods(PyMethodDef *methods,
13978 swig_const_info *const_table,
13979 swig_type_info **types,
13980 swig_type_info **types_initial) {
13981 size_t i;
13982 for (i = 0; methods[i].ml_name; ++i) {
13983 char *c = methods[i].ml_doc;
13984 if (c && (c = strstr(c, "swig_ptr: "))) {
13985 int j;
13986 swig_const_info *ci = 0;
13987 char *name = c + 10;
13988 for (j = 0; const_table[j].type; j++) {
13989 if (strncmp(const_table[j].name, name,
13990 strlen(const_table[j].name)) == 0) {
13991 ci = &(const_table[j]);
13992 break;
13993 }
13994 }
13995 if (ci) {
13996 size_t shift = (ci->ptype) - types;
13997 swig_type_info *ty = types_initial[shift];
13998 size_t ldoc = (c - methods[i].ml_doc);
13999 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14000 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14001 char *buff = ndoc;
14002 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
14003 strncpy(buff, methods[i].ml_doc, ldoc);
14004 buff += ldoc;
14005 strncpy(buff, "swig_ptr: ", 10);
14006 buff += 10;
14007 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14008 methods[i].ml_doc = ndoc;
14009 }
14010 }
14011 }
14012 }
14013
14014 /* -----------------------------------------------------------------------------*
14015 * Initialize type list
14016 * -----------------------------------------------------------------------------*/
14017
14018#if PY_MAJOR_VERSION < 2
14019 /* PyModule_AddObject function was introduced in Python 2.0. The following function
14020 is copied out of Python/modsupport.c in python version 2.3.4 */
14021 static int
14022 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
14023 {
14024 PyObject *dict;
14025 if (!PyModule_Check(m)) {
14026 PyErr_SetString(PyExc_TypeError,
14027 "PyModule_AddObject() needs module as first arg");
14028 return -1;
14029 }
14030 if (!o) {
14031 PyErr_SetString(PyExc_TypeError,
14032 "PyModule_AddObject() needs non-NULL value");
14033 return -1;
14034 }
14035
14036 dict = PyModule_GetDict(m);
14037 if (dict == NULL) {
14038 /* Internal error -- modules must have a dict! */
14039 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
14040 PyModule_GetName(m));
14041 return -1;
14042 }
14043 if (PyDict_SetItemString(dict, name, o))
14044 return -1;
14045 Py_DECREF(o);
14046 return 0;
14047 }
14048#endif
14049
14050 static swig_type_info **
14051 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
14052 static PyMethodDef swig_empty_runtime_method_table[] = {
14053 {
14054 NULL, NULL, 0, NULL
14055 }
14056 };/* Sentinel */
14057
14058 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
14059 swig_empty_runtime_method_table);
14060 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
14061 if (pointer && module) {
14062 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
14063 }
14064 return type_list_handle;
14065 }
14066
14067 static swig_type_info **
14068 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
14069 swig_type_info **type_pointer;
14070
14071 /* first check if module already created */
14072 type_pointer = SWIG_Python_GetTypeListHandle();
14073 if (type_pointer) {
14074 return type_pointer;
14075 } else {
14076 /* create a new module and variable */
14077 return SWIG_Python_SetTypeListHandle(type_list_handle);
14078 }
14079 }
14080
14081#ifdef __cplusplus
14082}
14083#endif
14084
14085/* -----------------------------------------------------------------------------*
14086 * Partial Init method
14087 * -----------------------------------------------------------------------------*/
14088
14089#ifdef SWIG_LINK_RUNTIME
14090#ifdef __cplusplus
14091extern "C"
14092#endif
14093SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14094#endif
14095
d14a1e28
RD
14096#ifdef __cplusplus
14097extern "C"
14098#endif
14099SWIGEXPORT(void) SWIG_init(void) {
14100 static PyObject *SWIG_globals = 0;
14101 static int typeinit = 0;
14102 PyObject *m, *d;
14103 int i;
14104 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
14105
14106 /* Fix SwigMethods to carry the callback ptrs when needed */
14107 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
14108
d14a1e28
RD
14109 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14110 d = PyModule_GetDict(m);
14111
14112 if (!typeinit) {
093d3ff1
RD
14113#ifdef SWIG_LINK_RUNTIME
14114 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
14115#else
14116# ifndef SWIG_STATIC_RUNTIME
14117 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
14118# endif
14119#endif
d14a1e28
RD
14120 for (i = 0; swig_types_initial[i]; i++) {
14121 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
14122 }
14123 typeinit = 1;
14124 }
14125 SWIG_InstallConstants(d,swig_const_table);
14126
b2dc1044
RD
14127 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
14128 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
14129 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
14130 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
093d3ff1
RD
14131 {
14132 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT)));
14133 }
14134 {
14135 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER)));
14136 }
14137 {
14138 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT)));
14139 }
14140 {
14141 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM)));
14142 }
14143 {
14144 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP)));
14145 }
14146 {
14147 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND)));
14148 }
14149 {
14150 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND)));
14151 }
14152 {
14153 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS)));
14154 }
14155 {
14156 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT)));
14157 }
14158 {
14159 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT)));
14160 }
14161 {
14162 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT)));
14163 }
14164 {
14165 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP)));
14166 }
14167 {
14168 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM)));
14169 }
14170 {
14171 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL)));
14172 }
14173 {
14174 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL)));
14175 }
14176 {
14177 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL)));
14178 }
14179 {
14180 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR)));
14181 }
14182 {
14183 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP)));
14184 }
14185 {
14186 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER)));
14187 }
14188 {
14189 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1)));
14190 }
14191 {
14192 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2)));
14193 }
14194 {
14195 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3)));
14196 }
14197 {
14198 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4)));
14199 }
14200 {
14201 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5)));
14202 }
14203 {
14204 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6)));
14205 }
14206 {
14207 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7)));
14208 }
14209 {
14210 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER)));
14211 }
14212 {
14213 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO)));
14214 }
14215 {
14216 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION)));
14217 }
14218 {
14219 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE)));
14220 }
14221 {
14222 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN)));
14223 }
14224 {
14225 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK)));
14226 }
14227 {
14228 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT)));
14229 }
14230 {
14231 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE)));
14232 }
14233 {
14234 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE)));
14235 }
14236 {
14237 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER)));
14238 }
14239 {
14240 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT)));
14241 }
14242 {
14243 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN)));
14244 }
14245 {
14246 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING)));
14247 }
14248 {
14249 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT)));
14250 }
14251 {
14252 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE)));
14253 }
14254 {
14255 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER)));
14256 }
14257 {
14258 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD)));
14259 }
14260 {
14261 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN)));
14262 }
14263 {
14264 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL)));
14265 }
14266 {
14267 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR)));
14268 }
14269 {
14270 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR)));
14271 }
14272 {
14273 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS)));
14274 }
14275 {
14276 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX)));
14277 }
14278 {
14279 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH)));
14280 }
14281 {
14282 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS)));
14283 }
14284 {
14285 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES)));
14286 }
14287 {
14288 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT)));
14289 }
14290 {
14291 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE)));
14292 }
d14a1e28
RD
14293
14294 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14295 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14296 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14297 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
14298
14299}
14300