]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/html_wrap.cpp
Version
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d14a1e28
RD
27#endif
28
29
093d3ff1
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d14a1e28 37
c9c7117a 38
093d3ff1 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d14a1e28 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d14a1e28 52
093d3ff1
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d14a1e28 67#else
093d3ff1
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
85#endif
86
d14a1e28
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
093d3ff1
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
d14a1e28 283
093d3ff1
RD
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
d14a1e28 306
093d3ff1
RD
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
375
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
417
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d14a1e28
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d14a1e28 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 443 *
093d3ff1
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d14a1e28
RD
448 ************************************************************************/
449
093d3ff1
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
093d3ff1
RD
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
492
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511#ifdef __cplusplus
512extern "C" {
513#endif
514
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552/* Constant Types */
d14a1e28
RD
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
d14a1e28
RD
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
568
093d3ff1
RD
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
d14a1e28 592/* Common SWIG API */
093d3ff1
RD
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 596
d14a1e28 597
093d3ff1
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 601
d14a1e28 602
093d3ff1
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d14a1e28 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d14a1e28 618
d14a1e28 619
d14a1e28 620#ifdef __cplusplus
093d3ff1
RD
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648{
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664}
665
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
d14a1e28 672}
093d3ff1
RD
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690}
691
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
717}
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
d14a1e28 792#endif
093d3ff1
RD
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
d14a1e28 797
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d14a1e28 801
093d3ff1
RD
802 return &PySwigObject_Type;
803}
c32bde28 804
093d3ff1
RD
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
d14a1e28 814
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
d14a1e28 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d14a1e28 826
093d3ff1
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d14a1e28 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
d14a1e28 836
093d3ff1
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
d14a1e28 843
093d3ff1
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
c32bde28 868
093d3ff1
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
994141e6 1333
994141e6 1334#ifdef __cplusplus
093d3ff1
RD
1335}
1336#endif
994141e6 1337
15afbcd0 1338
093d3ff1 1339/* -------- TYPES TABLE (BEGIN) -------- */
15afbcd0 1340
093d3ff1
RD
1341#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1342#define SWIGTYPE_p_wxColour swig_types[1]
1343#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1344#define SWIGTYPE_p_wxDC swig_types[3]
1345#define SWIGTYPE_p_form_ops_t swig_types[4]
1346#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1347#define SWIGTYPE_p_wxMouseEvent swig_types[6]
1348#define SWIGTYPE_p_wxDuplexMode swig_types[7]
1349#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1350#define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1351#define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1352#define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1353#define SWIGTYPE_p_char swig_types[12]
1354#define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1355#define SWIGTYPE_p_wxHtmlParser swig_types[14]
1356#define SWIGTYPE_p_wxPanel swig_types[15]
1357#define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1358#define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1359#define SWIGTYPE_p_wxWindow swig_types[18]
1360#define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1361#define SWIGTYPE_p_wxFont swig_types[20]
1362#define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1363#define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1364#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1365#define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1366#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1367#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1368#define SWIGTYPE_p_wxObject swig_types[27]
1369#define SWIGTYPE_p_wxPaperSize swig_types[28]
1370#define SWIGTYPE_p_wxString swig_types[29]
1371#define SWIGTYPE_p_unsigned_int swig_types[30]
1372#define SWIGTYPE_unsigned_int swig_types[31]
1373#define SWIGTYPE_p_wxHtmlTagHandler swig_types[32]
1374#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[33]
1375#define SWIGTYPE_p_wxEvtHandler swig_types[34]
1376#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[35]
1377#define SWIGTYPE_p_wxPoint swig_types[36]
1378#define SWIGTYPE_p_wxHtmlHelpController swig_types[37]
1379#define SWIGTYPE_p_wxCursor swig_types[38]
1380#define SWIGTYPE_p_wxFileSystem swig_types[39]
1381#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[40]
1382#define SWIGTYPE_p_unsigned_char swig_types[41]
1383#define SWIGTYPE_p_wxPyPrintout swig_types[42]
1384#define SWIGTYPE_p_wxHtmlPrintout swig_types[43]
1385#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[44]
1386#define SWIGTYPE_std__ptrdiff_t swig_types[45]
1387#define SWIGTYPE_ptrdiff_t swig_types[46]
1388#define SWIGTYPE_p_wxHtmlContentsItem swig_types[47]
1389#define SWIGTYPE_p_wxConfigBase swig_types[48]
1390#define SWIGTYPE_p_wxPrintData swig_types[49]
1391#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[50]
1392#define SWIGTYPE_p_wxFrame swig_types[51]
1393#define SWIGTYPE_p_wxHtmlRenderingState swig_types[52]
1394#define SWIGTYPE_p_wxPyHtmlFilter swig_types[53]
1395#define SWIGTYPE_p_wxHtmlFilter swig_types[54]
1396#define SWIGTYPE_p_wxHtmlCell swig_types[55]
1397#define SWIGTYPE_p_wxHtmlContainerCell swig_types[56]
1398#define SWIGTYPE_p_wxHtmlTag swig_types[57]
1399#define SWIGTYPE_p_int swig_types[58]
1400#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[59]
1401#define SWIGTYPE_p_unsigned_long swig_types[60]
1402#define SWIGTYPE_p_wxHtmlBookRecord swig_types[61]
1403static swig_type_info *swig_types[63];
994141e6 1404
093d3ff1 1405/* -------- TYPES TABLE (END) -------- */
994141e6 1406
994141e6 1407
093d3ff1
RD
1408/*-----------------------------------------------
1409 @(target):= _html.so
1410 ------------------------------------------------*/
1411#define SWIG_init init_html
1412
1413#define SWIG_name "_html"
994141e6 1414
d14a1e28
RD
1415#include "wx/wxPython/wxPython.h"
1416#include "wx/wxPython/pyclasses.h"
1417#include "wx/wxPython/pyistream.h"
1418#include "wx/wxPython/printfw.h"
1419
1420#include <wx/html/htmlwin.h>
1421#include <wx/html/htmprint.h>
1422#include <wx/html/helpctrl.h>
1423
1424
b2dc1044
RD
1425 static const wxString wxPyEmptyString(wxEmptyString);
1426 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1427 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1428 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
994141e6 1429
093d3ff1
RD
1430 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1431#define SWIG_From_int PyInt_FromLong
1432/*@@*/
1433
1434
15afbcd0
RD
1435#include <limits.h>
1436
1437
093d3ff1 1438SWIGINTERN int
c32bde28
RD
1439 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1440 const char *errmsg)
15afbcd0 1441{
c32bde28
RD
1442 if (value < min_value) {
1443 if (errmsg) {
1444 PyErr_Format(PyExc_OverflowError,
1445 "value %ld is less than '%s' minimum %ld",
1446 value, errmsg, min_value);
1447 }
1448 return 0;
1449 } else if (value > max_value) {
1450 if (errmsg) {
1451 PyErr_Format(PyExc_OverflowError,
1452 "value %ld is greater than '%s' maximum %ld",
1453 value, errmsg, max_value);
15afbcd0 1454 }
c32bde28 1455 return 0;
15afbcd0 1456 }
c32bde28 1457 return 1;
15afbcd0
RD
1458}
1459
1460
093d3ff1 1461SWIGINTERN int
c32bde28 1462SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 1463{
c32bde28
RD
1464 if (PyNumber_Check(obj)) {
1465 if (val) *val = PyInt_AsLong(obj);
1466 return 1;
1467 }
69223c70 1468 else {
093d3ff1 1469 SWIG_type_error("number", obj);
69223c70 1470 }
c32bde28 1471 return 0;
15afbcd0
RD
1472}
1473
1474
1475#if INT_MAX != LONG_MAX
093d3ff1 1476SWIGINTERN int
c32bde28 1477 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 1478{
093d3ff1 1479 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1480 long v;
1481 if (SWIG_AsVal_long(obj, &v)) {
1482 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
093d3ff1 1483 if (val) *val = (int)(v);
c32bde28
RD
1484 return 1;
1485 } else {
1486 return 0;
1487 }
1488 } else {
1489 PyErr_Clear();
1490 }
1491 if (val) {
093d3ff1 1492 SWIG_type_error(errmsg, obj);
c32bde28
RD
1493 }
1494 return 0;
15afbcd0
RD
1495}
1496#else
093d3ff1 1497SWIGINTERNSHORT int
c32bde28
RD
1498 SWIG_AsVal_int(PyObject *obj, int *val)
1499{
1500 return SWIG_AsVal_long(obj,(long*)val);
1501}
15afbcd0
RD
1502#endif
1503
1504
093d3ff1 1505SWIGINTERNSHORT int
c32bde28 1506SWIG_As_int(PyObject* obj)
15afbcd0 1507{
c32bde28
RD
1508 int v;
1509 if (!SWIG_AsVal_int(obj, &v)) {
1510 /*
093d3ff1 1511 this is needed to make valgrind/purify happier.
c32bde28
RD
1512 */
1513 memset((void*)&v, 0, sizeof(int));
15afbcd0 1514 }
c32bde28
RD
1515 return v;
1516}
1517
1518
093d3ff1 1519SWIGINTERNSHORT int
c32bde28
RD
1520SWIG_Check_int(PyObject* obj)
1521{
1522 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
1523}
1524
093d3ff1 1525static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1526 int* temp = NULL;
1527 if (sizes) temp = int_LIST_helper(sizes);
1528 self->SetFonts(normal_face, fixed_face, temp);
1529 if (temp)
1530 delete [] temp;
1531 }
1532
1533class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1534 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
1535public:
1536 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1537
1538 wxHtmlParser* GetParser() { return m_Parser; }
1539 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1540
1541 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1542 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1543
1544 PYPRIVATE;
1545};
1546
1547IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1548
1549IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1550IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1551
1552
1553class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1554 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
1555public:
1556 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1557
1558 wxHtmlWinParser* GetParser() { return m_WParser; }
1559 void ParseInner(const wxHtmlTag& tag)
1560 { wxHtmlWinTagHandler::ParseInner(tag); }
1561
1562 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1563 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1564
1565 PYPRIVATE;
1566};
1567
1568IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1569
1570IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1571IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1572
1573
1574
1575class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1576public:
1577 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1578 m_tagHandlerClass = thc;
1579 Py_INCREF(m_tagHandlerClass);
1580 RegisterModule(this);
1581 wxHtmlWinParser::AddModule(this);
1582 }
1583
1584 void OnExit() {
4f89f6a3 1585 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1586 Py_DECREF(m_tagHandlerClass);
1587 m_tagHandlerClass = NULL;
1588 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1589 PyObject* obj = (PyObject*)m_objArray.Item(x);
1590 Py_DECREF(obj);
1591 }
4f89f6a3 1592 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1593 };
1594
1595 void FillHandlersTable(wxHtmlWinParser *parser) {
1596 // Wave our magic wand... (if it works it's a miracle! ;-)
1597
1598 // First, make a new instance of the tag handler
4f89f6a3 1599 bool blocked = wxPyBeginBlockThreads();
fd3f2efe
RD
1600 PyObject* arg = PyTuple_New(0);
1601 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1602 Py_DECREF(arg);
fd3f2efe 1603
d14a1e28
RD
1604 // now figure out where it's C++ object is...
1605 wxPyHtmlWinTagHandler* thPtr;
fd3f2efe 1606 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 1607 wxPyEndBlockThreads(blocked);
d14a1e28 1608 return;
fd3f2efe 1609 }
4f89f6a3 1610 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1611
1612 // add it,
1613 parser->AddTagHandler(thPtr);
1614
1615 // and track it.
1616 m_objArray.Add(obj);
1617 }
1618
1619private:
1620 PyObject* m_tagHandlerClass;
1621 wxArrayPtrVoid m_objArray;
1622
1623};
1624
1625
1626 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1627 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1628 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1629 new wxPyHtmlTagsModule(tagHandlerClass);
1630 }
1631
1632
093d3ff1
RD
1633SWIGINTERNSHORT PyObject*
1634 SWIG_From_bool(bool value)
1635{
1636 PyObject *obj = value ? Py_True : Py_False;
1637 Py_INCREF(obj);
1638 return obj;
1639}
1640
1641
c32bde28 1642 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1643 PyObject* o2;
1644 PyObject* o3;
c32bde28 1645
d14a1e28
RD
1646 if (!target) {
1647 target = o;
1648 } else if (target == Py_None) {
1649 Py_DECREF(Py_None);
1650 target = o;
7e63a440
RD
1651 } else {
1652 if (!PyTuple_Check(target)) {
1653 o2 = target;
1654 target = PyTuple_New(1);
1655 PyTuple_SetItem(target, 0, o2);
1656 }
d14a1e28
RD
1657 o3 = PyTuple_New(1);
1658 PyTuple_SetItem(o3, 0, o);
1659
1660 o2 = target;
1661 target = PySequence_Concat(o2, o3);
1662 Py_DECREF(o2);
1663 Py_DECREF(o3);
1664 }
1665 return target;
7e63a440 1666 }
d14a1e28 1667
994141e6 1668
994141e6 1669
093d3ff1 1670SWIGINTERN int
c32bde28 1671 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 1672{
c32bde28
RD
1673 if (obj == Py_True) {
1674 if (val) *val = true;
1675 return 1;
1676 }
1677 if (obj == Py_False) {
1678 if (val) *val = false;
1679 return 1;
1680 }
1681 int res = 0;
1682 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1683 if (val) *val = res ? true : false;
15afbcd0 1684 return 1;
093d3ff1
RD
1685 } else {
1686 PyErr_Clear();
1687 }
c32bde28 1688 if (val) {
093d3ff1 1689 SWIG_type_error("bool", obj);
c32bde28
RD
1690 }
1691 return 0;
15afbcd0
RD
1692}
1693
1694
093d3ff1 1695SWIGINTERNSHORT bool
c32bde28 1696SWIG_As_bool(PyObject* obj)
15afbcd0 1697{
c32bde28
RD
1698 bool v;
1699 if (!SWIG_AsVal_bool(obj, &v)) {
1700 /*
093d3ff1 1701 this is needed to make valgrind/purify happier.
c32bde28
RD
1702 */
1703 memset((void*)&v, 0, sizeof(bool));
15afbcd0 1704 }
c32bde28
RD
1705 return v;
1706}
1707
1708
093d3ff1 1709SWIGINTERNSHORT int
c32bde28
RD
1710SWIG_Check_bool(PyObject* obj)
1711{
1712 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
1713}
1714
1715
093d3ff1 1716SWIGINTERNSHORT int
c32bde28
RD
1717 SWIG_CheckUnsignedLongInRange(unsigned long value,
1718 unsigned long max_value,
1719 const char *errmsg)
15afbcd0 1720{
c32bde28
RD
1721 if (value > max_value) {
1722 if (errmsg) {
1723 PyErr_Format(PyExc_OverflowError,
093d3ff1 1724 "value %lu is greater than '%s' minimum %lu",
c32bde28 1725 value, errmsg, max_value);
15afbcd0 1726 }
c32bde28 1727 return 0;
15afbcd0 1728 }
c32bde28
RD
1729 return 1;
1730 }
1731
1732
093d3ff1 1733SWIGINTERN int
c32bde28
RD
1734SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1735{
1736 long v = 0;
1737 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1738 SWIG_type_error("unsigned number", obj);
c32bde28
RD
1739 }
1740 else if (val)
1741 *val = (unsigned long)v;
1742 return 1;
15afbcd0
RD
1743}
1744
1745
1746#if UINT_MAX != ULONG_MAX
093d3ff1 1747SWIGINTERN int
c32bde28 1748 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 1749{
093d3ff1 1750 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
1751 unsigned long v;
1752 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1753 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 1754 if (val) *val = (unsigned int)(v);
c32bde28
RD
1755 return 1;
1756 }
1757 } else {
1758 PyErr_Clear();
1759 }
1760 if (val) {
093d3ff1 1761 SWIG_type_error(errmsg, obj);
c32bde28
RD
1762 }
1763 return 0;
994141e6 1764}
15afbcd0 1765#else
093d3ff1 1766SWIGINTERNSHORT unsigned int
c32bde28
RD
1767 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1768{
1769 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1770}
15afbcd0 1771#endif
994141e6
RD
1772
1773
093d3ff1 1774SWIGINTERNSHORT unsigned int
c32bde28 1775SWIG_As_unsigned_SS_int(PyObject* obj)
994141e6 1776{
c32bde28
RD
1777 unsigned int v;
1778 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1779 /*
093d3ff1 1780 this is needed to make valgrind/purify happier.
c32bde28
RD
1781 */
1782 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 1783 }
c32bde28
RD
1784 return v;
1785}
1786
1787
093d3ff1 1788SWIGINTERNSHORT int
c32bde28
RD
1789SWIG_Check_unsigned_SS_int(PyObject* obj)
1790{
1791 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
15afbcd0
RD
1792}
1793
1794
093d3ff1
RD
1795 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1796#define SWIG_From_long PyInt_FromLong
1797/*@@*/
1798
1799
1800SWIGINTERNSHORT PyObject*
c32bde28 1801 SWIG_From_unsigned_SS_long(unsigned long value)
15afbcd0
RD
1802{
1803 return (value > LONG_MAX) ?
1804 PyLong_FromUnsignedLong(value)
093d3ff1 1805 : PyInt_FromLong((long)(value));
994141e6
RD
1806}
1807
1808
15afbcd0 1809#if UINT_MAX < LONG_MAX
093d3ff1 1810/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1811#define SWIG_From_unsigned_SS_int SWIG_From_long
1812/*@@*/
15afbcd0 1813#else
093d3ff1 1814/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1815#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1816/*@@*/
15afbcd0 1817#endif
994141e6 1818
d14a1e28
RD
1819 // here's the C++ version
1820class wxPyHtmlFilter : public wxHtmlFilter {
1821 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
1822public:
1823 wxPyHtmlFilter() : wxHtmlFilter() {}
1824
e811c8ce 1825 // returns True if this filter is able to open&read given file
d14a1e28 1826 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 1827 bool rval = false;
d14a1e28 1828 bool found;
4f89f6a3 1829 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1830 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 1831 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1832 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1833 Py_DECREF(obj);
1834 }
4f89f6a3 1835 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1836 return rval;
1837 }
1838
1839
1840 // Reads given file and returns HTML document.
1841 // Returns empty string if opening failed
1842 virtual wxString ReadFile(const wxFSFile& file) const {
1843 wxString rval;
1844 bool found;
4f89f6a3 1845 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1846 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 1847 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1848 PyObject* ro;
1849 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
1850 Py_DECREF(obj);
1851 if (ro) {
1852 rval = Py2wxString(ro);
1853 Py_DECREF(ro);
1854 }
1855 }
4f89f6a3 1856 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1857 return rval;
1858 }
1859
1860 PYPRIVATE;
1861};
1862
1863IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
1864
1865
1866class wxPyHtmlWindow : public wxHtmlWindow {
1867 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
1868public:
1869 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
1870 const wxPoint& pos = wxDefaultPosition,
1871 const wxSize& size = wxDefaultSize,
1872 long style = wxHW_DEFAULT_STYLE,
1873 const wxString& name = wxPyHtmlWindowNameStr)
1874 : wxHtmlWindow(parent, id, pos, size, style, name) {};
1875 wxPyHtmlWindow() : wxHtmlWindow() {};
1876
1877 bool ScrollToAnchor(const wxString& anchor) {
1878 return wxHtmlWindow::ScrollToAnchor(anchor);
1879 }
1880
1881 bool HasAnchor(const wxString& anchor) {
1882 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
1883 return c!=NULL;
1884 }
1885
1886 void OnLinkClicked(const wxHtmlLinkInfo& link);
1887 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
1888
1889 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
1890 const wxString& url,
1891 wxString *redirect) const;
1892
1893 DEC_PYCALLBACK__STRING(OnSetTitle);
1894 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
1895 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
1896 PYPRIVATE;
1897};
1898
1899IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
1900IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
1901IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
1902IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
1903
1904
1905void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
1906 bool found;
4f89f6a3 1907 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1908 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
1909 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
1910 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1911 Py_DECREF(obj);
1912 }
4f89f6a3 1913 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1914 if (! found)
1915 wxHtmlWindow::OnLinkClicked(link);
1916}
1917void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
1918 wxHtmlWindow::OnLinkClicked(link);
1919}
1920
1921
1922wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
1923 const wxString& url,
1924 wxString *redirect) const {
1925 bool found;
1926 wxHtmlOpeningStatus rval;
4f89f6a3 1927 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1928 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
1929 PyObject* ro;
1930 PyObject* s = wx2PyString(url);
1931 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
1932 Py_DECREF(s);
1933 if (PyString_Check(ro)
1934#if PYTHON_API_VERSION >= 1009
1935 || PyUnicode_Check(ro)
1936#endif
1937 ) {
1938 *redirect = Py2wxString(ro);
1939 rval = wxHTML_REDIRECT;
1940 }
1941 else {
1942 PyObject* num = PyNumber_Int(ro);
1943 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
1944 Py_DECREF(num);
1945 }
1946 Py_DECREF(ro);
1947 }
4f89f6a3 1948 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1949 if (! found)
1950 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
1951 return rval;
1952}
1953
1954
1955
093d3ff1 1956static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1957 int* temp = NULL;
1958 if (sizes) temp = int_LIST_helper(sizes);
1959 self->SetFonts(normal_face, fixed_face, temp);
1960 if (temp)
1961 delete [] temp;
1962 }
093d3ff1 1963static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1964 int* temp = NULL;
1965 if (sizes) temp = int_LIST_helper(sizes);
1966 self->SetFonts(normal_face, fixed_face, temp);
1967 if (temp)
1968 delete [] temp;
1969 }
093d3ff1 1970static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1971 int* temp = NULL;
1972 if (sizes) temp = int_LIST_helper(sizes);
1973 self->SetFonts(normal_face, fixed_face, temp);
1974 if (temp)
1975 delete [] temp;
1976 }
994141e6 1977
15afbcd0 1978#include <float.h>
093d3ff1 1979SWIGINTERN int
c32bde28
RD
1980 SWIG_CheckDoubleInRange(double value, double min_value,
1981 double max_value, const char* errmsg)
15afbcd0 1982{
c32bde28
RD
1983 if (value < min_value) {
1984 if (errmsg) {
1985 PyErr_Format(PyExc_OverflowError,
1986 "value %g is less than %s minimum %g",
1987 value, errmsg, min_value);
15afbcd0 1988 }
c32bde28
RD
1989 return 0;
1990 } else if (value > max_value) {
1991 if (errmsg) {
1992 PyErr_Format(PyExc_OverflowError,
1993 "value %g is greater than %s maximum %g",
1994 value, errmsg, max_value);
1995 }
1996 return 0;
15afbcd0 1997 }
c32bde28 1998 return 1;
15afbcd0
RD
1999}
2000
2001
093d3ff1 2002SWIGINTERN int
c32bde28 2003SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 2004{
c32bde28
RD
2005 if (PyNumber_Check(obj)) {
2006 if (val) *val = PyFloat_AsDouble(obj);
2007 return 1;
2008 }
69223c70 2009 else {
093d3ff1 2010 SWIG_type_error("number", obj);
69223c70 2011 }
c32bde28
RD
2012 return 0;
2013}
2014
2015
093d3ff1 2016SWIGINTERN int
c32bde28
RD
2017 SWIG_AsVal_float(PyObject *obj, float *val)
2018{
093d3ff1 2019 const char* errmsg = val ? "float" : (char*)0;
c32bde28
RD
2020 double v;
2021 if (SWIG_AsVal_double(obj, &v)) {
2022 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
093d3ff1 2023 if (val) *val = (float)(v);
c32bde28
RD
2024 return 1;
2025 } else {
2026 return 0;
2027 }
2028 } else {
2029 PyErr_Clear();
2030 }
2031 if (val) {
093d3ff1 2032 SWIG_type_error(errmsg, obj);
c32bde28
RD
2033 }
2034 return 0;
994141e6
RD
2035}
2036
2037
093d3ff1 2038SWIGINTERNSHORT float
c32bde28 2039SWIG_As_float(PyObject* obj)
994141e6 2040{
c32bde28
RD
2041 float v;
2042 if (!SWIG_AsVal_float(obj, &v)) {
2043 /*
093d3ff1 2044 this is needed to make valgrind/purify happier.
c32bde28
RD
2045 */
2046 memset((void*)&v, 0, sizeof(float));
2047 }
2048 return v;
15afbcd0
RD
2049}
2050
c32bde28 2051
093d3ff1 2052SWIGINTERNSHORT int
c32bde28 2053SWIG_Check_float(PyObject* obj)
15afbcd0 2054{
c32bde28 2055 return SWIG_AsVal_float(obj, (float*)0);
994141e6
RD
2056}
2057
093d3ff1 2058static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2059 int* temp = NULL;
2060 if (sizes) temp = int_LIST_helper(sizes);
2061 self->SetFonts(normal_face, fixed_face, temp);
2062 if (temp)
2063 delete [] temp;
2064 }
093d3ff1
RD
2065static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
2066static int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
2067static wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
2068static wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
2069static wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
d14a1e28
RD
2070#ifdef __cplusplus
2071extern "C" {
2072#endif
c32bde28 2073static int _wrap_HtmlWindowNameStr_set(PyObject *) {
b2dc1044
RD
2074 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2075 return 1;
2076}
2077
2078
093d3ff1 2079static PyObject *_wrap_HtmlWindowNameStr_get(void) {
b2dc1044
RD
2080 PyObject *pyobj;
2081
2082 {
2083#if wxUSE_UNICODE
2084 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2085#else
2086 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2087#endif
2088 }
2089 return pyobj;
2090}
2091
2092
c32bde28 2093static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
b2dc1044
RD
2094 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2095 return 1;
2096}
2097
2098
093d3ff1 2099static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
b2dc1044
RD
2100 PyObject *pyobj;
2101
2102 {
2103#if wxUSE_UNICODE
2104 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2105#else
2106 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2107#endif
2108 }
2109 return pyobj;
2110}
2111
2112
c32bde28 2113static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
b2dc1044
RD
2114 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2115 return 1;
2116}
2117
2118
093d3ff1 2119static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
b2dc1044
RD
2120 PyObject *pyobj;
2121
2122 {
2123#if wxUSE_UNICODE
2124 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2125#else
2126 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2127#endif
2128 }
2129 return pyobj;
2130}
2131
2132
c32bde28 2133static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2134 PyObject *resultobj;
2135 wxString *arg1 = 0 ;
2136 wxString const &arg2_defvalue = wxPyEmptyString ;
2137 wxString *arg2 = (wxString *) &arg2_defvalue ;
2138 wxHtmlLinkInfo *result;
ae8162c8
RD
2139 bool temp1 = false ;
2140 bool temp2 = false ;
d14a1e28
RD
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj1 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "href",(char *) "target", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2148 {
2149 arg1 = wxString_in_helper(obj0);
2150 if (arg1 == NULL) SWIG_fail;
ae8162c8 2151 temp1 = true;
d14a1e28
RD
2152 }
2153 if (obj1) {
2154 {
2155 arg2 = wxString_in_helper(obj1);
2156 if (arg2 == NULL) SWIG_fail;
ae8162c8 2157 temp2 = true;
d14a1e28
RD
2158 }
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
15afbcd0 2167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2168 {
2169 if (temp1)
2170 delete arg1;
2171 }
2172 {
2173 if (temp2)
2174 delete arg2;
2175 }
2176 return resultobj;
2177 fail:
2178 {
2179 if (temp1)
2180 delete arg1;
2181 }
2182 {
2183 if (temp2)
2184 delete arg2;
2185 }
2186 return NULL;
2187}
2188
2189
c32bde28 2190static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2191 PyObject *resultobj;
2192 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2193 wxString result;
2194 PyObject * obj0 = 0 ;
2195 char *kwnames[] = {
2196 (char *) "self", NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
093d3ff1
RD
2200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2201 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (arg1)->GetHref();
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 {
2210#if wxUSE_UNICODE
2211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2212#else
2213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2214#endif
2215 }
2216 return resultobj;
2217 fail:
2218 return NULL;
2219}
2220
2221
c32bde28 2222static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2223 PyObject *resultobj;
2224 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2225 wxString result;
2226 PyObject * obj0 = 0 ;
2227 char *kwnames[] = {
2228 (char *) "self", NULL
2229 };
2230
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
2232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2233 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (arg1)->GetTarget();
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 {
2242#if wxUSE_UNICODE
2243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2244#else
2245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2246#endif
2247 }
2248 return resultobj;
2249 fail:
2250 return NULL;
2251}
2252
2253
c32bde28 2254static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2255 PyObject *resultobj;
2256 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2257 wxMouseEvent *result;
2258 PyObject * obj0 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
2264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2265 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2266 {
2267 PyThreadState* __tstate = wxPyBeginAllowThreads();
2268 result = (wxMouseEvent *)(arg1)->GetEvent();
2269
2270 wxPyEndAllowThreads(__tstate);
2271 if (PyErr_Occurred()) SWIG_fail;
2272 }
2273 {
412d302d 2274 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2275 }
2276 return resultobj;
2277 fail:
2278 return NULL;
2279}
2280
2281
c32bde28 2282static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2283 PyObject *resultobj;
2284 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2285 wxHtmlCell *result;
2286 PyObject * obj0 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
2292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
15afbcd0 2301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2302 return resultobj;
2303 fail:
2304 return NULL;
2305}
2306
2307
c32bde28 2308static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2309 PyObject *resultobj;
2310 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2311 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2312 PyObject * obj0 = 0 ;
2313 PyObject * obj1 = 0 ;
2314 char *kwnames[] = {
2315 (char *) "self",(char *) "e", NULL
2316 };
2317
2318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2320 if (SWIG_arg_fail(1)) SWIG_fail;
2321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2322 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 Py_INCREF(Py_None); resultobj = Py_None;
2331 return resultobj;
2332 fail:
2333 return NULL;
2334}
2335
2336
c32bde28 2337static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2338 PyObject *resultobj;
2339 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2340 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2341 PyObject * obj0 = 0 ;
2342 PyObject * obj1 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self",(char *) "e", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2349 if (SWIG_arg_fail(1)) SWIG_fail;
2350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2351 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2352 {
2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
2354 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2355
2356 wxPyEndAllowThreads(__tstate);
2357 if (PyErr_Occurred()) SWIG_fail;
2358 }
2359 Py_INCREF(Py_None); resultobj = Py_None;
2360 return resultobj;
2361 fail:
2362 return NULL;
2363}
2364
2365
c32bde28 2366static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2367 PyObject *obj;
2368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2370 Py_INCREF(obj);
2371 return Py_BuildValue((char *)"");
2372}
c32bde28 2373static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2374 PyObject *resultobj;
2375 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2376 wxString result;
2377 PyObject * obj0 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
2383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2385 {
2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
2387 result = (arg1)->GetName();
2388
2389 wxPyEndAllowThreads(__tstate);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 }
2392 {
2393#if wxUSE_UNICODE
2394 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2395#else
2396 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2397#endif
2398 }
2399 return resultobj;
2400 fail:
2401 return NULL;
2402}
2403
2404
c32bde28 2405static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2406 PyObject *resultobj;
2407 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2408 wxString *arg2 = 0 ;
2409 bool result;
ae8162c8 2410 bool temp2 = false ;
d14a1e28
RD
2411 PyObject * obj0 = 0 ;
2412 PyObject * obj1 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self",(char *) "par", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2420 {
2421 arg2 = wxString_in_helper(obj1);
2422 if (arg2 == NULL) SWIG_fail;
ae8162c8 2423 temp2 = true;
d14a1e28
RD
2424 }
2425 {
2426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2427 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2428
2429 wxPyEndAllowThreads(__tstate);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
4f89f6a3
RD
2432 {
2433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2434 }
d14a1e28
RD
2435 {
2436 if (temp2)
2437 delete arg2;
2438 }
2439 return resultobj;
2440 fail:
2441 {
2442 if (temp2)
2443 delete arg2;
2444 }
2445 return NULL;
2446}
2447
2448
c32bde28 2449static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2450 PyObject *resultobj;
2451 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2452 wxString *arg2 = 0 ;
ae8162c8 2453 int arg3 = (int) false ;
d14a1e28 2454 wxString result;
ae8162c8 2455 bool temp2 = false ;
d14a1e28
RD
2456 PyObject * obj0 = 0 ;
2457 PyObject * obj1 = 0 ;
994141e6 2458 PyObject * obj2 = 0 ;
d14a1e28
RD
2459 char *kwnames[] = {
2460 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2461 };
2462
994141e6 2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2466 {
2467 arg2 = wxString_in_helper(obj1);
2468 if (arg2 == NULL) SWIG_fail;
ae8162c8 2469 temp2 = true;
d14a1e28 2470 }
994141e6 2471 if (obj2) {
093d3ff1
RD
2472 {
2473 arg3 = (int)(SWIG_As_int(obj2));
2474 if (SWIG_arg_fail(3)) SWIG_fail;
2475 }
994141e6 2476 }
d14a1e28
RD
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 {
2485#if wxUSE_UNICODE
2486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2487#else
2488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2489#endif
2490 }
2491 {
2492 if (temp2)
2493 delete arg2;
2494 }
2495 return resultobj;
2496 fail:
2497 {
2498 if (temp2)
2499 delete arg2;
2500 }
2501 return NULL;
2502}
2503
2504
c32bde28 2505static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2506 PyObject *resultobj;
2507 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2508 wxString result;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
093d3ff1
RD
2515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2516 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 result = (arg1)->GetAllParams();
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 {
2525#if wxUSE_UNICODE
2526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2527#else
2528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2529#endif
2530 }
2531 return resultobj;
2532 fail:
2533 return NULL;
2534}
2535
2536
c32bde28 2537static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2538 PyObject *resultobj;
2539 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2540 bool result;
2541 PyObject * obj0 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
093d3ff1
RD
2547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 result = (bool)(arg1)->HasEnding();
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
4f89f6a3
RD
2556 {
2557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2558 }
d14a1e28
RD
2559 return resultobj;
2560 fail:
2561 return NULL;
2562}
2563
2564
c32bde28 2565static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2566 PyObject *resultobj;
2567 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2568 int result;
2569 PyObject * obj0 = 0 ;
2570 char *kwnames[] = {
2571 (char *) "self", NULL
2572 };
2573
2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
2575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 result = (int)(arg1)->GetBeginPos();
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
093d3ff1
RD
2584 {
2585 resultobj = SWIG_From_int((int)(result));
2586 }
d14a1e28
RD
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
c32bde28 2593static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2594 PyObject *resultobj;
2595 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2596 int result;
2597 PyObject * obj0 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
093d3ff1
RD
2603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2604 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = (int)(arg1)->GetEndPos1();
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
093d3ff1
RD
2612 {
2613 resultobj = SWIG_From_int((int)(result));
2614 }
d14a1e28
RD
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
c32bde28 2621static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2622 PyObject *resultobj;
2623 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2624 int result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
093d3ff1
RD
2631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (int)(arg1)->GetEndPos2();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
093d3ff1
RD
2640 {
2641 resultobj = SWIG_From_int((int)(result));
2642 }
d14a1e28
RD
2643 return resultobj;
2644 fail:
2645 return NULL;
2646}
2647
2648
c32bde28 2649static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2650 PyObject *obj;
2651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2652 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2653 Py_INCREF(obj);
2654 return Py_BuildValue((char *)"");
2655}
c32bde28 2656static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2657 PyObject *resultobj;
2658 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2659 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2660 PyObject * obj0 = 0 ;
2661 PyObject * obj1 = 0 ;
2662 char *kwnames[] = {
2663 (char *) "self",(char *) "fs", NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2668 if (SWIG_arg_fail(1)) SWIG_fail;
2669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2670 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 (arg1)->SetFS(arg2);
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
2678 Py_INCREF(Py_None); resultobj = Py_None;
2679 return resultobj;
2680 fail:
2681 return NULL;
2682}
2683
2684
c32bde28 2685static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2686 PyObject *resultobj;
2687 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2688 wxFileSystem *result;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
093d3ff1
RD
2695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 result = (wxFileSystem *)(arg1)->GetFS();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 {
412d302d 2705 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2706 }
2707 return resultobj;
2708 fail:
2709 return NULL;
2710}
2711
2712
c32bde28 2713static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2714 PyObject *resultobj;
2715 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2716 wxString *arg2 = 0 ;
2717 wxObject *result;
ae8162c8 2718 bool temp2 = false ;
d14a1e28
RD
2719 PyObject * obj0 = 0 ;
2720 PyObject * obj1 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self",(char *) "source", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2728 {
2729 arg2 = wxString_in_helper(obj1);
2730 if (arg2 == NULL) SWIG_fail;
ae8162c8 2731 temp2 = true;
d14a1e28
RD
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 {
412d302d 2741 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2742 }
2743 {
2744 if (temp2)
2745 delete arg2;
2746 }
2747 return resultobj;
2748 fail:
2749 {
2750 if (temp2)
2751 delete arg2;
2752 }
2753 return NULL;
2754}
2755
2756
c32bde28 2757static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2758 PyObject *resultobj;
2759 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2760 wxString *arg2 = 0 ;
ae8162c8 2761 bool temp2 = false ;
d14a1e28
RD
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj1 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self",(char *) "source", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2771 {
2772 arg2 = wxString_in_helper(obj1);
2773 if (arg2 == NULL) SWIG_fail;
ae8162c8 2774 temp2 = true;
d14a1e28
RD
2775 }
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 (arg1)->InitParser((wxString const &)*arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 Py_INCREF(Py_None); resultobj = Py_None;
2784 {
2785 if (temp2)
2786 delete arg2;
2787 }
2788 return resultobj;
2789 fail:
2790 {
2791 if (temp2)
2792 delete arg2;
2793 }
2794 return NULL;
2795}
2796
2797
c32bde28 2798static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2799 PyObject *resultobj;
2800 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2801 PyObject * obj0 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
2807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2808 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 (arg1)->DoneParser();
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) SWIG_fail;
2815 }
2816 Py_INCREF(Py_None); resultobj = Py_None;
2817 return resultobj;
2818 fail:
2819 return NULL;
2820}
2821
2822
c32bde28 2823static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2824 PyObject *resultobj;
2825 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2826 int arg2 ;
2827 int arg3 ;
2828 PyObject * obj0 = 0 ;
994141e6
RD
2829 PyObject * obj1 = 0 ;
2830 PyObject * obj2 = 0 ;
d14a1e28
RD
2831 char *kwnames[] = {
2832 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2833 };
2834
994141e6 2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2837 if (SWIG_arg_fail(1)) SWIG_fail;
2838 {
2839 arg2 = (int)(SWIG_As_int(obj1));
2840 if (SWIG_arg_fail(2)) SWIG_fail;
2841 }
2842 {
2843 arg3 = (int)(SWIG_As_int(obj2));
2844 if (SWIG_arg_fail(3)) SWIG_fail;
2845 }
d14a1e28
RD
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 (arg1)->DoParsing(arg2,arg3);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 Py_INCREF(Py_None); resultobj = Py_None;
2854 return resultobj;
2855 fail:
2856 return NULL;
2857}
2858
2859
c32bde28 2860static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2861 PyObject *resultobj;
2862 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2863 PyObject * obj0 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
093d3ff1
RD
2869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2870 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 (arg1)->StopParsing();
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 Py_INCREF(Py_None); resultobj = Py_None;
2879 return resultobj;
2880 fail:
2881 return NULL;
2882}
2883
2884
c32bde28 2885static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2886 PyObject *resultobj;
2887 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2888 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2889 PyObject * obj0 = 0 ;
2890 PyObject * obj1 = 0 ;
2891 char *kwnames[] = {
2892 (char *) "self",(char *) "handler", NULL
2893 };
2894
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2897 if (SWIG_arg_fail(1)) SWIG_fail;
2898 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2899 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 (arg1)->AddTagHandler(arg2);
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 return resultobj;
2909 fail:
2910 return NULL;
2911}
2912
2913
c32bde28 2914static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2915 PyObject *resultobj;
2916 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2917 wxString *result;
2918 PyObject * obj0 = 0 ;
2919 char *kwnames[] = {
2920 (char *) "self", NULL
2921 };
2922
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
2924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2925 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = (wxString *)(arg1)->GetSource();
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 {
2934#if wxUSE_UNICODE
2935 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
2936#else
2937 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
2938#endif
2939 }
2940 return resultobj;
2941 fail:
2942 return NULL;
2943}
2944
2945
c32bde28 2946static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2947 PyObject *resultobj;
2948 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2949 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2950 wxString arg3 ;
d14a1e28
RD
2951 PyObject * obj0 = 0 ;
2952 PyObject * obj1 = 0 ;
2953 PyObject * obj2 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "handler",(char *) "tags", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2960 if (SWIG_arg_fail(1)) SWIG_fail;
2961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2962 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
2963 {
2964 wxString* sptr = wxString_in_helper(obj2);
2965 if (sptr == NULL) SWIG_fail;
2966 arg3 = *sptr;
2967 delete sptr;
2968 }
d14a1e28
RD
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 (arg1)->PushTagHandler(arg2,arg3);
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 Py_INCREF(Py_None); resultobj = Py_None;
2977 return resultobj;
2978 fail:
2979 return NULL;
2980}
2981
2982
c32bde28 2983static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2984 PyObject *resultobj;
2985 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2986 PyObject * obj0 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
2992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 (arg1)->PopTagHandler();
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 Py_INCREF(Py_None); resultobj = Py_None;
3002 return resultobj;
3003 fail:
3004 return NULL;
3005}
3006
3007
c32bde28 3008static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3009 PyObject *obj;
3010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3011 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3012 Py_INCREF(obj);
3013 return Py_BuildValue((char *)"");
3014}
c32bde28 3015static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3016 PyObject *resultobj;
3017 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3018 wxHtmlWinParser *result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "wnd", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3025 if (obj0) {
093d3ff1
RD
3026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3028 }
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
15afbcd0 3036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3037 return resultobj;
3038 fail:
3039 return NULL;
3040}
3041
3042
c32bde28 3043static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3044 PyObject *resultobj;
3045 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3046 wxDC *arg2 = (wxDC *) 0 ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 char *kwnames[] = {
3050 (char *) "self",(char *) "dc", NULL
3051 };
3052
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3055 if (SWIG_arg_fail(1)) SWIG_fail;
3056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3058 {
3059 PyThreadState* __tstate = wxPyBeginAllowThreads();
3060 (arg1)->SetDC(arg2);
3061
3062 wxPyEndAllowThreads(__tstate);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 }
3065 Py_INCREF(Py_None); resultobj = Py_None;
3066 return resultobj;
3067 fail:
3068 return NULL;
3069}
3070
3071
c32bde28 3072static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3073 PyObject *resultobj;
3074 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3075 wxDC *result;
3076 PyObject * obj0 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
3082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 result = (wxDC *)(arg1)->GetDC();
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 }
3091 {
412d302d 3092 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3093 }
3094 return resultobj;
3095 fail:
3096 return NULL;
3097}
3098
3099
c32bde28 3100static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3101 PyObject *resultobj;
3102 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3103 int result;
3104 PyObject * obj0 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
3110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = (int)(arg1)->GetCharHeight();
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
093d3ff1
RD
3119 {
3120 resultobj = SWIG_From_int((int)(result));
3121 }
d14a1e28
RD
3122 return resultobj;
3123 fail:
3124 return NULL;
3125}
3126
3127
c32bde28 3128static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3129 PyObject *resultobj;
3130 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3131 int result;
3132 PyObject * obj0 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (int)(arg1)->GetCharWidth();
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
093d3ff1
RD
3147 {
3148 resultobj = SWIG_From_int((int)(result));
3149 }
d14a1e28
RD
3150 return resultobj;
3151 fail:
3152 return NULL;
3153}
3154
3155
c32bde28 3156static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3157 PyObject *resultobj;
3158 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3159 wxPyHtmlWindow *result;
3160 PyObject * obj0 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 {
412d302d 3176 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3177 }
3178 return resultobj;
3179 fail:
3180 return NULL;
3181}
3182
3183
c32bde28 3184static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3185 PyObject *resultobj;
3186 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3187 wxString arg2 ;
3188 wxString arg3 ;
3189 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj1 = 0 ;
3192 PyObject * obj2 = 0 ;
3193 PyObject * obj3 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
3201 {
3202 wxString* sptr = wxString_in_helper(obj1);
3203 if (sptr == NULL) SWIG_fail;
3204 arg2 = *sptr;
3205 delete sptr;
3206 }
3207 {
3208 wxString* sptr = wxString_in_helper(obj2);
3209 if (sptr == NULL) SWIG_fail;
3210 arg3 = *sptr;
3211 delete sptr;
3212 }
d14a1e28
RD
3213 if (obj3) {
3214 arg4 = obj3;
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227}
3228
3229
ae8162c8 3230static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
3231 PyObject *resultobj;
3232 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3233 int arg2 = (int) -1 ;
ae8162c8
RD
3234 wxString const &arg3_defvalue = wxPyEmptyString ;
3235 wxString *arg3 = (wxString *) &arg3_defvalue ;
3236 wxString const &arg4_defvalue = wxPyEmptyString ;
3237 wxString *arg4 = (wxString *) &arg4_defvalue ;
3238 bool temp3 = false ;
3239 bool temp4 = false ;
30ee79f7
RD
3240 PyObject * obj0 = 0 ;
3241 PyObject * obj1 = 0 ;
ae8162c8
RD
3242 PyObject * obj2 = 0 ;
3243 PyObject * obj3 = 0 ;
30ee79f7 3244 char *kwnames[] = {
ae8162c8 3245 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3246 };
3247
ae8162c8 3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3251 if (obj1) {
093d3ff1
RD
3252 {
3253 arg2 = (int)(SWIG_As_int(obj1));
3254 if (SWIG_arg_fail(2)) SWIG_fail;
3255 }
30ee79f7 3256 }
ae8162c8
RD
3257 if (obj2) {
3258 {
3259 arg3 = wxString_in_helper(obj2);
3260 if (arg3 == NULL) SWIG_fail;
3261 temp3 = true;
3262 }
3263 }
3264 if (obj3) {
3265 {
3266 arg4 = wxString_in_helper(obj3);
3267 if (arg4 == NULL) SWIG_fail;
3268 temp4 = true;
3269 }
3270 }
30ee79f7
RD
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 3273 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
3279 {
3280 if (temp3)
3281 delete arg3;
3282 }
3283 {
3284 if (temp4)
3285 delete arg4;
3286 }
30ee79f7
RD
3287 return resultobj;
3288 fail:
ae8162c8
RD
3289 {
3290 if (temp3)
3291 delete arg3;
3292 }
3293 {
3294 if (temp4)
3295 delete arg4;
3296 }
30ee79f7
RD
3297 return NULL;
3298}
3299
3300
c32bde28 3301static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3302 PyObject *resultobj;
3303 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3304 wxHtmlContainerCell *result;
3305 PyObject * obj0 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
15afbcd0 3320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3321 return resultobj;
3322 fail:
3323 return NULL;
3324}
3325
3326
c32bde28 3327static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3328 PyObject *resultobj;
3329 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3330 wxHtmlContainerCell *result;
3331 PyObject * obj0 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
15afbcd0 3346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
c32bde28 3353static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3354 PyObject *resultobj;
3355 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3356 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3357 wxHtmlContainerCell *result;
3358 PyObject * obj0 = 0 ;
3359 PyObject * obj1 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "c", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail;
3367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3368 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
15afbcd0 3376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3377 return resultobj;
3378 fail:
3379 return NULL;
3380}
3381
3382
c32bde28 3383static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3384 PyObject *resultobj;
3385 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3386 wxHtmlContainerCell *result;
3387 PyObject * obj0 = 0 ;
3388 char *kwnames[] = {
3389 (char *) "self", NULL
3390 };
3391
3392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
15afbcd0 3402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3403 return resultobj;
3404 fail:
3405 return NULL;
3406}
3407
3408
c32bde28 3409static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3410 PyObject *resultobj;
3411 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3412 int result;
3413 PyObject * obj0 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
3419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (int)(arg1)->GetFontSize();
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
093d3ff1
RD
3428 {
3429 resultobj = SWIG_From_int((int)(result));
3430 }
d14a1e28
RD
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
c32bde28 3437static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3438 PyObject *resultobj;
3439 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3440 int arg2 ;
3441 PyObject * obj0 = 0 ;
994141e6 3442 PyObject * obj1 = 0 ;
d14a1e28
RD
3443 char *kwnames[] = {
3444 (char *) "self",(char *) "s", NULL
3445 };
3446
994141e6 3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3449 if (SWIG_arg_fail(1)) SWIG_fail;
3450 {
3451 arg2 = (int)(SWIG_As_int(obj1));
3452 if (SWIG_arg_fail(2)) SWIG_fail;
3453 }
d14a1e28
RD
3454 {
3455 PyThreadState* __tstate = wxPyBeginAllowThreads();
3456 (arg1)->SetFontSize(arg2);
3457
3458 wxPyEndAllowThreads(__tstate);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 }
3461 Py_INCREF(Py_None); resultobj = Py_None;
3462 return resultobj;
3463 fail:
3464 return NULL;
3465}
3466
3467
c32bde28 3468static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3469 PyObject *resultobj;
3470 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3471 int result;
3472 PyObject * obj0 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
093d3ff1
RD
3478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 result = (int)(arg1)->GetFontBold();
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
093d3ff1
RD
3487 {
3488 resultobj = SWIG_From_int((int)(result));
3489 }
d14a1e28
RD
3490 return resultobj;
3491 fail:
3492 return NULL;
3493}
3494
3495
c32bde28 3496static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3497 PyObject *resultobj;
3498 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3499 int arg2 ;
3500 PyObject * obj0 = 0 ;
994141e6 3501 PyObject * obj1 = 0 ;
d14a1e28
RD
3502 char *kwnames[] = {
3503 (char *) "self",(char *) "x", NULL
3504 };
3505
994141e6 3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3508 if (SWIG_arg_fail(1)) SWIG_fail;
3509 {
3510 arg2 = (int)(SWIG_As_int(obj1));
3511 if (SWIG_arg_fail(2)) SWIG_fail;
3512 }
d14a1e28
RD
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 (arg1)->SetFontBold(arg2);
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 Py_INCREF(Py_None); resultobj = Py_None;
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
c32bde28 3527static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3528 PyObject *resultobj;
3529 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3530 int result;
3531 PyObject * obj0 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
093d3ff1
RD
3537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (int)(arg1)->GetFontItalic();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
093d3ff1
RD
3546 {
3547 resultobj = SWIG_From_int((int)(result));
3548 }
d14a1e28
RD
3549 return resultobj;
3550 fail:
3551 return NULL;
3552}
3553
3554
c32bde28 3555static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3556 PyObject *resultobj;
3557 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3558 int arg2 ;
3559 PyObject * obj0 = 0 ;
994141e6 3560 PyObject * obj1 = 0 ;
d14a1e28
RD
3561 char *kwnames[] = {
3562 (char *) "self",(char *) "x", NULL
3563 };
3564
994141e6 3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail;
3568 {
3569 arg2 = (int)(SWIG_As_int(obj1));
3570 if (SWIG_arg_fail(2)) SWIG_fail;
3571 }
d14a1e28
RD
3572 {
3573 PyThreadState* __tstate = wxPyBeginAllowThreads();
3574 (arg1)->SetFontItalic(arg2);
3575
3576 wxPyEndAllowThreads(__tstate);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 }
3579 Py_INCREF(Py_None); resultobj = Py_None;
3580 return resultobj;
3581 fail:
3582 return NULL;
3583}
3584
3585
c32bde28 3586static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3587 PyObject *resultobj;
3588 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3589 int result;
3590 PyObject * obj0 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
093d3ff1
RD
3596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3597 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (int)(arg1)->GetFontUnderlined();
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
093d3ff1
RD
3605 {
3606 resultobj = SWIG_From_int((int)(result));
3607 }
d14a1e28
RD
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
c32bde28 3614static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3615 PyObject *resultobj;
3616 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3617 int arg2 ;
3618 PyObject * obj0 = 0 ;
994141e6 3619 PyObject * obj1 = 0 ;
d14a1e28
RD
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "x", NULL
3622 };
3623
994141e6 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail;
3627 {
3628 arg2 = (int)(SWIG_As_int(obj1));
3629 if (SWIG_arg_fail(2)) SWIG_fail;
3630 }
d14a1e28
RD
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 (arg1)->SetFontUnderlined(arg2);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 Py_INCREF(Py_None); resultobj = Py_None;
3639 return resultobj;
3640 fail:
3641 return NULL;
3642}
3643
3644
c32bde28 3645static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3646 PyObject *resultobj;
3647 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3648 int result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
093d3ff1
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (int)(arg1)->GetFontFixed();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
093d3ff1
RD
3664 {
3665 resultobj = SWIG_From_int((int)(result));
3666 }
d14a1e28
RD
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
c32bde28 3673static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3674 PyObject *resultobj;
3675 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3676 int arg2 ;
3677 PyObject * obj0 = 0 ;
994141e6 3678 PyObject * obj1 = 0 ;
d14a1e28
RD
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "x", NULL
3681 };
3682
994141e6 3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail;
3686 {
3687 arg2 = (int)(SWIG_As_int(obj1));
3688 if (SWIG_arg_fail(2)) SWIG_fail;
3689 }
d14a1e28
RD
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->SetFontFixed(arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701}
3702
3703
c32bde28 3704static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3705 PyObject *resultobj;
3706 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3707 int result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
3714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 result = (int)(arg1)->GetAlign();
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
093d3ff1
RD
3723 {
3724 resultobj = SWIG_From_int((int)(result));
3725 }
d14a1e28
RD
3726 return resultobj;
3727 fail:
3728 return NULL;
3729}
3730
3731
c32bde28 3732static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3733 PyObject *resultobj;
3734 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3735 int arg2 ;
3736 PyObject * obj0 = 0 ;
994141e6 3737 PyObject * obj1 = 0 ;
d14a1e28
RD
3738 char *kwnames[] = {
3739 (char *) "self",(char *) "a", NULL
3740 };
3741
994141e6 3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3744 if (SWIG_arg_fail(1)) SWIG_fail;
3745 {
3746 arg2 = (int)(SWIG_As_int(obj1));
3747 if (SWIG_arg_fail(2)) SWIG_fail;
3748 }
d14a1e28
RD
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 (arg1)->SetAlign(arg2);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 Py_INCREF(Py_None); resultobj = Py_None;
3757 return resultobj;
3758 fail:
3759 return NULL;
3760}
3761
3762
c32bde28 3763static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3764 PyObject *resultobj;
3765 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3766 wxColour result;
3767 PyObject * obj0 = 0 ;
3768 char *kwnames[] = {
3769 (char *) "self", NULL
3770 };
3771
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3774 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 result = (arg1)->GetLinkColor();
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 {
3783 wxColour * resultptr;
093d3ff1 3784 resultptr = new wxColour((wxColour &)(result));
15afbcd0 3785 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3786 }
3787 return resultobj;
3788 fail:
3789 return NULL;
3790}
3791
3792
c32bde28 3793static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3794 PyObject *resultobj;
3795 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3796 wxColour *arg2 = 0 ;
3797 wxColour temp2 ;
3798 PyObject * obj0 = 0 ;
3799 PyObject * obj1 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self",(char *) "clr", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3807 {
3808 arg2 = &temp2;
3809 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3810 }
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 (arg1)->SetLinkColor((wxColour const &)*arg2);
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 Py_INCREF(Py_None); resultobj = Py_None;
3819 return resultobj;
3820 fail:
3821 return NULL;
3822}
3823
3824
c32bde28 3825static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3826 PyObject *resultobj;
3827 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3828 wxColour result;
3829 PyObject * obj0 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "self", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (arg1)->GetActualColor();
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 {
3845 wxColour * resultptr;
093d3ff1 3846 resultptr = new wxColour((wxColour &)(result));
15afbcd0 3847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3848 }
3849 return resultobj;
3850 fail:
3851 return NULL;
3852}
3853
3854
c32bde28 3855static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3856 PyObject *resultobj;
3857 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3858 wxColour *arg2 = 0 ;
3859 wxColour temp2 ;
3860 PyObject * obj0 = 0 ;
3861 PyObject * obj1 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self",(char *) "clr", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3869 {
3870 arg2 = &temp2;
3871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3872 }
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 (arg1)->SetActualColor((wxColour const &)*arg2);
3876
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 Py_INCREF(Py_None); resultobj = Py_None;
3881 return resultobj;
3882 fail:
3883 return NULL;
3884}
3885
3886
c32bde28 3887static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3888 PyObject *resultobj;
3889 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3890 wxString *arg2 = 0 ;
ae8162c8 3891 bool temp2 = false ;
d14a1e28
RD
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self",(char *) "link", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3901 {
3902 arg2 = wxString_in_helper(obj1);
3903 if (arg2 == NULL) SWIG_fail;
ae8162c8 3904 temp2 = true;
d14a1e28
RD
3905 }
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 (arg1)->SetLink((wxString const &)*arg2);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 Py_INCREF(Py_None); resultobj = Py_None;
3914 {
3915 if (temp2)
3916 delete arg2;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp2)
3922 delete arg2;
3923 }
3924 return NULL;
3925}
3926
3927
c32bde28 3928static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3929 PyObject *resultobj;
3930 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3931 wxFont *result;
3932 PyObject * obj0 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "self", NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
3938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3939 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (wxFont *)(arg1)->CreateCurrentFont();
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
15afbcd0 3947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
c32bde28 3954static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3955 PyObject *resultobj;
3956 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
093d3ff1 3957 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
3958 PyObject * obj0 = 0 ;
3959 char *kwnames[] = {
3960 (char *) "self", NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
3964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3965 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = (arg1)->GetLink();
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 {
3974 wxHtmlLinkInfo * resultptr;
093d3ff1 3975 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result));
15afbcd0 3976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
3977 }
3978 return resultobj;
3979 fail:
3980 return NULL;
3981}
3982
3983
c32bde28 3984static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3985 PyObject *obj;
3986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3987 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
3988 Py_INCREF(obj);
3989 return Py_BuildValue((char *)"");
3990}
c32bde28 3991static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3992 PyObject *resultobj;
3993 wxPyHtmlTagHandler *result;
3994 char *kwnames[] = {
3995 NULL
3996 };
3997
3998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
15afbcd0 4006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4007 return resultobj;
4008 fail:
4009 return NULL;
4010}
4011
4012
c32bde28 4013static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4014 PyObject *resultobj;
4015 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4016 PyObject *arg2 = (PyObject *) 0 ;
4017 PyObject *arg3 = (PyObject *) 0 ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 PyObject * obj2 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self",(char *) "self",(char *) "_class", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4028 arg2 = obj1;
4029 arg3 = obj2;
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->_setCallbackInfo(arg2,arg3);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
c32bde28 4044static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4045 PyObject *resultobj;
4046 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4047 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self",(char *) "parser", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4056 if (SWIG_arg_fail(1)) SWIG_fail;
4057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 (arg1)->SetParser(arg2);
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 return resultobj;
4068 fail:
4069 return NULL;
4070}
4071
4072
c32bde28 4073static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4074 PyObject *resultobj;
4075 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4076 wxHtmlParser *result;
4077 PyObject * obj0 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (wxHtmlParser *)(arg1)->GetParser();
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
15afbcd0 4092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4093 return resultobj;
4094 fail:
4095 return NULL;
4096}
4097
4098
c32bde28 4099static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4100 PyObject *resultobj;
4101 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4102 wxHtmlTag *arg2 = 0 ;
4103 PyObject * obj0 = 0 ;
4104 PyObject * obj1 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "self",(char *) "tag", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4111 if (SWIG_arg_fail(1)) SWIG_fail;
4112 {
4113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4114 if (SWIG_arg_fail(2)) SWIG_fail;
4115 if (arg2 == NULL) {
4116 SWIG_null_ref("wxHtmlTag");
4117 }
4118 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4119 }
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 Py_INCREF(Py_None); resultobj = Py_None;
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
c32bde28 4134static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4135 PyObject *obj;
4136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4137 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4138 Py_INCREF(obj);
4139 return Py_BuildValue((char *)"");
4140}
c32bde28 4141static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4142 PyObject *resultobj;
4143 wxPyHtmlWinTagHandler *result;
4144 char *kwnames[] = {
4145 NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
15afbcd0 4156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4157 return resultobj;
4158 fail:
4159 return NULL;
4160}
4161
4162
c32bde28 4163static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4164 PyObject *resultobj;
4165 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4166 PyObject *arg2 = (PyObject *) 0 ;
4167 PyObject *arg3 = (PyObject *) 0 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 char *kwnames[] = {
4172 (char *) "self",(char *) "self",(char *) "_class", NULL
4173 };
4174
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4178 arg2 = obj1;
4179 arg3 = obj2;
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 (arg1)->_setCallbackInfo(arg2,arg3);
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 Py_INCREF(Py_None); resultobj = Py_None;
4188 return resultobj;
4189 fail:
4190 return NULL;
4191}
4192
4193
c32bde28 4194static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4195 PyObject *resultobj;
4196 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4197 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 char *kwnames[] = {
4201 (char *) "self",(char *) "parser", NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(1)) SWIG_fail;
4207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetParser(arg2);
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 Py_INCREF(Py_None); resultobj = Py_None;
4217 return resultobj;
4218 fail:
4219 return NULL;
4220}
4221
4222
c32bde28 4223static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4224 PyObject *resultobj;
4225 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4226 wxHtmlWinParser *result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = (wxHtmlWinParser *)(arg1)->GetParser();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
15afbcd0 4242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4243 return resultobj;
4244 fail:
4245 return NULL;
4246}
4247
4248
c32bde28 4249static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4250 PyObject *resultobj;
4251 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4252 wxHtmlTag *arg2 = 0 ;
4253 PyObject * obj0 = 0 ;
4254 PyObject * obj1 = 0 ;
4255 char *kwnames[] = {
4256 (char *) "self",(char *) "tag", NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail;
4262 {
4263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4264 if (SWIG_arg_fail(2)) SWIG_fail;
4265 if (arg2 == NULL) {
4266 SWIG_null_ref("wxHtmlTag");
4267 }
4268 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 Py_INCREF(Py_None); resultobj = Py_None;
4278 return resultobj;
4279 fail:
4280 return NULL;
4281}
4282
4283
c32bde28 4284static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4285 PyObject *obj;
4286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4287 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4288 Py_INCREF(obj);
4289 return Py_BuildValue((char *)"");
4290}
c32bde28 4291static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4292 PyObject *resultobj;
4293 PyObject *arg1 = (PyObject *) 0 ;
4294 PyObject * obj0 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "tagHandlerClass", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4300 arg1 = obj0;
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 wxHtmlWinParser_AddTagHandler(arg1);
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 Py_INCREF(Py_None); resultobj = Py_None;
4309 return resultobj;
4310 fail:
4311 return NULL;
4312}
4313
4314
c32bde28 4315static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4316 PyObject *resultobj;
4317 wxHtmlSelection *result;
4318 char *kwnames[] = {
4319 NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = (wxHtmlSelection *)new wxHtmlSelection();
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
15afbcd0 4330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
c32bde28 4337static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4338 PyObject *resultobj;
4339 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
4346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 delete arg1;
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 Py_INCREF(Py_None); resultobj = Py_None;
4356 return resultobj;
4357 fail:
4358 return NULL;
4359}
4360
4361
c32bde28 4362static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4363 PyObject *resultobj;
4364 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4365 wxPoint *arg2 = 0 ;
4366 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4367 wxPoint *arg4 = 0 ;
4368 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4369 wxPoint temp2 ;
4370 wxPoint temp4 ;
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 PyObject * obj2 = 0 ;
4374 PyObject * obj3 = 0 ;
4375 PyObject * obj4 = 0 ;
4376 char *kwnames[] = {
4377 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
4381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4383 {
4384 arg2 = &temp2;
4385 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4386 }
093d3ff1
RD
4387 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4388 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4389 {
4390 arg4 = &temp4;
4391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4392 }
093d3ff1
RD
4393 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4394 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 Py_INCREF(Py_None); resultobj = Py_None;
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
c32bde28 4409static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4410 PyObject *resultobj;
4411 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4412 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4413 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail;
4424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4425 if (SWIG_arg_fail(2)) SWIG_fail;
4426 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4427 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 Py_INCREF(Py_None); resultobj = Py_None;
4436 return resultobj;
4437 fail:
4438 return NULL;
4439}
4440
4441
c32bde28 4442static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4443 PyObject *resultobj;
4444 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4445 wxHtmlCell *result;
4446 PyObject * obj0 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
15afbcd0 4461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4462 return resultobj;
4463 fail:
4464 return NULL;
4465}
4466
4467
c32bde28 4468static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4469 PyObject *resultobj;
4470 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4471 wxHtmlCell *result;
4472 PyObject * obj0 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
15afbcd0 4487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
c32bde28 4494static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4495 PyObject *resultobj;
4496 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4497 wxPoint *result;
4498 PyObject * obj0 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 {
4509 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4510 result = (wxPoint *) &_result_ref;
4511 }
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
15afbcd0 4516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4517 return resultobj;
4518 fail:
4519 return NULL;
4520}
4521
4522
c32bde28 4523static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4524 PyObject *resultobj;
4525 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4526 wxPoint *result;
4527 PyObject * obj0 = 0 ;
4528 char *kwnames[] = {
4529 (char *) "self", NULL
4530 };
4531
4532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 {
4538 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4539 result = (wxPoint *) &_result_ref;
4540 }
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
15afbcd0 4545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4546 return resultobj;
4547 fail:
4548 return NULL;
4549}
4550
4551
c32bde28 4552static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4553 PyObject *resultobj;
4554 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4555 wxPoint *result;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 {
4567 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4568 result = (wxPoint *) &_result_ref;
4569 }
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
15afbcd0 4574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4575 return resultobj;
4576 fail:
4577 return NULL;
4578}
4579
4580
c32bde28 4581static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4582 PyObject *resultobj;
4583 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4584 wxPoint *result;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 {
4596 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4597 result = (wxPoint *) &_result_ref;
4598 }
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
15afbcd0 4603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4604 return resultobj;
4605 fail:
4606 return NULL;
4607}
4608
4609
c32bde28 4610static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4611 PyObject *resultobj;
4612 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4613 wxPoint *arg2 = 0 ;
4614 wxPoint temp2 ;
4615 PyObject * obj0 = 0 ;
4616 PyObject * obj1 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self",(char *) "pos", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4624 {
4625 arg2 = &temp2;
4626 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4627 }
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 Py_INCREF(Py_None); resultobj = Py_None;
4636 return resultobj;
4637 fail:
4638 return NULL;
4639}
4640
4641
c32bde28 4642static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4643 PyObject *resultobj;
4644 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4645 wxPoint *arg2 = 0 ;
4646 wxPoint temp2 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self",(char *) "pos", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4656 {
4657 arg2 = &temp2;
4658 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4659 }
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 Py_INCREF(Py_None); resultobj = Py_None;
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
c32bde28 4674static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4675 PyObject *resultobj;
4676 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4677 PyObject * obj0 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 (arg1)->ClearPrivPos();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 Py_INCREF(Py_None); resultobj = Py_None;
4693 return resultobj;
4694 fail:
4695 return NULL;
4696}
4697
4698
c32bde28 4699static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4700 PyObject *resultobj;
4701 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4702 bool result;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
093d3ff1
RD
4709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4710 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4f89f6a3 4718 {
093d3ff1 4719 resultobj = SWIG_From_bool((bool)(result));
4f89f6a3 4720 }
d14a1e28
RD
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
c32bde28 4727static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4728 PyObject *obj;
4729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4730 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4731 Py_INCREF(obj);
4732 return Py_BuildValue((char *)"");
4733}
c32bde28 4734static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4735 PyObject *resultobj;
4736 wxHtmlRenderingState *result;
4737 char *kwnames[] = {
4738 NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
15afbcd0 4749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
4750 return resultobj;
4751 fail:
4752 return NULL;
4753}
4754
4755
c32bde28 4756static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4757 PyObject *resultobj;
4758 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4759 PyObject * obj0 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4766 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 delete arg1;
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 Py_INCREF(Py_None); resultobj = Py_None;
4775 return resultobj;
4776 fail:
4777 return NULL;
4778}
4779
4780
c32bde28 4781static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4782 PyObject *resultobj;
4783 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4784 wxHtmlSelectionState arg2 ;
d14a1e28 4785 PyObject * obj0 = 0 ;
994141e6 4786 PyObject * obj1 = 0 ;
d14a1e28
RD
4787 char *kwnames[] = {
4788 (char *) "self",(char *) "s", NULL
4789 };
4790
994141e6 4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4793 if (SWIG_arg_fail(1)) SWIG_fail;
4794 {
4795 arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1));
4796 if (SWIG_arg_fail(2)) SWIG_fail;
4797 }
d14a1e28
RD
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 Py_INCREF(Py_None); resultobj = Py_None;
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
c32bde28 4812static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4813 PyObject *resultobj;
4814 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4815 wxHtmlSelectionState result;
d14a1e28
RD
4816 PyObject * obj0 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4826 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
093d3ff1 4831 resultobj = SWIG_From_int((result));
d14a1e28
RD
4832 return resultobj;
4833 fail:
4834 return NULL;
4835}
4836
4837
c32bde28 4838static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4839 PyObject *resultobj;
4840 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4841 wxColour *arg2 = 0 ;
4842 wxColour temp2 ;
4843 PyObject * obj0 = 0 ;
4844 PyObject * obj1 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self",(char *) "c", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4852 {
4853 arg2 = &temp2;
4854 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 (arg1)->SetFgColour((wxColour const &)*arg2);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
c32bde28 4870static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4871 PyObject *resultobj;
4872 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4873 wxColour *result;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4881 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 {
4885 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
4886 result = (wxColour *) &_result_ref;
4887 }
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
15afbcd0 4892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4893 return resultobj;
4894 fail:
4895 return NULL;
4896}
4897
4898
c32bde28 4899static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4900 PyObject *resultobj;
4901 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4902 wxColour *arg2 = 0 ;
4903 wxColour temp2 ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self",(char *) "c", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4913 {
4914 arg2 = &temp2;
4915 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 (arg1)->SetBgColour((wxColour const &)*arg2);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 return resultobj;
4926 fail:
4927 return NULL;
4928}
4929
4930
c32bde28 4931static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4932 PyObject *resultobj;
4933 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4934 wxColour *result;
4935 PyObject * obj0 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4942 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 {
4946 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
4947 result = (wxColour *) &_result_ref;
4948 }
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
15afbcd0 4953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
c32bde28 4960static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4961 PyObject *obj;
4962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4963 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
4964 Py_INCREF(obj);
4965 return Py_BuildValue((char *)"");
4966}
c32bde28 4967static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4968 PyObject *resultobj;
4969 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
4970 wxColour *arg2 = 0 ;
4971 wxColour result;
4972 wxColour temp2 ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "clr", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4982 {
4983 arg2 = &temp2;
4984 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 wxColour * resultptr;
093d3ff1 4995 resultptr = new wxColour((wxColour &)(result));
15afbcd0 4996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4997 }
4998 return resultobj;
4999 fail:
5000 return NULL;
5001}
5002
5003
c32bde28 5004static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5005 PyObject *resultobj;
5006 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5007 wxColour *arg2 = 0 ;
5008 wxColour result;
5009 wxColour temp2 ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self",(char *) "clr", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5019 {
5020 arg2 = &temp2;
5021 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5022 }
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 {
5031 wxColour * resultptr;
093d3ff1 5032 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5034 }
5035 return resultobj;
5036 fail:
5037 return NULL;
5038}
5039
5040
c32bde28 5041static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5042 PyObject *obj;
5043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5044 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5045 Py_INCREF(obj);
5046 return Py_BuildValue((char *)"");
5047}
c32bde28 5048static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5049 PyObject *resultobj;
5050 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5051 wxColour *arg2 = 0 ;
5052 wxColour result;
5053 wxColour temp2 ;
5054 PyObject * obj0 = 0 ;
5055 PyObject * obj1 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self",(char *) "clr", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5063 {
5064 arg2 = &temp2;
5065 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5066 }
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 {
5075 wxColour * resultptr;
093d3ff1 5076 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5078 }
5079 return resultobj;
5080 fail:
5081 return NULL;
5082}
5083
5084
c32bde28 5085static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5086 PyObject *resultobj;
5087 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5088 wxColour *arg2 = 0 ;
5089 wxColour result;
5090 wxColour temp2 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self",(char *) "clr", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5100 {
5101 arg2 = &temp2;
5102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5103 }
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 wxColour * resultptr;
093d3ff1 5113 resultptr = new wxColour((wxColour &)(result));
15afbcd0 5114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
c32bde28 5122static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5123 PyObject *obj;
5124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5125 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5126 Py_INCREF(obj);
5127 return Py_BuildValue((char *)"");
5128}
c32bde28 5129static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5130 PyObject *resultobj;
5131 wxHtmlRenderingInfo *result;
5132 char *kwnames[] = {
5133 NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
15afbcd0 5144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
c32bde28 5151static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5152 PyObject *resultobj;
5153 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5154 PyObject * obj0 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 delete arg1;
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 Py_INCREF(Py_None); resultobj = Py_None;
5170 return resultobj;
5171 fail:
5172 return NULL;
5173}
5174
5175
c32bde28 5176static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5177 PyObject *resultobj;
5178 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5179 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "s", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5188 if (SWIG_arg_fail(1)) SWIG_fail;
5189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 (arg1)->SetSelection(arg2);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 Py_INCREF(Py_None); resultobj = Py_None;
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
c32bde28 5205static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5206 PyObject *resultobj;
5207 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5208 wxHtmlSelection *result;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
5215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
15afbcd0 5224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
c32bde28 5231static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5232 PyObject *resultobj;
5233 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5234 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "style", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail;
5244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5245 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->SetStyle(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257}
5258
5259
c32bde28 5260static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5261 PyObject *resultobj;
5262 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5263 wxHtmlRenderingStyle *result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
5270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 {
5275 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5276 result = (wxHtmlRenderingStyle *) &_result_ref;
5277 }
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
15afbcd0 5282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
c32bde28 5289static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5290 PyObject *resultobj;
5291 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5292 wxHtmlRenderingState *result;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
5299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 {
5304 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5305 result = (wxHtmlRenderingState *) &_result_ref;
5306 }
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
15afbcd0 5311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
c32bde28 5318static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5319 PyObject *obj;
5320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5321 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5322 Py_INCREF(obj);
5323 return Py_BuildValue((char *)"");
5324}
c32bde28 5325static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5326 PyObject *resultobj;
5327 wxHtmlCell *result;
5328 char *kwnames[] = {
5329 NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 result = (wxHtmlCell *)new wxHtmlCell();
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
15afbcd0 5340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5341 return resultobj;
5342 fail:
5343 return NULL;
5344}
5345
5346
c32bde28 5347static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5348 PyObject *resultobj;
5349 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5350 int result;
5351 PyObject * obj0 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
093d3ff1
RD
5357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 result = (int)(arg1)->GetPosX();
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
093d3ff1
RD
5366 {
5367 resultobj = SWIG_From_int((int)(result));
5368 }
d14a1e28
RD
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
c32bde28 5375static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5376 PyObject *resultobj;
5377 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5378 int result;
5379 PyObject * obj0 = 0 ;
5380 char *kwnames[] = {
5381 (char *) "self", NULL
5382 };
5383
5384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
093d3ff1
RD
5385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (int)(arg1)->GetPosY();
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
093d3ff1
RD
5394 {
5395 resultobj = SWIG_From_int((int)(result));
5396 }
d14a1e28
RD
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
c32bde28 5403static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5404 PyObject *resultobj;
5405 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5406 int result;
5407 PyObject * obj0 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "self", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5414 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (int)(arg1)->GetWidth();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
093d3ff1
RD
5422 {
5423 resultobj = SWIG_From_int((int)(result));
5424 }
d14a1e28
RD
5425 return resultobj;
5426 fail:
5427 return NULL;
5428}
5429
5430
c32bde28 5431static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5432 PyObject *resultobj;
5433 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5434 int result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (int)(arg1)->GetHeight();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
093d3ff1
RD
5450 {
5451 resultobj = SWIG_From_int((int)(result));
5452 }
d14a1e28
RD
5453 return resultobj;
5454 fail:
5455 return NULL;
5456}
5457
5458
c32bde28 5459static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5460 PyObject *resultobj;
5461 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5462 int result;
5463 PyObject * obj0 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (int)(arg1)->GetDescent();
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
093d3ff1
RD
5478 {
5479 resultobj = SWIG_From_int((int)(result));
5480 }
d14a1e28
RD
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
c32bde28 5487static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4f89f6a3
RD
5488 PyObject *resultobj;
5489 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5490 int result;
5491 PyObject * obj0 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
093d3ff1
RD
5506 {
5507 resultobj = SWIG_From_int((int)(result));
5508 }
4f89f6a3
RD
5509 return resultobj;
5510 fail:
5511 return NULL;
5512}
5513
5514
c32bde28 5515static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
5516 PyObject *resultobj;
5517 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5518 wxString *result;
5519 PyObject * obj0 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
5525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail;
39f61e25
RD
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 {
5530 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5531 result = (wxString *) &_result_ref;
5532 }
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538#if wxUSE_UNICODE
5539 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5540#else
5541 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5542#endif
5543 }
5544 return resultobj;
5545 fail:
5546 return NULL;
5547}
5548
5549
c32bde28 5550static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25
RD
5551 PyObject *resultobj;
5552 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5553 wxString *arg2 = 0 ;
ae8162c8 5554 bool temp2 = false ;
39f61e25
RD
5555 PyObject * obj0 = 0 ;
5556 PyObject * obj1 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "self",(char *) "id", NULL
5559 };
5560
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail;
39f61e25
RD
5564 {
5565 arg2 = wxString_in_helper(obj1);
5566 if (arg2 == NULL) SWIG_fail;
ae8162c8 5567 temp2 = true;
39f61e25
RD
5568 }
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 (arg1)->SetId((wxString const &)*arg2);
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 Py_INCREF(Py_None); resultobj = Py_None;
5577 {
5578 if (temp2)
5579 delete arg2;
5580 }
5581 return resultobj;
5582 fail:
5583 {
5584 if (temp2)
5585 delete arg2;
5586 }
5587 return NULL;
5588}
5589
5590
c32bde28 5591static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5592 PyObject *resultobj;
5593 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5594 int arg2 = (int) 0 ;
5595 int arg3 = (int) 0 ;
5596 wxHtmlLinkInfo *result;
5597 PyObject * obj0 = 0 ;
994141e6
RD
5598 PyObject * obj1 = 0 ;
5599 PyObject * obj2 = 0 ;
d14a1e28
RD
5600 char *kwnames[] = {
5601 (char *) "self",(char *) "x",(char *) "y", NULL
5602 };
5603
994141e6 5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5606 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5607 if (obj1) {
093d3ff1
RD
5608 {
5609 arg2 = (int)(SWIG_As_int(obj1));
5610 if (SWIG_arg_fail(2)) SWIG_fail;
5611 }
994141e6
RD
5612 }
5613 if (obj2) {
093d3ff1
RD
5614 {
5615 arg3 = (int)(SWIG_As_int(obj2));
5616 if (SWIG_arg_fail(3)) SWIG_fail;
5617 }
994141e6 5618 }
d14a1e28
RD
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
15afbcd0 5626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5627 return resultobj;
5628 fail:
5629 return NULL;
5630}
5631
5632
c32bde28 5633static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5634 PyObject *resultobj;
5635 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5636 wxHtmlCell *result;
5637 PyObject * obj0 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
5643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (wxHtmlCell *)(arg1)->GetNext();
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
15afbcd0 5652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
c32bde28 5659static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5660 PyObject *resultobj;
5661 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5662 wxHtmlContainerCell *result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
15afbcd0 5678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5679 return resultobj;
5680 fail:
5681 return NULL;
5682}
5683
5684
c32bde28 5685static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5686 PyObject *resultobj;
5687 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5688 wxHtmlCell *result;
5689 PyObject * obj0 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
5695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
15afbcd0 5704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5705 return resultobj;
5706 fail:
5707 return NULL;
5708}
5709
5710
c32bde28 5711static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5712 PyObject *resultobj;
5713 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5714 wxCursor result;
5715 PyObject * obj0 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 result = ((wxHtmlCell const *)arg1)->GetCursor();
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 wxCursor * resultptr;
093d3ff1 5732 resultptr = new wxCursor((wxCursor &)(result));
15afbcd0 5733 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5734 }
5735 return resultobj;
5736 fail:
5737 return NULL;
5738}
5739
5740
c32bde28 5741static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5742 PyObject *resultobj;
5743 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5744 bool result;
5745 PyObject * obj0 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
5751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5752 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
4f89f6a3
RD
5760 {
5761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5762 }
d14a1e28
RD
5763 return resultobj;
5764 fail:
5765 return NULL;
5766}
5767
5768
c32bde28 5769static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5770 PyObject *resultobj;
5771 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5772 wxHtmlLinkInfo *arg2 = 0 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "self",(char *) "link", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5781 if (SWIG_arg_fail(1)) SWIG_fail;
5782 {
5783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
5784 if (SWIG_arg_fail(2)) SWIG_fail;
5785 if (arg2 == NULL) {
5786 SWIG_null_ref("wxHtmlLinkInfo");
5787 }
5788 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801}
5802
5803
c32bde28 5804static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5805 PyObject *resultobj;
5806 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5807 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "cell", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5816 if (SWIG_arg_fail(1)) SWIG_fail;
5817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5818 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetNext(arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 return resultobj;
5828 fail:
5829 return NULL;
5830}
5831
5832
c32bde28 5833static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5834 PyObject *resultobj;
5835 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5836 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "p", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail;
5846 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
5847 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 (arg1)->SetParent(arg2);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 Py_INCREF(Py_None); resultobj = Py_None;
5856 return resultobj;
5857 fail:
5858 return NULL;
5859}
5860
5861
c32bde28 5862static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5863 PyObject *resultobj;
5864 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5865 int arg2 ;
5866 int arg3 ;
5867 PyObject * obj0 = 0 ;
994141e6
RD
5868 PyObject * obj1 = 0 ;
5869 PyObject * obj2 = 0 ;
d14a1e28
RD
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "x",(char *) "y", NULL
5872 };
5873
994141e6 5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail;
5877 {
5878 arg2 = (int)(SWIG_As_int(obj1));
5879 if (SWIG_arg_fail(2)) SWIG_fail;
5880 }
5881 {
5882 arg3 = (int)(SWIG_As_int(obj2));
5883 if (SWIG_arg_fail(3)) SWIG_fail;
5884 }
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 (arg1)->SetPos(arg2,arg3);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 Py_INCREF(Py_None); resultobj = Py_None;
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
c32bde28 5899static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5900 PyObject *resultobj;
5901 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5902 int arg2 ;
5903 PyObject * obj0 = 0 ;
994141e6 5904 PyObject * obj1 = 0 ;
d14a1e28
RD
5905 char *kwnames[] = {
5906 (char *) "self",(char *) "w", NULL
5907 };
5908
994141e6 5909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail;
5912 {
5913 arg2 = (int)(SWIG_As_int(obj1));
5914 if (SWIG_arg_fail(2)) SWIG_fail;
5915 }
d14a1e28
RD
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->Layout(arg2);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927}
5928
5929
c32bde28 5930static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5931 PyObject *resultobj;
5932 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5933 wxDC *arg2 = 0 ;
5934 int arg3 ;
5935 int arg4 ;
5936 int arg5 ;
5937 int arg6 ;
5938 wxHtmlRenderingInfo *arg7 = 0 ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
994141e6
RD
5941 PyObject * obj2 = 0 ;
5942 PyObject * obj3 = 0 ;
5943 PyObject * obj4 = 0 ;
5944 PyObject * obj5 = 0 ;
d14a1e28
RD
5945 PyObject * obj6 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5948 };
5949
994141e6 5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail;
5953 {
5954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5955 if (SWIG_arg_fail(2)) SWIG_fail;
5956 if (arg2 == NULL) {
5957 SWIG_null_ref("wxDC");
5958 }
5959 if (SWIG_arg_fail(2)) SWIG_fail;
5960 }
5961 {
5962 arg3 = (int)(SWIG_As_int(obj2));
5963 if (SWIG_arg_fail(3)) SWIG_fail;
5964 }
5965 {
5966 arg4 = (int)(SWIG_As_int(obj3));
5967 if (SWIG_arg_fail(4)) SWIG_fail;
5968 }
5969 {
5970 arg5 = (int)(SWIG_As_int(obj4));
5971 if (SWIG_arg_fail(5)) SWIG_fail;
5972 }
5973 {
5974 arg6 = (int)(SWIG_As_int(obj5));
5975 if (SWIG_arg_fail(6)) SWIG_fail;
5976 }
5977 {
5978 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5979 if (SWIG_arg_fail(7)) SWIG_fail;
5980 if (arg7 == NULL) {
5981 SWIG_null_ref("wxHtmlRenderingInfo");
5982 }
5983 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5984 }
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 Py_INCREF(Py_None); resultobj = Py_None;
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
c32bde28 5999static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6000 PyObject *resultobj;
6001 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6002 wxDC *arg2 = 0 ;
6003 int arg3 ;
6004 int arg4 ;
6005 wxHtmlRenderingInfo *arg5 = 0 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
994141e6
RD
6008 PyObject * obj2 = 0 ;
6009 PyObject * obj3 = 0 ;
d14a1e28
RD
6010 PyObject * obj4 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6013 };
6014
994141e6 6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6017 if (SWIG_arg_fail(1)) SWIG_fail;
6018 {
6019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6020 if (SWIG_arg_fail(2)) SWIG_fail;
6021 if (arg2 == NULL) {
6022 SWIG_null_ref("wxDC");
6023 }
6024 if (SWIG_arg_fail(2)) SWIG_fail;
6025 }
6026 {
6027 arg3 = (int)(SWIG_As_int(obj2));
6028 if (SWIG_arg_fail(3)) SWIG_fail;
6029 }
6030 {
6031 arg4 = (int)(SWIG_As_int(obj3));
6032 if (SWIG_arg_fail(4)) SWIG_fail;
6033 }
6034 {
6035 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6036 if (SWIG_arg_fail(5)) SWIG_fail;
6037 if (arg5 == NULL) {
6038 SWIG_null_ref("wxHtmlRenderingInfo");
6039 }
6040 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 Py_INCREF(Py_None); resultobj = Py_None;
6050 return resultobj;
6051 fail:
6052 return NULL;
6053}
6054
6055
c32bde28 6056static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6057 PyObject *resultobj;
6058 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6059 int arg2 ;
6060 void *arg3 = (void *) 0 ;
6061 wxHtmlCell *result;
6062 PyObject * obj0 = 0 ;
994141e6 6063 PyObject * obj1 = 0 ;
d14a1e28
RD
6064 PyObject * obj2 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self",(char *) "condition",(char *) "param", NULL
6067 };
6068
994141e6 6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail;
6072 {
6073 arg2 = (int)(SWIG_As_int(obj1));
6074 if (SWIG_arg_fail(2)) SWIG_fail;
6075 }
6076 {
6077 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6078 SWIG_arg_fail(3);SWIG_fail;
6079 }
6080 }
d14a1e28
RD
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
15afbcd0 6088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6089 return resultobj;
6090 fail:
6091 return NULL;
6092}
6093
6094
c32bde28 6095static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6096 PyObject *resultobj;
6097 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6098 int *arg2 = (int *) 0 ;
6099 bool result;
6100 int temp2 ;
c32bde28 6101 int res2 = 0 ;
d14a1e28
RD
6102 PyObject * obj0 = 0 ;
6103 PyObject * obj1 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self",(char *) "INOUT", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6110 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6111 {
c32bde28
RD
6112 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6113 temp2 = SWIG_As_int(obj1);
093d3ff1 6114 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
6115 arg2 = &temp2;
6116 res2 = SWIG_NEWOBJ;
6117 }
d14a1e28
RD
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (bool)(arg1)->AdjustPagebreak(arg2);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
4f89f6a3
RD
6126 {
6127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6128 }
c32bde28
RD
6129 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6130 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6131 return resultobj;
6132 fail:
6133 return NULL;
6134}
6135
6136
c32bde28 6137static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6138 PyObject *resultobj;
6139 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6140 bool arg2 ;
6141 PyObject * obj0 = 0 ;
6142 PyObject * obj1 = 0 ;
6143 char *kwnames[] = {
6144 (char *) "self",(char *) "can", NULL
6145 };
6146
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6149 if (SWIG_arg_fail(1)) SWIG_fail;
6150 {
6151 arg2 = (bool)(SWIG_As_bool(obj1));
6152 if (SWIG_arg_fail(2)) SWIG_fail;
6153 }
d14a1e28
RD
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 (arg1)->SetCanLiveOnPagebreak(arg2);
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 Py_INCREF(Py_None); resultobj = Py_None;
6162 return resultobj;
6163 fail:
6164 return NULL;
6165}
6166
6167
c32bde28 6168static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6169 PyObject *resultobj;
6170 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6171 bool result;
6172 PyObject * obj0 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
093d3ff1
RD
6178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
4f89f6a3
RD
6187 {
6188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6189 }
d14a1e28
RD
6190 return resultobj;
6191 fail:
6192 return NULL;
6193}
6194
6195
c32bde28 6196static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6197 PyObject *resultobj;
6198 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6199 bool result;
6200 PyObject * obj0 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
4f89f6a3
RD
6215 {
6216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6217 }
d14a1e28
RD
6218 return resultobj;
6219 fail:
6220 return NULL;
6221}
6222
6223
c32bde28 6224static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6225 PyObject *resultobj;
6226 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e811c8ce
RD
6227 int arg2 ;
6228 int arg3 ;
d14a1e28
RD
6229 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6230 wxHtmlCell *result;
6231 PyObject * obj0 = 0 ;
994141e6
RD
6232 PyObject * obj1 = 0 ;
6233 PyObject * obj2 = 0 ;
d14a1e28
RD
6234 PyObject * obj3 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6237 };
6238
994141e6 6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail;
6242 {
6243 arg2 = (int)(SWIG_As_int(obj1));
6244 if (SWIG_arg_fail(2)) SWIG_fail;
6245 }
6246 {
6247 arg3 = (int)(SWIG_As_int(obj2));
6248 if (SWIG_arg_fail(3)) SWIG_fail;
6249 }
d14a1e28 6250 if (obj3) {
093d3ff1
RD
6251 {
6252 arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3));
6253 if (SWIG_arg_fail(4)) SWIG_fail;
6254 }
d14a1e28
RD
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
15afbcd0 6263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6264 return resultobj;
6265 fail:
6266 return NULL;
6267}
6268
6269
c32bde28 6270static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6271 PyObject *resultobj;
6272 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6273 wxPoint result;
6274 PyObject * obj0 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
6280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 {
6290 wxPoint * resultptr;
093d3ff1 6291 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 6292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6293 }
6294 return resultobj;
6295 fail:
6296 return NULL;
6297}
6298
6299
c32bde28 6300static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6301 PyObject *resultobj;
6302 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6303 wxHtmlCell *result;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
15afbcd0 6319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6320 return resultobj;
6321 fail:
6322 return NULL;
6323}
6324
6325
c32bde28 6326static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6327 PyObject *resultobj;
6328 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6329 wxHtmlCell *result;
6330 PyObject * obj0 = 0 ;
6331 char *kwnames[] = {
6332 (char *) "self", NULL
6333 };
6334
6335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6337 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
15afbcd0 6345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6346 return resultobj;
6347 fail:
6348 return NULL;
6349}
6350
6351
c32bde28 6352static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6353 PyObject *resultobj;
6354 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6355 unsigned int result;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
6362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
093d3ff1
RD
6371 {
6372 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
6373 }
d14a1e28
RD
6374 return resultobj;
6375 fail:
6376 return NULL;
6377}
6378
6379
c32bde28 6380static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6381 PyObject *resultobj;
6382 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6383 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6384 bool result;
6385 PyObject * obj0 = 0 ;
6386 PyObject * obj1 = 0 ;
6387 char *kwnames[] = {
6388 (char *) "self",(char *) "cell", NULL
6389 };
6390
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(1)) SWIG_fail;
6394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
4f89f6a3
RD
6403 {
6404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6405 }
d14a1e28
RD
6406 return resultobj;
6407 fail:
6408 return NULL;
6409}
6410
6411
c32bde28 6412static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6413 PyObject *resultobj;
6414 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6415 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6416 wxString result;
6417 PyObject * obj0 = 0 ;
6418 PyObject * obj1 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "sel", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6425 if (SWIG_arg_fail(1)) SWIG_fail;
6426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6427 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436#if wxUSE_UNICODE
6437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6438#else
6439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6440#endif
6441 }
6442 return resultobj;
6443 fail:
6444 return NULL;
6445}
6446
6447
c32bde28 6448static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6449 PyObject *obj;
6450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6451 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6452 Py_INCREF(obj);
6453 return Py_BuildValue((char *)"");
6454}
c32bde28 6455static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6456 PyObject *resultobj;
6457 wxString *arg1 = 0 ;
6458 wxDC *arg2 = 0 ;
6459 wxHtmlWordCell *result;
ae8162c8 6460 bool temp1 = false ;
d14a1e28
RD
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "word",(char *) "dc", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6468 {
6469 arg1 = wxString_in_helper(obj0);
6470 if (arg1 == NULL) SWIG_fail;
ae8162c8 6471 temp1 = true;
d14a1e28 6472 }
093d3ff1
RD
6473 {
6474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6475 if (SWIG_arg_fail(2)) SWIG_fail;
6476 if (arg2 == NULL) {
6477 SWIG_null_ref("wxDC");
6478 }
6479 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
15afbcd0 6488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6489 {
6490 if (temp1)
6491 delete arg1;
6492 }
6493 return resultobj;
6494 fail:
6495 {
6496 if (temp1)
6497 delete arg1;
6498 }
6499 return NULL;
6500}
6501
6502
c32bde28 6503static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6504 PyObject *obj;
6505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6506 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6507 Py_INCREF(obj);
6508 return Py_BuildValue((char *)"");
6509}
c32bde28 6510static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6511 PyObject *resultobj;
6512 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6513 wxHtmlContainerCell *result;
6514 PyObject * obj0 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "parent", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
15afbcd0 6529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6530 return resultobj;
6531 fail:
6532 return NULL;
6533}
6534
6535
c32bde28 6536static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6537 PyObject *resultobj;
6538 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6539 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6540 PyObject * obj0 = 0 ;
6541 PyObject * obj1 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self",(char *) "cell", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail;
6549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6550 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 (arg1)->InsertCell(arg2);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 Py_INCREF(Py_None); resultobj = Py_None;
6559 return resultobj;
6560 fail:
6561 return NULL;
6562}
6563
6564
c32bde28 6565static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6566 PyObject *resultobj;
6567 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6568 int arg2 ;
6569 PyObject * obj0 = 0 ;
994141e6 6570 PyObject * obj1 = 0 ;
d14a1e28
RD
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "al", NULL
6573 };
6574
994141e6 6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6577 if (SWIG_arg_fail(1)) SWIG_fail;
6578 {
6579 arg2 = (int)(SWIG_As_int(obj1));
6580 if (SWIG_arg_fail(2)) SWIG_fail;
6581 }
d14a1e28
RD
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->SetAlignHor(arg2);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593}
6594
6595
c32bde28 6596static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6597 PyObject *resultobj;
6598 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6599 int result;
6600 PyObject * obj0 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6607 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (int)(arg1)->GetAlignHor();
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
093d3ff1
RD
6615 {
6616 resultobj = SWIG_From_int((int)(result));
6617 }
d14a1e28
RD
6618 return resultobj;
6619 fail:
6620 return NULL;
6621}
6622
6623
c32bde28 6624static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6625 PyObject *resultobj;
6626 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6627 int arg2 ;
6628 PyObject * obj0 = 0 ;
994141e6 6629 PyObject * obj1 = 0 ;
d14a1e28
RD
6630 char *kwnames[] = {
6631 (char *) "self",(char *) "al", NULL
6632 };
6633
994141e6 6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6636 if (SWIG_arg_fail(1)) SWIG_fail;
6637 {
6638 arg2 = (int)(SWIG_As_int(obj1));
6639 if (SWIG_arg_fail(2)) SWIG_fail;
6640 }
d14a1e28
RD
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 (arg1)->SetAlignVer(arg2);
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 Py_INCREF(Py_None); resultobj = Py_None;
6649 return resultobj;
6650 fail:
6651 return NULL;
6652}
6653
6654
c32bde28 6655static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6656 PyObject *resultobj;
6657 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6658 int result;
6659 PyObject * obj0 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
093d3ff1
RD
6665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (int)(arg1)->GetAlignVer();
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
093d3ff1
RD
6674 {
6675 resultobj = SWIG_From_int((int)(result));
6676 }
d14a1e28
RD
6677 return resultobj;
6678 fail:
6679 return NULL;
6680}
6681
6682
c32bde28 6683static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6684 PyObject *resultobj;
6685 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6686 int arg2 ;
6687 int arg3 ;
6688 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6689 PyObject * obj0 = 0 ;
994141e6
RD
6690 PyObject * obj1 = 0 ;
6691 PyObject * obj2 = 0 ;
6692 PyObject * obj3 = 0 ;
d14a1e28
RD
6693 char *kwnames[] = {
6694 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6695 };
6696
994141e6 6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail;
6700 {
6701 arg2 = (int)(SWIG_As_int(obj1));
6702 if (SWIG_arg_fail(2)) SWIG_fail;
6703 }
6704 {
6705 arg3 = (int)(SWIG_As_int(obj2));
6706 if (SWIG_arg_fail(3)) SWIG_fail;
6707 }
994141e6 6708 if (obj3) {
093d3ff1
RD
6709 {
6710 arg4 = (int)(SWIG_As_int(obj3));
6711 if (SWIG_arg_fail(4)) SWIG_fail;
6712 }
994141e6 6713 }
d14a1e28
RD
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SetIndent(arg2,arg3,arg4);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725}
6726
6727
c32bde28 6728static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6729 PyObject *resultobj;
6730 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6731 int arg2 ;
6732 int result;
6733 PyObject * obj0 = 0 ;
994141e6 6734 PyObject * obj1 = 0 ;
d14a1e28
RD
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "ind", NULL
6737 };
6738
994141e6 6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6741 if (SWIG_arg_fail(1)) SWIG_fail;
6742 {
6743 arg2 = (int)(SWIG_As_int(obj1));
6744 if (SWIG_arg_fail(2)) SWIG_fail;
6745 }
d14a1e28
RD
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (int)(arg1)->GetIndent(arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
093d3ff1
RD
6753 {
6754 resultobj = SWIG_From_int((int)(result));
6755 }
d14a1e28
RD
6756 return resultobj;
6757 fail:
6758 return NULL;
6759}
6760
6761
c32bde28 6762static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6763 PyObject *resultobj;
6764 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6765 int arg2 ;
6766 int result;
6767 PyObject * obj0 = 0 ;
994141e6 6768 PyObject * obj1 = 0 ;
d14a1e28
RD
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "ind", NULL
6771 };
6772
994141e6 6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
6776 {
6777 arg2 = (int)(SWIG_As_int(obj1));
6778 if (SWIG_arg_fail(2)) SWIG_fail;
6779 }
d14a1e28
RD
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 result = (int)(arg1)->GetIndentUnits(arg2);
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
093d3ff1
RD
6787 {
6788 resultobj = SWIG_From_int((int)(result));
6789 }
d14a1e28
RD
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6797 PyObject *resultobj;
6798 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6799 wxHtmlTag *arg2 = 0 ;
6800 PyObject * obj0 = 0 ;
6801 PyObject * obj1 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "tag", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6808 if (SWIG_arg_fail(1)) SWIG_fail;
6809 {
6810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6811 if (SWIG_arg_fail(2)) SWIG_fail;
6812 if (arg2 == NULL) {
6813 SWIG_null_ref("wxHtmlTag");
6814 }
6815 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6816 }
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 Py_INCREF(Py_None); resultobj = Py_None;
6825 return resultobj;
6826 fail:
6827 return NULL;
6828}
6829
6830
c32bde28 6831static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6832 PyObject *resultobj;
6833 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6834 int arg2 ;
6835 int arg3 ;
6836 PyObject * obj0 = 0 ;
994141e6
RD
6837 PyObject * obj1 = 0 ;
6838 PyObject * obj2 = 0 ;
d14a1e28
RD
6839 char *kwnames[] = {
6840 (char *) "self",(char *) "w",(char *) "units", NULL
6841 };
6842
994141e6 6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
6846 {
6847 arg2 = (int)(SWIG_As_int(obj1));
6848 if (SWIG_arg_fail(2)) SWIG_fail;
6849 }
6850 {
6851 arg3 = (int)(SWIG_As_int(obj2));
6852 if (SWIG_arg_fail(3)) SWIG_fail;
6853 }
d14a1e28
RD
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->SetWidthFloat(arg2,arg3);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 Py_INCREF(Py_None); resultobj = Py_None;
6862 return resultobj;
6863 fail:
6864 return NULL;
6865}
6866
6867
c32bde28 6868static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6869 PyObject *resultobj;
6870 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6871 wxHtmlTag *arg2 = 0 ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 char *kwnames[] = {
6875 (char *) "self",(char *) "tag", NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6880 if (SWIG_arg_fail(1)) SWIG_fail;
6881 {
6882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6883 if (SWIG_arg_fail(2)) SWIG_fail;
6884 if (arg2 == NULL) {
6885 SWIG_null_ref("wxHtmlTag");
6886 }
6887 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 Py_INCREF(Py_None); resultobj = Py_None;
6897 return resultobj;
6898 fail:
6899 return NULL;
6900}
6901
6902
c32bde28 6903static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6904 PyObject *resultobj;
6905 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6906 int arg2 ;
6907 int arg3 = (int) wxHTML_ALIGN_TOP ;
6908 PyObject * obj0 = 0 ;
994141e6
RD
6909 PyObject * obj1 = 0 ;
6910 PyObject * obj2 = 0 ;
d14a1e28
RD
6911 char *kwnames[] = {
6912 (char *) "self",(char *) "h",(char *) "align", NULL
6913 };
6914
994141e6 6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6917 if (SWIG_arg_fail(1)) SWIG_fail;
6918 {
6919 arg2 = (int)(SWIG_As_int(obj1));
6920 if (SWIG_arg_fail(2)) SWIG_fail;
6921 }
994141e6 6922 if (obj2) {
093d3ff1
RD
6923 {
6924 arg3 = (int)(SWIG_As_int(obj2));
6925 if (SWIG_arg_fail(3)) SWIG_fail;
6926 }
994141e6 6927 }
d14a1e28
RD
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->SetMinHeight(arg2,arg3);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
c32bde28 6942static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6943 PyObject *resultobj;
6944 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6945 wxColour *arg2 = 0 ;
6946 wxColour temp2 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "clr", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6956 {
6957 arg2 = &temp2;
6958 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6959 }
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 Py_INCREF(Py_None); resultobj = Py_None;
6968 return resultobj;
6969 fail:
6970 return NULL;
6971}
6972
6973
c32bde28 6974static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6975 PyObject *resultobj;
6976 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6977 wxColour result;
6978 PyObject * obj0 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
6984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6985 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->GetBackgroundColour();
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994 wxColour * resultptr;
093d3ff1 6995 resultptr = new wxColour((wxColour &)(result));
15afbcd0 6996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
6997 }
6998 return resultobj;
6999 fail:
7000 return NULL;
7001}
7002
7003
c32bde28 7004static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7005 PyObject *resultobj;
7006 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7007 wxColour *arg2 = 0 ;
7008 wxColour *arg3 = 0 ;
7009 wxColour temp2 ;
7010 wxColour temp3 ;
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj1 = 0 ;
7013 PyObject * obj2 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7021 {
7022 arg2 = &temp2;
7023 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7024 }
7025 {
7026 arg3 = &temp3;
7027 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 return resultobj;
7038 fail:
7039 return NULL;
7040}
7041
7042
c32bde28 7043static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7044 PyObject *resultobj;
7045 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7046 wxHtmlCell *result;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
7053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
15afbcd0 7062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
7063 return resultobj;
7064 fail:
7065 return NULL;
7066}
7067
7068
c32bde28 7069static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7070 PyObject *obj;
7071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7072 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7073 Py_INCREF(obj);
7074 return Py_BuildValue((char *)"");
7075}
c32bde28 7076static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7077 PyObject *resultobj;
51b83b37 7078 wxColour *arg1 = 0 ;
d14a1e28
RD
7079 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7080 wxHtmlColourCell *result;
51b83b37 7081 wxColour temp1 ;
d14a1e28 7082 PyObject * obj0 = 0 ;
994141e6 7083 PyObject * obj1 = 0 ;
d14a1e28
RD
7084 char *kwnames[] = {
7085 (char *) "clr",(char *) "flags", NULL
7086 };
7087
994141e6 7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 7089 {
51b83b37
RD
7090 arg1 = &temp1;
7091 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
093d3ff1 7092 }
994141e6 7093 if (obj1) {
093d3ff1
RD
7094 {
7095 arg2 = (int)(SWIG_As_int(obj1));
7096 if (SWIG_arg_fail(2)) SWIG_fail;
7097 }
994141e6 7098 }
d14a1e28
RD
7099 {
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
51b83b37 7101 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
d14a1e28
RD
7102
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
15afbcd0 7106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7107 return resultobj;
7108 fail:
7109 return NULL;
7110}
7111
7112
c32bde28 7113static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7114 PyObject *obj;
7115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7116 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7117 Py_INCREF(obj);
7118 return Py_BuildValue((char *)"");
7119}
c32bde28 7120static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7121 PyObject *resultobj;
7122 wxFont *arg1 = (wxFont *) 0 ;
7123 wxHtmlFontCell *result;
7124 PyObject * obj0 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "font", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
7130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
15afbcd0 7139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7140 return resultobj;
7141 fail:
7142 return NULL;
7143}
7144
7145
c32bde28 7146static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7147 PyObject *obj;
7148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7149 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7150 Py_INCREF(obj);
7151 return Py_BuildValue((char *)"");
7152}
c32bde28 7153static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7154 PyObject *resultobj;
7155 wxWindow *arg1 = (wxWindow *) 0 ;
7156 int arg2 = (int) 0 ;
7157 wxHtmlWidgetCell *result;
7158 PyObject * obj0 = 0 ;
994141e6 7159 PyObject * obj1 = 0 ;
d14a1e28
RD
7160 char *kwnames[] = {
7161 (char *) "wnd",(char *) "w", NULL
7162 };
7163
994141e6 7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7167 if (obj1) {
093d3ff1
RD
7168 {
7169 arg2 = (int)(SWIG_As_int(obj1));
7170 if (SWIG_arg_fail(2)) SWIG_fail;
7171 }
994141e6 7172 }
d14a1e28
RD
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
15afbcd0 7180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7181 return resultobj;
7182 fail:
7183 return NULL;
7184}
7185
7186
c32bde28 7187static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7188 PyObject *obj;
7189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7190 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7191 Py_INCREF(obj);
7192 return Py_BuildValue((char *)"");
7193}
c32bde28 7194static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7195 PyObject *resultobj;
7196 wxPyHtmlFilter *result;
7197 char *kwnames[] = {
7198 NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7205
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
15afbcd0 7209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7210 return resultobj;
7211 fail:
7212 return NULL;
7213}
7214
7215
c32bde28 7216static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7217 PyObject *resultobj;
7218 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7219 PyObject *arg2 = (PyObject *) 0 ;
7220 PyObject *arg3 = (PyObject *) 0 ;
7221 PyObject * obj0 = 0 ;
7222 PyObject * obj1 = 0 ;
7223 PyObject * obj2 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "self",(char *) "_class", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7231 arg2 = obj1;
7232 arg3 = obj2;
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->_setCallbackInfo(arg2,arg3);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244}
7245
7246
c32bde28 7247static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7248 PyObject *obj;
7249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7250 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7251 Py_INCREF(obj);
7252 return Py_BuildValue((char *)"");
7253}
c32bde28 7254static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7255 PyObject *resultobj;
7256 wxWindow *arg1 = (wxWindow *) 0 ;
7257 int arg2 = (int) -1 ;
7258 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7259 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7260 wxSize const &arg4_defvalue = wxDefaultSize ;
7261 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7262 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7263 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7264 wxString *arg6 = (wxString *) &arg6_defvalue ;
7265 wxPyHtmlWindow *result;
7266 wxPoint temp3 ;
7267 wxSize temp4 ;
ae8162c8 7268 bool temp6 = false ;
d14a1e28 7269 PyObject * obj0 = 0 ;
994141e6 7270 PyObject * obj1 = 0 ;
d14a1e28
RD
7271 PyObject * obj2 = 0 ;
7272 PyObject * obj3 = 0 ;
994141e6 7273 PyObject * obj4 = 0 ;
d14a1e28
RD
7274 PyObject * obj5 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7277 };
7278
994141e6 7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7281 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7282 if (obj1) {
093d3ff1
RD
7283 {
7284 arg2 = (int)(SWIG_As_int(obj1));
7285 if (SWIG_arg_fail(2)) SWIG_fail;
7286 }
994141e6 7287 }
d14a1e28
RD
7288 if (obj2) {
7289 {
7290 arg3 = &temp3;
7291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7292 }
7293 }
7294 if (obj3) {
7295 {
7296 arg4 = &temp4;
7297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7298 }
7299 }
994141e6 7300 if (obj4) {
093d3ff1
RD
7301 {
7302 arg5 = (int)(SWIG_As_int(obj4));
7303 if (SWIG_arg_fail(5)) SWIG_fail;
7304 }
994141e6 7305 }
d14a1e28
RD
7306 if (obj5) {
7307 {
7308 arg6 = wxString_in_helper(obj5);
7309 if (arg6 == NULL) SWIG_fail;
ae8162c8 7310 temp6 = true;
d14a1e28
RD
7311 }
7312 }
7313 {
e3b71cb8 7314 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7317
7318 wxPyEndAllowThreads(__tstate);
110da5b0 7319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7320 }
b0f7404b 7321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7322 {
7323 if (temp6)
7324 delete arg6;
7325 }
7326 return resultobj;
7327 fail:
7328 {
7329 if (temp6)
7330 delete arg6;
7331 }
7332 return NULL;
7333}
7334
7335
c32bde28 7336static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7337 PyObject *resultobj;
7338 wxPyHtmlWindow *result;
7339 char *kwnames[] = {
7340 NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7344 {
e3b71cb8 7345 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7348
7349 wxPyEndAllowThreads(__tstate);
110da5b0 7350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7351 }
b0f7404b 7352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7353 return resultobj;
7354 fail:
7355 return NULL;
7356}
7357
7358
c32bde28 7359static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7360 PyObject *resultobj;
7361 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7362 wxWindow *arg2 = (wxWindow *) 0 ;
7363 int arg3 = (int) -1 ;
7364 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7365 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7366 wxSize const &arg5_defvalue = wxDefaultSize ;
7367 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7368 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7369 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7370 wxString *arg7 = (wxString *) &arg7_defvalue ;
7371 bool result;
7372 wxPoint temp4 ;
7373 wxSize temp5 ;
ae8162c8 7374 bool temp7 = false ;
d14a1e28
RD
7375 PyObject * obj0 = 0 ;
7376 PyObject * obj1 = 0 ;
994141e6 7377 PyObject * obj2 = 0 ;
d14a1e28
RD
7378 PyObject * obj3 = 0 ;
7379 PyObject * obj4 = 0 ;
994141e6 7380 PyObject * obj5 = 0 ;
d14a1e28
RD
7381 PyObject * obj6 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7384 };
7385
994141e6 7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7388 if (SWIG_arg_fail(1)) SWIG_fail;
7389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7390 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 7391 if (obj2) {
093d3ff1
RD
7392 {
7393 arg3 = (int)(SWIG_As_int(obj2));
7394 if (SWIG_arg_fail(3)) SWIG_fail;
7395 }
994141e6 7396 }
d14a1e28
RD
7397 if (obj3) {
7398 {
7399 arg4 = &temp4;
7400 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7401 }
7402 }
7403 if (obj4) {
7404 {
7405 arg5 = &temp5;
7406 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7407 }
7408 }
994141e6 7409 if (obj5) {
093d3ff1
RD
7410 {
7411 arg6 = (int)(SWIG_As_int(obj5));
7412 if (SWIG_arg_fail(6)) SWIG_fail;
7413 }
994141e6 7414 }
d14a1e28
RD
7415 if (obj6) {
7416 {
7417 arg7 = wxString_in_helper(obj6);
7418 if (arg7 == NULL) SWIG_fail;
ae8162c8 7419 temp7 = true;
d14a1e28
RD
7420 }
7421 }
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
4f89f6a3
RD
7429 {
7430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7431 }
d14a1e28
RD
7432 {
7433 if (temp7)
7434 delete arg7;
7435 }
7436 return resultobj;
7437 fail:
7438 {
7439 if (temp7)
7440 delete arg7;
7441 }
7442 return NULL;
7443}
7444
7445
c32bde28 7446static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7447 PyObject *resultobj;
7448 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7449 PyObject *arg2 = (PyObject *) 0 ;
7450 PyObject *arg3 = (PyObject *) 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 PyObject * obj2 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "self",(char *) "_class", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7460 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7461 arg2 = obj1;
7462 arg3 = obj2;
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->_setCallbackInfo(arg2,arg3);
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 return resultobj;
7472 fail:
7473 return NULL;
7474}
7475
7476
c32bde28 7477static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7478 PyObject *resultobj;
7479 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7480 wxString *arg2 = 0 ;
7481 bool result;
ae8162c8 7482 bool temp2 = false ;
d14a1e28
RD
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self",(char *) "source", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7491 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7492 {
7493 arg2 = wxString_in_helper(obj1);
7494 if (arg2 == NULL) SWIG_fail;
ae8162c8 7495 temp2 = true;
d14a1e28
RD
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
4f89f6a3
RD
7504 {
7505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7506 }
d14a1e28
RD
7507 {
7508 if (temp2)
7509 delete arg2;
7510 }
7511 return resultobj;
7512 fail:
7513 {
7514 if (temp2)
7515 delete arg2;
7516 }
7517 return NULL;
7518}
7519
7520
c32bde28 7521static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7522 PyObject *resultobj;
7523 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7524 wxString *arg2 = 0 ;
7525 bool result;
ae8162c8 7526 bool temp2 = false ;
d14a1e28
RD
7527 PyObject * obj0 = 0 ;
7528 PyObject * obj1 = 0 ;
7529 char *kwnames[] = {
7530 (char *) "self",(char *) "location", NULL
7531 };
7532
7533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7535 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7536 {
7537 arg2 = wxString_in_helper(obj1);
7538 if (arg2 == NULL) SWIG_fail;
ae8162c8 7539 temp2 = true;
d14a1e28
RD
7540 }
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
4f89f6a3
RD
7548 {
7549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7550 }
d14a1e28
RD
7551 {
7552 if (temp2)
7553 delete arg2;
7554 }
7555 return resultobj;
7556 fail:
7557 {
7558 if (temp2)
7559 delete arg2;
7560 }
7561 return NULL;
7562}
7563
7564
c32bde28 7565static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7566 PyObject *resultobj;
7567 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7568 wxString *arg2 = 0 ;
7569 bool result;
ae8162c8 7570 bool temp2 = false ;
d14a1e28
RD
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self",(char *) "filename", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7580 {
7581 arg2 = wxString_in_helper(obj1);
7582 if (arg2 == NULL) SWIG_fail;
ae8162c8 7583 temp2 = true;
d14a1e28
RD
7584 }
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
4f89f6a3
RD
7592 {
7593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7594 }
d14a1e28
RD
7595 {
7596 if (temp2)
7597 delete arg2;
7598 }
7599 return resultobj;
7600 fail:
7601 {
7602 if (temp2)
7603 delete arg2;
7604 }
7605 return NULL;
7606}
7607
7608
c32bde28 7609static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7610 PyObject *resultobj;
7611 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7612 wxString *arg2 = 0 ;
7613 bool result;
ae8162c8 7614 bool temp2 = false ;
d14a1e28
RD
7615 PyObject * obj0 = 0 ;
7616 PyObject * obj1 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "source", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7624 {
7625 arg2 = wxString_in_helper(obj1);
7626 if (arg2 == NULL) SWIG_fail;
ae8162c8 7627 temp2 = true;
d14a1e28
RD
7628 }
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
4f89f6a3
RD
7636 {
7637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7638 }
d14a1e28
RD
7639 {
7640 if (temp2)
7641 delete arg2;
7642 }
7643 return resultobj;
7644 fail:
7645 {
7646 if (temp2)
7647 delete arg2;
7648 }
7649 return NULL;
7650}
7651
7652
c32bde28 7653static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7654 PyObject *resultobj;
7655 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7656 wxString result;
7657 PyObject * obj0 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
7663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (arg1)->GetOpenedPage();
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 {
7673#if wxUSE_UNICODE
7674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7675#else
7676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7677#endif
7678 }
7679 return resultobj;
7680 fail:
7681 return NULL;
7682}
7683
7684
c32bde28 7685static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7686 PyObject *resultobj;
7687 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7688 wxString result;
7689 PyObject * obj0 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (arg1)->GetOpenedAnchor();
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 {
7705#if wxUSE_UNICODE
7706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7707#else
7708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7709#endif
7710 }
7711 return resultobj;
7712 fail:
7713 return NULL;
7714}
7715
7716
c32bde28 7717static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7718 PyObject *resultobj;
7719 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7720 wxString result;
7721 PyObject * obj0 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
7727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (arg1)->GetOpenedPageTitle();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 {
7737#if wxUSE_UNICODE
7738 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7739#else
7740 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7741#endif
7742 }
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
c32bde28 7749static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7750 PyObject *resultobj;
7751 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7752 wxFrame *arg2 = (wxFrame *) 0 ;
7753 wxString *arg3 = 0 ;
ae8162c8 7754 bool temp3 = false ;
d14a1e28
RD
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 PyObject * obj2 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "frame",(char *) "format", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail;
7765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
7766 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7767 {
7768 arg3 = wxString_in_helper(obj2);
7769 if (arg3 == NULL) SWIG_fail;
ae8162c8 7770 temp3 = true;
d14a1e28
RD
7771 }
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
7775
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 Py_INCREF(Py_None); resultobj = Py_None;
7780 {
7781 if (temp3)
7782 delete arg3;
7783 }
7784 return resultobj;
7785 fail:
7786 {
7787 if (temp3)
7788 delete arg3;
7789 }
7790 return NULL;
7791}
7792
7793
c32bde28 7794static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7795 PyObject *resultobj;
7796 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7797 wxFrame *result;
7798 PyObject * obj0 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
7804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7805 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 result = (wxFrame *)(arg1)->GetRelatedFrame();
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 {
412d302d 7814 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7815 }
7816 return resultobj;
7817 fail:
7818 return NULL;
7819}
7820
7821
c32bde28 7822static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7823 PyObject *resultobj;
7824 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7825 int arg2 ;
7826 PyObject * obj0 = 0 ;
994141e6 7827 PyObject * obj1 = 0 ;
d14a1e28
RD
7828 char *kwnames[] = {
7829 (char *) "self",(char *) "bar", NULL
7830 };
7831
994141e6 7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail;
7835 {
7836 arg2 = (int)(SWIG_As_int(obj1));
7837 if (SWIG_arg_fail(2)) SWIG_fail;
7838 }
d14a1e28
RD
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 (arg1)->SetRelatedStatusBar(arg2);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 return resultobj;
7848 fail:
7849 return NULL;
7850}
7851
7852
c32bde28 7853static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7854 PyObject *resultobj;
7855 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7856 wxString arg2 ;
7857 wxString arg3 ;
7858 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7859 PyObject * obj0 = 0 ;
7860 PyObject * obj1 = 0 ;
7861 PyObject * obj2 = 0 ;
7862 PyObject * obj3 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
7870 {
7871 wxString* sptr = wxString_in_helper(obj1);
7872 if (sptr == NULL) SWIG_fail;
7873 arg2 = *sptr;
7874 delete sptr;
7875 }
7876 {
7877 wxString* sptr = wxString_in_helper(obj2);
7878 if (sptr == NULL) SWIG_fail;
7879 arg3 = *sptr;
7880 delete sptr;
7881 }
d14a1e28
RD
7882 if (obj3) {
7883 arg4 = obj3;
7884 }
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 Py_INCREF(Py_None); resultobj = Py_None;
7893 return resultobj;
7894 fail:
7895 return NULL;
7896}
7897
7898
ae8162c8 7899static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
7900 PyObject *resultobj;
7901 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7902 int arg2 = (int) -1 ;
ae8162c8
RD
7903 wxString const &arg3_defvalue = wxPyEmptyString ;
7904 wxString *arg3 = (wxString *) &arg3_defvalue ;
7905 wxString const &arg4_defvalue = wxPyEmptyString ;
7906 wxString *arg4 = (wxString *) &arg4_defvalue ;
7907 bool temp3 = false ;
7908 bool temp4 = false ;
30ee79f7
RD
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
ae8162c8
RD
7911 PyObject * obj2 = 0 ;
7912 PyObject * obj3 = 0 ;
30ee79f7 7913 char *kwnames[] = {
ae8162c8 7914 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
7915 };
7916
ae8162c8 7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 7920 if (obj1) {
093d3ff1
RD
7921 {
7922 arg2 = (int)(SWIG_As_int(obj1));
7923 if (SWIG_arg_fail(2)) SWIG_fail;
7924 }
30ee79f7 7925 }
ae8162c8
RD
7926 if (obj2) {
7927 {
7928 arg3 = wxString_in_helper(obj2);
7929 if (arg3 == NULL) SWIG_fail;
7930 temp3 = true;
7931 }
7932 }
7933 if (obj3) {
7934 {
7935 arg4 = wxString_in_helper(obj3);
7936 if (arg4 == NULL) SWIG_fail;
7937 temp4 = true;
7938 }
7939 }
30ee79f7
RD
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 7942 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
7948 {
7949 if (temp3)
7950 delete arg3;
7951 }
7952 {
7953 if (temp4)
7954 delete arg4;
7955 }
30ee79f7
RD
7956 return resultobj;
7957 fail:
ae8162c8
RD
7958 {
7959 if (temp3)
7960 delete arg3;
7961 }
7962 {
7963 if (temp4)
7964 delete arg4;
7965 }
30ee79f7
RD
7966 return NULL;
7967}
7968
7969
c32bde28 7970static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7971 PyObject *resultobj;
7972 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7973 wxString *arg2 = 0 ;
ae8162c8 7974 bool temp2 = false ;
d14a1e28
RD
7975 PyObject * obj0 = 0 ;
7976 PyObject * obj1 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self",(char *) "title", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7984 {
7985 arg2 = wxString_in_helper(obj1);
7986 if (arg2 == NULL) SWIG_fail;
ae8162c8 7987 temp2 = true;
d14a1e28
RD
7988 }
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 (arg1)->SetTitle((wxString const &)*arg2);
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 Py_INCREF(Py_None); resultobj = Py_None;
7997 {
7998 if (temp2)
7999 delete arg2;
8000 }
8001 return resultobj;
8002 fail:
8003 {
8004 if (temp2)
8005 delete arg2;
8006 }
8007 return NULL;
8008}
8009
8010
c32bde28 8011static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8012 PyObject *resultobj;
8013 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8014 int arg2 ;
8015 PyObject * obj0 = 0 ;
994141e6 8016 PyObject * obj1 = 0 ;
d14a1e28
RD
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "b", NULL
8019 };
8020
994141e6 8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail;
8024 {
8025 arg2 = (int)(SWIG_As_int(obj1));
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 }
d14a1e28
RD
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 (arg1)->SetBorders(arg2);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 return resultobj;
8037 fail:
8038 return NULL;
8039}
8040
8041
c32bde28 8042static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8043 PyObject *resultobj;
8044 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8045 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8046 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8047 PyObject * obj0 = 0 ;
8048 PyObject * obj1 = 0 ;
8049 PyObject * obj2 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "cfg",(char *) "path", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail;
8057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8059 if (obj2) {
e811c8ce
RD
8060 {
8061 wxString* sptr = wxString_in_helper(obj2);
8062 if (sptr == NULL) SWIG_fail;
8063 arg3 = *sptr;
8064 delete sptr;
8065 }
d14a1e28
RD
8066 }
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 (arg1)->ReadCustomization(arg2,arg3);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 Py_INCREF(Py_None); resultobj = Py_None;
8075 return resultobj;
8076 fail:
8077 return NULL;
8078}
8079
8080
c32bde28 8081static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8082 PyObject *resultobj;
8083 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8084 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8085 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "cfg",(char *) "path", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail;
8096 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8097 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8098 if (obj2) {
e811c8ce
RD
8099 {
8100 wxString* sptr = wxString_in_helper(obj2);
8101 if (sptr == NULL) SWIG_fail;
8102 arg3 = *sptr;
8103 delete sptr;
8104 }
d14a1e28
RD
8105 }
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 (arg1)->WriteCustomization(arg2,arg3);
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 Py_INCREF(Py_None); resultobj = Py_None;
8114 return resultobj;
8115 fail:
8116 return NULL;
8117}
8118
8119
c32bde28 8120static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8121 PyObject *resultobj;
8122 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8123 bool result;
8124 PyObject * obj0 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) 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;
d14a1e28
RD
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (bool)(arg1)->HistoryBack();
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
4f89f6a3
RD
8139 {
8140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8141 }
d14a1e28
RD
8142 return resultobj;
8143 fail:
8144 return NULL;
8145}
8146
8147
c32bde28 8148static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8149 PyObject *resultobj;
8150 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8151 bool result;
8152 PyObject * obj0 = 0 ;
8153 char *kwnames[] = {
8154 (char *) "self", NULL
8155 };
8156
8157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 result = (bool)(arg1)->HistoryForward();
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
4f89f6a3
RD
8167 {
8168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8169 }
d14a1e28
RD
8170 return resultobj;
8171 fail:
8172 return NULL;
8173}
8174
8175
c32bde28 8176static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8177 PyObject *resultobj;
8178 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8179 bool result;
8180 PyObject * obj0 = 0 ;
8181 char *kwnames[] = {
8182 (char *) "self", NULL
8183 };
8184
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (bool)(arg1)->HistoryCanBack();
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
4f89f6a3
RD
8195 {
8196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8197 }
d14a1e28
RD
8198 return resultobj;
8199 fail:
8200 return NULL;
8201}
8202
8203
c32bde28 8204static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8205 PyObject *resultobj;
8206 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8207 bool result;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 result = (bool)(arg1)->HistoryCanForward();
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
4f89f6a3
RD
8223 {
8224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8225 }
d14a1e28
RD
8226 return resultobj;
8227 fail:
8228 return NULL;
8229}
8230
8231
c32bde28 8232static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8233 PyObject *resultobj;
8234 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8235 PyObject * obj0 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
093d3ff1
RD
8241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 (arg1)->HistoryClear();
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 Py_INCREF(Py_None); resultobj = Py_None;
8251 return resultobj;
8252 fail:
8253 return NULL;
8254}
8255
8256
c32bde28 8257static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8258 PyObject *resultobj;
8259 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8260 wxHtmlContainerCell *result;
8261 PyObject * obj0 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
093d3ff1
RD
8267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
15afbcd0 8276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8277 return resultobj;
8278 fail:
8279 return NULL;
8280}
8281
8282
c32bde28 8283static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8284 PyObject *resultobj;
8285 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8286 wxHtmlWinParser *result;
8287 PyObject * obj0 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
8293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 result = (wxHtmlWinParser *)(arg1)->GetParser();
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
15afbcd0 8302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8303 return resultobj;
8304 fail:
8305 return NULL;
8306}
8307
8308
c32bde28 8309static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8310 PyObject *resultobj;
8311 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8312 wxString *arg2 = 0 ;
8313 bool result;
ae8162c8 8314 bool temp2 = false ;
d14a1e28
RD
8315 PyObject * obj0 = 0 ;
8316 PyObject * obj1 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "self",(char *) "anchor", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8323 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8324 {
8325 arg2 = wxString_in_helper(obj1);
8326 if (arg2 == NULL) SWIG_fail;
ae8162c8 8327 temp2 = true;
d14a1e28
RD
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
4f89f6a3
RD
8336 {
8337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8338 }
d14a1e28
RD
8339 {
8340 if (temp2)
8341 delete arg2;
8342 }
8343 return resultobj;
8344 fail:
8345 {
8346 if (temp2)
8347 delete arg2;
8348 }
8349 return NULL;
8350}
8351
8352
c32bde28 8353static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8354 PyObject *resultobj;
8355 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8356 wxString *arg2 = 0 ;
8357 bool result;
ae8162c8 8358 bool temp2 = false ;
d14a1e28
RD
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self",(char *) "anchor", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8367 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8368 {
8369 arg2 = wxString_in_helper(obj1);
8370 if (arg2 == NULL) SWIG_fail;
ae8162c8 8371 temp2 = true;
d14a1e28
RD
8372 }
8373 {
8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
8375 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8376
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
4f89f6a3
RD
8380 {
8381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8382 }
d14a1e28
RD
8383 {
8384 if (temp2)
8385 delete arg2;
8386 }
8387 return resultobj;
8388 fail:
8389 {
8390 if (temp2)
8391 delete arg2;
8392 }
8393 return NULL;
8394}
8395
8396
c32bde28 8397static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8398 PyObject *resultobj;
8399 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8400 PyObject * obj0 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "filter", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
8406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8407 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 wxPyHtmlWindow::AddFilter(arg1);
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 Py_INCREF(Py_None); resultobj = Py_None;
8416 return resultobj;
8417 fail:
8418 return NULL;
8419}
8420
8421
c32bde28 8422static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8423 PyObject *resultobj;
8424 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8425 wxPoint *arg2 = 0 ;
8426 wxPoint temp2 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self",(char *) "pos", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8436 {
8437 arg2 = &temp2;
8438 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8439 }
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 (arg1)->SelectWord((wxPoint const &)*arg2);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 Py_INCREF(Py_None); resultobj = Py_None;
8448 return resultobj;
8449 fail:
8450 return NULL;
8451}
8452
8453
c32bde28 8454static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8455 PyObject *resultobj;
8456 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8457 wxPoint *arg2 = 0 ;
8458 wxPoint temp2 ;
8459 PyObject * obj0 = 0 ;
8460 PyObject * obj1 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self",(char *) "pos", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8468 {
8469 arg2 = &temp2;
8470 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8471 }
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 (arg1)->SelectLine((wxPoint const &)*arg2);
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 Py_INCREF(Py_None); resultobj = Py_None;
8480 return resultobj;
8481 fail:
8482 return NULL;
8483}
8484
8485
c32bde28 8486static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8487 PyObject *resultobj;
8488 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8489 PyObject * obj0 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
8495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8496 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 (arg1)->SelectAll();
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 Py_INCREF(Py_None); resultobj = Py_None;
8505 return resultobj;
8506 fail:
8507 return NULL;
8508}
8509
8510
c32bde28 8511static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8512 PyObject *resultobj;
8513 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8514 wxString result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 result = (arg1)->SelectionToText();
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 {
8531#if wxUSE_UNICODE
8532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8533#else
8534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8535#endif
8536 }
8537 return resultobj;
8538 fail:
8539 return NULL;
8540}
8541
8542
c32bde28 8543static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8544 PyObject *resultobj;
8545 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8546 wxString result;
8547 PyObject * obj0 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (arg1)->ToText();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 {
8563#if wxUSE_UNICODE
8564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8565#else
8566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8567#endif
8568 }
8569 return resultobj;
8570 fail:
8571 return NULL;
8572}
8573
8574
c32bde28 8575static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8576 PyObject *resultobj;
8577 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8578 wxHtmlLinkInfo *arg2 = 0 ;
8579 PyObject * obj0 = 0 ;
8580 PyObject * obj1 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self",(char *) "link", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8587 if (SWIG_arg_fail(1)) SWIG_fail;
8588 {
8589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(2)) SWIG_fail;
8591 if (arg2 == NULL) {
8592 SWIG_null_ref("wxHtmlLinkInfo");
8593 }
8594 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 Py_INCREF(Py_None); resultobj = Py_None;
8604 return resultobj;
8605 fail:
8606 return NULL;
8607}
8608
8609
c32bde28 8610static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8611 PyObject *resultobj;
8612 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8613 wxString *arg2 = 0 ;
ae8162c8 8614 bool temp2 = false ;
d14a1e28
RD
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "title", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",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;
d14a1e28
RD
8624 {
8625 arg2 = wxString_in_helper(obj1);
8626 if (arg2 == NULL) SWIG_fail;
ae8162c8 8627 temp2 = true;
d14a1e28
RD
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 Py_INCREF(Py_None); resultobj = Py_None;
8637 {
8638 if (temp2)
8639 delete arg2;
8640 }
8641 return resultobj;
8642 fail:
8643 {
8644 if (temp2)
8645 delete arg2;
8646 }
8647 return NULL;
8648}
8649
8650
c32bde28 8651static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8652 PyObject *resultobj;
8653 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8654 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
8655 int arg3 ;
8656 int arg4 ;
d14a1e28
RD
8657 PyObject * obj0 = 0 ;
8658 PyObject * obj1 = 0 ;
994141e6
RD
8659 PyObject * obj2 = 0 ;
8660 PyObject * obj3 = 0 ;
d14a1e28
RD
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8663 };
8664
994141e6 8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8667 if (SWIG_arg_fail(1)) SWIG_fail;
8668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8669 if (SWIG_arg_fail(2)) SWIG_fail;
8670 {
8671 arg3 = (int)(SWIG_As_int(obj2));
8672 if (SWIG_arg_fail(3)) SWIG_fail;
8673 }
8674 {
8675 arg4 = (int)(SWIG_As_int(obj3));
8676 if (SWIG_arg_fail(4)) SWIG_fail;
8677 }
d14a1e28
RD
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8681
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 Py_INCREF(Py_None); resultobj = Py_None;
8686 return resultobj;
8687 fail:
8688 return NULL;
8689}
8690
8691
c32bde28 8692static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8693 PyObject *resultobj;
8694 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8695 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
8696 int arg3 ;
8697 int arg4 ;
d14a1e28
RD
8698 wxMouseEvent *arg5 = 0 ;
8699 PyObject * obj0 = 0 ;
8700 PyObject * obj1 = 0 ;
994141e6
RD
8701 PyObject * obj2 = 0 ;
8702 PyObject * obj3 = 0 ;
d14a1e28
RD
8703 PyObject * obj4 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8706 };
8707
994141e6 8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
8709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail;
8711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8712 if (SWIG_arg_fail(2)) SWIG_fail;
8713 {
8714 arg3 = (int)(SWIG_As_int(obj2));
8715 if (SWIG_arg_fail(3)) SWIG_fail;
8716 }
8717 {
8718 arg4 = (int)(SWIG_As_int(obj3));
8719 if (SWIG_arg_fail(4)) SWIG_fail;
8720 }
8721 {
8722 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
8723 if (SWIG_arg_fail(5)) SWIG_fail;
8724 if (arg5 == NULL) {
8725 SWIG_null_ref("wxMouseEvent");
8726 }
8727 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 Py_INCREF(Py_None); resultobj = Py_None;
8737 return resultobj;
8738 fail:
8739 return NULL;
8740}
8741
8742
c32bde28 8743static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 8744 PyObject *resultobj;
093d3ff1 8745 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8746 wxVisualAttributes result;
8747 PyObject * obj0 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "variant", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8753 if (obj0) {
093d3ff1
RD
8754 {
8755 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8756 if (SWIG_arg_fail(1)) SWIG_fail;
8757 }
22bfe96c
RD
8758 }
8759 {
e3b71cb8 8760 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8763
8764 wxPyEndAllowThreads(__tstate);
110da5b0 8765 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8766 }
8767 {
8768 wxVisualAttributes * resultptr;
093d3ff1 8769 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
8770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8771 }
8772 return resultobj;
8773 fail:
8774 return NULL;
8775}
8776
8777
c32bde28 8778static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8779 PyObject *obj;
8780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8781 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
8782 Py_INCREF(obj);
8783 return Py_BuildValue((char *)"");
8784}
c32bde28 8785static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8786 PyObject *resultobj;
8787 wxHtmlDCRenderer *result;
8788 char *kwnames[] = {
8789 NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
8793 {
e3b71cb8 8794 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
8797
8798 wxPyEndAllowThreads(__tstate);
110da5b0 8799 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8800 }
15afbcd0 8801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
8802 return resultobj;
8803 fail:
8804 return NULL;
8805}
8806
8807
c32bde28 8808static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8809 PyObject *resultobj;
8810 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8811 PyObject * obj0 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 delete arg1;
8822
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 Py_INCREF(Py_None); resultobj = Py_None;
8827 return resultobj;
8828 fail:
8829 return NULL;
8830}
8831
8832
c32bde28 8833static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8834 PyObject *resultobj;
8835 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8836 wxDC *arg2 = (wxDC *) 0 ;
8837 int arg3 ;
8838 PyObject * obj0 = 0 ;
8839 PyObject * obj1 = 0 ;
994141e6 8840 PyObject * obj2 = 0 ;
d14a1e28
RD
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8843 };
8844
994141e6 8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8847 if (SWIG_arg_fail(1)) SWIG_fail;
8848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8849 if (SWIG_arg_fail(2)) SWIG_fail;
8850 {
8851 arg3 = (int)(SWIG_As_int(obj2));
8852 if (SWIG_arg_fail(3)) SWIG_fail;
8853 }
d14a1e28
RD
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 (arg1)->SetDC(arg2,arg3);
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 Py_INCREF(Py_None); resultobj = Py_None;
8862 return resultobj;
8863 fail:
8864 return NULL;
8865}
8866
8867
c32bde28 8868static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8869 PyObject *resultobj;
8870 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8871 int arg2 ;
8872 int arg3 ;
8873 PyObject * obj0 = 0 ;
994141e6
RD
8874 PyObject * obj1 = 0 ;
8875 PyObject * obj2 = 0 ;
d14a1e28
RD
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "width",(char *) "height", NULL
8878 };
8879
994141e6 8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail;
8883 {
8884 arg2 = (int)(SWIG_As_int(obj1));
8885 if (SWIG_arg_fail(2)) SWIG_fail;
8886 }
8887 {
8888 arg3 = (int)(SWIG_As_int(obj2));
8889 if (SWIG_arg_fail(3)) SWIG_fail;
8890 }
d14a1e28
RD
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 (arg1)->SetSize(arg2,arg3);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902}
8903
8904
c32bde28 8905static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8906 PyObject *resultobj;
8907 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8908 wxString *arg2 = 0 ;
8909 wxString const &arg3_defvalue = wxPyEmptyString ;
8910 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
8911 bool arg4 = (bool) true ;
8912 bool temp2 = false ;
8913 bool temp3 = false ;
d14a1e28
RD
8914 PyObject * obj0 = 0 ;
8915 PyObject * obj1 = 0 ;
8916 PyObject * obj2 = 0 ;
8917 PyObject * obj3 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8925 {
8926 arg2 = wxString_in_helper(obj1);
8927 if (arg2 == NULL) SWIG_fail;
ae8162c8 8928 temp2 = true;
d14a1e28
RD
8929 }
8930 if (obj2) {
8931 {
8932 arg3 = wxString_in_helper(obj2);
8933 if (arg3 == NULL) SWIG_fail;
ae8162c8 8934 temp3 = true;
d14a1e28
RD
8935 }
8936 }
8937 if (obj3) {
093d3ff1
RD
8938 {
8939 arg4 = (bool)(SWIG_As_bool(obj3));
8940 if (SWIG_arg_fail(4)) SWIG_fail;
8941 }
d14a1e28
RD
8942 }
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 Py_INCREF(Py_None); resultobj = Py_None;
8951 {
8952 if (temp2)
8953 delete arg2;
8954 }
8955 {
8956 if (temp3)
8957 delete arg3;
8958 }
8959 return resultobj;
8960 fail:
8961 {
8962 if (temp2)
8963 delete arg2;
8964 }
8965 {
8966 if (temp3)
8967 delete arg3;
8968 }
8969 return NULL;
8970}
8971
8972
c32bde28 8973static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8974 PyObject *resultobj;
8975 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8976 wxString arg2 ;
8977 wxString arg3 ;
8978 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 PyObject * obj2 = 0 ;
8982 PyObject * obj3 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8989 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
8990 {
8991 wxString* sptr = wxString_in_helper(obj1);
8992 if (sptr == NULL) SWIG_fail;
8993 arg2 = *sptr;
8994 delete sptr;
8995 }
8996 {
8997 wxString* sptr = wxString_in_helper(obj2);
8998 if (sptr == NULL) SWIG_fail;
8999 arg3 = *sptr;
9000 delete sptr;
9001 }
d14a1e28
RD
9002 if (obj3) {
9003 arg4 = obj3;
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016}
9017
9018
ae8162c8 9019static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9020 PyObject *resultobj;
9021 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9022 int arg2 = (int) -1 ;
ae8162c8
RD
9023 wxString const &arg3_defvalue = wxPyEmptyString ;
9024 wxString *arg3 = (wxString *) &arg3_defvalue ;
9025 wxString const &arg4_defvalue = wxPyEmptyString ;
9026 wxString *arg4 = (wxString *) &arg4_defvalue ;
9027 bool temp3 = false ;
9028 bool temp4 = false ;
30ee79f7
RD
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
ae8162c8
RD
9031 PyObject * obj2 = 0 ;
9032 PyObject * obj3 = 0 ;
30ee79f7 9033 char *kwnames[] = {
ae8162c8 9034 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9035 };
9036
ae8162c8 9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9039 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9040 if (obj1) {
093d3ff1
RD
9041 {
9042 arg2 = (int)(SWIG_As_int(obj1));
9043 if (SWIG_arg_fail(2)) SWIG_fail;
9044 }
30ee79f7 9045 }
ae8162c8
RD
9046 if (obj2) {
9047 {
9048 arg3 = wxString_in_helper(obj2);
9049 if (arg3 == NULL) SWIG_fail;
9050 temp3 = true;
9051 }
9052 }
9053 if (obj3) {
9054 {
9055 arg4 = wxString_in_helper(obj3);
9056 if (arg4 == NULL) SWIG_fail;
9057 temp4 = true;
9058 }
9059 }
30ee79f7
RD
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9062 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9068 {
9069 if (temp3)
9070 delete arg3;
9071 }
9072 {
9073 if (temp4)
9074 delete arg4;
9075 }
30ee79f7
RD
9076 return resultobj;
9077 fail:
ae8162c8
RD
9078 {
9079 if (temp3)
9080 delete arg3;
9081 }
9082 {
9083 if (temp4)
9084 delete arg4;
9085 }
30ee79f7
RD
9086 return NULL;
9087}
9088
9089
c32bde28 9090static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9091 PyObject *resultobj;
9092 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9093 int arg2 ;
9094 int arg3 ;
9095 int arg4 = (int) 0 ;
ae8162c8 9096 int arg5 = (int) false ;
d14a1e28
RD
9097 int arg6 = (int) INT_MAX ;
9098 int *arg7 = (int *) NULL ;
9099 int arg8 = (int) 0 ;
9100 int result;
9101 PyObject * obj0 = 0 ;
994141e6
RD
9102 PyObject * obj1 = 0 ;
9103 PyObject * obj2 = 0 ;
9104 PyObject * obj3 = 0 ;
9105 PyObject * obj4 = 0 ;
9106 PyObject * obj5 = 0 ;
d14a1e28 9107 PyObject * obj6 = 0 ;
994141e6 9108 PyObject * obj7 = 0 ;
d14a1e28 9109 char *kwnames[] = {
f78cc896 9110 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9111 };
9112
994141e6 9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9115 if (SWIG_arg_fail(1)) SWIG_fail;
9116 {
9117 arg2 = (int)(SWIG_As_int(obj1));
9118 if (SWIG_arg_fail(2)) SWIG_fail;
9119 }
9120 {
9121 arg3 = (int)(SWIG_As_int(obj2));
9122 if (SWIG_arg_fail(3)) SWIG_fail;
9123 }
994141e6 9124 if (obj3) {
093d3ff1
RD
9125 {
9126 arg4 = (int)(SWIG_As_int(obj3));
9127 if (SWIG_arg_fail(4)) SWIG_fail;
9128 }
994141e6
RD
9129 }
9130 if (obj4) {
093d3ff1
RD
9131 {
9132 arg5 = (int)(SWIG_As_int(obj4));
9133 if (SWIG_arg_fail(5)) SWIG_fail;
9134 }
994141e6
RD
9135 }
9136 if (obj5) {
093d3ff1
RD
9137 {
9138 arg6 = (int)(SWIG_As_int(obj5));
9139 if (SWIG_arg_fail(6)) SWIG_fail;
9140 }
994141e6 9141 }
d14a1e28 9142 if (obj6) {
093d3ff1
RD
9143 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9144 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9145 }
994141e6 9146 if (obj7) {
093d3ff1
RD
9147 {
9148 arg8 = (int)(SWIG_As_int(obj7));
9149 if (SWIG_arg_fail(8)) SWIG_fail;
9150 }
994141e6 9151 }
d14a1e28
RD
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
093d3ff1
RD
9159 {
9160 resultobj = SWIG_From_int((int)(result));
9161 }
d14a1e28
RD
9162 return resultobj;
9163 fail:
9164 return NULL;
9165}
9166
9167
c32bde28 9168static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9169 PyObject *resultobj;
9170 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9171 int result;
9172 PyObject * obj0 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = (int)(arg1)->GetTotalHeight();
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
093d3ff1
RD
9187 {
9188 resultobj = SWIG_From_int((int)(result));
9189 }
d14a1e28
RD
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
c32bde28 9196static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9197 PyObject *obj;
9198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9199 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9200 Py_INCREF(obj);
9201 return Py_BuildValue((char *)"");
9202}
c32bde28 9203static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9204 PyObject *resultobj;
9205 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9206 wxString *arg1 = (wxString *) &arg1_defvalue ;
9207 wxHtmlPrintout *result;
ae8162c8 9208 bool temp1 = false ;
d14a1e28
RD
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "title", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9215 if (obj0) {
9216 {
9217 arg1 = wxString_in_helper(obj0);
9218 if (arg1 == NULL) SWIG_fail;
ae8162c8 9219 temp1 = true;
d14a1e28
RD
9220 }
9221 }
9222 {
e3b71cb8 9223 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9226
9227 wxPyEndAllowThreads(__tstate);
110da5b0 9228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9229 }
15afbcd0 9230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9231 {
9232 if (temp1)
9233 delete arg1;
9234 }
9235 return resultobj;
9236 fail:
9237 {
9238 if (temp1)
9239 delete arg1;
9240 }
9241 return NULL;
9242}
9243
9244
c32bde28 9245static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9246 PyObject *resultobj;
9247 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9248 wxString *arg2 = 0 ;
9249 wxString const &arg3_defvalue = wxPyEmptyString ;
9250 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9251 bool arg4 = (bool) true ;
9252 bool temp2 = false ;
9253 bool temp3 = false ;
d14a1e28
RD
9254 PyObject * obj0 = 0 ;
9255 PyObject * obj1 = 0 ;
9256 PyObject * obj2 = 0 ;
9257 PyObject * obj3 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9264 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9265 {
9266 arg2 = wxString_in_helper(obj1);
9267 if (arg2 == NULL) SWIG_fail;
ae8162c8 9268 temp2 = true;
d14a1e28
RD
9269 }
9270 if (obj2) {
9271 {
9272 arg3 = wxString_in_helper(obj2);
9273 if (arg3 == NULL) SWIG_fail;
ae8162c8 9274 temp3 = true;
d14a1e28
RD
9275 }
9276 }
9277 if (obj3) {
093d3ff1
RD
9278 {
9279 arg4 = (bool)(SWIG_As_bool(obj3));
9280 if (SWIG_arg_fail(4)) SWIG_fail;
9281 }
d14a1e28
RD
9282 }
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 Py_INCREF(Py_None); resultobj = Py_None;
9291 {
9292 if (temp2)
9293 delete arg2;
9294 }
9295 {
9296 if (temp3)
9297 delete arg3;
9298 }
9299 return resultobj;
9300 fail:
9301 {
9302 if (temp2)
9303 delete arg2;
9304 }
9305 {
9306 if (temp3)
9307 delete arg3;
9308 }
9309 return NULL;
9310}
9311
9312
c32bde28 9313static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9314 PyObject *resultobj;
9315 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9316 wxString *arg2 = 0 ;
ae8162c8 9317 bool temp2 = false ;
d14a1e28
RD
9318 PyObject * obj0 = 0 ;
9319 PyObject * obj1 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "htmlfile", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9327 {
9328 arg2 = wxString_in_helper(obj1);
9329 if (arg2 == NULL) SWIG_fail;
ae8162c8 9330 temp2 = true;
d14a1e28
RD
9331 }
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 (arg1)->SetHtmlFile((wxString const &)*arg2);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 {
9341 if (temp2)
9342 delete arg2;
9343 }
9344 return resultobj;
9345 fail:
9346 {
9347 if (temp2)
9348 delete arg2;
9349 }
9350 return NULL;
9351}
9352
9353
c32bde28 9354static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9355 PyObject *resultobj;
9356 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9357 wxString *arg2 = 0 ;
9358 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9359 bool temp2 = false ;
d14a1e28
RD
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
994141e6 9362 PyObject * obj2 = 0 ;
d14a1e28
RD
9363 char *kwnames[] = {
9364 (char *) "self",(char *) "header",(char *) "pg", NULL
9365 };
9366
994141e6 9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9369 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9370 {
9371 arg2 = wxString_in_helper(obj1);
9372 if (arg2 == NULL) SWIG_fail;
ae8162c8 9373 temp2 = true;
d14a1e28 9374 }
994141e6 9375 if (obj2) {
093d3ff1
RD
9376 {
9377 arg3 = (int)(SWIG_As_int(obj2));
9378 if (SWIG_arg_fail(3)) SWIG_fail;
9379 }
994141e6 9380 }
d14a1e28
RD
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 Py_INCREF(Py_None); resultobj = Py_None;
9389 {
9390 if (temp2)
9391 delete arg2;
9392 }
9393 return resultobj;
9394 fail:
9395 {
9396 if (temp2)
9397 delete arg2;
9398 }
9399 return NULL;
9400}
9401
9402
c32bde28 9403static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9404 PyObject *resultobj;
9405 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9406 wxString *arg2 = 0 ;
9407 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9408 bool temp2 = false ;
d14a1e28
RD
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
994141e6 9411 PyObject * obj2 = 0 ;
d14a1e28
RD
9412 char *kwnames[] = {
9413 (char *) "self",(char *) "footer",(char *) "pg", NULL
9414 };
9415
994141e6 9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9419 {
9420 arg2 = wxString_in_helper(obj1);
9421 if (arg2 == NULL) SWIG_fail;
ae8162c8 9422 temp2 = true;
d14a1e28 9423 }
994141e6 9424 if (obj2) {
093d3ff1
RD
9425 {
9426 arg3 = (int)(SWIG_As_int(obj2));
9427 if (SWIG_arg_fail(3)) SWIG_fail;
9428 }
994141e6 9429 }
d14a1e28
RD
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9433
9434 wxPyEndAllowThreads(__tstate);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
9437 Py_INCREF(Py_None); resultobj = Py_None;
9438 {
9439 if (temp2)
9440 delete arg2;
9441 }
9442 return resultobj;
9443 fail:
9444 {
9445 if (temp2)
9446 delete arg2;
9447 }
9448 return NULL;
9449}
9450
9451
c32bde28 9452static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9453 PyObject *resultobj;
9454 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9455 wxString arg2 ;
9456 wxString arg3 ;
9457 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9458 PyObject * obj0 = 0 ;
9459 PyObject * obj1 = 0 ;
9460 PyObject * obj2 = 0 ;
9461 PyObject * obj3 = 0 ;
9462 char *kwnames[] = {
9463 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9464 };
9465
9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
9469 {
9470 wxString* sptr = wxString_in_helper(obj1);
9471 if (sptr == NULL) SWIG_fail;
9472 arg2 = *sptr;
9473 delete sptr;
9474 }
9475 {
9476 wxString* sptr = wxString_in_helper(obj2);
9477 if (sptr == NULL) SWIG_fail;
9478 arg3 = *sptr;
9479 delete sptr;
9480 }
d14a1e28
RD
9481 if (obj3) {
9482 arg4 = obj3;
9483 }
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 Py_INCREF(Py_None); resultobj = Py_None;
9492 return resultobj;
9493 fail:
9494 return NULL;
9495}
9496
9497
ae8162c8 9498static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9499 PyObject *resultobj;
9500 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9501 int arg2 = (int) -1 ;
ae8162c8
RD
9502 wxString const &arg3_defvalue = wxPyEmptyString ;
9503 wxString *arg3 = (wxString *) &arg3_defvalue ;
9504 wxString const &arg4_defvalue = wxPyEmptyString ;
9505 wxString *arg4 = (wxString *) &arg4_defvalue ;
9506 bool temp3 = false ;
9507 bool temp4 = false ;
30ee79f7
RD
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
ae8162c8
RD
9510 PyObject * obj2 = 0 ;
9511 PyObject * obj3 = 0 ;
30ee79f7 9512 char *kwnames[] = {
ae8162c8 9513 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9514 };
9515
ae8162c8 9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9518 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9519 if (obj1) {
093d3ff1
RD
9520 {
9521 arg2 = (int)(SWIG_As_int(obj1));
9522 if (SWIG_arg_fail(2)) SWIG_fail;
9523 }
30ee79f7 9524 }
ae8162c8
RD
9525 if (obj2) {
9526 {
9527 arg3 = wxString_in_helper(obj2);
9528 if (arg3 == NULL) SWIG_fail;
9529 temp3 = true;
9530 }
9531 }
9532 if (obj3) {
9533 {
9534 arg4 = wxString_in_helper(obj3);
9535 if (arg4 == NULL) SWIG_fail;
9536 temp4 = true;
9537 }
9538 }
30ee79f7
RD
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9541 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9547 {
9548 if (temp3)
9549 delete arg3;
9550 }
9551 {
9552 if (temp4)
9553 delete arg4;
9554 }
30ee79f7
RD
9555 return resultobj;
9556 fail:
ae8162c8
RD
9557 {
9558 if (temp3)
9559 delete arg3;
9560 }
9561 {
9562 if (temp4)
9563 delete arg4;
9564 }
30ee79f7
RD
9565 return NULL;
9566}
9567
9568
c32bde28 9569static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9570 PyObject *resultobj;
9571 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9572 float arg2 = (float) 25.2 ;
9573 float arg3 = (float) 25.2 ;
9574 float arg4 = (float) 25.2 ;
9575 float arg5 = (float) 25.2 ;
9576 float arg6 = (float) 5 ;
9577 PyObject * obj0 = 0 ;
994141e6
RD
9578 PyObject * obj1 = 0 ;
9579 PyObject * obj2 = 0 ;
9580 PyObject * obj3 = 0 ;
9581 PyObject * obj4 = 0 ;
9582 PyObject * obj5 = 0 ;
d14a1e28
RD
9583 char *kwnames[] = {
9584 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9585 };
9586
994141e6 9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
9588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9589 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 9590 if (obj1) {
093d3ff1
RD
9591 {
9592 arg2 = (float)(SWIG_As_float(obj1));
9593 if (SWIG_arg_fail(2)) SWIG_fail;
9594 }
994141e6
RD
9595 }
9596 if (obj2) {
093d3ff1
RD
9597 {
9598 arg3 = (float)(SWIG_As_float(obj2));
9599 if (SWIG_arg_fail(3)) SWIG_fail;
9600 }
994141e6
RD
9601 }
9602 if (obj3) {
093d3ff1
RD
9603 {
9604 arg4 = (float)(SWIG_As_float(obj3));
9605 if (SWIG_arg_fail(4)) SWIG_fail;
9606 }
994141e6
RD
9607 }
9608 if (obj4) {
093d3ff1
RD
9609 {
9610 arg5 = (float)(SWIG_As_float(obj4));
9611 if (SWIG_arg_fail(5)) SWIG_fail;
9612 }
994141e6
RD
9613 }
9614 if (obj5) {
093d3ff1
RD
9615 {
9616 arg6 = (float)(SWIG_As_float(obj5));
9617 if (SWIG_arg_fail(6)) SWIG_fail;
9618 }
994141e6 9619 }
d14a1e28
RD
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 Py_INCREF(Py_None); resultobj = Py_None;
9628 return resultobj;
9629 fail:
9630 return NULL;
9631}
9632
9633
c32bde28 9634static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9635 PyObject *resultobj;
9636 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "filter", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
9643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 wxHtmlPrintout::AddFilter(arg1);
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 Py_INCREF(Py_None); resultobj = Py_None;
9653 return resultobj;
9654 fail:
9655 return NULL;
9656}
9657
9658
c32bde28 9659static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9660 PyObject *resultobj;
9661 char *kwnames[] = {
9662 NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 wxHtmlPrintout::CleanUpStatics();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 Py_INCREF(Py_None); resultobj = Py_None;
9674 return resultobj;
9675 fail:
9676 return NULL;
9677}
9678
9679
c32bde28 9680static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9681 PyObject *obj;
9682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9683 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9684 Py_INCREF(obj);
9685 return Py_BuildValue((char *)"");
9686}
c32bde28 9687static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9688 PyObject *resultobj;
9689 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9690 wxString *arg1 = (wxString *) &arg1_defvalue ;
9691 wxWindow *arg2 = (wxWindow *) NULL ;
9692 wxHtmlEasyPrinting *result;
ae8162c8 9693 bool temp1 = false ;
d14a1e28
RD
9694 PyObject * obj0 = 0 ;
9695 PyObject * obj1 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "name",(char *) "parentWindow", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9701 if (obj0) {
9702 {
9703 arg1 = wxString_in_helper(obj0);
9704 if (arg1 == NULL) SWIG_fail;
ae8162c8 9705 temp1 = true;
d14a1e28
RD
9706 }
9707 }
9708 if (obj1) {
093d3ff1
RD
9709 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9710 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9711 }
9712 {
e3b71cb8 9713 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9716
9717 wxPyEndAllowThreads(__tstate);
110da5b0 9718 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9719 }
15afbcd0 9720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
9721 {
9722 if (temp1)
9723 delete arg1;
9724 }
9725 return resultobj;
9726 fail:
9727 {
9728 if (temp1)
9729 delete arg1;
9730 }
9731 return NULL;
9732}
9733
9734
c32bde28 9735static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9736 PyObject *resultobj;
9737 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
9744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 delete arg1;
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757}
9758
9759
c32bde28 9760static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9761 PyObject *resultobj;
9762 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9763 wxString *arg2 = 0 ;
ae8162c8 9764 bool temp2 = false ;
d14a1e28
RD
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self",(char *) "htmlfile", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9774 {
9775 arg2 = wxString_in_helper(obj1);
9776 if (arg2 == NULL) SWIG_fail;
ae8162c8 9777 temp2 = true;
d14a1e28
RD
9778 }
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 (arg1)->PreviewFile((wxString const &)*arg2);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 Py_INCREF(Py_None); resultobj = Py_None;
9787 {
9788 if (temp2)
9789 delete arg2;
9790 }
9791 return resultobj;
9792 fail:
9793 {
9794 if (temp2)
9795 delete arg2;
9796 }
9797 return NULL;
9798}
9799
9800
c32bde28 9801static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9802 PyObject *resultobj;
9803 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9804 wxString *arg2 = 0 ;
9805 wxString const &arg3_defvalue = wxPyEmptyString ;
9806 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9807 bool temp2 = false ;
9808 bool temp3 = false ;
d14a1e28
RD
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 PyObject * obj2 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9818 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9819 {
9820 arg2 = wxString_in_helper(obj1);
9821 if (arg2 == NULL) SWIG_fail;
ae8162c8 9822 temp2 = true;
d14a1e28
RD
9823 }
9824 if (obj2) {
9825 {
9826 arg3 = wxString_in_helper(obj2);
9827 if (arg3 == NULL) SWIG_fail;
ae8162c8 9828 temp3 = true;
d14a1e28
RD
9829 }
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 Py_INCREF(Py_None); resultobj = Py_None;
9839 {
9840 if (temp2)
9841 delete arg2;
9842 }
9843 {
9844 if (temp3)
9845 delete arg3;
9846 }
9847 return resultobj;
9848 fail:
9849 {
9850 if (temp2)
9851 delete arg2;
9852 }
9853 {
9854 if (temp3)
9855 delete arg3;
9856 }
9857 return NULL;
9858}
9859
9860
c32bde28 9861static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9862 PyObject *resultobj;
9863 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9864 wxString *arg2 = 0 ;
ae8162c8 9865 bool temp2 = false ;
d14a1e28
RD
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "htmlfile", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9875 {
9876 arg2 = wxString_in_helper(obj1);
9877 if (arg2 == NULL) SWIG_fail;
ae8162c8 9878 temp2 = true;
d14a1e28
RD
9879 }
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 (arg1)->PrintFile((wxString const &)*arg2);
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 Py_INCREF(Py_None); resultobj = Py_None;
9888 {
9889 if (temp2)
9890 delete arg2;
9891 }
9892 return resultobj;
9893 fail:
9894 {
9895 if (temp2)
9896 delete arg2;
9897 }
9898 return NULL;
9899}
9900
9901
c32bde28 9902static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9903 PyObject *resultobj;
9904 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9905 wxString *arg2 = 0 ;
9906 wxString const &arg3_defvalue = wxPyEmptyString ;
9907 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9908 bool temp2 = false ;
9909 bool temp3 = false ;
d14a1e28
RD
9910 PyObject * obj0 = 0 ;
9911 PyObject * obj1 = 0 ;
9912 PyObject * obj2 = 0 ;
9913 char *kwnames[] = {
9914 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9915 };
9916
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9919 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9920 {
9921 arg2 = wxString_in_helper(obj1);
9922 if (arg2 == NULL) SWIG_fail;
ae8162c8 9923 temp2 = true;
d14a1e28
RD
9924 }
9925 if (obj2) {
9926 {
9927 arg3 = wxString_in_helper(obj2);
9928 if (arg3 == NULL) SWIG_fail;
ae8162c8 9929 temp3 = true;
d14a1e28
RD
9930 }
9931 }
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 Py_INCREF(Py_None); resultobj = Py_None;
9940 {
9941 if (temp2)
9942 delete arg2;
9943 }
9944 {
9945 if (temp3)
9946 delete arg3;
9947 }
9948 return resultobj;
9949 fail:
9950 {
9951 if (temp2)
9952 delete arg2;
9953 }
9954 {
9955 if (temp3)
9956 delete arg3;
9957 }
9958 return NULL;
9959}
9960
9961
c32bde28 9962static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9963 PyObject *resultobj;
9964 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
093d3ff1
RD
9971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9972 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 (arg1)->PageSetup();
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 Py_INCREF(Py_None); resultobj = Py_None;
9981 return resultobj;
9982 fail:
9983 return NULL;
9984}
9985
9986
c32bde28 9987static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9988 PyObject *resultobj;
9989 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9990 wxString *arg2 = 0 ;
9991 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9992 bool temp2 = false ;
d14a1e28
RD
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
994141e6 9995 PyObject * obj2 = 0 ;
d14a1e28
RD
9996 char *kwnames[] = {
9997 (char *) "self",(char *) "header",(char *) "pg", NULL
9998 };
9999
994141e6 10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10002 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10003 {
10004 arg2 = wxString_in_helper(obj1);
10005 if (arg2 == NULL) SWIG_fail;
ae8162c8 10006 temp2 = true;
d14a1e28 10007 }
994141e6 10008 if (obj2) {
093d3ff1
RD
10009 {
10010 arg3 = (int)(SWIG_As_int(obj2));
10011 if (SWIG_arg_fail(3)) SWIG_fail;
10012 }
994141e6 10013 }
d14a1e28
RD
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 Py_INCREF(Py_None); resultobj = Py_None;
10022 {
10023 if (temp2)
10024 delete arg2;
10025 }
10026 return resultobj;
10027 fail:
10028 {
10029 if (temp2)
10030 delete arg2;
10031 }
10032 return NULL;
10033}
10034
10035
c32bde28 10036static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10037 PyObject *resultobj;
10038 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10039 wxString *arg2 = 0 ;
10040 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 10041 bool temp2 = false ;
d14a1e28
RD
10042 PyObject * obj0 = 0 ;
10043 PyObject * obj1 = 0 ;
994141e6 10044 PyObject * obj2 = 0 ;
d14a1e28
RD
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "footer",(char *) "pg", NULL
10047 };
10048
994141e6 10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10052 {
10053 arg2 = wxString_in_helper(obj1);
10054 if (arg2 == NULL) SWIG_fail;
ae8162c8 10055 temp2 = true;
d14a1e28 10056 }
994141e6 10057 if (obj2) {
093d3ff1
RD
10058 {
10059 arg3 = (int)(SWIG_As_int(obj2));
10060 if (SWIG_arg_fail(3)) SWIG_fail;
10061 }
994141e6 10062 }
d14a1e28
RD
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 Py_INCREF(Py_None); resultobj = Py_None;
10071 {
10072 if (temp2)
10073 delete arg2;
10074 }
10075 return resultobj;
10076 fail:
10077 {
10078 if (temp2)
10079 delete arg2;
10080 }
10081 return NULL;
10082}
10083
10084
c32bde28 10085static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10086 PyObject *resultobj;
10087 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10088 wxString arg2 ;
10089 wxString arg3 ;
10090 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 PyObject * obj2 = 0 ;
10094 PyObject * obj3 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10101 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
10102 {
10103 wxString* sptr = wxString_in_helper(obj1);
10104 if (sptr == NULL) SWIG_fail;
10105 arg2 = *sptr;
10106 delete sptr;
10107 }
10108 {
10109 wxString* sptr = wxString_in_helper(obj2);
10110 if (sptr == NULL) SWIG_fail;
10111 arg3 = *sptr;
10112 delete sptr;
10113 }
d14a1e28
RD
10114 if (obj3) {
10115 arg4 = obj3;
10116 }
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 Py_INCREF(Py_None); resultobj = Py_None;
10125 return resultobj;
10126 fail:
10127 return NULL;
10128}
10129
10130
ae8162c8 10131static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
10132 PyObject *resultobj;
10133 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10134 int arg2 = (int) -1 ;
ae8162c8
RD
10135 wxString const &arg3_defvalue = wxPyEmptyString ;
10136 wxString *arg3 = (wxString *) &arg3_defvalue ;
10137 wxString const &arg4_defvalue = wxPyEmptyString ;
10138 wxString *arg4 = (wxString *) &arg4_defvalue ;
10139 bool temp3 = false ;
10140 bool temp4 = false ;
30ee79f7
RD
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
ae8162c8
RD
10143 PyObject * obj2 = 0 ;
10144 PyObject * obj3 = 0 ;
30ee79f7 10145 char *kwnames[] = {
ae8162c8 10146 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10147 };
10148
ae8162c8 10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10151 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10152 if (obj1) {
093d3ff1
RD
10153 {
10154 arg2 = (int)(SWIG_As_int(obj1));
10155 if (SWIG_arg_fail(2)) SWIG_fail;
10156 }
30ee79f7 10157 }
ae8162c8
RD
10158 if (obj2) {
10159 {
10160 arg3 = wxString_in_helper(obj2);
10161 if (arg3 == NULL) SWIG_fail;
10162 temp3 = true;
10163 }
10164 }
10165 if (obj3) {
10166 {
10167 arg4 = wxString_in_helper(obj3);
10168 if (arg4 == NULL) SWIG_fail;
10169 temp4 = true;
10170 }
10171 }
30ee79f7
RD
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 10174 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
10180 {
10181 if (temp3)
10182 delete arg3;
10183 }
10184 {
10185 if (temp4)
10186 delete arg4;
10187 }
30ee79f7
RD
10188 return resultobj;
10189 fail:
ae8162c8
RD
10190 {
10191 if (temp3)
10192 delete arg3;
10193 }
10194 {
10195 if (temp4)
10196 delete arg4;
10197 }
30ee79f7
RD
10198 return NULL;
10199}
10200
10201
c32bde28 10202static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10203 PyObject *resultobj;
10204 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10205 wxPrintData *result;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10213 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (wxPrintData *)(arg1)->GetPrintData();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
15afbcd0 10221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10222 return resultobj;
10223 fail:
10224 return NULL;
10225}
10226
10227
c32bde28 10228static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10229 PyObject *resultobj;
10230 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10231 wxPageSetupDialogData *result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10239 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
15afbcd0 10247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10248 return resultobj;
10249 fail:
10250 return NULL;
10251}
10252
10253
c32bde28 10254static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10255 PyObject *obj;
10256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10257 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10258 Py_INCREF(obj);
10259 return Py_BuildValue((char *)"");
10260}
c32bde28 10261static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10262 PyObject *resultobj;
10263 wxString *arg1 = 0 ;
10264 wxString *arg2 = 0 ;
10265 wxString *arg3 = 0 ;
10266 wxString *arg4 = 0 ;
10267 wxHtmlBookRecord *result;
ae8162c8
RD
10268 bool temp1 = false ;
10269 bool temp2 = false ;
10270 bool temp3 = false ;
10271 bool temp4 = false ;
d14a1e28
RD
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 PyObject * obj2 = 0 ;
10275 PyObject * obj3 = 0 ;
10276 char *kwnames[] = {
10277 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10281 {
10282 arg1 = wxString_in_helper(obj0);
10283 if (arg1 == NULL) SWIG_fail;
ae8162c8 10284 temp1 = true;
d14a1e28
RD
10285 }
10286 {
10287 arg2 = wxString_in_helper(obj1);
10288 if (arg2 == NULL) SWIG_fail;
ae8162c8 10289 temp2 = true;
d14a1e28
RD
10290 }
10291 {
10292 arg3 = wxString_in_helper(obj2);
10293 if (arg3 == NULL) SWIG_fail;
ae8162c8 10294 temp3 = true;
d14a1e28
RD
10295 }
10296 {
10297 arg4 = wxString_in_helper(obj3);
10298 if (arg4 == NULL) SWIG_fail;
ae8162c8 10299 temp4 = true;
d14a1e28
RD
10300 }
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
15afbcd0 10308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10309 {
10310 if (temp1)
10311 delete arg1;
10312 }
10313 {
10314 if (temp2)
10315 delete arg2;
10316 }
10317 {
10318 if (temp3)
10319 delete arg3;
10320 }
10321 {
10322 if (temp4)
10323 delete arg4;
10324 }
10325 return resultobj;
10326 fail:
10327 {
10328 if (temp1)
10329 delete arg1;
10330 }
10331 {
10332 if (temp2)
10333 delete arg2;
10334 }
10335 {
10336 if (temp3)
10337 delete arg3;
10338 }
10339 {
10340 if (temp4)
10341 delete arg4;
10342 }
10343 return NULL;
10344}
10345
10346
c32bde28 10347static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10348 PyObject *resultobj;
10349 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10350 wxString result;
10351 PyObject * obj0 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
10357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 result = (arg1)->GetBookFile();
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 {
10367#if wxUSE_UNICODE
10368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10369#else
10370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10371#endif
10372 }
10373 return resultobj;
10374 fail:
10375 return NULL;
10376}
10377
10378
c32bde28 10379static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10380 PyObject *resultobj;
10381 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10382 wxString result;
10383 PyObject * obj0 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (arg1)->GetTitle();
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 {
10399#if wxUSE_UNICODE
10400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10401#else
10402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10403#endif
10404 }
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
c32bde28 10411static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10412 PyObject *resultobj;
10413 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10414 wxString result;
10415 PyObject * obj0 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (arg1)->GetStart();
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 {
10431#if wxUSE_UNICODE
10432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10433#else
10434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10435#endif
10436 }
10437 return resultobj;
10438 fail:
10439 return NULL;
10440}
10441
10442
c32bde28 10443static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10444 PyObject *resultobj;
10445 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10446 wxString result;
10447 PyObject * obj0 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
10453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 result = (arg1)->GetBasePath();
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 {
10463#if wxUSE_UNICODE
10464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10465#else
10466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10467#endif
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472}
10473
10474
c32bde28 10475static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10476 PyObject *resultobj;
10477 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10478 int arg2 ;
10479 int arg3 ;
10480 PyObject * obj0 = 0 ;
994141e6
RD
10481 PyObject * obj1 = 0 ;
10482 PyObject * obj2 = 0 ;
d14a1e28
RD
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "start",(char *) "end", NULL
10485 };
10486
994141e6 10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail;
10490 {
10491 arg2 = (int)(SWIG_As_int(obj1));
10492 if (SWIG_arg_fail(2)) SWIG_fail;
10493 }
10494 {
10495 arg3 = (int)(SWIG_As_int(obj2));
10496 if (SWIG_arg_fail(3)) SWIG_fail;
10497 }
d14a1e28
RD
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 (arg1)->SetContentsRange(arg2,arg3);
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 Py_INCREF(Py_None); resultobj = Py_None;
10506 return resultobj;
10507 fail:
10508 return NULL;
10509}
10510
10511
c32bde28 10512static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10513 PyObject *resultobj;
10514 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10515 int result;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (int)(arg1)->GetContentsStart();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
093d3ff1
RD
10531 {
10532 resultobj = SWIG_From_int((int)(result));
10533 }
d14a1e28
RD
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
c32bde28 10540static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10541 PyObject *resultobj;
10542 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10543 int result;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
10550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = (int)(arg1)->GetContentsEnd();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
093d3ff1
RD
10559 {
10560 resultobj = SWIG_From_int((int)(result));
10561 }
d14a1e28
RD
10562 return resultobj;
10563 fail:
10564 return NULL;
10565}
10566
10567
c32bde28 10568static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10569 PyObject *resultobj;
10570 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10571 wxString *arg2 = 0 ;
ae8162c8 10572 bool temp2 = false ;
d14a1e28
RD
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "title", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10581 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10582 {
10583 arg2 = wxString_in_helper(obj1);
10584 if (arg2 == NULL) SWIG_fail;
ae8162c8 10585 temp2 = true;
d14a1e28
RD
10586 }
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->SetTitle((wxString const &)*arg2);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 Py_INCREF(Py_None); resultobj = Py_None;
10595 {
10596 if (temp2)
10597 delete arg2;
10598 }
10599 return resultobj;
10600 fail:
10601 {
10602 if (temp2)
10603 delete arg2;
10604 }
10605 return NULL;
10606}
10607
10608
c32bde28 10609static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10610 PyObject *resultobj;
10611 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10612 wxString *arg2 = 0 ;
ae8162c8 10613 bool temp2 = false ;
d14a1e28
RD
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self",(char *) "path", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10623 {
10624 arg2 = wxString_in_helper(obj1);
10625 if (arg2 == NULL) SWIG_fail;
ae8162c8 10626 temp2 = true;
d14a1e28
RD
10627 }
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 (arg1)->SetBasePath((wxString const &)*arg2);
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 Py_INCREF(Py_None); resultobj = Py_None;
10636 {
10637 if (temp2)
10638 delete arg2;
10639 }
10640 return resultobj;
10641 fail:
10642 {
10643 if (temp2)
10644 delete arg2;
10645 }
10646 return NULL;
10647}
10648
10649
c32bde28 10650static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10651 PyObject *resultobj;
10652 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10653 wxString *arg2 = 0 ;
ae8162c8 10654 bool temp2 = false ;
d14a1e28
RD
10655 PyObject * obj0 = 0 ;
10656 PyObject * obj1 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self",(char *) "start", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10663 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10664 {
10665 arg2 = wxString_in_helper(obj1);
10666 if (arg2 == NULL) SWIG_fail;
ae8162c8 10667 temp2 = true;
d14a1e28
RD
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 (arg1)->SetStart((wxString const &)*arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 Py_INCREF(Py_None); resultobj = Py_None;
10677 {
10678 if (temp2)
10679 delete arg2;
10680 }
10681 return resultobj;
10682 fail:
10683 {
10684 if (temp2)
10685 delete arg2;
10686 }
10687 return NULL;
10688}
10689
10690
c32bde28 10691static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10692 PyObject *resultobj;
10693 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10694 wxString *arg2 = 0 ;
10695 wxString result;
ae8162c8 10696 bool temp2 = false ;
d14a1e28
RD
10697 PyObject * obj0 = 0 ;
10698 PyObject * obj1 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "page", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10705 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10706 {
10707 arg2 = wxString_in_helper(obj1);
10708 if (arg2 == NULL) SWIG_fail;
ae8162c8 10709 temp2 = true;
d14a1e28
RD
10710 }
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 {
10719#if wxUSE_UNICODE
10720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10721#else
10722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10723#endif
10724 }
10725 {
10726 if (temp2)
10727 delete arg2;
10728 }
10729 return resultobj;
10730 fail:
10731 {
10732 if (temp2)
10733 delete arg2;
10734 }
10735 return NULL;
10736}
10737
10738
c32bde28 10739static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10740 PyObject *obj;
10741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10742 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
10743 Py_INCREF(obj);
10744 return Py_BuildValue((char *)"");
10745}
c32bde28 10746static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10747 PyObject *resultobj;
10748 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10749 int result;
10750 PyObject * obj0 = 0 ;
10751 char *kwnames[] = {
10752 (char *) "self", NULL
10753 };
10754
10755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
10756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10758 {
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 result = (int)wxHtmlContentsItem_GetLevel(arg1);
10761
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
093d3ff1
RD
10765 {
10766 resultobj = SWIG_From_int((int)(result));
10767 }
d14a1e28
RD
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
c32bde28 10774static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10775 PyObject *resultobj;
10776 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10777 int result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
093d3ff1
RD
10784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10785 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (int)wxHtmlContentsItem_GetID(arg1);
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
093d3ff1
RD
10793 {
10794 resultobj = SWIG_From_int((int)(result));
10795 }
d14a1e28
RD
10796 return resultobj;
10797 fail:
10798 return NULL;
10799}
10800
10801
c32bde28 10802static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10803 PyObject *resultobj;
10804 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10805 wxString result;
10806 PyObject * obj0 = 0 ;
10807 char *kwnames[] = {
10808 (char *) "self", NULL
10809 };
10810
10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
10812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 result = wxHtmlContentsItem_GetName(arg1);
10817
10818 wxPyEndAllowThreads(__tstate);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 {
10822#if wxUSE_UNICODE
10823 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10824#else
10825 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10826#endif
10827 }
10828 return resultobj;
10829 fail:
10830 return NULL;
10831}
10832
10833
c32bde28 10834static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10835 PyObject *resultobj;
10836 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10837 wxString result;
10838 PyObject * obj0 = 0 ;
10839 char *kwnames[] = {
10840 (char *) "self", NULL
10841 };
10842
10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
10844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = wxHtmlContentsItem_GetPage(arg1);
10849
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 {
10854#if wxUSE_UNICODE
10855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10856#else
10857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10858#endif
10859 }
10860 return resultobj;
10861 fail:
10862 return NULL;
10863}
10864
10865
c32bde28 10866static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10867 PyObject *resultobj;
10868 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10869 wxHtmlBookRecord *result;
10870 PyObject * obj0 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
093d3ff1
RD
10876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
15afbcd0 10885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
d14a1e28
RD
10886 return resultobj;
10887 fail:
10888 return NULL;
10889}
10890
10891
c32bde28 10892static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10893 PyObject *obj;
10894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10895 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
10896 Py_INCREF(obj);
10897 return Py_BuildValue((char *)"");
10898}
c32bde28 10899static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10900 PyObject *resultobj;
10901 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10902 bool result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
093d3ff1
RD
10909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (bool)(arg1)->Search();
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
4f89f6a3
RD
10918 {
10919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10920 }
d14a1e28
RD
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
c32bde28 10927static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10928 PyObject *resultobj;
10929 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10930 bool result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
10937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (bool)(arg1)->IsActive();
10942
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
4f89f6a3
RD
10946 {
10947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10948 }
d14a1e28
RD
10949 return resultobj;
10950 fail:
10951 return NULL;
10952}
10953
10954
c32bde28 10955static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10956 PyObject *resultobj;
10957 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10958 int result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
10965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10966 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (int)(arg1)->GetCurIndex();
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
093d3ff1
RD
10974 {
10975 resultobj = SWIG_From_int((int)(result));
10976 }
d14a1e28
RD
10977 return resultobj;
10978 fail:
10979 return NULL;
10980}
10981
10982
c32bde28 10983static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10984 PyObject *resultobj;
10985 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10986 int result;
10987 PyObject * obj0 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "self", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
10993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10994 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (int)(arg1)->GetMaxIndex();
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
093d3ff1
RD
11002 {
11003 resultobj = SWIG_From_int((int)(result));
11004 }
d14a1e28
RD
11005 return resultobj;
11006 fail:
11007 return NULL;
11008}
11009
11010
c32bde28 11011static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11012 PyObject *resultobj;
11013 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11014 wxString *result;
11015 PyObject * obj0 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
11021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11022 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 {
11026 wxString const &_result_ref = (arg1)->GetName();
11027 result = (wxString *) &_result_ref;
11028 }
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
cc6dd355
RD
11033 {
11034#if wxUSE_UNICODE
11035 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11036#else
11037 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11038#endif
11039 }
d14a1e28
RD
11040 return resultobj;
11041 fail:
11042 return NULL;
11043}
11044
11045
c32bde28 11046static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11047 PyObject *resultobj;
11048 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11049 wxHtmlContentsItem *result;
11050 PyObject * obj0 = 0 ;
11051 char *kwnames[] = {
11052 (char *) "self", NULL
11053 };
11054
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
11056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
11061
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
15afbcd0 11065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11066 return resultobj;
11067 fail:
11068 return NULL;
11069}
11070
11071
c32bde28 11072static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11073 PyObject *obj;
11074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11075 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11076 Py_INCREF(obj);
11077 return Py_BuildValue((char *)"");
11078}
c32bde28 11079static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11080 PyObject *resultobj;
11081 wxHtmlHelpData *result;
11082 char *kwnames[] = {
11083 NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
15afbcd0 11094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
11095 return resultobj;
11096 fail:
11097 return NULL;
11098}
11099
11100
c32bde28 11101static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11102 PyObject *resultobj;
11103 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11104 PyObject * obj0 = 0 ;
11105 char *kwnames[] = {
11106 (char *) "self", NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 delete arg1;
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 Py_INCREF(Py_None); resultobj = Py_None;
11120 return resultobj;
11121 fail:
11122 return NULL;
11123}
11124
11125
c32bde28 11126static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11127 PyObject *resultobj;
11128 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11129 wxString *arg2 = 0 ;
ae8162c8 11130 bool temp2 = false ;
d14a1e28
RD
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self",(char *) "path", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11140 {
11141 arg2 = wxString_in_helper(obj1);
11142 if (arg2 == NULL) SWIG_fail;
ae8162c8 11143 temp2 = true;
d14a1e28
RD
11144 }
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 (arg1)->SetTempDir((wxString const &)*arg2);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 Py_INCREF(Py_None); resultobj = Py_None;
11153 {
11154 if (temp2)
11155 delete arg2;
11156 }
11157 return resultobj;
11158 fail:
11159 {
11160 if (temp2)
11161 delete arg2;
11162 }
11163 return NULL;
11164}
11165
11166
c32bde28 11167static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11168 PyObject *resultobj;
11169 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11170 wxString *arg2 = 0 ;
11171 bool result;
ae8162c8 11172 bool temp2 = false ;
d14a1e28
RD
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self",(char *) "book", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11182 {
11183 arg2 = wxString_in_helper(obj1);
11184 if (arg2 == NULL) SWIG_fail;
ae8162c8 11185 temp2 = true;
d14a1e28
RD
11186 }
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
4f89f6a3
RD
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
d14a1e28
RD
11197 {
11198 if (temp2)
11199 delete arg2;
11200 }
11201 return resultobj;
11202 fail:
11203 {
11204 if (temp2)
11205 delete arg2;
11206 }
11207 return NULL;
11208}
11209
11210
c32bde28 11211static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11212 PyObject *resultobj;
11213 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11214 wxString *arg2 = 0 ;
11215 wxString result;
ae8162c8 11216 bool temp2 = false ;
d14a1e28
RD
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self",(char *) "page", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11226 {
11227 arg2 = wxString_in_helper(obj1);
11228 if (arg2 == NULL) SWIG_fail;
ae8162c8 11229 temp2 = true;
d14a1e28
RD
11230 }
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (arg1)->FindPageByName((wxString const &)*arg2);
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 {
11239#if wxUSE_UNICODE
11240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11241#else
11242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11243#endif
11244 }
11245 {
11246 if (temp2)
11247 delete arg2;
11248 }
11249 return resultobj;
11250 fail:
11251 {
11252 if (temp2)
11253 delete arg2;
11254 }
11255 return NULL;
11256}
11257
11258
c32bde28 11259static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11260 PyObject *resultobj;
11261 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11262 int arg2 ;
11263 wxString result;
11264 PyObject * obj0 = 0 ;
994141e6 11265 PyObject * obj1 = 0 ;
d14a1e28
RD
11266 char *kwnames[] = {
11267 (char *) "self",(char *) "id", NULL
11268 };
11269
994141e6 11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11272 if (SWIG_arg_fail(1)) SWIG_fail;
11273 {
11274 arg2 = (int)(SWIG_As_int(obj1));
11275 if (SWIG_arg_fail(2)) SWIG_fail;
11276 }
d14a1e28
RD
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (arg1)->FindPageById(arg2);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 {
11285#if wxUSE_UNICODE
11286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11287#else
11288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11289#endif
11290 }
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
c32bde28 11297static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11298 PyObject *resultobj;
11299 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11300 wxHtmlBookRecArray *result;
11301 PyObject * obj0 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self", NULL
11304 };
11305
11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) 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;
d14a1e28
RD
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 {
11312 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11313 result = (wxHtmlBookRecArray *) &_result_ref;
11314 }
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
15afbcd0 11319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11320 return resultobj;
11321 fail:
11322 return NULL;
11323}
11324
11325
c32bde28 11326static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11327 PyObject *resultobj;
11328 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11329 wxHtmlContentsItem *result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (wxHtmlContentsItem *)(arg1)->GetContents();
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
15afbcd0 11345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11346 return resultobj;
11347 fail:
11348 return NULL;
11349}
11350
11351
c32bde28 11352static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11353 PyObject *resultobj;
11354 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11355 int result;
11356 PyObject * obj0 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 result = (int)(arg1)->GetContentsCnt();
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
093d3ff1
RD
11371 {
11372 resultobj = SWIG_From_int((int)(result));
11373 }
d14a1e28
RD
11374 return resultobj;
11375 fail:
11376 return NULL;
11377}
11378
11379
c32bde28 11380static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11381 PyObject *resultobj;
11382 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11383 wxHtmlContentsItem *result;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
15afbcd0 11399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11400 return resultobj;
11401 fail:
11402 return NULL;
11403}
11404
11405
c32bde28 11406static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11407 PyObject *resultobj;
11408 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11409 int result;
11410 PyObject * obj0 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 result = (int)(arg1)->GetIndexCnt();
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
093d3ff1
RD
11425 {
11426 resultobj = SWIG_From_int((int)(result));
11427 }
d14a1e28
RD
11428 return resultobj;
11429 fail:
11430 return NULL;
11431}
11432
11433
c32bde28 11434static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11435 PyObject *obj;
11436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11437 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11438 Py_INCREF(obj);
11439 return Py_BuildValue((char *)"");
11440}
c32bde28 11441static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11442 PyObject *resultobj;
11443 wxWindow *arg1 = (wxWindow *) 0 ;
11444 int arg2 ;
11445 wxString const &arg3_defvalue = wxPyEmptyString ;
11446 wxString *arg3 = (wxString *) &arg3_defvalue ;
11447 int arg4 = (int) wxHF_DEFAULTSTYLE ;
11448 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
11449 wxHtmlHelpFrame *result;
ae8162c8 11450 bool temp3 = false ;
d14a1e28 11451 PyObject * obj0 = 0 ;
994141e6 11452 PyObject * obj1 = 0 ;
d14a1e28 11453 PyObject * obj2 = 0 ;
994141e6 11454 PyObject * obj3 = 0 ;
d14a1e28
RD
11455 PyObject * obj4 = 0 ;
11456 char *kwnames[] = {
e811c8ce 11457 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
11458 };
11459
994141e6 11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
11461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11462 if (SWIG_arg_fail(1)) SWIG_fail;
11463 {
11464 arg2 = (int)(SWIG_As_int(obj1));
11465 if (SWIG_arg_fail(2)) SWIG_fail;
11466 }
d14a1e28
RD
11467 if (obj2) {
11468 {
11469 arg3 = wxString_in_helper(obj2);
11470 if (arg3 == NULL) SWIG_fail;
ae8162c8 11471 temp3 = true;
d14a1e28
RD
11472 }
11473 }
994141e6 11474 if (obj3) {
093d3ff1
RD
11475 {
11476 arg4 = (int)(SWIG_As_int(obj3));
11477 if (SWIG_arg_fail(4)) SWIG_fail;
11478 }
994141e6 11479 }
d14a1e28 11480 if (obj4) {
093d3ff1
RD
11481 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11482 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
11483 }
11484 {
e3b71cb8 11485 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
11488
11489 wxPyEndAllowThreads(__tstate);
110da5b0 11490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11491 }
15afbcd0 11492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
11493 {
11494 if (temp3)
11495 delete arg3;
11496 }
11497 return resultobj;
11498 fail:
11499 {
11500 if (temp3)
11501 delete arg3;
11502 }
11503 return NULL;
11504}
11505
11506
c32bde28 11507static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11508 PyObject *resultobj;
11509 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11510 wxHtmlHelpData *result;
11511 PyObject * obj0 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = (wxHtmlHelpData *)(arg1)->GetData();
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
15afbcd0 11526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11527 return resultobj;
11528 fail:
11529 return NULL;
11530}
11531
11532
c32bde28 11533static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11534 PyObject *resultobj;
11535 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11536 wxString *arg2 = 0 ;
ae8162c8 11537 bool temp2 = false ;
d14a1e28
RD
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self",(char *) "format", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11547 {
11548 arg2 = wxString_in_helper(obj1);
11549 if (arg2 == NULL) SWIG_fail;
ae8162c8 11550 temp2 = true;
d14a1e28
RD
11551 }
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 (arg1)->SetTitleFormat((wxString const &)*arg2);
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 Py_INCREF(Py_None); resultobj = Py_None;
11560 {
11561 if (temp2)
11562 delete arg2;
11563 }
11564 return resultobj;
11565 fail:
11566 {
11567 if (temp2)
11568 delete arg2;
11569 }
11570 return NULL;
11571}
11572
11573
c32bde28 11574static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11575 PyObject *resultobj;
11576 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11577 wxString *arg2 = 0 ;
ae8162c8 11578 bool temp2 = false ;
d14a1e28
RD
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "x", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11588 {
11589 arg2 = wxString_in_helper(obj1);
11590 if (arg2 == NULL) SWIG_fail;
ae8162c8 11591 temp2 = true;
d14a1e28
RD
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->Display((wxString const &)*arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 {
11602 if (temp2)
11603 delete arg2;
11604 }
11605 return resultobj;
11606 fail:
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 return NULL;
11612}
11613
11614
c32bde28 11615static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11616 PyObject *resultobj;
11617 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11618 int arg2 ;
11619 PyObject * obj0 = 0 ;
994141e6 11620 PyObject * obj1 = 0 ;
d14a1e28
RD
11621 char *kwnames[] = {
11622 (char *) "self",(char *) "id", NULL
11623 };
11624
994141e6 11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11627 if (SWIG_arg_fail(1)) SWIG_fail;
11628 {
11629 arg2 = (int)(SWIG_As_int(obj1));
11630 if (SWIG_arg_fail(2)) SWIG_fail;
11631 }
d14a1e28
RD
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 (arg1)->Display(arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 Py_INCREF(Py_None); resultobj = Py_None;
11640 return resultobj;
11641 fail:
11642 return NULL;
11643}
11644
11645
c32bde28 11646static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11647 PyObject *resultobj;
11648 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11649 PyObject * obj0 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 (arg1)->DisplayContents();
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 Py_INCREF(Py_None); resultobj = Py_None;
11665 return resultobj;
11666 fail:
11667 return NULL;
11668}
11669
11670
c32bde28 11671static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11672 PyObject *resultobj;
11673 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11674 PyObject * obj0 = 0 ;
11675 char *kwnames[] = {
11676 (char *) "self", NULL
11677 };
11678
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 (arg1)->DisplayIndex();
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 Py_INCREF(Py_None); resultobj = Py_None;
11690 return resultobj;
11691 fail:
11692 return NULL;
11693}
11694
11695
c32bde28 11696static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11697 PyObject *resultobj;
11698 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11699 wxString *arg2 = 0 ;
11700 bool result;
ae8162c8 11701 bool temp2 = false ;
d14a1e28
RD
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self",(char *) "keyword", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11710 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11711 {
11712 arg2 = wxString_in_helper(obj1);
11713 if (arg2 == NULL) SWIG_fail;
ae8162c8 11714 temp2 = true;
d14a1e28
RD
11715 }
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11719
11720 wxPyEndAllowThreads(__tstate);
11721 if (PyErr_Occurred()) SWIG_fail;
11722 }
4f89f6a3
RD
11723 {
11724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11725 }
d14a1e28
RD
11726 {
11727 if (temp2)
11728 delete arg2;
11729 }
11730 return resultobj;
11731 fail:
11732 {
11733 if (temp2)
11734 delete arg2;
11735 }
11736 return NULL;
11737}
11738
11739
c32bde28 11740static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11741 PyObject *resultobj;
11742 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11743 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11744 wxString const &arg3_defvalue = wxPyEmptyString ;
11745 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 11746 bool temp3 = false ;
d14a1e28
RD
11747 PyObject * obj0 = 0 ;
11748 PyObject * obj1 = 0 ;
11749 PyObject * obj2 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11756 if (SWIG_arg_fail(1)) SWIG_fail;
11757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11759 if (obj2) {
11760 {
11761 arg3 = wxString_in_helper(obj2);
11762 if (arg3 == NULL) SWIG_fail;
ae8162c8 11763 temp3 = true;
d14a1e28
RD
11764 }
11765 }
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 Py_INCREF(Py_None); resultobj = Py_None;
11774 {
11775 if (temp3)
11776 delete arg3;
11777 }
11778 return resultobj;
11779 fail:
11780 {
11781 if (temp3)
11782 delete arg3;
11783 }
11784 return NULL;
11785}
11786
11787
c32bde28 11788static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11789 PyObject *resultobj;
11790 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11791 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11792 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 PyObject * obj2 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "cfg",(char *) "path", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11802 if (SWIG_arg_fail(1)) SWIG_fail;
11803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11804 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11805 if (obj2) {
e811c8ce
RD
11806 {
11807 wxString* sptr = wxString_in_helper(obj2);
11808 if (sptr == NULL) SWIG_fail;
11809 arg3 = *sptr;
11810 delete sptr;
11811 }
d14a1e28
RD
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 (arg1)->ReadCustomization(arg2,arg3);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 Py_INCREF(Py_None); resultobj = Py_None;
11821 return resultobj;
11822 fail:
11823 return NULL;
11824}
11825
11826
c32bde28 11827static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11828 PyObject *resultobj;
11829 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11830 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11831 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 PyObject * obj2 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self",(char *) "cfg",(char *) "path", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11841 if (SWIG_arg_fail(1)) SWIG_fail;
11842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11843 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11844 if (obj2) {
e811c8ce
RD
11845 {
11846 wxString* sptr = wxString_in_helper(obj2);
11847 if (sptr == NULL) SWIG_fail;
11848 arg3 = *sptr;
11849 delete sptr;
11850 }
d14a1e28
RD
11851 }
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 (arg1)->WriteCustomization(arg2,arg3);
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 Py_INCREF(Py_None); resultobj = Py_None;
11860 return resultobj;
11861 fail:
11862 return NULL;
11863}
11864
11865
c32bde28 11866static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11867 PyObject *obj;
11868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11869 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
11870 Py_INCREF(obj);
11871 return Py_BuildValue((char *)"");
11872}
c32bde28 11873static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11874 PyObject *resultobj;
11875 int arg1 = (int) wxHF_DEFAULTSTYLE ;
11876 wxHtmlHelpController *result;
994141e6 11877 PyObject * obj0 = 0 ;
d14a1e28
RD
11878 char *kwnames[] = {
11879 (char *) "style", NULL
11880 };
11881
994141e6
RD
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
11883 if (obj0) {
093d3ff1
RD
11884 {
11885 arg1 = (int)(SWIG_As_int(obj0));
11886 if (SWIG_arg_fail(1)) SWIG_fail;
11887 }
994141e6 11888 }
d14a1e28 11889 {
e3b71cb8 11890 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
11893
11894 wxPyEndAllowThreads(__tstate);
110da5b0 11895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11896 }
15afbcd0 11897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
11898 return resultobj;
11899 fail:
11900 return NULL;
11901}
11902
11903
c32bde28 11904static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11905 PyObject *resultobj;
11906 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11907 PyObject * obj0 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
093d3ff1
RD
11913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 delete arg1;
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 Py_INCREF(Py_None); resultobj = Py_None;
11923 return resultobj;
11924 fail:
11925 return NULL;
11926}
11927
11928
c32bde28 11929static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11930 PyObject *resultobj;
11931 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11932 wxString *arg2 = 0 ;
ae8162c8 11933 bool temp2 = false ;
d14a1e28
RD
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "self",(char *) "format", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11942 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11943 {
11944 arg2 = wxString_in_helper(obj1);
11945 if (arg2 == NULL) SWIG_fail;
ae8162c8 11946 temp2 = true;
d14a1e28
RD
11947 }
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 (arg1)->SetTitleFormat((wxString const &)*arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 Py_INCREF(Py_None); resultobj = Py_None;
11956 {
11957 if (temp2)
11958 delete arg2;
11959 }
11960 return resultobj;
11961 fail:
11962 {
11963 if (temp2)
11964 delete arg2;
11965 }
11966 return NULL;
11967}
11968
11969
c32bde28 11970static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11971 PyObject *resultobj;
11972 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11973 wxString *arg2 = 0 ;
ae8162c8 11974 bool temp2 = false ;
d14a1e28
RD
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "self",(char *) "path", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11984 {
11985 arg2 = wxString_in_helper(obj1);
11986 if (arg2 == NULL) SWIG_fail;
ae8162c8 11987 temp2 = true;
d14a1e28
RD
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 (arg1)->SetTempDir((wxString const &)*arg2);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 Py_INCREF(Py_None); resultobj = Py_None;
11997 {
11998 if (temp2)
11999 delete arg2;
12000 }
12001 return resultobj;
12002 fail:
12003 {
12004 if (temp2)
12005 delete arg2;
12006 }
12007 return NULL;
12008}
12009
12010
c32bde28 12011static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12012 PyObject *resultobj;
12013 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12014 wxString *arg2 = 0 ;
ae8162c8 12015 int arg3 = (int) false ;
d14a1e28 12016 bool result;
ae8162c8 12017 bool temp2 = false ;
d14a1e28
RD
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
994141e6 12020 PyObject * obj2 = 0 ;
d14a1e28
RD
12021 char *kwnames[] = {
12022 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12023 };
12024
994141e6 12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12028 {
12029 arg2 = wxString_in_helper(obj1);
12030 if (arg2 == NULL) SWIG_fail;
ae8162c8 12031 temp2 = true;
d14a1e28 12032 }
994141e6 12033 if (obj2) {
093d3ff1
RD
12034 {
12035 arg3 = (int)(SWIG_As_int(obj2));
12036 if (SWIG_arg_fail(3)) SWIG_fail;
12037 }
994141e6 12038 }
d14a1e28
RD
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
4f89f6a3
RD
12046 {
12047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12048 }
d14a1e28
RD
12049 {
12050 if (temp2)
12051 delete arg2;
12052 }
12053 return resultobj;
12054 fail:
12055 {
12056 if (temp2)
12057 delete arg2;
12058 }
12059 return NULL;
12060}
12061
12062
c32bde28 12063static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12064 PyObject *resultobj;
12065 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12066 wxString *arg2 = 0 ;
ae8162c8 12067 bool temp2 = false ;
d14a1e28
RD
12068 PyObject * obj0 = 0 ;
12069 PyObject * obj1 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self",(char *) "x", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12077 {
12078 arg2 = wxString_in_helper(obj1);
12079 if (arg2 == NULL) SWIG_fail;
ae8162c8 12080 temp2 = true;
d14a1e28
RD
12081 }
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 (arg1)->Display((wxString const &)*arg2);
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 Py_INCREF(Py_None); resultobj = Py_None;
12090 {
12091 if (temp2)
12092 delete arg2;
12093 }
12094 return resultobj;
12095 fail:
12096 {
12097 if (temp2)
12098 delete arg2;
12099 }
12100 return NULL;
12101}
12102
12103
c32bde28 12104static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12105 PyObject *resultobj;
12106 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12107 int arg2 ;
12108 PyObject * obj0 = 0 ;
994141e6 12109 PyObject * obj1 = 0 ;
d14a1e28
RD
12110 char *kwnames[] = {
12111 (char *) "self",(char *) "id", NULL
12112 };
12113
994141e6 12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail;
12117 {
12118 arg2 = (int)(SWIG_As_int(obj1));
12119 if (SWIG_arg_fail(2)) SWIG_fail;
12120 }
d14a1e28
RD
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 (arg1)->Display(arg2);
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 Py_INCREF(Py_None); resultobj = Py_None;
12129 return resultobj;
12130 fail:
12131 return NULL;
12132}
12133
12134
c32bde28 12135static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12136 PyObject *resultobj;
12137 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
12144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 (arg1)->DisplayContents();
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 Py_INCREF(Py_None); resultobj = Py_None;
12154 return resultobj;
12155 fail:
12156 return NULL;
12157}
12158
12159
c32bde28 12160static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12161 PyObject *resultobj;
12162 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12163 PyObject * obj0 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
12169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 (arg1)->DisplayIndex();
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 Py_INCREF(Py_None); resultobj = Py_None;
12179 return resultobj;
12180 fail:
12181 return NULL;
12182}
12183
12184
c32bde28 12185static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12186 PyObject *resultobj;
12187 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12188 wxString *arg2 = 0 ;
12189 bool result;
ae8162c8 12190 bool temp2 = false ;
d14a1e28
RD
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 char *kwnames[] = {
12194 (char *) "self",(char *) "keyword", NULL
12195 };
12196
12197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12200 {
12201 arg2 = wxString_in_helper(obj1);
12202 if (arg2 == NULL) SWIG_fail;
ae8162c8 12203 temp2 = true;
d14a1e28
RD
12204 }
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
4f89f6a3
RD
12212 {
12213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12214 }
d14a1e28
RD
12215 {
12216 if (temp2)
12217 delete arg2;
12218 }
12219 return resultobj;
12220 fail:
12221 {
12222 if (temp2)
12223 delete arg2;
12224 }
12225 return NULL;
12226}
12227
12228
c32bde28 12229static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12230 PyObject *resultobj;
12231 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12232 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12233 wxString const &arg3_defvalue = wxPyEmptyString ;
12234 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 12235 bool temp3 = false ;
d14a1e28
RD
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 PyObject * obj2 = 0 ;
12239 char *kwnames[] = {
12240 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12241 };
12242
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12245 if (SWIG_arg_fail(1)) SWIG_fail;
12246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12247 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12248 if (obj2) {
12249 {
12250 arg3 = wxString_in_helper(obj2);
12251 if (arg3 == NULL) SWIG_fail;
ae8162c8 12252 temp3 = true;
d14a1e28
RD
12253 }
12254 }
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 Py_INCREF(Py_None); resultobj = Py_None;
12263 {
12264 if (temp3)
12265 delete arg3;
12266 }
12267 return resultobj;
12268 fail:
12269 {
12270 if (temp3)
12271 delete arg3;
12272 }
12273 return NULL;
12274}
12275
12276
c32bde28 12277static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12278 PyObject *resultobj;
12279 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12280 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12281 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12282 PyObject * obj0 = 0 ;
12283 PyObject * obj1 = 0 ;
12284 PyObject * obj2 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "self",(char *) "cfg",(char *) "path", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12291 if (SWIG_arg_fail(1)) SWIG_fail;
12292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12293 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12294 if (obj2) {
e811c8ce
RD
12295 {
12296 wxString* sptr = wxString_in_helper(obj2);
12297 if (sptr == NULL) SWIG_fail;
12298 arg3 = *sptr;
12299 delete sptr;
12300 }
d14a1e28
RD
12301 }
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 (arg1)->ReadCustomization(arg2,arg3);
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 Py_INCREF(Py_None); resultobj = Py_None;
12310 return resultobj;
12311 fail:
12312 return NULL;
12313}
12314
12315
c32bde28 12316static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12317 PyObject *resultobj;
12318 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12319 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12320 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12321 PyObject * obj0 = 0 ;
12322 PyObject * obj1 = 0 ;
12323 PyObject * obj2 = 0 ;
12324 char *kwnames[] = {
12325 (char *) "self",(char *) "cfg",(char *) "path", NULL
12326 };
12327
12328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12330 if (SWIG_arg_fail(1)) SWIG_fail;
12331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12332 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12333 if (obj2) {
e811c8ce
RD
12334 {
12335 wxString* sptr = wxString_in_helper(obj2);
12336 if (sptr == NULL) SWIG_fail;
12337 arg3 = *sptr;
12338 delete sptr;
12339 }
d14a1e28
RD
12340 }
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 (arg1)->WriteCustomization(arg2,arg3);
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 Py_INCREF(Py_None); resultobj = Py_None;
12349 return resultobj;
12350 fail:
12351 return NULL;
12352}
12353
12354
c32bde28 12355static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12356 PyObject *resultobj;
12357 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12358 wxHtmlHelpFrame *result;
12359 PyObject * obj0 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) 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;
d14a1e28
RD
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
15afbcd0 12374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
12375 return resultobj;
12376 fail:
12377 return NULL;
12378}
12379
12380
c32bde28 12381static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12382 PyObject *obj;
12383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12384 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
12385 Py_INCREF(obj);
12386 return Py_BuildValue((char *)"");
12387}
12388static PyMethodDef SwigMethods[] = {
093d3ff1
RD
12389 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12390 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
12391 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
12392 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12393 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12394 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12395 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12396 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
12397 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12398 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
12399 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
12400 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
12401 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
12402 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
12403 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
12404 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
12405 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
12406 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12407 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12408 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
12409 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
12410 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
12411 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12412 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12413 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12414 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
12415 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12416 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12417 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
12418 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
12419 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12420 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12421 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12422 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12423 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12424 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12425 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12426 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12427 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12428 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12429 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12430 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12431 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12432 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12433 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12434 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12435 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12436 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12437 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12438 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12439 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12440 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12441 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12442 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12443 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12444 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12445 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12446 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12447 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
12448 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12449 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
12450 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12451 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12452 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12453 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12454 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12455 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
12456 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12457 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12458 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12459 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12460 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12461 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
12462 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12463 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12464 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12465 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
12466 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
12467 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
12468 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
12469 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
12470 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
12471 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12472 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12473 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12474 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12475 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12476 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
12477 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
12478 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12479 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12480 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12481 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12482 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12483 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12484 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12485 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12486 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
12487 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12488 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12489 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12490 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12491 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12492 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12493 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12494 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12495 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12496 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12497 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12498 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12499 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
12500 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
12501 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12502 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
12503 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
12504 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12505 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12506 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
12507 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12508 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
12509 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
12510 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12511 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12512 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12513 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12514 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
12515 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
12516 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12517 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12518 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12519 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
12520 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
12521 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
12522 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
12523 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
12524 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12525 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12526 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
12527 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
12528 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
12529 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
12530 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12531 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12532 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
12533 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12534 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
12535 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
12536 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
12537 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
12538 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
12539 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
12540 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12541 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12542 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12543 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12544 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12545 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12546 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
12547 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12548 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
12549 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
12550 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12551 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12552 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12553 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
12554 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12555 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
12556 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
12557 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
12558 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
12559 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
12560 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
12561 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
12562 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12563 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12564 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
12565 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12566 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12567 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12568 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12569 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12570 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
12571 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12572 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
12573 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
12574 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12575 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12576 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12577 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12578 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
12579 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12580 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12581 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12582 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
12583 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12584 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12585 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
12586 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
12587 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
12588 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
12589 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
12590 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
12591 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12592 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12593 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12594 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12595 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
12596 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
12597 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
12598 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
12599 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
12600 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12601 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12602 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
12603 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12604 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12605 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
12606 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12607 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12608 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12609 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
12610 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12611 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12612 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12613 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
12614 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12615 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
12616 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
12617 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12618 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
12619 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12620 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12621 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12622 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12623 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
12624 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12625 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
12626 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
12627 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12628 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12629 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
12630 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
12631 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
12632 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
12633 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
12634 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12635 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12636 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12637 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12638 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
12639 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
12640 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
12641 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
12642 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
12643 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12644 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12645 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12646 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
12647 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
12648 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12649 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12650 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12651 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12652 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
12653 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
12654 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL},
12655 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL},
12656 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12657 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12658 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL},
12659 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL},
12660 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
12661 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
12662 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12663 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12664 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12665 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL},
12666 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
12667 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12668 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12669 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12670 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12671 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
12672 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
12673 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
12674 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL},
12675 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12676 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12677 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12678 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
12679 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12680 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
12681 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12682 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12683 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12684 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12685 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12686 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12687 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12688 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12689 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12690 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
12691 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12692 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12693 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12694 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12695 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12696 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12697 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12698 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12699 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12700 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12701 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12702 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12703 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12704 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12705 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
c32bde28 12706 { NULL, NULL, 0, NULL }
d14a1e28
RD
12707};
12708
12709
12710/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12711
12712static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
12713 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
12714}
12715static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
12716 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
12717}
12718static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
12719 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
12720}
12721static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
12722 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
12723}
823f0cfe
RD
12724static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
12725 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12726}
d14a1e28
RD
12727static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
12728 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12729}
12730static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
12731 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12732}
12733static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
12734 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12735}
12736static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
12737 return (void *)((wxPanel *) ((wxPyPanel *) x));
12738}
12739static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
12740 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
12741}
12742static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
12743 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
12744}
12745static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
12746 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12747}
823f0cfe
RD
12748static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
12749 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12750}
d14a1e28
RD
12751static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
12752 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12753}
12754static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
12755 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
12756}
12757static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
12758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12759}
12760static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
12761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12762}
12763static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
12764 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
12765}
12766static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12767 return (void *)((wxWindow *) ((wxMenuBar *) x));
12768}
12769static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
12770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12771}
12772static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
12773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12774}
12775static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
12776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12777}
d3b6e4ff
RD
12778static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
12779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12780}
d14a1e28
RD
12781static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
12782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12783}
12784static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
12785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12786}
12787static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
12788 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12789}
12790static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
12791 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12792}
12793static void *_p_wxPanelTo_p_wxWindow(void *x) {
12794 return (void *)((wxWindow *) ((wxPanel *) x));
12795}
12796static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
12797 return (void *)((wxWindow *) ((wxStatusBar *) x));
12798}
d14a1e28
RD
12799static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
12800 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
12801}
12802static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
12803 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12804}
12805static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
12806 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12807}
12808static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
12809 return (void *)((wxWindow *) ((wxPopupWindow *) x));
12810}
12811static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
12812 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
12813}
12814static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
12815 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
12816}
12817static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
12818 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
12819}
12820static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
12821 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
12822}
12823static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
12824 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
12825}
12826static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
12827 return (void *)((wxWindow *) ((wxSashWindow *) x));
12828}
d3b6e4ff
RD
12829static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
12830 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
12831}
823f0cfe
RD
12832static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
12833 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12834}
d14a1e28
RD
12835static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
12836 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12837}
12838static void *_p_wxControlTo_p_wxWindow(void *x) {
12839 return (void *)((wxWindow *) ((wxControl *) x));
12840}
12841static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
12842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12843}
12844static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
12845 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12846}
12847static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
12848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12849}
12850static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12851 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
12852}
12853static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
12854 return (void *)((wxWindow *) ((wxPyWindow *) x));
12855}
12856static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
12857 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12858}
12859static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
12860 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12861}
12862static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
12863 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12864}
12865static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
12866 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
12867}
12868static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
12869 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12870}
12871static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
12872 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12873}
12874static void *_p_wxFrameTo_p_wxWindow(void *x) {
12875 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
12876}
12877static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
12878 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12879}
12880static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
12881 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12882}
12883static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
12884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12885}
12886static void *_p_wxDialogTo_p_wxWindow(void *x) {
12887 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
12888}
d14a1e28
RD
12889static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
12890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12891}
12892static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
12893 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
12894}
12895static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
12896 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
12897}
12898static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
12899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
12900}
12901static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
12902 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
12903}
12904static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
12905 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
12906}
12907static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
12908 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
12909}
d14a1e28
RD
12910static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
12911 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
12912}
12913static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
12914 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
12915}
12916static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
12917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
12918}
d14a1e28
RD
12919static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
12920 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
12921}
12922static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
12923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
12924}
d3b6e4ff
RD
12925static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
12926 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12927}
d14a1e28
RD
12928static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
12929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
12930}
12931static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
12932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
12933}
12934static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
12935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
12936}
12937static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
12938 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
12939}
d3b6e4ff
RD
12940static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
12941 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
12942}
d14a1e28
RD
12943static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
12944 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
12945}
12946static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
12947 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
12948}
12949static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
12950 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12951}
12952static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12953 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12954}
12955static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12956 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12957}
12958static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12960}
12961static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12963}
12964static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12965 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12966}
12967static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12968 return (void *)((wxObject *) ((wxSizerItem *) x));
12969}
12970static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12972}
12973static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12974 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12975}
12976static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
12977 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
12978}
12979static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12980 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12981}
12982static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12983 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12984}
12985static void *_p_wxSizerTo_p_wxObject(void *x) {
12986 return (void *)((wxObject *) ((wxSizer *) x));
12987}
12988static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12989 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12990}
12991static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
12992 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
12993}
12994static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12995 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12996}
12997static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12999}
13000static void *_p_wxEventTo_p_wxObject(void *x) {
13001 return (void *)((wxObject *) ((wxEvent *) x));
13002}
13003static void *_p_wxFontDataTo_p_wxObject(void *x) {
13004 return (void *)((wxObject *) ((wxFontData *) x));
13005}
13006static void *_p_wxPrintDataTo_p_wxObject(void *x) {
13007 return (void *)((wxObject *) ((wxPrintData *) x));
13008}
13009static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
13010 return (void *)((wxObject *) ((wxHtmlTag *) x));
13011}
13012static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13013 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13014}
13015static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13016 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13017}
13018static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13019 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13020}
13021static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
13022 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
13023}
84f85550
RD
13024static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
13025 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
13026}
13027static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
13028 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
13029}
13030static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
13031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13032}
13033static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
13034 return (void *)((wxObject *) ((wxHtmlCell *) x));
13035}
13036static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13037 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13038}
13039static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13040 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13041}
13042static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13043 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13044}
13045static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13046 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13047}
13048static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13049 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13050}
13051static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13052 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13053}
13054static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
13055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13056}
13057static void *_p_wxControlTo_p_wxObject(void *x) {
13058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13059}
13060static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13061 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13062}
13063static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
13064 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13065}
13066static void *_p_wxFSFileTo_p_wxObject(void *x) {
13067 return (void *)((wxObject *) ((wxFSFile *) x));
13068}
13069static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
13070 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13071}
13072static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
13073 return (void *)((wxObject *) ((wxFindReplaceData *) x));
13074}
13075static void *_p_wxPySizerTo_p_wxObject(void *x) {
13076 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13077}
13078static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
13079 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
13080}
13081static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
13082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13083}
13084static void *_p_wxColourDataTo_p_wxObject(void *x) {
13085 return (void *)((wxObject *) ((wxColourData *) x));
13086}
13087static void *_p_wxPyEventTo_p_wxObject(void *x) {
13088 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13089}
13090static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13091 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13092}
13093static void *_p_wxPyWindowTo_p_wxObject(void *x) {
13094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
13095}
13096static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
13097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13098}
13099static void *_p_wxFileDialogTo_p_wxObject(void *x) {
13100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13101}
13102static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
13103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13104}
13105static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
13106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13107}
13108static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
13109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13110}
d3b6e4ff
RD
13111static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
13112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13113}
d14a1e28
RD
13114static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
13115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13116}
13117static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
13118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13119}
13120static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
13121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13122}
13123static void *_p_wxShowEventTo_p_wxObject(void *x) {
13124 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13125}
13126static void *_p_wxPrinterTo_p_wxObject(void *x) {
13127 return (void *)((wxObject *) ((wxPrinter *) x));
13128}
13129static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13130 return (void *)((wxObject *) ((wxMenuItem *) x));
13131}
13132static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13133 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13134}
13135static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13136 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13137}
13138static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13139 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13140}
13141static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13142 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13143}
13144static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13145 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13146}
13147static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13148 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13149}
13150static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13151 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13152}
13153static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13154 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13155}
13156static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
13157 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
13158}
13159static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13160 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13161}
13162static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13163 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13164}
13165static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13166 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13167}
13168static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13169 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13170}
13171static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13172 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13173}
13174static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13175 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13176}
13177static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13178 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13179}
13180static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13181 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13182}
13183static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13184 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13185}
13186static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13187 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13188}
13189static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13190 return (void *)((wxObject *) ((wxImageHandler *) x));
13191}
13192static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13193 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13194}
13195static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13196 return (void *)((wxObject *) ((wxEvtHandler *) x));
13197}
13198static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
13199 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
13200}
13201static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
13202 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
13203}
13204static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
13205 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13206}
13207static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
13208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13209}
13210static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
13211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13212}
51b83b37
RD
13213static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
13214 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13215}
d14a1e28
RD
13216static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13217 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13218}
13219static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
13220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13221}
13222static void *_p_wxImageTo_p_wxObject(void *x) {
13223 return (void *)((wxObject *) ((wxImage *) x));
13224}
13225static void *_p_wxFrameTo_p_wxObject(void *x) {
13226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13227}
13228static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
13229 return (void *)((wxObject *) ((wxPyPrintout *) x));
13230}
13231static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
13232 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
13233}
13234static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13235 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13236}
13237static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
13238 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
13239}
13240static void *_p_wxStatusBarTo_p_wxObject(void *x) {
13241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
13242}
13243static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
13244 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
13245}
13246static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
13247 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
13248}
13249static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
13250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13251}
13252static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13253 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13254}
13255static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13256 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13257}
13258static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13259 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13260}
d14a1e28
RD
13261static void *_p_wxWindowTo_p_wxObject(void *x) {
13262 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13263}
13264static void *_p_wxMenuTo_p_wxObject(void *x) {
13265 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13266}
13267static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13269}
0df68c9f
RD
13270static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
13271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13272}
d14a1e28
RD
13273static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
13274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
13275}
13276static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
13277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
13278}
13279static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
13280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
13281}
13282static void *_p_wxSashWindowTo_p_wxObject(void *x) {
13283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
13284}
13285static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
13286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13287}
13288static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
13289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
13290}
13291static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
13292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13293}
13294static void *_p_wxTipWindowTo_p_wxObject(void *x) {
13295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13296}
13297static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
13298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13299}
13300static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
13301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
13302}
823f0cfe
RD
13303static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
13304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13305}
d14a1e28
RD
13306static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
13307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13308}
13309static void *_p_wxSashEventTo_p_wxObject(void *x) {
13310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
13311}
13312static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
13313 return (void *)((wxObject *) ((wxPrintPreview *) x));
13314}
13315static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
13316 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
13317}
13318static void *_p_wxPanelTo_p_wxObject(void *x) {
13319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
13320}
13321static void *_p_wxDialogTo_p_wxObject(void *x) {
13322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13323}
13324static void *_p_wxColourDialogTo_p_wxObject(void *x) {
13325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13326}
13327static void *_p_wxDirDialogTo_p_wxObject(void *x) {
13328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13329}
13330static void *_p_wxFontDialogTo_p_wxObject(void *x) {
13331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13332}
13333static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 13334 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
13335}
13336static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
8fb0e70a 13337 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
13338}
13339static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
13340 return (void *)((wxObject *) ((wxHtmlParser *) x));
13341}
13342static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
13343 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
13344}
13345static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13346 return (void *)((wxObject *) ((wxFileSystem *) x));
13347}
13348static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13349 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13350}
13351static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13352 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13353}
13354static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
13355 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
13356}
13357static void *_p_wxPyAppTo_p_wxObject(void *x) {
13358 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13359}
13360static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13361 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13362}
13363static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13364 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13365}
13366static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13367 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13368}
13369static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13371}
13372static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13373 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13374}
13375static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13377}
13378static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13380}
13381static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
13382 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
13383}
13384static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13385 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13386}
13387static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13388 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13389}
13390static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13392}
13393static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
8fb0e70a 13394 return (void *)((wxObject *) ((wxHtmlHelpController *) x));
d14a1e28
RD
13395}
13396static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13398}
13399static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13400 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13401}
13402static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13403 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13404}
13405static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13406 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13407}
13408static void *_p_wxValidatorTo_p_wxObject(void *x) {
13409 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13410}
13411static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
13412 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13413}
13414static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13415 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13416}
13417static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13418 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13419}
13420static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
13421 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
13422}
13423static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13424 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13425}
13426static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13427 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13428}
13429static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13430 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13431}
13432static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13433 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13434}
d3b6e4ff
RD
13435static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13436 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13437}
d14a1e28
RD
13438static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13439 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13440}
13441static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13442 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13443}
13444static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13445 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13446}
13447static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13449}
13450static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13452}
13453static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13454 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13455}
13456static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13457 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13458}
13459static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13460 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13461}
13462static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13463 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13464}
13465static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13466 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13467}
13468static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13469 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13470}
13471static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13472 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13473}
13474static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13475 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13476}
13477static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13478 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13479}
13480static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13481 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13482}
13483static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13484 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13485}
13486static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13487 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13488}
13489static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13490 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13491}
13492static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13493 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13494}
13495static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13497}
13498static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13499 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13500}
823f0cfe
RD
13501static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13502 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13503}
d14a1e28
RD
13504static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
13505 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13506}
13507static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13508 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13509}
13510static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
13511 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13512}
13513static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
13514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13515}
13516static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13517 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13518}
13519static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13520 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13521}
13522static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13523 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13524}
13525static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13526 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13527}
13528static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13529 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13530}
d14a1e28
RD
13531static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13532 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13533}
13534static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13535 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13536}
13537static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13538 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13539}
13540static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13541 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13542}
84f85550
RD
13543static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
13544 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
13545}
13546static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
13547 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13548}
13549static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13550 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13551}
d14a1e28
RD
13552static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13553 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13554}
13555static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13556 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13557}
13558static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13559 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13560}
d3b6e4ff
RD
13561static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13563}
d14a1e28
RD
13564static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13566}
13567static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
13568 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
13569}
13570static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
13571 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
13572}
13573static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
13574 return (void *)((wxFrame *) ((wxProgressDialog *) x));
13575}
13576static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
13577 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
13578}
13579static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
13580 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13581}
13582static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
13583 return (void *)((wxFrame *) ((wxMiniFrame *) x));
13584}
13585static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
13586 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
13587}
13588static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
13589 return (void *)((wxFrame *) ((wxSplashScreen *) x));
13590}
13591static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
13592 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
13593}
13594static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
13595 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
13596}
13597static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
13598 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13599}
13600static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
13601 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
13602}
13603static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
13604 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
13605}
13606static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
13607 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
13608}
15afbcd0
RD
13609static 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}};
13610static 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}};
13611static 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}};
13612static 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 13613static 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
13614static 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}};
13615static 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
13616static 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}};
13617static 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 13618static 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 13619static 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
13620static 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}};
13621static 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}};
13622static 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}};
13623static 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 13624static 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 13625static 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 13626static 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
13627static 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}};
13628static 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 13629static 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 13630static 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
13631static 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}};
13632static 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}};
13633static 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}};
13634static 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}};
13635static 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}};
51b83b37 13636static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}};
093d3ff1 13637static 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 13638static 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
13639static 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}};
13640static 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
13641static 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}};
13642static 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 13643static 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 13644static 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
13645static 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}};
13646static 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}};
13647static 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}};
13648static 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}};
13649static 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 13650static 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
13651static 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}};
13652static 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}};
13653static 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
13654static 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}};
13655static 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
13656static 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}};
13657static 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}};
13658static 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}};
13659static 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 13660static 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 13661static 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
13662static 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}};
13663static 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}};
13664static 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}};
13665static 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}};
13666static 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 13667static 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 13668static 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 13669static 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 13670static 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
13671
13672static swig_type_info *swig_types_initial[] = {
13673_swigt__p_wxHtmlDCRenderer,
13674_swigt__p_wxColour,
13675_swigt__p_wxPageSetupDialogData,
13676_swigt__p_wxDC,
093d3ff1 13677_swigt__p_form_ops_t,
d14a1e28
RD
13678_swigt__p_wxHtmlRenderingStyle,
13679_swigt__p_wxMouseEvent,
093d3ff1
RD
13680_swigt__p_wxDuplexMode,
13681_swigt__p_wxDefaultHtmlRenderingStyle,
d14a1e28 13682_swigt__p_wxHtmlWordCell,
22bfe96c 13683_swigt__p_wxVisualAttributes,
d14a1e28 13684_swigt__p_wxHtmlHelpData,
994141e6 13685_swigt__p_char,
d14a1e28
RD
13686_swigt__p_wxHtmlWinParser,
13687_swigt__p_wxHtmlParser,
13688_swigt__p_wxPanel,
d14a1e28
RD
13689_swigt__p_wxPyHtmlWindow,
13690_swigt__p_wxScrolledWindow,
13691_swigt__p_wxWindow,
13692_swigt__p_wxTopLevelWindow,
093d3ff1 13693_swigt__p_wxFont,
c32bde28 13694_swigt__p_wxHtmlColourCell,
994141e6 13695_swigt__p_wxHtmlFontCell,
d14a1e28
RD
13696_swigt__p_wxHtmlEasyPrinting,
13697_swigt__p_wxHtmlSelection,
13698_swigt__p_wxHtmlRenderingInfo,
13699_swigt__p_wxHtmlWidgetCell,
13700_swigt__p_wxObject,
093d3ff1 13701_swigt__p_wxPaperSize,
d14a1e28 13702_swigt__p_wxString,
093d3ff1
RD
13703_swigt__p_unsigned_int,
13704_swigt__unsigned_int,
d14a1e28
RD
13705_swigt__p_wxHtmlTagHandler,
13706_swigt__p_wxPyHtmlTagHandler,
13707_swigt__p_wxEvtHandler,
093d3ff1 13708_swigt__p_wxPyHtmlWinTagHandler,
d14a1e28
RD
13709_swigt__p_wxPoint,
13710_swigt__p_wxHtmlHelpController,
13711_swigt__p_wxCursor,
13712_swigt__p_wxFileSystem,
13713_swigt__p_wxHtmlBookRecArray,
093d3ff1 13714_swigt__p_unsigned_char,
d14a1e28
RD
13715_swigt__p_wxPyPrintout,
13716_swigt__p_wxHtmlPrintout,
13717_swigt__p_wxHtmlSearchStatus,
093d3ff1
RD
13718_swigt__std__ptrdiff_t,
13719_swigt__ptrdiff_t,
d14a1e28
RD
13720_swigt__p_wxHtmlContentsItem,
13721_swigt__p_wxConfigBase,
13722_swigt__p_wxPrintData,
13723_swigt__p_wxHtmlHelpFrame,
d14a1e28 13724_swigt__p_wxFrame,
093d3ff1 13725_swigt__p_wxHtmlRenderingState,
d14a1e28
RD
13726_swigt__p_wxPyHtmlFilter,
13727_swigt__p_wxHtmlFilter,
13728_swigt__p_wxHtmlCell,
13729_swigt__p_wxHtmlContainerCell,
13730_swigt__p_wxHtmlTag,
d14a1e28 13731_swigt__p_int,
c32bde28 13732_swigt__p_wxHtmlLinkInfo,
093d3ff1 13733_swigt__p_unsigned_long,
d14a1e28
RD
13734_swigt__p_wxHtmlBookRecord,
137350
13736};
13737
13738
13739/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13740
13741static swig_const_info swig_const_table[] = {
c32bde28 13742{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
13743
13744#ifdef __cplusplus
13745}
13746#endif
13747
093d3ff1
RD
13748
13749#ifdef __cplusplus
13750extern "C" {
13751#endif
13752
13753 /* Python-specific SWIG API */
13754#define SWIG_newvarlink() SWIG_Python_newvarlink()
13755#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13756#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13757
13758 /* -----------------------------------------------------------------------------
13759 * global variable support code.
13760 * ----------------------------------------------------------------------------- */
13761
13762 typedef struct swig_globalvar {
13763 char *name; /* Name of global variable */
13764 PyObject *(*get_attr)(); /* Return the current value */
13765 int (*set_attr)(PyObject *); /* Set the value */
13766 struct swig_globalvar *next;
13767 } swig_globalvar;
13768
13769 typedef struct swig_varlinkobject {
13770 PyObject_HEAD
13771 swig_globalvar *vars;
13772 } swig_varlinkobject;
13773
13774 static PyObject *
13775 swig_varlink_repr(swig_varlinkobject *v) {
13776 v = v;
13777 return PyString_FromString("<Swig global variables>");
13778 }
13779
13780 static int
13781 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
13782 swig_globalvar *var;
13783 flags = flags;
13784 fprintf(fp,"Swig global variables { ");
13785 for (var = v->vars; var; var=var->next) {
13786 fprintf(fp,"%s", var->name);
13787 if (var->next) fprintf(fp,", ");
13788 }
13789 fprintf(fp," }\n");
13790 return 0;
13791 }
13792
13793 static PyObject *
13794 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13795 swig_globalvar *var = v->vars;
13796 while (var) {
13797 if (strcmp(var->name,n) == 0) {
13798 return (*var->get_attr)();
13799 }
13800 var = var->next;
13801 }
13802 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13803 return NULL;
13804 }
13805
13806 static int
13807 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13808 swig_globalvar *var = v->vars;
13809 while (var) {
13810 if (strcmp(var->name,n) == 0) {
13811 return (*var->set_attr)(p);
13812 }
13813 var = var->next;
13814 }
13815 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13816 return 1;
13817 }
13818
13819 static PyTypeObject varlinktype = {
13820 PyObject_HEAD_INIT(0)
13821 0, /* Number of items in variable part (ob_size) */
13822 (char *)"swigvarlink", /* Type name (tp_name) */
13823 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13824 0, /* Itemsize (tp_itemsize) */
13825 0, /* Deallocator (tp_dealloc) */
13826 (printfunc) swig_varlink_print, /* Print (tp_print) */
13827 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13828 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13829 0, /* tp_compare */
13830 (reprfunc) swig_varlink_repr, /* tp_repr */
13831 0, /* tp_as_number */
13832 0, /* tp_as_sequence */
13833 0, /* tp_as_mapping */
13834 0, /* tp_hash */
13835 0, /* tp_call */
13836 0, /* tp_str */
13837 0, /* tp_getattro */
13838 0, /* tp_setattro */
13839 0, /* tp_as_buffer */
13840 0, /* tp_flags */
13841 0, /* tp_doc */
13842#if PY_VERSION_HEX >= 0x02000000
13843 0, /* tp_traverse */
13844 0, /* tp_clear */
13845#endif
13846#if PY_VERSION_HEX >= 0x02010000
13847 0, /* tp_richcompare */
13848 0, /* tp_weaklistoffset */
13849#endif
13850#if PY_VERSION_HEX >= 0x02020000
13851 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13852#endif
13853#if PY_VERSION_HEX >= 0x02030000
13854 0, /* tp_del */
13855#endif
13856#ifdef COUNT_ALLOCS
13857 0,0,0,0 /* tp_alloc -> tp_next */
13858#endif
13859 };
13860
13861 /* Create a variable linking object for use later */
13862 static PyObject *
13863 SWIG_Python_newvarlink(void) {
13864 swig_varlinkobject *result = 0;
13865 result = PyMem_NEW(swig_varlinkobject,1);
13866 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
13867 result->ob_type = &varlinktype;
13868 result->vars = 0;
13869 result->ob_refcnt = 0;
13870 Py_XINCREF((PyObject *) result);
13871 return ((PyObject*) result);
13872 }
13873
13874 static void
13875 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13876 swig_varlinkobject *v;
13877 swig_globalvar *gv;
13878 v= (swig_varlinkobject *) p;
13879 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13880 gv->name = (char *) malloc(strlen(name)+1);
13881 strcpy(gv->name,name);
13882 gv->get_attr = get_attr;
13883 gv->set_attr = set_attr;
13884 gv->next = v->vars;
13885 v->vars = gv;
13886 }
13887
13888 /* -----------------------------------------------------------------------------
13889 * constants/methods manipulation
13890 * ----------------------------------------------------------------------------- */
13891
13892 /* Install Constants */
13893 static void
13894 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13895 PyObject *obj = 0;
13896 size_t i;
13897 for (i = 0; constants[i].type; i++) {
13898 switch(constants[i].type) {
13899 case SWIG_PY_INT:
13900 obj = PyInt_FromLong(constants[i].lvalue);
13901 break;
13902 case SWIG_PY_FLOAT:
13903 obj = PyFloat_FromDouble(constants[i].dvalue);
13904 break;
13905 case SWIG_PY_STRING:
13906 if (constants[i].pvalue) {
13907 obj = PyString_FromString((char *) constants[i].pvalue);
13908 } else {
13909 Py_INCREF(Py_None);
13910 obj = Py_None;
13911 }
13912 break;
13913 case SWIG_PY_POINTER:
13914 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13915 break;
13916 case SWIG_PY_BINARY:
13917 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13918 break;
13919 default:
13920 obj = 0;
13921 break;
13922 }
13923 if (obj) {
13924 PyDict_SetItemString(d,constants[i].name,obj);
13925 Py_DECREF(obj);
13926 }
13927 }
13928 }
13929
13930 /* -----------------------------------------------------------------------------*/
13931 /* Fix SwigMethods to carry the callback ptrs when needed */
13932 /* -----------------------------------------------------------------------------*/
13933
13934 static void
13935 SWIG_Python_FixMethods(PyMethodDef *methods,
13936 swig_const_info *const_table,
13937 swig_type_info **types,
13938 swig_type_info **types_initial) {
13939 size_t i;
13940 for (i = 0; methods[i].ml_name; ++i) {
13941 char *c = methods[i].ml_doc;
13942 if (c && (c = strstr(c, "swig_ptr: "))) {
13943 int j;
13944 swig_const_info *ci = 0;
13945 char *name = c + 10;
13946 for (j = 0; const_table[j].type; j++) {
13947 if (strncmp(const_table[j].name, name,
13948 strlen(const_table[j].name)) == 0) {
13949 ci = &(const_table[j]);
13950 break;
13951 }
13952 }
13953 if (ci) {
13954 size_t shift = (ci->ptype) - types;
13955 swig_type_info *ty = types_initial[shift];
13956 size_t ldoc = (c - methods[i].ml_doc);
13957 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13958 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13959 char *buff = ndoc;
13960 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
13961 strncpy(buff, methods[i].ml_doc, ldoc);
13962 buff += ldoc;
13963 strncpy(buff, "swig_ptr: ", 10);
13964 buff += 10;
13965 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13966 methods[i].ml_doc = ndoc;
13967 }
13968 }
13969 }
13970 }
13971
13972 /* -----------------------------------------------------------------------------*
13973 * Initialize type list
13974 * -----------------------------------------------------------------------------*/
13975
13976#if PY_MAJOR_VERSION < 2
13977 /* PyModule_AddObject function was introduced in Python 2.0. The following function
13978 is copied out of Python/modsupport.c in python version 2.3.4 */
13979 static int
13980 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
13981 {
13982 PyObject *dict;
13983 if (!PyModule_Check(m)) {
13984 PyErr_SetString(PyExc_TypeError,
13985 "PyModule_AddObject() needs module as first arg");
13986 return -1;
13987 }
13988 if (!o) {
13989 PyErr_SetString(PyExc_TypeError,
13990 "PyModule_AddObject() needs non-NULL value");
13991 return -1;
13992 }
13993
13994 dict = PyModule_GetDict(m);
13995 if (dict == NULL) {
13996 /* Internal error -- modules must have a dict! */
13997 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
13998 PyModule_GetName(m));
13999 return -1;
14000 }
14001 if (PyDict_SetItemString(dict, name, o))
14002 return -1;
14003 Py_DECREF(o);
14004 return 0;
14005 }
14006#endif
14007
14008 static swig_type_info **
14009 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
14010 static PyMethodDef swig_empty_runtime_method_table[] = {
14011 {
14012 NULL, NULL, 0, NULL
14013 }
14014 };/* Sentinel */
14015
14016 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
14017 swig_empty_runtime_method_table);
14018 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
14019 if (pointer && module) {
14020 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
14021 }
14022 return type_list_handle;
14023 }
14024
14025 static swig_type_info **
14026 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
14027 swig_type_info **type_pointer;
14028
14029 /* first check if module already created */
14030 type_pointer = SWIG_Python_GetTypeListHandle();
14031 if (type_pointer) {
14032 return type_pointer;
14033 } else {
14034 /* create a new module and variable */
14035 return SWIG_Python_SetTypeListHandle(type_list_handle);
14036 }
14037 }
14038
14039#ifdef __cplusplus
14040}
14041#endif
14042
14043/* -----------------------------------------------------------------------------*
14044 * Partial Init method
14045 * -----------------------------------------------------------------------------*/
14046
14047#ifdef SWIG_LINK_RUNTIME
14048#ifdef __cplusplus
14049extern "C"
14050#endif
14051SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14052#endif
14053
d14a1e28
RD
14054#ifdef __cplusplus
14055extern "C"
14056#endif
14057SWIGEXPORT(void) SWIG_init(void) {
14058 static PyObject *SWIG_globals = 0;
14059 static int typeinit = 0;
14060 PyObject *m, *d;
14061 int i;
14062 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
14063
14064 /* Fix SwigMethods to carry the callback ptrs when needed */
14065 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
14066
d14a1e28
RD
14067 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14068 d = PyModule_GetDict(m);
14069
14070 if (!typeinit) {
093d3ff1
RD
14071#ifdef SWIG_LINK_RUNTIME
14072 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
14073#else
14074# ifndef SWIG_STATIC_RUNTIME
14075 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
14076# endif
14077#endif
d14a1e28
RD
14078 for (i = 0; swig_types_initial[i]; i++) {
14079 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
14080 }
14081 typeinit = 1;
14082 }
14083 SWIG_InstallConstants(d,swig_const_table);
14084
b2dc1044
RD
14085 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
14086 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
14087 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
14088 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
093d3ff1
RD
14089 {
14090 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT)));
14091 }
14092 {
14093 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER)));
14094 }
14095 {
14096 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT)));
14097 }
14098 {
14099 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM)));
14100 }
14101 {
14102 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP)));
14103 }
14104 {
14105 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND)));
14106 }
14107 {
14108 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND)));
14109 }
14110 {
14111 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS)));
14112 }
14113 {
14114 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT)));
14115 }
14116 {
14117 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT)));
14118 }
14119 {
14120 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT)));
14121 }
14122 {
14123 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP)));
14124 }
14125 {
14126 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM)));
14127 }
14128 {
14129 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL)));
14130 }
14131 {
14132 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL)));
14133 }
14134 {
14135 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL)));
14136 }
14137 {
14138 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR)));
14139 }
14140 {
14141 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP)));
14142 }
14143 {
14144 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER)));
14145 }
14146 {
14147 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1)));
14148 }
14149 {
14150 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2)));
14151 }
14152 {
14153 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3)));
14154 }
14155 {
14156 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4)));
14157 }
14158 {
14159 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5)));
14160 }
14161 {
14162 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6)));
14163 }
14164 {
14165 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7)));
14166 }
14167 {
14168 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER)));
14169 }
14170 {
14171 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO)));
14172 }
14173 {
14174 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION)));
14175 }
14176 {
14177 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE)));
14178 }
14179 {
14180 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN)));
14181 }
14182 {
14183 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK)));
14184 }
14185 {
14186 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT)));
14187 }
14188 {
14189 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE)));
14190 }
14191 {
14192 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE)));
14193 }
14194 {
14195 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER)));
14196 }
14197 {
14198 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT)));
14199 }
14200 {
14201 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN)));
14202 }
14203 {
14204 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING)));
14205 }
14206 {
14207 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT)));
14208 }
14209 {
14210 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE)));
14211 }
14212 {
14213 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER)));
14214 }
14215 {
14216 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD)));
14217 }
14218 {
14219 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN)));
14220 }
14221 {
14222 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL)));
14223 }
14224 {
14225 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR)));
14226 }
14227 {
14228 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR)));
14229 }
14230 {
14231 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS)));
14232 }
14233 {
14234 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX)));
14235 }
14236 {
14237 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH)));
14238 }
14239 {
14240 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS)));
14241 }
14242 {
14243 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES)));
14244 }
14245 {
14246 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT)));
14247 }
14248 {
14249 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE)));
14250 }
d14a1e28
RD
14251
14252 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14253 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14254 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14255 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
14256
14257}
14258