]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/html_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / 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
9fd4be55 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 {
f0983263 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
f0983263 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)
83448d71 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 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
1210
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
8edf1c75 1334
8edf1c75 1335#ifdef __cplusplus
093d3ff1
RD
1336}
1337#endif
8edf1c75 1338
2f4c0a16 1339
093d3ff1 1340/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1341
093d3ff1
RD
1342#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1343#define SWIGTYPE_p_wxColour swig_types[1]
1344#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1345#define SWIGTYPE_p_wxDC swig_types[3]
1346#define SWIGTYPE_p_form_ops_t swig_types[4]
1347#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1348#define SWIGTYPE_p_wxMouseEvent swig_types[6]
1349#define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1351#define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1352#define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1353#define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1354#define SWIGTYPE_p_char swig_types[12]
1355#define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1356#define SWIGTYPE_p_wxHtmlParser swig_types[14]
1357#define SWIGTYPE_p_wxPanel swig_types[15]
1358#define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1359#define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1360#define SWIGTYPE_p_wxWindow swig_types[18]
1361#define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1362#define SWIGTYPE_p_wxFont swig_types[20]
1363#define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1364#define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1365#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1366#define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1367#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1368#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1369#define SWIGTYPE_p_wxObject swig_types[27]
53aa7709
RD
1370#define SWIGTYPE_p_wxBitmap swig_types[28]
1371#define SWIGTYPE_p_wxPaperSize swig_types[29]
1372#define SWIGTYPE_p_wxString swig_types[30]
1373#define SWIGTYPE_p_unsigned_int swig_types[31]
1374#define SWIGTYPE_unsigned_int swig_types[32]
1375#define SWIGTYPE_p_wxHtmlTagHandler swig_types[33]
1376#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34]
1377#define SWIGTYPE_p_wxEvtHandler swig_types[35]
1378#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36]
1379#define SWIGTYPE_p_wxPoint swig_types[37]
1380#define SWIGTYPE_p_wxHtmlHelpController swig_types[38]
1381#define SWIGTYPE_p_wxCursor swig_types[39]
1382#define SWIGTYPE_p_wxFileSystem swig_types[40]
1383#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41]
1384#define SWIGTYPE_p_unsigned_char swig_types[42]
1385#define SWIGTYPE_p_wxPyPrintout swig_types[43]
1386#define SWIGTYPE_p_wxHtmlPrintout swig_types[44]
1387#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45]
1388#define SWIGTYPE_std__ptrdiff_t swig_types[46]
1389#define SWIGTYPE_ptrdiff_t swig_types[47]
1390#define SWIGTYPE_p_wxHtmlContentsItem swig_types[48]
1391#define SWIGTYPE_p_wxConfigBase swig_types[49]
1392#define SWIGTYPE_p_wxPrintData swig_types[50]
1393#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[51]
1394#define SWIGTYPE_p_wxFrame swig_types[52]
1395#define SWIGTYPE_p_wxHtmlRenderingState swig_types[53]
1396#define SWIGTYPE_p_wxPyHtmlFilter swig_types[54]
1397#define SWIGTYPE_p_wxHtmlFilter swig_types[55]
1398#define SWIGTYPE_p_wxHtmlCell swig_types[56]
1399#define SWIGTYPE_p_wxHtmlContainerCell swig_types[57]
1400#define SWIGTYPE_p_wxHtmlTag swig_types[58]
1401#define SWIGTYPE_p_int swig_types[59]
1402#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[60]
1403#define SWIGTYPE_p_unsigned_long swig_types[61]
1404#define SWIGTYPE_p_wxHtmlBookRecord swig_types[62]
1405static swig_type_info *swig_types[64];
8edf1c75 1406
093d3ff1 1407/* -------- TYPES TABLE (END) -------- */
8edf1c75 1408
8edf1c75 1409
093d3ff1
RD
1410/*-----------------------------------------------
1411 @(target):= _html.so
1412 ------------------------------------------------*/
1413#define SWIG_init init_html
1414
1415#define SWIG_name "_html"
8edf1c75 1416
d14a1e28
RD
1417#include "wx/wxPython/wxPython.h"
1418#include "wx/wxPython/pyclasses.h"
1419#include "wx/wxPython/pyistream.h"
1420#include "wx/wxPython/printfw.h"
1421
1422#include <wx/html/htmlwin.h>
1423#include <wx/html/htmprint.h>
1424#include <wx/html/helpctrl.h>
1425
1426
d03fd34d
RD
1427 static const wxString wxPyEmptyString(wxEmptyString);
1428 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1429 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1430 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 1431
093d3ff1
RD
1432 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1433#define SWIG_From_int PyInt_FromLong
1434/*@@*/
1435
1436
2f4c0a16
RD
1437#include <limits.h>
1438
1439
093d3ff1 1440SWIGINTERN int
c32bde28
RD
1441 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1442 const char *errmsg)
2f4c0a16 1443{
c32bde28
RD
1444 if (value < min_value) {
1445 if (errmsg) {
1446 PyErr_Format(PyExc_OverflowError,
1447 "value %ld is less than '%s' minimum %ld",
1448 value, errmsg, min_value);
1449 }
1450 return 0;
1451 } else if (value > max_value) {
1452 if (errmsg) {
1453 PyErr_Format(PyExc_OverflowError,
1454 "value %ld is greater than '%s' maximum %ld",
1455 value, errmsg, max_value);
2f4c0a16 1456 }
c32bde28 1457 return 0;
2f4c0a16 1458 }
c32bde28 1459 return 1;
2f4c0a16
RD
1460}
1461
1462
093d3ff1 1463SWIGINTERN int
c32bde28 1464SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1465{
c32bde28
RD
1466 if (PyNumber_Check(obj)) {
1467 if (val) *val = PyInt_AsLong(obj);
1468 return 1;
1469 }
69223c70 1470 else {
093d3ff1 1471 SWIG_type_error("number", obj);
69223c70 1472 }
c32bde28 1473 return 0;
2f4c0a16
RD
1474}
1475
1476
1477#if INT_MAX != LONG_MAX
093d3ff1 1478SWIGINTERN int
c32bde28 1479 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1480{
093d3ff1 1481 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1482 long v;
1483 if (SWIG_AsVal_long(obj, &v)) {
1484 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
093d3ff1 1485 if (val) *val = (int)(v);
c32bde28
RD
1486 return 1;
1487 } else {
1488 return 0;
1489 }
1490 } else {
1491 PyErr_Clear();
1492 }
1493 if (val) {
093d3ff1 1494 SWIG_type_error(errmsg, obj);
c32bde28
RD
1495 }
1496 return 0;
2f4c0a16
RD
1497}
1498#else
093d3ff1 1499SWIGINTERNSHORT int
c32bde28
RD
1500 SWIG_AsVal_int(PyObject *obj, int *val)
1501{
1502 return SWIG_AsVal_long(obj,(long*)val);
1503}
2f4c0a16
RD
1504#endif
1505
1506
093d3ff1 1507SWIGINTERNSHORT int
c32bde28 1508SWIG_As_int(PyObject* obj)
2f4c0a16 1509{
c32bde28
RD
1510 int v;
1511 if (!SWIG_AsVal_int(obj, &v)) {
1512 /*
093d3ff1 1513 this is needed to make valgrind/purify happier.
c32bde28
RD
1514 */
1515 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1516 }
c32bde28
RD
1517 return v;
1518}
1519
1520
093d3ff1 1521SWIGINTERNSHORT int
c32bde28
RD
1522SWIG_Check_int(PyObject* obj)
1523{
1524 return SWIG_AsVal_int(obj, (int*)0);
8edf1c75
RD
1525}
1526
093d3ff1 1527static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1528 int* temp = NULL;
1529 if (sizes) temp = int_LIST_helper(sizes);
1530 self->SetFonts(normal_face, fixed_face, temp);
1531 if (temp)
1532 delete [] temp;
1533 }
1534
1535class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1536 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
1537public:
1538 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1539
1540 wxHtmlParser* GetParser() { return m_Parser; }
1541 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1542
1543 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1544 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1545
1546 PYPRIVATE;
1547};
1548
1549IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1550
1551IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1552IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1553
1554
1555class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1556 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
1557public:
1558 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1559
1560 wxHtmlWinParser* GetParser() { return m_WParser; }
1561 void ParseInner(const wxHtmlTag& tag)
1562 { wxHtmlWinTagHandler::ParseInner(tag); }
1563
1564 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1565 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1566
1567 PYPRIVATE;
1568};
1569
1570IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1571
1572IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1573IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1574
1575
1576
1577class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1578public:
1579 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1580 m_tagHandlerClass = thc;
1581 Py_INCREF(m_tagHandlerClass);
1582 RegisterModule(this);
1583 wxHtmlWinParser::AddModule(this);
1584 }
1585
1586 void OnExit() {
5a446332 1587 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1588 Py_DECREF(m_tagHandlerClass);
1589 m_tagHandlerClass = NULL;
1590 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1591 PyObject* obj = (PyObject*)m_objArray.Item(x);
1592 Py_DECREF(obj);
1593 }
4f89f6a3 1594 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1595 };
1596
1597 void FillHandlersTable(wxHtmlWinParser *parser) {
1598 // Wave our magic wand... (if it works it's a miracle! ;-)
1599
1600 // First, make a new instance of the tag handler
5a446332 1601 wxPyBlock_t blocked = wxPyBeginBlockThreads();
fb757066
RD
1602 PyObject* arg = PyTuple_New(0);
1603 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1604 Py_DECREF(arg);
fb757066 1605
d14a1e28
RD
1606 // now figure out where it's C++ object is...
1607 wxPyHtmlWinTagHandler* thPtr;
fb757066 1608 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 1609 wxPyEndBlockThreads(blocked);
d14a1e28 1610 return;
fb757066 1611 }
4f89f6a3 1612 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1613
1614 // add it,
1615 parser->AddTagHandler(thPtr);
1616
1617 // and track it.
1618 m_objArray.Add(obj);
1619 }
1620
1621private:
1622 PyObject* m_tagHandlerClass;
1623 wxArrayPtrVoid m_objArray;
1624
1625};
1626
1627
1628 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1629 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1630 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1631 new wxPyHtmlTagsModule(tagHandlerClass);
1632 }
1633
1634
093d3ff1
RD
1635SWIGINTERNSHORT PyObject*
1636 SWIG_From_bool(bool value)
1637{
1638 PyObject *obj = value ? Py_True : Py_False;
1639 Py_INCREF(obj);
1640 return obj;
1641}
1642
1643
c32bde28 1644 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1645 PyObject* o2;
1646 PyObject* o3;
c32bde28 1647
d14a1e28
RD
1648 if (!target) {
1649 target = o;
1650 } else if (target == Py_None) {
1651 Py_DECREF(Py_None);
1652 target = o;
7e63a440
RD
1653 } else {
1654 if (!PyTuple_Check(target)) {
1655 o2 = target;
1656 target = PyTuple_New(1);
1657 PyTuple_SetItem(target, 0, o2);
1658 }
d14a1e28
RD
1659 o3 = PyTuple_New(1);
1660 PyTuple_SetItem(o3, 0, o);
1661
1662 o2 = target;
1663 target = PySequence_Concat(o2, o3);
1664 Py_DECREF(o2);
1665 Py_DECREF(o3);
1666 }
1667 return target;
7e63a440 1668 }
d14a1e28 1669
8edf1c75 1670
8edf1c75 1671
093d3ff1 1672SWIGINTERN int
c32bde28 1673 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 1674{
c32bde28
RD
1675 if (obj == Py_True) {
1676 if (val) *val = true;
1677 return 1;
1678 }
1679 if (obj == Py_False) {
1680 if (val) *val = false;
1681 return 1;
1682 }
1683 int res = 0;
1684 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1685 if (val) *val = res ? true : false;
2f4c0a16 1686 return 1;
093d3ff1
RD
1687 } else {
1688 PyErr_Clear();
1689 }
c32bde28 1690 if (val) {
093d3ff1 1691 SWIG_type_error("bool", obj);
c32bde28
RD
1692 }
1693 return 0;
2f4c0a16
RD
1694}
1695
1696
093d3ff1 1697SWIGINTERNSHORT bool
c32bde28 1698SWIG_As_bool(PyObject* obj)
2f4c0a16 1699{
c32bde28
RD
1700 bool v;
1701 if (!SWIG_AsVal_bool(obj, &v)) {
1702 /*
093d3ff1 1703 this is needed to make valgrind/purify happier.
c32bde28
RD
1704 */
1705 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1706 }
c32bde28
RD
1707 return v;
1708}
1709
1710
093d3ff1 1711SWIGINTERNSHORT int
c32bde28
RD
1712SWIG_Check_bool(PyObject* obj)
1713{
1714 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
1715}
1716
1717
093d3ff1 1718SWIGINTERNSHORT int
c32bde28
RD
1719 SWIG_CheckUnsignedLongInRange(unsigned long value,
1720 unsigned long max_value,
1721 const char *errmsg)
2f4c0a16 1722{
c32bde28
RD
1723 if (value > max_value) {
1724 if (errmsg) {
1725 PyErr_Format(PyExc_OverflowError,
093d3ff1 1726 "value %lu is greater than '%s' minimum %lu",
c32bde28 1727 value, errmsg, max_value);
2f4c0a16 1728 }
c32bde28 1729 return 0;
2f4c0a16 1730 }
c32bde28
RD
1731 return 1;
1732 }
1733
1734
093d3ff1 1735SWIGINTERN int
c32bde28
RD
1736SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1737{
1738 long v = 0;
1739 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1740 SWIG_type_error("unsigned number", obj);
c32bde28
RD
1741 }
1742 else if (val)
1743 *val = (unsigned long)v;
1744 return 1;
2f4c0a16
RD
1745}
1746
1747
1748#if UINT_MAX != ULONG_MAX
093d3ff1 1749SWIGINTERN int
c32bde28 1750 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1751{
093d3ff1 1752 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
1753 unsigned long v;
1754 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1755 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 1756 if (val) *val = (unsigned int)(v);
c32bde28
RD
1757 return 1;
1758 }
1759 } else {
1760 PyErr_Clear();
1761 }
1762 if (val) {
093d3ff1 1763 SWIG_type_error(errmsg, obj);
c32bde28
RD
1764 }
1765 return 0;
8edf1c75 1766}
2f4c0a16 1767#else
093d3ff1 1768SWIGINTERNSHORT unsigned int
c32bde28
RD
1769 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1770{
1771 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1772}
2f4c0a16 1773#endif
8edf1c75
RD
1774
1775
093d3ff1 1776SWIGINTERNSHORT unsigned int
c32bde28 1777SWIG_As_unsigned_SS_int(PyObject* obj)
8edf1c75 1778{
c32bde28
RD
1779 unsigned int v;
1780 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1781 /*
093d3ff1 1782 this is needed to make valgrind/purify happier.
c32bde28
RD
1783 */
1784 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 1785 }
c32bde28
RD
1786 return v;
1787}
1788
1789
093d3ff1 1790SWIGINTERNSHORT int
c32bde28
RD
1791SWIG_Check_unsigned_SS_int(PyObject* obj)
1792{
1793 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2f4c0a16
RD
1794}
1795
1796
093d3ff1
RD
1797 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1798#define SWIG_From_long PyInt_FromLong
1799/*@@*/
1800
1801
1802SWIGINTERNSHORT PyObject*
c32bde28 1803 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
1804{
1805 return (value > LONG_MAX) ?
1806 PyLong_FromUnsignedLong(value)
093d3ff1 1807 : PyInt_FromLong((long)(value));
8edf1c75
RD
1808}
1809
1810
2f4c0a16 1811#if UINT_MAX < LONG_MAX
093d3ff1 1812/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1813#define SWIG_From_unsigned_SS_int SWIG_From_long
1814/*@@*/
2f4c0a16 1815#else
093d3ff1 1816/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1817#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1818/*@@*/
2f4c0a16 1819#endif
8edf1c75 1820
d14a1e28
RD
1821 // here's the C++ version
1822class wxPyHtmlFilter : public wxHtmlFilter {
1823 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
1824public:
1825 wxPyHtmlFilter() : wxHtmlFilter() {}
1826
423f194a 1827 // returns True if this filter is able to open&read given file
d14a1e28 1828 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 1829 bool rval = false;
d14a1e28 1830 bool found;
5a446332 1831 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 1832 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 1833 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1834 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1835 Py_DECREF(obj);
1836 }
4f89f6a3 1837 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1838 return rval;
1839 }
1840
1841
1842 // Reads given file and returns HTML document.
1843 // Returns empty string if opening failed
1844 virtual wxString ReadFile(const wxFSFile& file) const {
1845 wxString rval;
1846 bool found;
5a446332 1847 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 1848 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 1849 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1850 PyObject* ro;
1851 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
1852 Py_DECREF(obj);
1853 if (ro) {
1854 rval = Py2wxString(ro);
1855 Py_DECREF(ro);
1856 }
1857 }
4f89f6a3 1858 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1859 return rval;
1860 }
1861
1862 PYPRIVATE;
1863};
1864
1865IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
1866
1867
1868class wxPyHtmlWindow : public wxHtmlWindow {
1869 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
1870public:
1871 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
1872 const wxPoint& pos = wxDefaultPosition,
1873 const wxSize& size = wxDefaultSize,
1874 long style = wxHW_DEFAULT_STYLE,
1875 const wxString& name = wxPyHtmlWindowNameStr)
1876 : wxHtmlWindow(parent, id, pos, size, style, name) {};
1877 wxPyHtmlWindow() : wxHtmlWindow() {};
1878
1879 bool ScrollToAnchor(const wxString& anchor) {
1880 return wxHtmlWindow::ScrollToAnchor(anchor);
1881 }
1882
1883 bool HasAnchor(const wxString& anchor) {
1884 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
1885 return c!=NULL;
1886 }
1887
1888 void OnLinkClicked(const wxHtmlLinkInfo& link);
1889 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
1890
1891 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
1892 const wxString& url,
1893 wxString *redirect) const;
1894
1895 DEC_PYCALLBACK__STRING(OnSetTitle);
1896 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
1897 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
1898 PYPRIVATE;
1899};
1900
1901IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
1902IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
1903IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
1904IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
1905
1906
1907void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
1908 bool found;
5a446332 1909 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1910 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
1911 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
1912 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1913 Py_DECREF(obj);
1914 }
4f89f6a3 1915 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1916 if (! found)
1917 wxHtmlWindow::OnLinkClicked(link);
1918}
1919void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
1920 wxHtmlWindow::OnLinkClicked(link);
1921}
1922
1923
1924wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
1925 const wxString& url,
1926 wxString *redirect) const {
1927 bool found;
1928 wxHtmlOpeningStatus rval;
5a446332 1929 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1930 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
1931 PyObject* ro;
1932 PyObject* s = wx2PyString(url);
1933 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
1934 Py_DECREF(s);
1935 if (PyString_Check(ro)
1936#if PYTHON_API_VERSION >= 1009
1937 || PyUnicode_Check(ro)
1938#endif
1939 ) {
1940 *redirect = Py2wxString(ro);
1941 rval = wxHTML_REDIRECT;
1942 }
1943 else {
1944 PyObject* num = PyNumber_Int(ro);
1945 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
1946 Py_DECREF(num);
1947 }
1948 Py_DECREF(ro);
1949 }
4f89f6a3 1950 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1951 if (! found)
1952 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
1953 return rval;
1954}
1955
1956
1957
093d3ff1 1958static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1959 int* temp = NULL;
1960 if (sizes) temp = int_LIST_helper(sizes);
1961 self->SetFonts(normal_face, fixed_face, temp);
1962 if (temp)
1963 delete [] temp;
1964 }
093d3ff1 1965static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1966 int* temp = NULL;
1967 if (sizes) temp = int_LIST_helper(sizes);
1968 self->SetFonts(normal_face, fixed_face, temp);
1969 if (temp)
1970 delete [] temp;
1971 }
093d3ff1 1972static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1973 int* temp = NULL;
1974 if (sizes) temp = int_LIST_helper(sizes);
1975 self->SetFonts(normal_face, fixed_face, temp);
1976 if (temp)
1977 delete [] temp;
1978 }
8edf1c75 1979
2f4c0a16 1980#include <float.h>
093d3ff1 1981SWIGINTERN int
c32bde28
RD
1982 SWIG_CheckDoubleInRange(double value, double min_value,
1983 double max_value, const char* errmsg)
2f4c0a16 1984{
c32bde28
RD
1985 if (value < min_value) {
1986 if (errmsg) {
1987 PyErr_Format(PyExc_OverflowError,
1988 "value %g is less than %s minimum %g",
1989 value, errmsg, min_value);
2f4c0a16 1990 }
c32bde28
RD
1991 return 0;
1992 } else if (value > max_value) {
1993 if (errmsg) {
1994 PyErr_Format(PyExc_OverflowError,
1995 "value %g is greater than %s maximum %g",
1996 value, errmsg, max_value);
1997 }
1998 return 0;
2f4c0a16 1999 }
c32bde28 2000 return 1;
2f4c0a16
RD
2001}
2002
2003
093d3ff1 2004SWIGINTERN int
c32bde28 2005SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 2006{
c32bde28
RD
2007 if (PyNumber_Check(obj)) {
2008 if (val) *val = PyFloat_AsDouble(obj);
2009 return 1;
2010 }
69223c70 2011 else {
093d3ff1 2012 SWIG_type_error("number", obj);
69223c70 2013 }
c32bde28
RD
2014 return 0;
2015}
2016
2017
093d3ff1 2018SWIGINTERN int
c32bde28
RD
2019 SWIG_AsVal_float(PyObject *obj, float *val)
2020{
093d3ff1 2021 const char* errmsg = val ? "float" : (char*)0;
c32bde28
RD
2022 double v;
2023 if (SWIG_AsVal_double(obj, &v)) {
2024 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
093d3ff1 2025 if (val) *val = (float)(v);
c32bde28
RD
2026 return 1;
2027 } else {
2028 return 0;
2029 }
2030 } else {
2031 PyErr_Clear();
2032 }
2033 if (val) {
093d3ff1 2034 SWIG_type_error(errmsg, obj);
c32bde28
RD
2035 }
2036 return 0;
8edf1c75
RD
2037}
2038
2039
093d3ff1 2040SWIGINTERNSHORT float
c32bde28 2041SWIG_As_float(PyObject* obj)
8edf1c75 2042{
c32bde28
RD
2043 float v;
2044 if (!SWIG_AsVal_float(obj, &v)) {
2045 /*
093d3ff1 2046 this is needed to make valgrind/purify happier.
c32bde28
RD
2047 */
2048 memset((void*)&v, 0, sizeof(float));
2049 }
2050 return v;
2f4c0a16
RD
2051}
2052
c32bde28 2053
093d3ff1 2054SWIGINTERNSHORT int
c32bde28 2055SWIG_Check_float(PyObject* obj)
2f4c0a16 2056{
c32bde28 2057 return SWIG_AsVal_float(obj, (float*)0);
8edf1c75
RD
2058}
2059
093d3ff1 2060static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2061 int* temp = NULL;
2062 if (sizes) temp = int_LIST_helper(sizes);
2063 self->SetFonts(normal_face, fixed_face, temp);
2064 if (temp)
2065 delete [] temp;
2066 }
093d3ff1
RD
2067static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
2068static int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
2069static wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
2070static wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
2071static wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
d14a1e28
RD
2072#ifdef __cplusplus
2073extern "C" {
2074#endif
c32bde28 2075static int _wrap_HtmlWindowNameStr_set(PyObject *) {
d03fd34d
RD
2076 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2077 return 1;
2078}
2079
2080
093d3ff1 2081static PyObject *_wrap_HtmlWindowNameStr_get(void) {
d03fd34d
RD
2082 PyObject *pyobj;
2083
2084 {
2085#if wxUSE_UNICODE
2086 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2087#else
2088 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2089#endif
2090 }
2091 return pyobj;
2092}
2093
2094
c32bde28 2095static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
d03fd34d
RD
2096 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2097 return 1;
2098}
2099
2100
093d3ff1 2101static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
d03fd34d
RD
2102 PyObject *pyobj;
2103
2104 {
2105#if wxUSE_UNICODE
2106 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2107#else
2108 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2109#endif
2110 }
2111 return pyobj;
2112}
2113
2114
c32bde28 2115static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
d03fd34d
RD
2116 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2117 return 1;
2118}
2119
2120
093d3ff1 2121static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
d03fd34d
RD
2122 PyObject *pyobj;
2123
2124 {
2125#if wxUSE_UNICODE
2126 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2127#else
2128 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2129#endif
2130 }
2131 return pyobj;
2132}
2133
2134
c32bde28 2135static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2136 PyObject *resultobj;
2137 wxString *arg1 = 0 ;
2138 wxString const &arg2_defvalue = wxPyEmptyString ;
2139 wxString *arg2 = (wxString *) &arg2_defvalue ;
2140 wxHtmlLinkInfo *result;
ae8162c8
RD
2141 bool temp1 = false ;
2142 bool temp2 = false ;
d14a1e28
RD
2143 PyObject * obj0 = 0 ;
2144 PyObject * obj1 = 0 ;
2145 char *kwnames[] = {
2146 (char *) "href",(char *) "target", NULL
2147 };
2148
2149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2150 {
2151 arg1 = wxString_in_helper(obj0);
2152 if (arg1 == NULL) SWIG_fail;
ae8162c8 2153 temp1 = true;
d14a1e28
RD
2154 }
2155 if (obj1) {
2156 {
2157 arg2 = wxString_in_helper(obj1);
2158 if (arg2 == NULL) SWIG_fail;
ae8162c8 2159 temp2 = true;
d14a1e28
RD
2160 }
2161 }
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2f4c0a16 2169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2170 {
2171 if (temp1)
2172 delete arg1;
2173 }
2174 {
2175 if (temp2)
2176 delete arg2;
2177 }
2178 return resultobj;
2179 fail:
2180 {
2181 if (temp1)
2182 delete arg1;
2183 }
2184 {
2185 if (temp2)
2186 delete arg2;
2187 }
2188 return NULL;
2189}
2190
2191
c32bde28 2192static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2193 PyObject *resultobj;
2194 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2195 wxString result;
2196 PyObject * obj0 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
093d3ff1
RD
2202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2203 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 result = (arg1)->GetHref();
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 {
2212#if wxUSE_UNICODE
2213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2214#else
2215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2216#endif
2217 }
2218 return resultobj;
2219 fail:
2220 return NULL;
2221}
2222
2223
c32bde28 2224static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2225 PyObject *resultobj;
2226 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2227 wxString result;
2228 PyObject * obj0 = 0 ;
2229 char *kwnames[] = {
2230 (char *) "self", NULL
2231 };
2232
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
2234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2236 {
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 result = (arg1)->GetTarget();
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 {
2244#if wxUSE_UNICODE
2245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2246#else
2247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2248#endif
2249 }
2250 return resultobj;
2251 fail:
2252 return NULL;
2253}
2254
2255
c32bde28 2256static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2257 PyObject *resultobj;
2258 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2259 wxMouseEvent *result;
2260 PyObject * obj0 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
2266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2267 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 result = (wxMouseEvent *)(arg1)->GetEvent();
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 }
2275 {
412d302d 2276 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2277 }
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
c32bde28 2284static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2285 PyObject *resultobj;
2286 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2287 wxHtmlCell *result;
2288 PyObject * obj0 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "self", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
2294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
2298 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
2f4c0a16 2303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2304 return resultobj;
2305 fail:
2306 return NULL;
2307}
2308
2309
c32bde28 2310static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2311 PyObject *resultobj;
2312 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2313 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2314 PyObject * obj0 = 0 ;
2315 PyObject * obj1 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "e", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2322 if (SWIG_arg_fail(1)) SWIG_fail;
2323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2324 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
2332 Py_INCREF(Py_None); resultobj = Py_None;
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
c32bde28 2339static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2340 PyObject *resultobj;
2341 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2342 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2343 PyObject * obj0 = 0 ;
2344 PyObject * obj1 = 0 ;
2345 char *kwnames[] = {
2346 (char *) "self",(char *) "e", NULL
2347 };
2348
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2351 if (SWIG_arg_fail(1)) SWIG_fail;
2352 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2353 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 return resultobj;
2363 fail:
2364 return NULL;
2365}
2366
2367
c32bde28 2368static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2369 PyObject *obj;
2370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2371 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2372 Py_INCREF(obj);
2373 return Py_BuildValue((char *)"");
2374}
c32bde28 2375static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2376 PyObject *resultobj;
2377 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2378 wxString result;
2379 PyObject * obj0 = 0 ;
2380 char *kwnames[] = {
2381 (char *) "self", NULL
2382 };
2383
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
2385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2387 {
2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
2389 result = (arg1)->GetName();
2390
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) SWIG_fail;
2393 }
2394 {
2395#if wxUSE_UNICODE
2396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2397#else
2398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2399#endif
2400 }
2401 return resultobj;
2402 fail:
2403 return NULL;
2404}
2405
2406
c32bde28 2407static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2408 PyObject *resultobj;
2409 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2410 wxString *arg2 = 0 ;
2411 bool result;
ae8162c8 2412 bool temp2 = false ;
d14a1e28
RD
2413 PyObject * obj0 = 0 ;
2414 PyObject * obj1 = 0 ;
2415 char *kwnames[] = {
2416 (char *) "self",(char *) "par", NULL
2417 };
2418
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2422 {
2423 arg2 = wxString_in_helper(obj1);
2424 if (arg2 == NULL) SWIG_fail;
ae8162c8 2425 temp2 = true;
d14a1e28
RD
2426 }
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
4f89f6a3
RD
2434 {
2435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2436 }
d14a1e28
RD
2437 {
2438 if (temp2)
2439 delete arg2;
2440 }
2441 return resultobj;
2442 fail:
2443 {
2444 if (temp2)
2445 delete arg2;
2446 }
2447 return NULL;
2448}
2449
2450
c32bde28 2451static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2452 PyObject *resultobj;
2453 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2454 wxString *arg2 = 0 ;
ae8162c8 2455 int arg3 = (int) false ;
d14a1e28 2456 wxString result;
ae8162c8 2457 bool temp2 = false ;
d14a1e28
RD
2458 PyObject * obj0 = 0 ;
2459 PyObject * obj1 = 0 ;
8edf1c75 2460 PyObject * obj2 = 0 ;
d14a1e28
RD
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2463 };
2464
8edf1c75 2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2468 {
2469 arg2 = wxString_in_helper(obj1);
2470 if (arg2 == NULL) SWIG_fail;
ae8162c8 2471 temp2 = true;
d14a1e28 2472 }
8edf1c75 2473 if (obj2) {
093d3ff1
RD
2474 {
2475 arg3 = (int)(SWIG_As_int(obj2));
2476 if (SWIG_arg_fail(3)) SWIG_fail;
2477 }
8edf1c75 2478 }
d14a1e28
RD
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 {
2487#if wxUSE_UNICODE
2488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2489#else
2490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2491#endif
2492 }
2493 {
2494 if (temp2)
2495 delete arg2;
2496 }
2497 return resultobj;
2498 fail:
2499 {
2500 if (temp2)
2501 delete arg2;
2502 }
2503 return NULL;
2504}
2505
2506
c32bde28 2507static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2508 PyObject *resultobj;
2509 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2510 wxString result;
2511 PyObject * obj0 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "self", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
093d3ff1
RD
2517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 result = (arg1)->GetAllParams();
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 {
2527#if wxUSE_UNICODE
2528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2529#else
2530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2531#endif
2532 }
2533 return resultobj;
2534 fail:
2535 return NULL;
2536}
2537
2538
c32bde28 2539static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2540 PyObject *resultobj;
2541 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2542 bool result;
2543 PyObject * obj0 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "self", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
093d3ff1
RD
2549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 result = (bool)(arg1)->HasEnding();
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
4f89f6a3
RD
2558 {
2559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2560 }
d14a1e28
RD
2561 return resultobj;
2562 fail:
2563 return NULL;
2564}
2565
2566
c32bde28 2567static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2568 PyObject *resultobj;
2569 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2570 int result;
2571 PyObject * obj0 = 0 ;
2572 char *kwnames[] = {
2573 (char *) "self", NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
2577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = (int)(arg1)->GetBeginPos();
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
093d3ff1
RD
2586 {
2587 resultobj = SWIG_From_int((int)(result));
2588 }
d14a1e28
RD
2589 return resultobj;
2590 fail:
2591 return NULL;
2592}
2593
2594
c32bde28 2595static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2596 PyObject *resultobj;
2597 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2598 int result;
2599 PyObject * obj0 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
093d3ff1
RD
2605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2606 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = (int)(arg1)->GetEndPos1();
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
093d3ff1
RD
2614 {
2615 resultobj = SWIG_From_int((int)(result));
2616 }
d14a1e28
RD
2617 return resultobj;
2618 fail:
2619 return NULL;
2620}
2621
2622
c32bde28 2623static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2624 PyObject *resultobj;
2625 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2626 int result;
2627 PyObject * obj0 = 0 ;
2628 char *kwnames[] = {
2629 (char *) "self", NULL
2630 };
2631
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
093d3ff1
RD
2633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2635 {
2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
2637 result = (int)(arg1)->GetEndPos2();
2638
2639 wxPyEndAllowThreads(__tstate);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
093d3ff1
RD
2642 {
2643 resultobj = SWIG_From_int((int)(result));
2644 }
d14a1e28
RD
2645 return resultobj;
2646 fail:
2647 return NULL;
2648}
2649
2650
c32bde28 2651static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2652 PyObject *obj;
2653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2654 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2655 Py_INCREF(obj);
2656 return Py_BuildValue((char *)"");
2657}
c32bde28 2658static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2659 PyObject *resultobj;
2660 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2661 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2662 PyObject * obj0 = 0 ;
2663 PyObject * obj1 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "self",(char *) "fs", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2670 if (SWIG_arg_fail(1)) SWIG_fail;
2671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2672 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 (arg1)->SetFS(arg2);
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 Py_INCREF(Py_None); resultobj = Py_None;
2681 return resultobj;
2682 fail:
2683 return NULL;
2684}
2685
2686
c32bde28 2687static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2688 PyObject *resultobj;
2689 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2690 wxFileSystem *result;
2691 PyObject * obj0 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self", NULL
2694 };
2695
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
093d3ff1
RD
2697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2698 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2699 {
2700 PyThreadState* __tstate = wxPyBeginAllowThreads();
2701 result = (wxFileSystem *)(arg1)->GetFS();
2702
2703 wxPyEndAllowThreads(__tstate);
2704 if (PyErr_Occurred()) SWIG_fail;
2705 }
2706 {
412d302d 2707 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2708 }
2709 return resultobj;
2710 fail:
2711 return NULL;
2712}
2713
2714
c32bde28 2715static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2716 PyObject *resultobj;
2717 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2718 wxString *arg2 = 0 ;
2719 wxObject *result;
ae8162c8 2720 bool temp2 = false ;
d14a1e28
RD
2721 PyObject * obj0 = 0 ;
2722 PyObject * obj1 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "source", NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2730 {
2731 arg2 = wxString_in_helper(obj1);
2732 if (arg2 == NULL) SWIG_fail;
ae8162c8 2733 temp2 = true;
d14a1e28
RD
2734 }
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 {
412d302d 2743 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2744 }
2745 {
2746 if (temp2)
2747 delete arg2;
2748 }
2749 return resultobj;
2750 fail:
2751 {
2752 if (temp2)
2753 delete arg2;
2754 }
2755 return NULL;
2756}
2757
2758
c32bde28 2759static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2760 PyObject *resultobj;
2761 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2762 wxString *arg2 = 0 ;
ae8162c8 2763 bool temp2 = false ;
d14a1e28
RD
2764 PyObject * obj0 = 0 ;
2765 PyObject * obj1 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "self",(char *) "source", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2772 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2773 {
2774 arg2 = wxString_in_helper(obj1);
2775 if (arg2 == NULL) SWIG_fail;
ae8162c8 2776 temp2 = true;
d14a1e28
RD
2777 }
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->InitParser((wxString const &)*arg2);
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 {
2787 if (temp2)
2788 delete arg2;
2789 }
2790 return resultobj;
2791 fail:
2792 {
2793 if (temp2)
2794 delete arg2;
2795 }
2796 return NULL;
2797}
2798
2799
c32bde28 2800static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2801 PyObject *resultobj;
2802 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2803 PyObject * obj0 = 0 ;
2804 char *kwnames[] = {
2805 (char *) "self", NULL
2806 };
2807
2808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
2809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2810 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2811 {
2812 PyThreadState* __tstate = wxPyBeginAllowThreads();
2813 (arg1)->DoneParser();
2814
2815 wxPyEndAllowThreads(__tstate);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 Py_INCREF(Py_None); resultobj = Py_None;
2819 return resultobj;
2820 fail:
2821 return NULL;
2822}
2823
2824
c32bde28 2825static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2826 PyObject *resultobj;
2827 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2828 int arg2 ;
2829 int arg3 ;
2830 PyObject * obj0 = 0 ;
8edf1c75
RD
2831 PyObject * obj1 = 0 ;
2832 PyObject * obj2 = 0 ;
d14a1e28
RD
2833 char *kwnames[] = {
2834 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2835 };
2836
8edf1c75 2837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2839 if (SWIG_arg_fail(1)) SWIG_fail;
2840 {
2841 arg2 = (int)(SWIG_As_int(obj1));
2842 if (SWIG_arg_fail(2)) SWIG_fail;
2843 }
2844 {
2845 arg3 = (int)(SWIG_As_int(obj2));
2846 if (SWIG_arg_fail(3)) SWIG_fail;
2847 }
d14a1e28
RD
2848 {
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 (arg1)->DoParsing(arg2,arg3);
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 Py_INCREF(Py_None); resultobj = Py_None;
2856 return resultobj;
2857 fail:
2858 return NULL;
2859}
2860
2861
c32bde28 2862static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2863 PyObject *resultobj;
2864 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2865 PyObject * obj0 = 0 ;
2866 char *kwnames[] = {
2867 (char *) "self", NULL
2868 };
2869
2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
093d3ff1
RD
2871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2872 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 (arg1)->StopParsing();
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 Py_INCREF(Py_None); resultobj = Py_None;
2881 return resultobj;
2882 fail:
2883 return NULL;
2884}
2885
2886
c32bde28 2887static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2888 PyObject *resultobj;
2889 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2890 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2891 PyObject * obj0 = 0 ;
2892 PyObject * obj1 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self",(char *) "handler", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2899 if (SWIG_arg_fail(1)) SWIG_fail;
2900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2901 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 (arg1)->AddTagHandler(arg2);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 Py_INCREF(Py_None); resultobj = Py_None;
2910 return resultobj;
2911 fail:
2912 return NULL;
2913}
2914
2915
c32bde28 2916static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2917 PyObject *resultobj;
2918 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2919 wxString *result;
2920 PyObject * obj0 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "self", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
2926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2927 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 result = (wxString *)(arg1)->GetSource();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 {
2936#if wxUSE_UNICODE
2937 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
2938#else
2939 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
2940#endif
2941 }
2942 return resultobj;
2943 fail:
2944 return NULL;
2945}
2946
2947
c32bde28 2948static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2949 PyObject *resultobj;
2950 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2951 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2952 wxString arg3 ;
d14a1e28
RD
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 PyObject * obj2 = 0 ;
2956 char *kwnames[] = {
2957 (char *) "self",(char *) "handler",(char *) "tags", NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2962 if (SWIG_arg_fail(1)) SWIG_fail;
2963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2964 if (SWIG_arg_fail(2)) SWIG_fail;
423f194a
RD
2965 {
2966 wxString* sptr = wxString_in_helper(obj2);
2967 if (sptr == NULL) SWIG_fail;
2968 arg3 = *sptr;
2969 delete sptr;
2970 }
d14a1e28
RD
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 (arg1)->PushTagHandler(arg2,arg3);
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 Py_INCREF(Py_None); resultobj = Py_None;
2979 return resultobj;
2980 fail:
2981 return NULL;
2982}
2983
2984
c32bde28 2985static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2986 PyObject *resultobj;
2987 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2988 PyObject * obj0 = 0 ;
2989 char *kwnames[] = {
2990 (char *) "self", NULL
2991 };
2992
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
2994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->PopTagHandler();
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
c32bde28 3010static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3011 PyObject *obj;
3012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3014 Py_INCREF(obj);
3015 return Py_BuildValue((char *)"");
3016}
c32bde28 3017static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3018 PyObject *resultobj;
3019 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3020 wxHtmlWinParser *result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "wnd", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3027 if (obj0) {
093d3ff1
RD
3028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3030 }
3031 {
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
2f4c0a16 3038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3039 return resultobj;
3040 fail:
3041 return NULL;
3042}
3043
3044
c32bde28 3045static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3046 PyObject *resultobj;
3047 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3048 wxDC *arg2 = (wxDC *) 0 ;
3049 PyObject * obj0 = 0 ;
3050 PyObject * obj1 = 0 ;
3051 char *kwnames[] = {
3052 (char *) "self",(char *) "dc", NULL
3053 };
3054
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(1)) SWIG_fail;
3058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3059 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->SetDC(arg2);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
c32bde28 3074static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3075 PyObject *resultobj;
3076 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3077 wxDC *result;
3078 PyObject * obj0 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
3084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 result = (wxDC *)(arg1)->GetDC();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 {
412d302d 3094 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3095 }
3096 return resultobj;
3097 fail:
3098 return NULL;
3099}
3100
3101
c32bde28 3102static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3103 PyObject *resultobj;
3104 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3105 int result;
3106 PyObject * obj0 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
3112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 result = (int)(arg1)->GetCharHeight();
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
093d3ff1
RD
3121 {
3122 resultobj = SWIG_From_int((int)(result));
3123 }
d14a1e28
RD
3124 return resultobj;
3125 fail:
3126 return NULL;
3127}
3128
3129
c32bde28 3130static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3131 PyObject *resultobj;
3132 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3133 int result;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3141 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3142 {
3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
3144 result = (int)(arg1)->GetCharWidth();
3145
3146 wxPyEndAllowThreads(__tstate);
3147 if (PyErr_Occurred()) SWIG_fail;
3148 }
093d3ff1
RD
3149 {
3150 resultobj = SWIG_From_int((int)(result));
3151 }
d14a1e28
RD
3152 return resultobj;
3153 fail:
3154 return NULL;
3155}
3156
3157
c32bde28 3158static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3159 PyObject *resultobj;
3160 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3161 wxPyHtmlWindow *result;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3169 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 {
412d302d 3178 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3179 }
3180 return resultobj;
3181 fail:
3182 return NULL;
3183}
3184
3185
c32bde28 3186static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3187 PyObject *resultobj;
3188 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3189 wxString arg2 ;
3190 wxString arg3 ;
3191 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 PyObject * obj3 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3202 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
3203 {
3204 wxString* sptr = wxString_in_helper(obj1);
3205 if (sptr == NULL) SWIG_fail;
3206 arg2 = *sptr;
3207 delete sptr;
3208 }
3209 {
3210 wxString* sptr = wxString_in_helper(obj2);
3211 if (sptr == NULL) SWIG_fail;
3212 arg3 = *sptr;
3213 delete sptr;
3214 }
d14a1e28
RD
3215 if (obj3) {
3216 arg4 = obj3;
3217 }
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 Py_INCREF(Py_None); resultobj = Py_None;
3226 return resultobj;
3227 fail:
3228 return NULL;
3229}
3230
3231
ae8162c8 3232static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
3233 PyObject *resultobj;
3234 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3235 int arg2 = (int) -1 ;
ae8162c8
RD
3236 wxString const &arg3_defvalue = wxPyEmptyString ;
3237 wxString *arg3 = (wxString *) &arg3_defvalue ;
3238 wxString const &arg4_defvalue = wxPyEmptyString ;
3239 wxString *arg4 = (wxString *) &arg4_defvalue ;
3240 bool temp3 = false ;
3241 bool temp4 = false ;
30ee79f7
RD
3242 PyObject * obj0 = 0 ;
3243 PyObject * obj1 = 0 ;
ae8162c8
RD
3244 PyObject * obj2 = 0 ;
3245 PyObject * obj3 = 0 ;
30ee79f7 3246 char *kwnames[] = {
ae8162c8 3247 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3248 };
3249
ae8162c8 3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
3251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3252 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3253 if (obj1) {
093d3ff1
RD
3254 {
3255 arg2 = (int)(SWIG_As_int(obj1));
3256 if (SWIG_arg_fail(2)) SWIG_fail;
3257 }
30ee79f7 3258 }
ae8162c8
RD
3259 if (obj2) {
3260 {
3261 arg3 = wxString_in_helper(obj2);
3262 if (arg3 == NULL) SWIG_fail;
3263 temp3 = true;
3264 }
3265 }
3266 if (obj3) {
3267 {
3268 arg4 = wxString_in_helper(obj3);
3269 if (arg4 == NULL) SWIG_fail;
3270 temp4 = true;
3271 }
3272 }
30ee79f7
RD
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 3275 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
3281 {
3282 if (temp3)
3283 delete arg3;
3284 }
3285 {
3286 if (temp4)
3287 delete arg4;
3288 }
30ee79f7
RD
3289 return resultobj;
3290 fail:
ae8162c8
RD
3291 {
3292 if (temp3)
3293 delete arg3;
3294 }
3295 {
3296 if (temp4)
3297 delete arg4;
3298 }
30ee79f7
RD
3299 return NULL;
3300}
3301
3302
c32bde28 3303static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3304 PyObject *resultobj;
3305 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3306 wxHtmlContainerCell *result;
3307 PyObject * obj0 = 0 ;
3308 char *kwnames[] = {
3309 (char *) "self", NULL
3310 };
3311
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
2f4c0a16 3322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3323 return resultobj;
3324 fail:
3325 return NULL;
3326}
3327
3328
c32bde28 3329static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3330 PyObject *resultobj;
3331 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3332 wxHtmlContainerCell *result;
3333 PyObject * obj0 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
2f4c0a16 3348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3349 return resultobj;
3350 fail:
3351 return NULL;
3352}
3353
3354
c32bde28 3355static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3356 PyObject *resultobj;
3357 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3358 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3359 wxHtmlContainerCell *result;
3360 PyObject * obj0 = 0 ;
3361 PyObject * obj1 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "self",(char *) "c", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3368 if (SWIG_arg_fail(1)) SWIG_fail;
3369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3370 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
2f4c0a16 3378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3379 return resultobj;
3380 fail:
3381 return NULL;
3382}
3383
3384
c32bde28 3385static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3386 PyObject *resultobj;
3387 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3388 wxHtmlContainerCell *result;
3389 PyObject * obj0 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
093d3ff1
RD
3395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3400
3401 wxPyEndAllowThreads(__tstate);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
2f4c0a16 3404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3405 return resultobj;
3406 fail:
3407 return NULL;
3408}
3409
3410
c32bde28 3411static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3412 PyObject *resultobj;
3413 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3414 int result;
3415 PyObject * obj0 = 0 ;
3416 char *kwnames[] = {
3417 (char *) "self", NULL
3418 };
3419
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
3421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3422 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 result = (int)(arg1)->GetFontSize();
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
093d3ff1
RD
3430 {
3431 resultobj = SWIG_From_int((int)(result));
3432 }
d14a1e28
RD
3433 return resultobj;
3434 fail:
3435 return NULL;
3436}
3437
3438
c32bde28 3439static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3440 PyObject *resultobj;
3441 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3442 int arg2 ;
3443 PyObject * obj0 = 0 ;
8edf1c75 3444 PyObject * obj1 = 0 ;
d14a1e28
RD
3445 char *kwnames[] = {
3446 (char *) "self",(char *) "s", NULL
3447 };
3448
8edf1c75 3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3451 if (SWIG_arg_fail(1)) SWIG_fail;
3452 {
3453 arg2 = (int)(SWIG_As_int(obj1));
3454 if (SWIG_arg_fail(2)) SWIG_fail;
3455 }
d14a1e28
RD
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 (arg1)->SetFontSize(arg2);
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 Py_INCREF(Py_None); resultobj = Py_None;
3464 return resultobj;
3465 fail:
3466 return NULL;
3467}
3468
3469
c32bde28 3470static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3471 PyObject *resultobj;
3472 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3473 int result;
3474 PyObject * obj0 = 0 ;
3475 char *kwnames[] = {
3476 (char *) "self", NULL
3477 };
3478
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
093d3ff1
RD
3480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 result = (int)(arg1)->GetFontBold();
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
093d3ff1
RD
3489 {
3490 resultobj = SWIG_From_int((int)(result));
3491 }
d14a1e28
RD
3492 return resultobj;
3493 fail:
3494 return NULL;
3495}
3496
3497
c32bde28 3498static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3499 PyObject *resultobj;
3500 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3501 int arg2 ;
3502 PyObject * obj0 = 0 ;
8edf1c75 3503 PyObject * obj1 = 0 ;
d14a1e28
RD
3504 char *kwnames[] = {
3505 (char *) "self",(char *) "x", NULL
3506 };
3507
8edf1c75 3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail;
3511 {
3512 arg2 = (int)(SWIG_As_int(obj1));
3513 if (SWIG_arg_fail(2)) SWIG_fail;
3514 }
d14a1e28
RD
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 (arg1)->SetFontBold(arg2);
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 Py_INCREF(Py_None); resultobj = Py_None;
3523 return resultobj;
3524 fail:
3525 return NULL;
3526}
3527
3528
c32bde28 3529static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3530 PyObject *resultobj;
3531 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3532 int result;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
093d3ff1
RD
3539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (int)(arg1)->GetFontItalic();
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
093d3ff1
RD
3548 {
3549 resultobj = SWIG_From_int((int)(result));
3550 }
d14a1e28
RD
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
c32bde28 3557static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3558 PyObject *resultobj;
3559 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3560 int arg2 ;
3561 PyObject * obj0 = 0 ;
8edf1c75 3562 PyObject * obj1 = 0 ;
d14a1e28
RD
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "x", NULL
3565 };
3566
8edf1c75 3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail;
3570 {
3571 arg2 = (int)(SWIG_As_int(obj1));
3572 if (SWIG_arg_fail(2)) SWIG_fail;
3573 }
d14a1e28
RD
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 (arg1)->SetFontItalic(arg2);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 Py_INCREF(Py_None); resultobj = Py_None;
3582 return resultobj;
3583 fail:
3584 return NULL;
3585}
3586
3587
c32bde28 3588static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3589 PyObject *resultobj;
3590 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3591 int result;
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
093d3ff1
RD
3598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 result = (int)(arg1)->GetFontUnderlined();
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
093d3ff1
RD
3607 {
3608 resultobj = SWIG_From_int((int)(result));
3609 }
d14a1e28
RD
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
c32bde28 3616static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3617 PyObject *resultobj;
3618 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3619 int arg2 ;
3620 PyObject * obj0 = 0 ;
8edf1c75 3621 PyObject * obj1 = 0 ;
d14a1e28
RD
3622 char *kwnames[] = {
3623 (char *) "self",(char *) "x", NULL
3624 };
3625
8edf1c75 3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail;
3629 {
3630 arg2 = (int)(SWIG_As_int(obj1));
3631 if (SWIG_arg_fail(2)) SWIG_fail;
3632 }
d14a1e28
RD
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 (arg1)->SetFontUnderlined(arg2);
3636
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 Py_INCREF(Py_None); resultobj = Py_None;
3641 return resultobj;
3642 fail:
3643 return NULL;
3644}
3645
3646
c32bde28 3647static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3648 PyObject *resultobj;
3649 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3650 int result;
3651 PyObject * obj0 = 0 ;
3652 char *kwnames[] = {
3653 (char *) "self", NULL
3654 };
3655
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
093d3ff1
RD
3657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = (int)(arg1)->GetFontFixed();
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
093d3ff1
RD
3666 {
3667 resultobj = SWIG_From_int((int)(result));
3668 }
d14a1e28
RD
3669 return resultobj;
3670 fail:
3671 return NULL;
3672}
3673
3674
c32bde28 3675static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3676 PyObject *resultobj;
3677 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3678 int arg2 ;
3679 PyObject * obj0 = 0 ;
8edf1c75 3680 PyObject * obj1 = 0 ;
d14a1e28
RD
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "x", NULL
3683 };
3684
8edf1c75 3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail;
3688 {
3689 arg2 = (int)(SWIG_As_int(obj1));
3690 if (SWIG_arg_fail(2)) SWIG_fail;
3691 }
d14a1e28
RD
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->SetFontFixed(arg2);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703}
3704
3705
c32bde28 3706static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3707 PyObject *resultobj;
3708 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3709 int result;
3710 PyObject * obj0 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
3716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3717 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = (int)(arg1)->GetAlign();
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
093d3ff1
RD
3725 {
3726 resultobj = SWIG_From_int((int)(result));
3727 }
d14a1e28
RD
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
c32bde28 3734static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3735 PyObject *resultobj;
3736 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3737 int arg2 ;
3738 PyObject * obj0 = 0 ;
8edf1c75 3739 PyObject * obj1 = 0 ;
d14a1e28
RD
3740 char *kwnames[] = {
3741 (char *) "self",(char *) "a", NULL
3742 };
3743
8edf1c75 3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3746 if (SWIG_arg_fail(1)) SWIG_fail;
3747 {
3748 arg2 = (int)(SWIG_As_int(obj1));
3749 if (SWIG_arg_fail(2)) SWIG_fail;
3750 }
d14a1e28
RD
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 (arg1)->SetAlign(arg2);
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 Py_INCREF(Py_None); resultobj = Py_None;
3759 return resultobj;
3760 fail:
3761 return NULL;
3762}
3763
3764
c32bde28 3765static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3766 PyObject *resultobj;
3767 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3768 wxColour result;
3769 PyObject * obj0 = 0 ;
3770 char *kwnames[] = {
3771 (char *) "self", NULL
3772 };
3773
3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3776 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (arg1)->GetLinkColor();
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 {
3785 wxColour * resultptr;
093d3ff1 3786 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3788 }
3789 return resultobj;
3790 fail:
3791 return NULL;
3792}
3793
3794
c32bde28 3795static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3796 PyObject *resultobj;
3797 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3798 wxColour *arg2 = 0 ;
3799 wxColour temp2 ;
3800 PyObject * obj0 = 0 ;
3801 PyObject * obj1 = 0 ;
3802 char *kwnames[] = {
3803 (char *) "self",(char *) "clr", NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3808 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3809 {
3810 arg2 = &temp2;
3811 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3812 }
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 (arg1)->SetLinkColor((wxColour const &)*arg2);
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 Py_INCREF(Py_None); resultobj = Py_None;
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
c32bde28 3827static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3828 PyObject *resultobj;
3829 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3830 wxColour result;
3831 PyObject * obj0 = 0 ;
3832 char *kwnames[] = {
3833 (char *) "self", NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
093d3ff1
RD
3837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (arg1)->GetActualColor();
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 {
3847 wxColour * resultptr;
093d3ff1 3848 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854}
3855
3856
c32bde28 3857static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3858 PyObject *resultobj;
3859 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3860 wxColour *arg2 = 0 ;
3861 wxColour temp2 ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "clr", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3871 {
3872 arg2 = &temp2;
3873 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3874 }
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->SetActualColor((wxColour const &)*arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
c32bde28 3889static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3890 PyObject *resultobj;
3891 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3892 wxString *arg2 = 0 ;
ae8162c8 3893 bool temp2 = false ;
d14a1e28
RD
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 char *kwnames[] = {
3897 (char *) "self",(char *) "link", NULL
3898 };
3899
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3903 {
3904 arg2 = wxString_in_helper(obj1);
3905 if (arg2 == NULL) SWIG_fail;
ae8162c8 3906 temp2 = true;
d14a1e28
RD
3907 }
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 (arg1)->SetLink((wxString const &)*arg2);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 Py_INCREF(Py_None); resultobj = Py_None;
3916 {
3917 if (temp2)
3918 delete arg2;
3919 }
3920 return resultobj;
3921 fail:
3922 {
3923 if (temp2)
3924 delete arg2;
3925 }
3926 return NULL;
3927}
3928
3929
c32bde28 3930static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3931 PyObject *resultobj;
3932 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3933 wxFont *result;
3934 PyObject * obj0 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
3940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3941 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (wxFont *)(arg1)->CreateCurrentFont();
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
2f4c0a16 3949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
3950 return resultobj;
3951 fail:
3952 return NULL;
3953}
3954
3955
c32bde28 3956static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3957 PyObject *resultobj;
3958 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
093d3ff1 3959 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
3960 PyObject * obj0 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
3966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3967 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 result = (arg1)->GetLink();
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 {
3976 wxHtmlLinkInfo * resultptr;
093d3ff1 3977 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result));
2f4c0a16 3978 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
3979 }
3980 return resultobj;
3981 fail:
3982 return NULL;
3983}
3984
3985
c32bde28 3986static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3987 PyObject *obj;
3988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3989 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
3990 Py_INCREF(obj);
3991 return Py_BuildValue((char *)"");
3992}
c32bde28 3993static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3994 PyObject *resultobj;
3995 wxPyHtmlTagHandler *result;
3996 char *kwnames[] = {
3997 NULL
3998 };
3999
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
2f4c0a16 4008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4009 return resultobj;
4010 fail:
4011 return NULL;
4012}
4013
4014
c32bde28 4015static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4016 PyObject *resultobj;
4017 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4018 PyObject *arg2 = (PyObject *) 0 ;
4019 PyObject *arg3 = (PyObject *) 0 ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 PyObject * obj2 = 0 ;
4023 char *kwnames[] = {
4024 (char *) "self",(char *) "self",(char *) "_class", NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4030 arg2 = obj1;
4031 arg3 = obj2;
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 (arg1)->_setCallbackInfo(arg2,arg3);
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 Py_INCREF(Py_None); resultobj = Py_None;
4040 return resultobj;
4041 fail:
4042 return NULL;
4043}
4044
4045
c32bde28 4046static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4047 PyObject *resultobj;
4048 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4049 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4050 PyObject * obj0 = 0 ;
4051 PyObject * obj1 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "self",(char *) "parser", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4058 if (SWIG_arg_fail(1)) SWIG_fail;
4059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4060 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 (arg1)->SetParser(arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 Py_INCREF(Py_None); resultobj = Py_None;
4069 return resultobj;
4070 fail:
4071 return NULL;
4072}
4073
4074
c32bde28 4075static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4076 PyObject *resultobj;
4077 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4078 wxHtmlParser *result;
4079 PyObject * obj0 = 0 ;
4080 char *kwnames[] = {
4081 (char *) "self", NULL
4082 };
4083
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4086 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (wxHtmlParser *)(arg1)->GetParser();
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
2f4c0a16 4094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
c32bde28 4101static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4102 PyObject *resultobj;
4103 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4104 wxHtmlTag *arg2 = 0 ;
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "tag", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4113 if (SWIG_arg_fail(1)) SWIG_fail;
4114 {
4115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4116 if (SWIG_arg_fail(2)) SWIG_fail;
4117 if (arg2 == NULL) {
4118 SWIG_null_ref("wxHtmlTag");
4119 }
4120 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4121 }
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133}
4134
4135
c32bde28 4136static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4137 PyObject *obj;
4138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4139 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4140 Py_INCREF(obj);
4141 return Py_BuildValue((char *)"");
4142}
c32bde28 4143static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4144 PyObject *resultobj;
4145 wxPyHtmlWinTagHandler *result;
4146 char *kwnames[] = {
4147 NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
2f4c0a16 4158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4159 return resultobj;
4160 fail:
4161 return NULL;
4162}
4163
4164
c32bde28 4165static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4166 PyObject *resultobj;
4167 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4168 PyObject *arg2 = (PyObject *) 0 ;
4169 PyObject *arg3 = (PyObject *) 0 ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "self",(char *) "_class", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4180 arg2 = obj1;
4181 arg3 = obj2;
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 (arg1)->_setCallbackInfo(arg2,arg3);
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 }
4189 Py_INCREF(Py_None); resultobj = Py_None;
4190 return resultobj;
4191 fail:
4192 return NULL;
4193}
4194
4195
c32bde28 4196static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4197 PyObject *resultobj;
4198 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4199 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "parser", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(1)) SWIG_fail;
4209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4210 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->SetParser(arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222}
4223
4224
c32bde28 4225static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4226 PyObject *resultobj;
4227 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4228 wxHtmlWinParser *result;
4229 PyObject * obj0 = 0 ;
4230 char *kwnames[] = {
4231 (char *) "self", NULL
4232 };
4233
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
4235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 result = (wxHtmlWinParser *)(arg1)->GetParser();
4240
4241 wxPyEndAllowThreads(__tstate);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
2f4c0a16 4244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4245 return resultobj;
4246 fail:
4247 return NULL;
4248}
4249
4250
c32bde28 4251static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4252 PyObject *resultobj;
4253 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4254 wxHtmlTag *arg2 = 0 ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self",(char *) "tag", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4263 if (SWIG_arg_fail(1)) SWIG_fail;
4264 {
4265 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4266 if (SWIG_arg_fail(2)) SWIG_fail;
4267 if (arg2 == NULL) {
4268 SWIG_null_ref("wxHtmlTag");
4269 }
4270 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4271 }
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 Py_INCREF(Py_None); resultobj = Py_None;
4280 return resultobj;
4281 fail:
4282 return NULL;
4283}
4284
4285
c32bde28 4286static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4287 PyObject *obj;
4288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4289 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4290 Py_INCREF(obj);
4291 return Py_BuildValue((char *)"");
4292}
c32bde28 4293static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4294 PyObject *resultobj;
4295 PyObject *arg1 = (PyObject *) 0 ;
4296 PyObject * obj0 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "tagHandlerClass", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4302 arg1 = obj0;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 wxHtmlWinParser_AddTagHandler(arg1);
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 Py_INCREF(Py_None); resultobj = Py_None;
4311 return resultobj;
4312 fail:
4313 return NULL;
4314}
4315
4316
c32bde28 4317static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4318 PyObject *resultobj;
4319 wxHtmlSelection *result;
4320 char *kwnames[] = {
4321 NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4325 {
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 result = (wxHtmlSelection *)new wxHtmlSelection();
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
2f4c0a16 4332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4333 return resultobj;
4334 fail:
4335 return NULL;
4336}
4337
4338
c32bde28 4339static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4340 PyObject *resultobj;
4341 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4342 PyObject * obj0 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
4348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4349 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 delete arg1;
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 Py_INCREF(Py_None); resultobj = Py_None;
4358 return resultobj;
4359 fail:
4360 return NULL;
4361}
4362
4363
c32bde28 4364static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4365 PyObject *resultobj;
4366 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4367 wxPoint *arg2 = 0 ;
4368 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4369 wxPoint *arg4 = 0 ;
4370 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4371 wxPoint temp2 ;
4372 wxPoint temp4 ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375 PyObject * obj2 = 0 ;
4376 PyObject * obj3 = 0 ;
4377 PyObject * obj4 = 0 ;
4378 char *kwnames[] = {
4379 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4380 };
4381
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
4383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4385 {
4386 arg2 = &temp2;
4387 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4388 }
093d3ff1
RD
4389 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4390 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4391 {
4392 arg4 = &temp4;
4393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4394 }
093d3ff1
RD
4395 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4396 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 Py_INCREF(Py_None); resultobj = Py_None;
4405 return resultobj;
4406 fail:
4407 return NULL;
4408}
4409
4410
c32bde28 4411static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4412 PyObject *resultobj;
4413 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4414 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4415 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 PyObject * obj2 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail;
4426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4427 if (SWIG_arg_fail(2)) SWIG_fail;
4428 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4429 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 Py_INCREF(Py_None); resultobj = Py_None;
4438 return resultobj;
4439 fail:
4440 return NULL;
4441}
4442
4443
c32bde28 4444static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4445 PyObject *resultobj;
4446 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4447 wxHtmlCell *result;
4448 PyObject * obj0 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
2f4c0a16 4463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4464 return resultobj;
4465 fail:
4466 return NULL;
4467}
4468
4469
c32bde28 4470static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4471 PyObject *resultobj;
4472 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4473 wxHtmlCell *result;
4474 PyObject * obj0 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "self", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
4480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
2f4c0a16 4489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4490 return resultobj;
4491 fail:
4492 return NULL;
4493}
4494
4495
c32bde28 4496static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4497 PyObject *resultobj;
4498 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4499 wxPoint *result;
4500 PyObject * obj0 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 {
4511 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4512 result = (wxPoint *) &_result_ref;
4513 }
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
2f4c0a16 4518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
c32bde28 4525static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4526 PyObject *resultobj;
4527 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4528 wxPoint *result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 {
4540 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4541 result = (wxPoint *) &_result_ref;
4542 }
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
2f4c0a16 4547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4548 return resultobj;
4549 fail:
4550 return NULL;
4551}
4552
4553
c32bde28 4554static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4555 PyObject *resultobj;
4556 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4557 wxPoint *result;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 {
4569 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4570 result = (wxPoint *) &_result_ref;
4571 }
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
2f4c0a16 4576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4577 return resultobj;
4578 fail:
4579 return NULL;
4580}
4581
4582
c32bde28 4583static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4584 PyObject *resultobj;
4585 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4586 wxPoint *result;
4587 PyObject * obj0 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 {
4598 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4599 result = (wxPoint *) &_result_ref;
4600 }
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
2f4c0a16 4605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4606 return resultobj;
4607 fail:
4608 return NULL;
4609}
4610
4611
c32bde28 4612static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4613 PyObject *resultobj;
4614 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4615 wxPoint *arg2 = 0 ;
4616 wxPoint temp2 ;
4617 PyObject * obj0 = 0 ;
4618 PyObject * obj1 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "self",(char *) "pos", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4626 {
4627 arg2 = &temp2;
4628 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4629 }
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4633
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 Py_INCREF(Py_None); resultobj = Py_None;
4638 return resultobj;
4639 fail:
4640 return NULL;
4641}
4642
4643
c32bde28 4644static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4645 PyObject *resultobj;
4646 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4647 wxPoint *arg2 = 0 ;
4648 wxPoint temp2 ;
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self",(char *) "pos", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4658 {
4659 arg2 = &temp2;
4660 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4661 }
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 return resultobj;
4671 fail:
4672 return NULL;
4673}
4674
4675
c32bde28 4676static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4677 PyObject *resultobj;
4678 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4679 PyObject * obj0 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
4685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 (arg1)->ClearPrivPos();
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 Py_INCREF(Py_None); resultobj = Py_None;
4695 return resultobj;
4696 fail:
4697 return NULL;
4698}
4699
4700
c32bde28 4701static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4702 PyObject *resultobj;
4703 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4704 bool result;
4705 PyObject * obj0 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
093d3ff1
RD
4711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4712 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4f89f6a3 4720 {
093d3ff1 4721 resultobj = SWIG_From_bool((bool)(result));
4f89f6a3 4722 }
d14a1e28
RD
4723 return resultobj;
4724 fail:
4725 return NULL;
4726}
4727
4728
c32bde28 4729static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4730 PyObject *obj;
4731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4732 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4733 Py_INCREF(obj);
4734 return Py_BuildValue((char *)"");
4735}
c32bde28 4736static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4737 PyObject *resultobj;
4738 wxHtmlRenderingState *result;
4739 char *kwnames[] = {
4740 NULL
4741 };
4742
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
2f4c0a16 4751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
4752 return resultobj;
4753 fail:
4754 return NULL;
4755}
4756
4757
c32bde28 4758static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4759 PyObject *resultobj;
4760 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4761 PyObject * obj0 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 delete arg1;
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 Py_INCREF(Py_None); resultobj = Py_None;
4777 return resultobj;
4778 fail:
4779 return NULL;
4780}
4781
4782
c32bde28 4783static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4784 PyObject *resultobj;
4785 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4786 wxHtmlSelectionState arg2 ;
d14a1e28 4787 PyObject * obj0 = 0 ;
8edf1c75 4788 PyObject * obj1 = 0 ;
d14a1e28
RD
4789 char *kwnames[] = {
4790 (char *) "self",(char *) "s", NULL
4791 };
4792
8edf1c75 4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4795 if (SWIG_arg_fail(1)) SWIG_fail;
4796 {
4797 arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1));
4798 if (SWIG_arg_fail(2)) SWIG_fail;
4799 }
d14a1e28
RD
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 Py_INCREF(Py_None); resultobj = Py_None;
4808 return resultobj;
4809 fail:
4810 return NULL;
4811}
4812
4813
c32bde28 4814static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4815 PyObject *resultobj;
4816 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
093d3ff1 4817 wxHtmlSelectionState result;
d14a1e28
RD
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
093d3ff1
RD
4824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4825 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4828 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
093d3ff1 4833 resultobj = SWIG_From_int((result));
d14a1e28
RD
4834 return resultobj;
4835 fail:
4836 return NULL;
4837}
4838
4839
c32bde28 4840static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4841 PyObject *resultobj;
4842 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4843 wxColour *arg2 = 0 ;
4844 wxColour temp2 ;
4845 PyObject * obj0 = 0 ;
4846 PyObject * obj1 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self",(char *) "c", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4854 {
4855 arg2 = &temp2;
4856 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 (arg1)->SetFgColour((wxColour const &)*arg2);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
4865 Py_INCREF(Py_None); resultobj = Py_None;
4866 return resultobj;
4867 fail:
4868 return NULL;
4869}
4870
4871
c32bde28 4872static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4873 PyObject *resultobj;
4874 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4875 wxColour *result;
4876 PyObject * obj0 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 {
4887 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
4888 result = (wxColour *) &_result_ref;
4889 }
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
2f4c0a16 4894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4895 return resultobj;
4896 fail:
4897 return NULL;
4898}
4899
4900
c32bde28 4901static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4902 PyObject *resultobj;
4903 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4904 wxColour *arg2 = 0 ;
4905 wxColour temp2 ;
4906 PyObject * obj0 = 0 ;
4907 PyObject * obj1 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "c", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4915 {
4916 arg2 = &temp2;
4917 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4918 }
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 (arg1)->SetBgColour((wxColour const &)*arg2);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 Py_INCREF(Py_None); resultobj = Py_None;
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
c32bde28 4933static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4934 PyObject *resultobj;
4935 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4936 wxColour *result;
4937 PyObject * obj0 = 0 ;
4938 char *kwnames[] = {
4939 (char *) "self", NULL
4940 };
4941
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
4943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4944 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 {
4948 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
4949 result = (wxColour *) &_result_ref;
4950 }
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
2f4c0a16 4955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4956 return resultobj;
4957 fail:
4958 return NULL;
4959}
4960
4961
c32bde28 4962static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4963 PyObject *obj;
4964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4965 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
4966 Py_INCREF(obj);
4967 return Py_BuildValue((char *)"");
4968}
c32bde28 4969static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4970 PyObject *resultobj;
4971 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
4972 wxColour *arg2 = 0 ;
4973 wxColour result;
4974 wxColour temp2 ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self",(char *) "clr", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
4983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4984 {
4985 arg2 = &temp2;
4986 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4987 }
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 {
4996 wxColour * resultptr;
093d3ff1 4997 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 4998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4999 }
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
c32bde28 5006static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5007 PyObject *resultobj;
5008 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5009 wxColour *arg2 = 0 ;
5010 wxColour result;
5011 wxColour temp2 ;
5012 PyObject * obj0 = 0 ;
5013 PyObject * obj1 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "self",(char *) "clr", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5021 {
5022 arg2 = &temp2;
5023 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 {
5033 wxColour * resultptr;
093d3ff1 5034 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 5035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5036 }
5037 return resultobj;
5038 fail:
5039 return NULL;
5040}
5041
5042
c32bde28 5043static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5044 PyObject *obj;
5045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5046 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5047 Py_INCREF(obj);
5048 return Py_BuildValue((char *)"");
5049}
c32bde28 5050static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5051 PyObject *resultobj;
5052 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5053 wxColour *arg2 = 0 ;
5054 wxColour result;
5055 wxColour temp2 ;
5056 PyObject * obj0 = 0 ;
5057 PyObject * obj1 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "clr", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5065 {
5066 arg2 = &temp2;
5067 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 {
5077 wxColour * resultptr;
093d3ff1 5078 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 5079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5080 }
5081 return resultobj;
5082 fail:
5083 return NULL;
5084}
5085
5086
c32bde28 5087static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5088 PyObject *resultobj;
5089 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5090 wxColour *arg2 = 0 ;
5091 wxColour result;
5092 wxColour temp2 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "clr", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5102 {
5103 arg2 = &temp2;
5104 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5105 }
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 {
5114 wxColour * resultptr;
093d3ff1 5115 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 5116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5117 }
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
c32bde28 5124static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5125 PyObject *obj;
5126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5127 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5128 Py_INCREF(obj);
5129 return Py_BuildValue((char *)"");
5130}
c32bde28 5131static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5132 PyObject *resultobj;
5133 wxHtmlRenderingInfo *result;
5134 char *kwnames[] = {
5135 NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
2f4c0a16 5146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
c32bde28 5153static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5154 PyObject *resultobj;
5155 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5156 PyObject * obj0 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5163 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 delete arg1;
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 Py_INCREF(Py_None); resultobj = Py_None;
5172 return resultobj;
5173 fail:
5174 return NULL;
5175}
5176
5177
c32bde28 5178static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5179 PyObject *resultobj;
5180 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5181 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5182 PyObject * obj0 = 0 ;
5183 PyObject * obj1 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "s", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5191 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5192 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 (arg1)->SetSelection(arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 Py_INCREF(Py_None); resultobj = Py_None;
5201 return resultobj;
5202 fail:
5203 return NULL;
5204}
5205
5206
c32bde28 5207static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5208 PyObject *resultobj;
5209 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5210 wxHtmlSelection *result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
5217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
2f4c0a16 5226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5227 return resultobj;
5228 fail:
5229 return NULL;
5230}
5231
5232
c32bde28 5233static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5234 PyObject *resultobj;
5235 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5236 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "style", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail;
5246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5247 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 (arg1)->SetStyle(arg2);
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 Py_INCREF(Py_None); resultobj = Py_None;
5256 return resultobj;
5257 fail:
5258 return NULL;
5259}
5260
5261
c32bde28 5262static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5263 PyObject *resultobj;
5264 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5265 wxHtmlRenderingStyle *result;
5266 PyObject * obj0 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
5272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 {
5277 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5278 result = (wxHtmlRenderingStyle *) &_result_ref;
5279 }
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
2f4c0a16 5284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5285 return resultobj;
5286 fail:
5287 return NULL;
5288}
5289
5290
c32bde28 5291static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5292 PyObject *resultobj;
5293 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5294 wxHtmlRenderingState *result;
5295 PyObject * obj0 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
5301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5302 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 {
5306 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5307 result = (wxHtmlRenderingState *) &_result_ref;
5308 }
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
2f4c0a16 5313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5314 return resultobj;
5315 fail:
5316 return NULL;
5317}
5318
5319
c32bde28 5320static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5321 PyObject *obj;
5322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5324 Py_INCREF(obj);
5325 return Py_BuildValue((char *)"");
5326}
c32bde28 5327static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5328 PyObject *resultobj;
5329 wxHtmlCell *result;
5330 char *kwnames[] = {
5331 NULL
5332 };
5333
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 result = (wxHtmlCell *)new wxHtmlCell();
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
2f4c0a16 5342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
c32bde28 5349static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5350 PyObject *resultobj;
5351 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5352 int result;
5353 PyObject * obj0 = 0 ;
5354 char *kwnames[] = {
5355 (char *) "self", NULL
5356 };
5357
5358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
093d3ff1
RD
5359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5360 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (int)(arg1)->GetPosX();
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
093d3ff1
RD
5368 {
5369 resultobj = SWIG_From_int((int)(result));
5370 }
d14a1e28
RD
5371 return resultobj;
5372 fail:
5373 return NULL;
5374}
5375
5376
c32bde28 5377static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5378 PyObject *resultobj;
5379 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5380 int result;
5381 PyObject * obj0 = 0 ;
5382 char *kwnames[] = {
5383 (char *) "self", NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
093d3ff1
RD
5387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5388 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (int)(arg1)->GetPosY();
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
093d3ff1
RD
5396 {
5397 resultobj = SWIG_From_int((int)(result));
5398 }
d14a1e28
RD
5399 return resultobj;
5400 fail:
5401 return NULL;
5402}
5403
5404
c32bde28 5405static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5406 PyObject *resultobj;
5407 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5408 int result;
5409 PyObject * obj0 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5416 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (int)(arg1)->GetWidth();
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
093d3ff1
RD
5424 {
5425 resultobj = SWIG_From_int((int)(result));
5426 }
d14a1e28
RD
5427 return resultobj;
5428 fail:
5429 return NULL;
5430}
5431
5432
c32bde28 5433static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5434 PyObject *resultobj;
5435 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5436 int result;
5437 PyObject * obj0 = 0 ;
5438 char *kwnames[] = {
5439 (char *) "self", NULL
5440 };
5441
5442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5444 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = (int)(arg1)->GetHeight();
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
093d3ff1
RD
5452 {
5453 resultobj = SWIG_From_int((int)(result));
5454 }
d14a1e28
RD
5455 return resultobj;
5456 fail:
5457 return NULL;
5458}
5459
5460
c32bde28 5461static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5462 PyObject *resultobj;
5463 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5464 int result;
5465 PyObject * obj0 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 result = (int)(arg1)->GetDescent();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
093d3ff1
RD
5480 {
5481 resultobj = SWIG_From_int((int)(result));
5482 }
d14a1e28
RD
5483 return resultobj;
5484 fail:
5485 return NULL;
5486}
5487
5488
c32bde28 5489static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d00d1b88
RD
5490 PyObject *resultobj;
5491 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5492 int result;
5493 PyObject * obj0 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail;
d00d1b88
RD
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
093d3ff1
RD
5508 {
5509 resultobj = SWIG_From_int((int)(result));
5510 }
d00d1b88
RD
5511 return resultobj;
5512 fail:
5513 return NULL;
5514}
5515
5516
c32bde28 5517static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
5518 PyObject *resultobj;
5519 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5520 wxString *result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
5527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 {
5532 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5533 result = (wxString *) &_result_ref;
5534 }
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 {
5540#if wxUSE_UNICODE
5541 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5542#else
5543 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5544#endif
5545 }
5546 return resultobj;
5547 fail:
5548 return NULL;
5549}
5550
5551
c32bde28 5552static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
5553 PyObject *resultobj;
5554 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5555 wxString *arg2 = 0 ;
ae8162c8 5556 bool temp2 = false ;
cbd72d4f
RD
5557 PyObject * obj0 = 0 ;
5558 PyObject * obj1 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self",(char *) "id", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5565 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5566 {
5567 arg2 = wxString_in_helper(obj1);
5568 if (arg2 == NULL) SWIG_fail;
ae8162c8 5569 temp2 = true;
cbd72d4f
RD
5570 }
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 (arg1)->SetId((wxString const &)*arg2);
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 Py_INCREF(Py_None); resultobj = Py_None;
5579 {
5580 if (temp2)
5581 delete arg2;
5582 }
5583 return resultobj;
5584 fail:
5585 {
5586 if (temp2)
5587 delete arg2;
5588 }
5589 return NULL;
5590}
5591
5592
c32bde28 5593static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5594 PyObject *resultobj;
5595 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5596 int arg2 = (int) 0 ;
5597 int arg3 = (int) 0 ;
5598 wxHtmlLinkInfo *result;
5599 PyObject * obj0 = 0 ;
8edf1c75
RD
5600 PyObject * obj1 = 0 ;
5601 PyObject * obj2 = 0 ;
d14a1e28
RD
5602 char *kwnames[] = {
5603 (char *) "self",(char *) "x",(char *) "y", NULL
5604 };
5605
8edf1c75 5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 5609 if (obj1) {
093d3ff1
RD
5610 {
5611 arg2 = (int)(SWIG_As_int(obj1));
5612 if (SWIG_arg_fail(2)) SWIG_fail;
5613 }
8edf1c75
RD
5614 }
5615 if (obj2) {
093d3ff1
RD
5616 {
5617 arg3 = (int)(SWIG_As_int(obj2));
5618 if (SWIG_arg_fail(3)) SWIG_fail;
5619 }
8edf1c75 5620 }
d14a1e28
RD
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
2f4c0a16 5628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
c32bde28 5635static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5636 PyObject *resultobj;
5637 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5638 wxHtmlCell *result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
5645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxHtmlCell *)(arg1)->GetNext();
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
2f4c0a16 5654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5655 return resultobj;
5656 fail:
5657 return NULL;
5658}
5659
5660
c32bde28 5661static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5662 PyObject *resultobj;
5663 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5664 wxHtmlContainerCell *result;
5665 PyObject * obj0 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
2f4c0a16 5680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5681 return resultobj;
5682 fail:
5683 return NULL;
5684}
5685
5686
c32bde28 5687static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5688 PyObject *resultobj;
5689 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5690 wxHtmlCell *result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
5697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
2f4c0a16 5706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5707 return resultobj;
5708 fail:
5709 return NULL;
5710}
5711
5712
c32bde28 5713static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5714 PyObject *resultobj;
5715 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5716 wxCursor result;
5717 PyObject * obj0 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = ((wxHtmlCell const *)arg1)->GetCursor();
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 {
5733 wxCursor * resultptr;
093d3ff1 5734 resultptr = new wxCursor((wxCursor &)(result));
2f4c0a16 5735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5736 }
5737 return resultobj;
5738 fail:
5739 return NULL;
5740}
5741
5742
c32bde28 5743static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5744 PyObject *resultobj;
5745 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5746 bool result;
5747 PyObject * obj0 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
5753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
4f89f6a3
RD
5762 {
5763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5764 }
d14a1e28
RD
5765 return resultobj;
5766 fail:
5767 return NULL;
5768}
5769
5770
c32bde28 5771static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5772 PyObject *resultobj;
5773 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5774 wxHtmlLinkInfo *arg2 = 0 ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj1 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self",(char *) "link", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5783 if (SWIG_arg_fail(1)) SWIG_fail;
5784 {
5785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
5786 if (SWIG_arg_fail(2)) SWIG_fail;
5787 if (arg2 == NULL) {
5788 SWIG_null_ref("wxHtmlLinkInfo");
5789 }
5790 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5791 }
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 Py_INCREF(Py_None); resultobj = Py_None;
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
c32bde28 5806static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5807 PyObject *resultobj;
5808 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5809 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5810 PyObject * obj0 = 0 ;
5811 PyObject * obj1 = 0 ;
5812 char *kwnames[] = {
5813 (char *) "self",(char *) "cell", NULL
5814 };
5815
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5818 if (SWIG_arg_fail(1)) SWIG_fail;
5819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5820 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->SetNext(arg2);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
c32bde28 5835static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5836 PyObject *resultobj;
5837 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5838 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
5839 PyObject * obj0 = 0 ;
5840 PyObject * obj1 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self",(char *) "p", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5847 if (SWIG_arg_fail(1)) SWIG_fail;
5848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
5849 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 (arg1)->SetParent(arg2);
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 Py_INCREF(Py_None); resultobj = Py_None;
5858 return resultobj;
5859 fail:
5860 return NULL;
5861}
5862
5863
c32bde28 5864static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5865 PyObject *resultobj;
5866 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5867 int arg2 ;
5868 int arg3 ;
5869 PyObject * obj0 = 0 ;
8edf1c75
RD
5870 PyObject * obj1 = 0 ;
5871 PyObject * obj2 = 0 ;
d14a1e28
RD
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "x",(char *) "y", NULL
5874 };
5875
8edf1c75 5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5878 if (SWIG_arg_fail(1)) SWIG_fail;
5879 {
5880 arg2 = (int)(SWIG_As_int(obj1));
5881 if (SWIG_arg_fail(2)) SWIG_fail;
5882 }
5883 {
5884 arg3 = (int)(SWIG_As_int(obj2));
5885 if (SWIG_arg_fail(3)) SWIG_fail;
5886 }
d14a1e28
RD
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 (arg1)->SetPos(arg2,arg3);
5890
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 Py_INCREF(Py_None); resultobj = Py_None;
5895 return resultobj;
5896 fail:
5897 return NULL;
5898}
5899
5900
c32bde28 5901static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5902 PyObject *resultobj;
5903 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5904 int arg2 ;
5905 PyObject * obj0 = 0 ;
8edf1c75 5906 PyObject * obj1 = 0 ;
d14a1e28
RD
5907 char *kwnames[] = {
5908 (char *) "self",(char *) "w", NULL
5909 };
5910
8edf1c75 5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5913 if (SWIG_arg_fail(1)) SWIG_fail;
5914 {
5915 arg2 = (int)(SWIG_As_int(obj1));
5916 if (SWIG_arg_fail(2)) SWIG_fail;
5917 }
d14a1e28
RD
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 (arg1)->Layout(arg2);
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 Py_INCREF(Py_None); resultobj = Py_None;
5926 return resultobj;
5927 fail:
5928 return NULL;
5929}
5930
5931
c32bde28 5932static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5933 PyObject *resultobj;
5934 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5935 wxDC *arg2 = 0 ;
5936 int arg3 ;
5937 int arg4 ;
5938 int arg5 ;
5939 int arg6 ;
5940 wxHtmlRenderingInfo *arg7 = 0 ;
5941 PyObject * obj0 = 0 ;
5942 PyObject * obj1 = 0 ;
8edf1c75
RD
5943 PyObject * obj2 = 0 ;
5944 PyObject * obj3 = 0 ;
5945 PyObject * obj4 = 0 ;
5946 PyObject * obj5 = 0 ;
d14a1e28
RD
5947 PyObject * obj6 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5950 };
5951
8edf1c75 5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5954 if (SWIG_arg_fail(1)) SWIG_fail;
5955 {
5956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5957 if (SWIG_arg_fail(2)) SWIG_fail;
5958 if (arg2 == NULL) {
5959 SWIG_null_ref("wxDC");
5960 }
5961 if (SWIG_arg_fail(2)) SWIG_fail;
5962 }
5963 {
5964 arg3 = (int)(SWIG_As_int(obj2));
5965 if (SWIG_arg_fail(3)) SWIG_fail;
5966 }
5967 {
5968 arg4 = (int)(SWIG_As_int(obj3));
5969 if (SWIG_arg_fail(4)) SWIG_fail;
5970 }
5971 {
5972 arg5 = (int)(SWIG_As_int(obj4));
5973 if (SWIG_arg_fail(5)) SWIG_fail;
5974 }
5975 {
5976 arg6 = (int)(SWIG_As_int(obj5));
5977 if (SWIG_arg_fail(6)) SWIG_fail;
5978 }
5979 {
5980 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5981 if (SWIG_arg_fail(7)) SWIG_fail;
5982 if (arg7 == NULL) {
5983 SWIG_null_ref("wxHtmlRenderingInfo");
5984 }
5985 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5986 }
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998}
5999
6000
c32bde28 6001static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6002 PyObject *resultobj;
6003 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6004 wxDC *arg2 = 0 ;
6005 int arg3 ;
6006 int arg4 ;
6007 wxHtmlRenderingInfo *arg5 = 0 ;
6008 PyObject * obj0 = 0 ;
6009 PyObject * obj1 = 0 ;
8edf1c75
RD
6010 PyObject * obj2 = 0 ;
6011 PyObject * obj3 = 0 ;
d14a1e28
RD
6012 PyObject * obj4 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6015 };
6016
8edf1c75 6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail;
6020 {
6021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6022 if (SWIG_arg_fail(2)) SWIG_fail;
6023 if (arg2 == NULL) {
6024 SWIG_null_ref("wxDC");
6025 }
6026 if (SWIG_arg_fail(2)) SWIG_fail;
6027 }
6028 {
6029 arg3 = (int)(SWIG_As_int(obj2));
6030 if (SWIG_arg_fail(3)) SWIG_fail;
6031 }
6032 {
6033 arg4 = (int)(SWIG_As_int(obj3));
6034 if (SWIG_arg_fail(4)) SWIG_fail;
6035 }
6036 {
6037 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(5)) SWIG_fail;
6039 if (arg5 == NULL) {
6040 SWIG_null_ref("wxHtmlRenderingInfo");
6041 }
6042 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6043 }
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055}
6056
6057
c32bde28 6058static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6059 PyObject *resultobj;
6060 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6061 int arg2 ;
6062 void *arg3 = (void *) 0 ;
6063 wxHtmlCell *result;
6064 PyObject * obj0 = 0 ;
8edf1c75 6065 PyObject * obj1 = 0 ;
d14a1e28
RD
6066 PyObject * obj2 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "condition",(char *) "param", NULL
6069 };
6070
8edf1c75 6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail;
6074 {
6075 arg2 = (int)(SWIG_As_int(obj1));
6076 if (SWIG_arg_fail(2)) SWIG_fail;
6077 }
6078 {
6079 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6080 SWIG_arg_fail(3);SWIG_fail;
6081 }
6082 }
d14a1e28
RD
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
2f4c0a16 6090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6091 return resultobj;
6092 fail:
6093 return NULL;
6094}
6095
6096
c32bde28 6097static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6098 PyObject *resultobj;
6099 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6100 int *arg2 = (int *) 0 ;
6101 bool result;
6102 int temp2 ;
c32bde28 6103 int res2 = 0 ;
d14a1e28
RD
6104 PyObject * obj0 = 0 ;
6105 PyObject * obj1 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self",(char *) "INOUT", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6112 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6113 {
c32bde28
RD
6114 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6115 temp2 = SWIG_As_int(obj1);
093d3ff1 6116 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
6117 arg2 = &temp2;
6118 res2 = SWIG_NEWOBJ;
6119 }
d14a1e28
RD
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (bool)(arg1)->AdjustPagebreak(arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
4f89f6a3
RD
6128 {
6129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6130 }
c32bde28
RD
6131 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6132 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6133 return resultobj;
6134 fail:
6135 return NULL;
6136}
6137
6138
c32bde28 6139static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6140 PyObject *resultobj;
6141 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6142 bool arg2 ;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "self",(char *) "can", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6151 if (SWIG_arg_fail(1)) SWIG_fail;
6152 {
6153 arg2 = (bool)(SWIG_As_bool(obj1));
6154 if (SWIG_arg_fail(2)) SWIG_fail;
6155 }
d14a1e28
RD
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 (arg1)->SetCanLiveOnPagebreak(arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167}
6168
6169
c32bde28 6170static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6171 PyObject *resultobj;
6172 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6173 bool result;
6174 PyObject * obj0 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
093d3ff1
RD
6180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6181 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6185
6186 wxPyEndAllowThreads(__tstate);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
4f89f6a3
RD
6189 {
6190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6191 }
d14a1e28
RD
6192 return resultobj;
6193 fail:
6194 return NULL;
6195}
6196
6197
c32bde28 6198static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6199 PyObject *resultobj;
6200 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6201 bool result;
6202 PyObject * obj0 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
4f89f6a3
RD
6217 {
6218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6219 }
d14a1e28
RD
6220 return resultobj;
6221 fail:
6222 return NULL;
6223}
6224
6225
c32bde28 6226static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6227 PyObject *resultobj;
6228 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
6229 int arg2 ;
6230 int arg3 ;
d14a1e28
RD
6231 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6232 wxHtmlCell *result;
6233 PyObject * obj0 = 0 ;
8edf1c75
RD
6234 PyObject * obj1 = 0 ;
6235 PyObject * obj2 = 0 ;
d14a1e28
RD
6236 PyObject * obj3 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6239 };
6240
8edf1c75 6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail;
6244 {
6245 arg2 = (int)(SWIG_As_int(obj1));
6246 if (SWIG_arg_fail(2)) SWIG_fail;
6247 }
6248 {
6249 arg3 = (int)(SWIG_As_int(obj2));
6250 if (SWIG_arg_fail(3)) SWIG_fail;
6251 }
d14a1e28 6252 if (obj3) {
093d3ff1
RD
6253 {
6254 arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3));
6255 if (SWIG_arg_fail(4)) SWIG_fail;
6256 }
d14a1e28
RD
6257 }
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
2f4c0a16 6265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6266 return resultobj;
6267 fail:
6268 return NULL;
6269}
6270
6271
c32bde28 6272static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6273 PyObject *resultobj;
6274 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6275 wxPoint result;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
6282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292 wxPoint * resultptr;
093d3ff1 6293 resultptr = new wxPoint((wxPoint &)(result));
2f4c0a16 6294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6295 }
6296 return resultobj;
6297 fail:
6298 return NULL;
6299}
6300
6301
c32bde28 6302static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6303 PyObject *resultobj;
6304 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6305 wxHtmlCell *result;
6306 PyObject * obj0 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
2f4c0a16 6321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6322 return resultobj;
6323 fail:
6324 return NULL;
6325}
6326
6327
c32bde28 6328static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6329 PyObject *resultobj;
6330 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6331 wxHtmlCell *result;
6332 PyObject * obj0 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
2f4c0a16 6347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6348 return resultobj;
6349 fail:
6350 return NULL;
6351}
6352
6353
c32bde28 6354static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6355 PyObject *resultobj;
6356 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6357 unsigned int result;
6358 PyObject * obj0 = 0 ;
6359 char *kwnames[] = {
6360 (char *) "self", NULL
6361 };
6362
6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
6364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6365 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
093d3ff1
RD
6373 {
6374 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
6375 }
d14a1e28
RD
6376 return resultobj;
6377 fail:
6378 return NULL;
6379}
6380
6381
c32bde28 6382static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6383 PyObject *resultobj;
6384 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6385 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6386 bool result;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self",(char *) "cell", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(1)) SWIG_fail;
6396 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6397 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
4f89f6a3
RD
6405 {
6406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6407 }
d14a1e28
RD
6408 return resultobj;
6409 fail:
6410 return NULL;
6411}
6412
6413
c32bde28 6414static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6415 PyObject *resultobj;
6416 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6417 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6418 wxString result;
6419 PyObject * obj0 = 0 ;
6420 PyObject * obj1 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self",(char *) "sel", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail;
6428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6429 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 {
6438#if wxUSE_UNICODE
6439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6440#else
6441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6442#endif
6443 }
6444 return resultobj;
6445 fail:
6446 return NULL;
6447}
6448
6449
c32bde28 6450static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6451 PyObject *obj;
6452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6454 Py_INCREF(obj);
6455 return Py_BuildValue((char *)"");
6456}
c32bde28 6457static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6458 PyObject *resultobj;
6459 wxString *arg1 = 0 ;
6460 wxDC *arg2 = 0 ;
6461 wxHtmlWordCell *result;
ae8162c8 6462 bool temp1 = false ;
d14a1e28
RD
6463 PyObject * obj0 = 0 ;
6464 PyObject * obj1 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "word",(char *) "dc", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6470 {
6471 arg1 = wxString_in_helper(obj0);
6472 if (arg1 == NULL) SWIG_fail;
ae8162c8 6473 temp1 = true;
d14a1e28 6474 }
093d3ff1
RD
6475 {
6476 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6477 if (SWIG_arg_fail(2)) SWIG_fail;
6478 if (arg2 == NULL) {
6479 SWIG_null_ref("wxDC");
6480 }
6481 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6482 }
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
2f4c0a16 6490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6491 {
6492 if (temp1)
6493 delete arg1;
6494 }
6495 return resultobj;
6496 fail:
6497 {
6498 if (temp1)
6499 delete arg1;
6500 }
6501 return NULL;
6502}
6503
6504
c32bde28 6505static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6506 PyObject *obj;
6507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6508 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6509 Py_INCREF(obj);
6510 return Py_BuildValue((char *)"");
6511}
c32bde28 6512static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6513 PyObject *resultobj;
6514 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6515 wxHtmlContainerCell *result;
6516 PyObject * obj0 = 0 ;
6517 char *kwnames[] = {
6518 (char *) "parent", NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
6522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
2f4c0a16 6531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6532 return resultobj;
6533 fail:
6534 return NULL;
6535}
6536
6537
c32bde28 6538static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6539 PyObject *resultobj;
6540 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6541 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6542 PyObject * obj0 = 0 ;
6543 PyObject * obj1 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self",(char *) "cell", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail;
6551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6552 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 (arg1)->InsertCell(arg2);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 Py_INCREF(Py_None); resultobj = Py_None;
6561 return resultobj;
6562 fail:
6563 return NULL;
6564}
6565
6566
c32bde28 6567static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6568 PyObject *resultobj;
6569 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6570 int arg2 ;
6571 PyObject * obj0 = 0 ;
8edf1c75 6572 PyObject * obj1 = 0 ;
d14a1e28
RD
6573 char *kwnames[] = {
6574 (char *) "self",(char *) "al", NULL
6575 };
6576
8edf1c75 6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail;
6580 {
6581 arg2 = (int)(SWIG_As_int(obj1));
6582 if (SWIG_arg_fail(2)) SWIG_fail;
6583 }
d14a1e28
RD
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 (arg1)->SetAlignHor(arg2);
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 Py_INCREF(Py_None); resultobj = Py_None;
6592 return resultobj;
6593 fail:
6594 return NULL;
6595}
6596
6597
c32bde28 6598static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6599 PyObject *resultobj;
6600 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6601 int result;
6602 PyObject * obj0 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "self", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (int)(arg1)->GetAlignHor();
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
093d3ff1
RD
6617 {
6618 resultobj = SWIG_From_int((int)(result));
6619 }
d14a1e28
RD
6620 return resultobj;
6621 fail:
6622 return NULL;
6623}
6624
6625
c32bde28 6626static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6627 PyObject *resultobj;
6628 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6629 int arg2 ;
6630 PyObject * obj0 = 0 ;
8edf1c75 6631 PyObject * obj1 = 0 ;
d14a1e28
RD
6632 char *kwnames[] = {
6633 (char *) "self",(char *) "al", NULL
6634 };
6635
8edf1c75 6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6638 if (SWIG_arg_fail(1)) SWIG_fail;
6639 {
6640 arg2 = (int)(SWIG_As_int(obj1));
6641 if (SWIG_arg_fail(2)) SWIG_fail;
6642 }
d14a1e28
RD
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 (arg1)->SetAlignVer(arg2);
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 Py_INCREF(Py_None); resultobj = Py_None;
6651 return resultobj;
6652 fail:
6653 return NULL;
6654}
6655
6656
c32bde28 6657static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6658 PyObject *resultobj;
6659 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6660 int result;
6661 PyObject * obj0 = 0 ;
6662 char *kwnames[] = {
6663 (char *) "self", NULL
6664 };
6665
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
093d3ff1
RD
6667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6668 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (int)(arg1)->GetAlignVer();
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
093d3ff1
RD
6676 {
6677 resultobj = SWIG_From_int((int)(result));
6678 }
d14a1e28
RD
6679 return resultobj;
6680 fail:
6681 return NULL;
6682}
6683
6684
c32bde28 6685static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6686 PyObject *resultobj;
6687 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6688 int arg2 ;
6689 int arg3 ;
6690 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6691 PyObject * obj0 = 0 ;
8edf1c75
RD
6692 PyObject * obj1 = 0 ;
6693 PyObject * obj2 = 0 ;
6694 PyObject * obj3 = 0 ;
d14a1e28
RD
6695 char *kwnames[] = {
6696 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6697 };
6698
8edf1c75 6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6701 if (SWIG_arg_fail(1)) SWIG_fail;
6702 {
6703 arg2 = (int)(SWIG_As_int(obj1));
6704 if (SWIG_arg_fail(2)) SWIG_fail;
6705 }
6706 {
6707 arg3 = (int)(SWIG_As_int(obj2));
6708 if (SWIG_arg_fail(3)) SWIG_fail;
6709 }
8edf1c75 6710 if (obj3) {
093d3ff1
RD
6711 {
6712 arg4 = (int)(SWIG_As_int(obj3));
6713 if (SWIG_arg_fail(4)) SWIG_fail;
6714 }
8edf1c75 6715 }
d14a1e28
RD
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 (arg1)->SetIndent(arg2,arg3,arg4);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 Py_INCREF(Py_None); resultobj = Py_None;
6724 return resultobj;
6725 fail:
6726 return NULL;
6727}
6728
6729
c32bde28 6730static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6731 PyObject *resultobj;
6732 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6733 int arg2 ;
6734 int result;
6735 PyObject * obj0 = 0 ;
8edf1c75 6736 PyObject * obj1 = 0 ;
d14a1e28
RD
6737 char *kwnames[] = {
6738 (char *) "self",(char *) "ind", NULL
6739 };
6740
8edf1c75 6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6743 if (SWIG_arg_fail(1)) SWIG_fail;
6744 {
6745 arg2 = (int)(SWIG_As_int(obj1));
6746 if (SWIG_arg_fail(2)) SWIG_fail;
6747 }
d14a1e28
RD
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = (int)(arg1)->GetIndent(arg2);
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
093d3ff1
RD
6755 {
6756 resultobj = SWIG_From_int((int)(result));
6757 }
d14a1e28
RD
6758 return resultobj;
6759 fail:
6760 return NULL;
6761}
6762
6763
c32bde28 6764static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6765 PyObject *resultobj;
6766 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6767 int arg2 ;
6768 int result;
6769 PyObject * obj0 = 0 ;
8edf1c75 6770 PyObject * obj1 = 0 ;
d14a1e28
RD
6771 char *kwnames[] = {
6772 (char *) "self",(char *) "ind", NULL
6773 };
6774
8edf1c75 6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6777 if (SWIG_arg_fail(1)) SWIG_fail;
6778 {
6779 arg2 = (int)(SWIG_As_int(obj1));
6780 if (SWIG_arg_fail(2)) SWIG_fail;
6781 }
d14a1e28
RD
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (int)(arg1)->GetIndentUnits(arg2);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
093d3ff1
RD
6789 {
6790 resultobj = SWIG_From_int((int)(result));
6791 }
d14a1e28
RD
6792 return resultobj;
6793 fail:
6794 return NULL;
6795}
6796
6797
c32bde28 6798static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6799 PyObject *resultobj;
6800 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6801 wxHtmlTag *arg2 = 0 ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "tag", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6810 if (SWIG_arg_fail(1)) SWIG_fail;
6811 {
6812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6813 if (SWIG_arg_fail(2)) SWIG_fail;
6814 if (arg2 == NULL) {
6815 SWIG_null_ref("wxHtmlTag");
6816 }
6817 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6818 }
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 Py_INCREF(Py_None); resultobj = Py_None;
6827 return resultobj;
6828 fail:
6829 return NULL;
6830}
6831
6832
c32bde28 6833static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6834 PyObject *resultobj;
6835 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6836 int arg2 ;
6837 int arg3 ;
6838 PyObject * obj0 = 0 ;
8edf1c75
RD
6839 PyObject * obj1 = 0 ;
6840 PyObject * obj2 = 0 ;
d14a1e28
RD
6841 char *kwnames[] = {
6842 (char *) "self",(char *) "w",(char *) "units", NULL
6843 };
6844
8edf1c75 6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6847 if (SWIG_arg_fail(1)) SWIG_fail;
6848 {
6849 arg2 = (int)(SWIG_As_int(obj1));
6850 if (SWIG_arg_fail(2)) SWIG_fail;
6851 }
6852 {
6853 arg3 = (int)(SWIG_As_int(obj2));
6854 if (SWIG_arg_fail(3)) SWIG_fail;
6855 }
d14a1e28
RD
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 (arg1)->SetWidthFloat(arg2,arg3);
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 Py_INCREF(Py_None); resultobj = Py_None;
6864 return resultobj;
6865 fail:
6866 return NULL;
6867}
6868
6869
c32bde28 6870static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6871 PyObject *resultobj;
6872 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6873 wxHtmlTag *arg2 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 char *kwnames[] = {
6877 (char *) "self",(char *) "tag", NULL
6878 };
6879
6880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6882 if (SWIG_arg_fail(1)) SWIG_fail;
6883 {
6884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6885 if (SWIG_arg_fail(2)) SWIG_fail;
6886 if (arg2 == NULL) {
6887 SWIG_null_ref("wxHtmlTag");
6888 }
6889 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6890 }
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
6898 Py_INCREF(Py_None); resultobj = Py_None;
6899 return resultobj;
6900 fail:
6901 return NULL;
6902}
6903
6904
c32bde28 6905static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6906 PyObject *resultobj;
6907 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6908 int arg2 ;
6909 int arg3 = (int) wxHTML_ALIGN_TOP ;
6910 PyObject * obj0 = 0 ;
8edf1c75
RD
6911 PyObject * obj1 = 0 ;
6912 PyObject * obj2 = 0 ;
d14a1e28
RD
6913 char *kwnames[] = {
6914 (char *) "self",(char *) "h",(char *) "align", NULL
6915 };
6916
8edf1c75 6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail;
6920 {
6921 arg2 = (int)(SWIG_As_int(obj1));
6922 if (SWIG_arg_fail(2)) SWIG_fail;
6923 }
8edf1c75 6924 if (obj2) {
093d3ff1
RD
6925 {
6926 arg3 = (int)(SWIG_As_int(obj2));
6927 if (SWIG_arg_fail(3)) SWIG_fail;
6928 }
8edf1c75 6929 }
d14a1e28
RD
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 (arg1)->SetMinHeight(arg2,arg3);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 Py_INCREF(Py_None); resultobj = Py_None;
6938 return resultobj;
6939 fail:
6940 return NULL;
6941}
6942
6943
c32bde28 6944static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6945 PyObject *resultobj;
6946 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6947 wxColour *arg2 = 0 ;
6948 wxColour temp2 ;
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "self",(char *) "clr", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6957 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6958 {
6959 arg2 = &temp2;
6960 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6961 }
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 Py_INCREF(Py_None); resultobj = Py_None;
6970 return resultobj;
6971 fail:
6972 return NULL;
6973}
6974
6975
c32bde28 6976static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6977 PyObject *resultobj;
6978 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6979 wxColour result;
6980 PyObject * obj0 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
6986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6987 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 result = (arg1)->GetBackgroundColour();
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 {
6996 wxColour * resultptr;
093d3ff1 6997 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
6999 }
7000 return resultobj;
7001 fail:
7002 return NULL;
7003}
7004
7005
c32bde28 7006static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7007 PyObject *resultobj;
7008 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7009 wxColour *arg2 = 0 ;
7010 wxColour *arg3 = 0 ;
7011 wxColour temp2 ;
7012 wxColour temp3 ;
7013 PyObject * obj0 = 0 ;
7014 PyObject * obj1 = 0 ;
7015 PyObject * obj2 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7022 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7023 {
7024 arg2 = &temp2;
7025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7026 }
7027 {
7028 arg3 = &temp3;
7029 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7030 }
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 Py_INCREF(Py_None); resultobj = Py_None;
7039 return resultobj;
7040 fail:
7041 return NULL;
7042}
7043
7044
c32bde28 7045static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7046 PyObject *resultobj;
7047 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7048 wxHtmlCell *result;
7049 PyObject * obj0 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
7055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
2f4c0a16 7064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
7065 return resultobj;
7066 fail:
7067 return NULL;
7068}
7069
7070
c32bde28 7071static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7072 PyObject *obj;
7073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7074 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7075 Py_INCREF(obj);
7076 return Py_BuildValue((char *)"");
7077}
c32bde28 7078static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7079 PyObject *resultobj;
51b83b37 7080 wxColour *arg1 = 0 ;
d14a1e28
RD
7081 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7082 wxHtmlColourCell *result;
51b83b37 7083 wxColour temp1 ;
d14a1e28 7084 PyObject * obj0 = 0 ;
8edf1c75 7085 PyObject * obj1 = 0 ;
d14a1e28
RD
7086 char *kwnames[] = {
7087 (char *) "clr",(char *) "flags", NULL
7088 };
7089
8edf1c75 7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 7091 {
51b83b37
RD
7092 arg1 = &temp1;
7093 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
093d3ff1 7094 }
8edf1c75 7095 if (obj1) {
093d3ff1
RD
7096 {
7097 arg2 = (int)(SWIG_As_int(obj1));
7098 if (SWIG_arg_fail(2)) SWIG_fail;
7099 }
8edf1c75 7100 }
d14a1e28
RD
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
51b83b37 7103 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
d14a1e28
RD
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
2f4c0a16 7108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7109 return resultobj;
7110 fail:
7111 return NULL;
7112}
7113
7114
c32bde28 7115static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7116 PyObject *obj;
7117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7118 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7119 Py_INCREF(obj);
7120 return Py_BuildValue((char *)"");
7121}
c32bde28 7122static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7123 PyObject *resultobj;
7124 wxFont *arg1 = (wxFont *) 0 ;
7125 wxHtmlFontCell *result;
7126 PyObject * obj0 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "font", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
093d3ff1
RD
7132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
2f4c0a16 7141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7142 return resultobj;
7143 fail:
7144 return NULL;
7145}
7146
7147
c32bde28 7148static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7149 PyObject *obj;
7150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7151 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7152 Py_INCREF(obj);
7153 return Py_BuildValue((char *)"");
7154}
c32bde28 7155static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7156 PyObject *resultobj;
7157 wxWindow *arg1 = (wxWindow *) 0 ;
7158 int arg2 = (int) 0 ;
7159 wxHtmlWidgetCell *result;
7160 PyObject * obj0 = 0 ;
8edf1c75 7161 PyObject * obj1 = 0 ;
d14a1e28
RD
7162 char *kwnames[] = {
7163 (char *) "wnd",(char *) "w", NULL
7164 };
7165
8edf1c75 7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7169 if (obj1) {
093d3ff1
RD
7170 {
7171 arg2 = (int)(SWIG_As_int(obj1));
7172 if (SWIG_arg_fail(2)) SWIG_fail;
7173 }
8edf1c75 7174 }
d14a1e28
RD
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
2f4c0a16 7182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7183 return resultobj;
7184 fail:
7185 return NULL;
7186}
7187
7188
c32bde28 7189static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7190 PyObject *obj;
7191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7192 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7193 Py_INCREF(obj);
7194 return Py_BuildValue((char *)"");
7195}
c32bde28 7196static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7197 PyObject *resultobj;
7198 wxPyHtmlFilter *result;
7199 char *kwnames[] = {
7200 NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
2f4c0a16 7211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7212 return resultobj;
7213 fail:
7214 return NULL;
7215}
7216
7217
c32bde28 7218static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7219 PyObject *resultobj;
7220 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7221 PyObject *arg2 = (PyObject *) 0 ;
7222 PyObject *arg3 = (PyObject *) 0 ;
7223 PyObject * obj0 = 0 ;
7224 PyObject * obj1 = 0 ;
7225 PyObject * obj2 = 0 ;
7226 char *kwnames[] = {
7227 (char *) "self",(char *) "self",(char *) "_class", NULL
7228 };
7229
7230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7233 arg2 = obj1;
7234 arg3 = obj2;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 (arg1)->_setCallbackInfo(arg2,arg3);
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 Py_INCREF(Py_None); resultobj = Py_None;
7243 return resultobj;
7244 fail:
7245 return NULL;
7246}
7247
7248
c32bde28 7249static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7250 PyObject *obj;
7251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7252 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7253 Py_INCREF(obj);
7254 return Py_BuildValue((char *)"");
7255}
c32bde28 7256static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7257 PyObject *resultobj;
7258 wxWindow *arg1 = (wxWindow *) 0 ;
7259 int arg2 = (int) -1 ;
7260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7262 wxSize const &arg4_defvalue = wxDefaultSize ;
7263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7264 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7265 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7266 wxString *arg6 = (wxString *) &arg6_defvalue ;
7267 wxPyHtmlWindow *result;
7268 wxPoint temp3 ;
7269 wxSize temp4 ;
ae8162c8 7270 bool temp6 = false ;
d14a1e28 7271 PyObject * obj0 = 0 ;
8edf1c75 7272 PyObject * obj1 = 0 ;
d14a1e28
RD
7273 PyObject * obj2 = 0 ;
7274 PyObject * obj3 = 0 ;
8edf1c75 7275 PyObject * obj4 = 0 ;
d14a1e28
RD
7276 PyObject * obj5 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7279 };
7280
8edf1c75 7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7284 if (obj1) {
093d3ff1
RD
7285 {
7286 arg2 = (int)(SWIG_As_int(obj1));
7287 if (SWIG_arg_fail(2)) SWIG_fail;
7288 }
8edf1c75 7289 }
d14a1e28
RD
7290 if (obj2) {
7291 {
7292 arg3 = &temp3;
7293 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7294 }
7295 }
7296 if (obj3) {
7297 {
7298 arg4 = &temp4;
7299 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7300 }
7301 }
8edf1c75 7302 if (obj4) {
093d3ff1
RD
7303 {
7304 arg5 = (int)(SWIG_As_int(obj4));
7305 if (SWIG_arg_fail(5)) SWIG_fail;
7306 }
8edf1c75 7307 }
d14a1e28
RD
7308 if (obj5) {
7309 {
7310 arg6 = wxString_in_helper(obj5);
7311 if (arg6 == NULL) SWIG_fail;
ae8162c8 7312 temp6 = true;
d14a1e28
RD
7313 }
7314 }
7315 {
0439c23b 7316 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7319
7320 wxPyEndAllowThreads(__tstate);
110da5b0 7321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7322 }
b0f7404b 7323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7324 {
7325 if (temp6)
7326 delete arg6;
7327 }
7328 return resultobj;
7329 fail:
7330 {
7331 if (temp6)
7332 delete arg6;
7333 }
7334 return NULL;
7335}
7336
7337
c32bde28 7338static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7339 PyObject *resultobj;
7340 wxPyHtmlWindow *result;
7341 char *kwnames[] = {
7342 NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7346 {
0439c23b 7347 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7350
7351 wxPyEndAllowThreads(__tstate);
110da5b0 7352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7353 }
b0f7404b 7354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7355 return resultobj;
7356 fail:
7357 return NULL;
7358}
7359
7360
c32bde28 7361static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7362 PyObject *resultobj;
7363 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7364 wxWindow *arg2 = (wxWindow *) 0 ;
7365 int arg3 = (int) -1 ;
7366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7368 wxSize const &arg5_defvalue = wxDefaultSize ;
7369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7370 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7371 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7372 wxString *arg7 = (wxString *) &arg7_defvalue ;
7373 bool result;
7374 wxPoint temp4 ;
7375 wxSize temp5 ;
ae8162c8 7376 bool temp7 = false ;
d14a1e28
RD
7377 PyObject * obj0 = 0 ;
7378 PyObject * obj1 = 0 ;
8edf1c75 7379 PyObject * obj2 = 0 ;
d14a1e28
RD
7380 PyObject * obj3 = 0 ;
7381 PyObject * obj4 = 0 ;
8edf1c75 7382 PyObject * obj5 = 0 ;
d14a1e28
RD
7383 PyObject * obj6 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7386 };
7387
8edf1c75 7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail;
7391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7392 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 7393 if (obj2) {
093d3ff1
RD
7394 {
7395 arg3 = (int)(SWIG_As_int(obj2));
7396 if (SWIG_arg_fail(3)) SWIG_fail;
7397 }
8edf1c75 7398 }
d14a1e28
RD
7399 if (obj3) {
7400 {
7401 arg4 = &temp4;
7402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7403 }
7404 }
7405 if (obj4) {
7406 {
7407 arg5 = &temp5;
7408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7409 }
7410 }
8edf1c75 7411 if (obj5) {
093d3ff1
RD
7412 {
7413 arg6 = (int)(SWIG_As_int(obj5));
7414 if (SWIG_arg_fail(6)) SWIG_fail;
7415 }
8edf1c75 7416 }
d14a1e28
RD
7417 if (obj6) {
7418 {
7419 arg7 = wxString_in_helper(obj6);
7420 if (arg7 == NULL) SWIG_fail;
ae8162c8 7421 temp7 = true;
d14a1e28
RD
7422 }
7423 }
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
4f89f6a3
RD
7431 {
7432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7433 }
d14a1e28
RD
7434 {
7435 if (temp7)
7436 delete arg7;
7437 }
7438 return resultobj;
7439 fail:
7440 {
7441 if (temp7)
7442 delete arg7;
7443 }
7444 return NULL;
7445}
7446
7447
c32bde28 7448static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7449 PyObject *resultobj;
7450 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7451 PyObject *arg2 = (PyObject *) 0 ;
7452 PyObject *arg3 = (PyObject *) 0 ;
7453 PyObject * obj0 = 0 ;
7454 PyObject * obj1 = 0 ;
7455 PyObject * obj2 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self",(char *) "self",(char *) "_class", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7463 arg2 = obj1;
7464 arg3 = obj2;
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 (arg1)->_setCallbackInfo(arg2,arg3);
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 Py_INCREF(Py_None); resultobj = Py_None;
7473 return resultobj;
7474 fail:
7475 return NULL;
7476}
7477
7478
c32bde28 7479static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7480 PyObject *resultobj;
7481 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7482 wxString *arg2 = 0 ;
7483 bool result;
ae8162c8 7484 bool temp2 = false ;
d14a1e28
RD
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self",(char *) "source", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7493 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7494 {
7495 arg2 = wxString_in_helper(obj1);
7496 if (arg2 == NULL) SWIG_fail;
ae8162c8 7497 temp2 = true;
d14a1e28
RD
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
4f89f6a3
RD
7506 {
7507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7508 }
d14a1e28
RD
7509 {
7510 if (temp2)
7511 delete arg2;
7512 }
7513 return resultobj;
7514 fail:
7515 {
7516 if (temp2)
7517 delete arg2;
7518 }
7519 return NULL;
7520}
7521
7522
c32bde28 7523static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7524 PyObject *resultobj;
7525 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7526 wxString *arg2 = 0 ;
7527 bool result;
ae8162c8 7528 bool temp2 = false ;
d14a1e28
RD
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "location", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7538 {
7539 arg2 = wxString_in_helper(obj1);
7540 if (arg2 == NULL) SWIG_fail;
ae8162c8 7541 temp2 = true;
d14a1e28
RD
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
4f89f6a3
RD
7550 {
7551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7552 }
d14a1e28
RD
7553 {
7554 if (temp2)
7555 delete arg2;
7556 }
7557 return resultobj;
7558 fail:
7559 {
7560 if (temp2)
7561 delete arg2;
7562 }
7563 return NULL;
7564}
7565
7566
c32bde28 7567static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7568 PyObject *resultobj;
7569 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7570 wxString *arg2 = 0 ;
7571 bool result;
ae8162c8 7572 bool temp2 = false ;
d14a1e28
RD
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self",(char *) "filename", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7582 {
7583 arg2 = wxString_in_helper(obj1);
7584 if (arg2 == NULL) SWIG_fail;
ae8162c8 7585 temp2 = true;
d14a1e28
RD
7586 }
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
4f89f6a3
RD
7594 {
7595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7596 }
d14a1e28
RD
7597 {
7598 if (temp2)
7599 delete arg2;
7600 }
7601 return resultobj;
7602 fail:
7603 {
7604 if (temp2)
7605 delete arg2;
7606 }
7607 return NULL;
7608}
7609
7610
c32bde28 7611static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7612 PyObject *resultobj;
7613 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7614 wxString *arg2 = 0 ;
7615 bool result;
ae8162c8 7616 bool temp2 = false ;
d14a1e28
RD
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self",(char *) "source", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7626 {
7627 arg2 = wxString_in_helper(obj1);
7628 if (arg2 == NULL) SWIG_fail;
ae8162c8 7629 temp2 = true;
d14a1e28
RD
7630 }
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
4f89f6a3
RD
7638 {
7639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7640 }
d14a1e28
RD
7641 {
7642 if (temp2)
7643 delete arg2;
7644 }
7645 return resultobj;
7646 fail:
7647 {
7648 if (temp2)
7649 delete arg2;
7650 }
7651 return NULL;
7652}
7653
7654
c32bde28 7655static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7656 PyObject *resultobj;
7657 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7658 wxString result;
7659 PyObject * obj0 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
7665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 result = (arg1)->GetOpenedPage();
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 {
7675#if wxUSE_UNICODE
7676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7677#else
7678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7679#endif
7680 }
7681 return resultobj;
7682 fail:
7683 return NULL;
7684}
7685
7686
c32bde28 7687static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7688 PyObject *resultobj;
7689 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7690 wxString result;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 result = (arg1)->GetOpenedAnchor();
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 {
7707#if wxUSE_UNICODE
7708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7709#else
7710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7711#endif
7712 }
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
c32bde28 7719static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7720 PyObject *resultobj;
7721 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7722 wxString result;
7723 PyObject * obj0 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "self", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
7729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 result = (arg1)->GetOpenedPageTitle();
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 {
7739#if wxUSE_UNICODE
7740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7741#else
7742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7743#endif
7744 }
7745 return resultobj;
7746 fail:
7747 return NULL;
7748}
7749
7750
c32bde28 7751static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7752 PyObject *resultobj;
7753 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7754 wxFrame *arg2 = (wxFrame *) 0 ;
7755 wxString *arg3 = 0 ;
ae8162c8 7756 bool temp3 = false ;
d14a1e28
RD
7757 PyObject * obj0 = 0 ;
7758 PyObject * obj1 = 0 ;
7759 PyObject * obj2 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self",(char *) "frame",(char *) "format", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail;
7767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
7768 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7769 {
7770 arg3 = wxString_in_helper(obj2);
7771 if (arg3 == NULL) SWIG_fail;
ae8162c8 7772 temp3 = true;
d14a1e28
RD
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 Py_INCREF(Py_None); resultobj = Py_None;
7782 {
7783 if (temp3)
7784 delete arg3;
7785 }
7786 return resultobj;
7787 fail:
7788 {
7789 if (temp3)
7790 delete arg3;
7791 }
7792 return NULL;
7793}
7794
7795
c32bde28 7796static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7797 PyObject *resultobj;
7798 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7799 wxFrame *result;
7800 PyObject * obj0 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "self", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
7806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = (wxFrame *)(arg1)->GetRelatedFrame();
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 {
412d302d 7816 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7817 }
7818 return resultobj;
7819 fail:
7820 return NULL;
7821}
7822
7823
c32bde28 7824static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7825 PyObject *resultobj;
7826 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7827 int arg2 ;
7828 PyObject * obj0 = 0 ;
8edf1c75 7829 PyObject * obj1 = 0 ;
d14a1e28
RD
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "bar", NULL
7832 };
7833
8edf1c75 7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail;
7837 {
7838 arg2 = (int)(SWIG_As_int(obj1));
7839 if (SWIG_arg_fail(2)) SWIG_fail;
7840 }
d14a1e28
RD
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->SetRelatedStatusBar(arg2);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 Py_INCREF(Py_None); resultobj = Py_None;
7849 return resultobj;
7850 fail:
7851 return NULL;
7852}
7853
7854
c32bde28 7855static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7856 PyObject *resultobj;
7857 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7858 wxString arg2 ;
7859 wxString arg3 ;
7860 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 PyObject * obj2 = 0 ;
7864 PyObject * obj3 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
7872 {
7873 wxString* sptr = wxString_in_helper(obj1);
7874 if (sptr == NULL) SWIG_fail;
7875 arg2 = *sptr;
7876 delete sptr;
7877 }
7878 {
7879 wxString* sptr = wxString_in_helper(obj2);
7880 if (sptr == NULL) SWIG_fail;
7881 arg3 = *sptr;
7882 delete sptr;
7883 }
d14a1e28
RD
7884 if (obj3) {
7885 arg4 = obj3;
7886 }
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 return resultobj;
7896 fail:
7897 return NULL;
7898}
7899
7900
ae8162c8 7901static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
7902 PyObject *resultobj;
7903 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7904 int arg2 = (int) -1 ;
ae8162c8
RD
7905 wxString const &arg3_defvalue = wxPyEmptyString ;
7906 wxString *arg3 = (wxString *) &arg3_defvalue ;
7907 wxString const &arg4_defvalue = wxPyEmptyString ;
7908 wxString *arg4 = (wxString *) &arg4_defvalue ;
7909 bool temp3 = false ;
7910 bool temp4 = false ;
30ee79f7
RD
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
ae8162c8
RD
7913 PyObject * obj2 = 0 ;
7914 PyObject * obj3 = 0 ;
30ee79f7 7915 char *kwnames[] = {
ae8162c8 7916 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
7917 };
7918
ae8162c8 7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7921 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 7922 if (obj1) {
093d3ff1
RD
7923 {
7924 arg2 = (int)(SWIG_As_int(obj1));
7925 if (SWIG_arg_fail(2)) SWIG_fail;
7926 }
30ee79f7 7927 }
ae8162c8
RD
7928 if (obj2) {
7929 {
7930 arg3 = wxString_in_helper(obj2);
7931 if (arg3 == NULL) SWIG_fail;
7932 temp3 = true;
7933 }
7934 }
7935 if (obj3) {
7936 {
7937 arg4 = wxString_in_helper(obj3);
7938 if (arg4 == NULL) SWIG_fail;
7939 temp4 = true;
7940 }
7941 }
30ee79f7
RD
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 7944 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
7950 {
7951 if (temp3)
7952 delete arg3;
7953 }
7954 {
7955 if (temp4)
7956 delete arg4;
7957 }
30ee79f7
RD
7958 return resultobj;
7959 fail:
ae8162c8
RD
7960 {
7961 if (temp3)
7962 delete arg3;
7963 }
7964 {
7965 if (temp4)
7966 delete arg4;
7967 }
30ee79f7
RD
7968 return NULL;
7969}
7970
7971
c32bde28 7972static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7973 PyObject *resultobj;
7974 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7975 wxString *arg2 = 0 ;
ae8162c8 7976 bool temp2 = false ;
d14a1e28
RD
7977 PyObject * obj0 = 0 ;
7978 PyObject * obj1 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self",(char *) "title", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7986 {
7987 arg2 = wxString_in_helper(obj1);
7988 if (arg2 == NULL) SWIG_fail;
ae8162c8 7989 temp2 = true;
d14a1e28
RD
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 (arg1)->SetTitle((wxString const &)*arg2);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 Py_INCREF(Py_None); resultobj = Py_None;
7999 {
8000 if (temp2)
8001 delete arg2;
8002 }
8003 return resultobj;
8004 fail:
8005 {
8006 if (temp2)
8007 delete arg2;
8008 }
8009 return NULL;
8010}
8011
8012
c32bde28 8013static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8014 PyObject *resultobj;
8015 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8016 int arg2 ;
8017 PyObject * obj0 = 0 ;
8edf1c75 8018 PyObject * obj1 = 0 ;
d14a1e28
RD
8019 char *kwnames[] = {
8020 (char *) "self",(char *) "b", NULL
8021 };
8022
8edf1c75 8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8025 if (SWIG_arg_fail(1)) SWIG_fail;
8026 {
8027 arg2 = (int)(SWIG_As_int(obj1));
8028 if (SWIG_arg_fail(2)) SWIG_fail;
8029 }
d14a1e28
RD
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 (arg1)->SetBorders(arg2);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 Py_INCREF(Py_None); resultobj = Py_None;
8038 return resultobj;
8039 fail:
8040 return NULL;
8041}
8042
8043
53aa7709
RD
8044static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8047 wxBitmap *arg2 = 0 ;
8048 PyObject * obj0 = 0 ;
8049 PyObject * obj1 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "bmpBg", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail;
8057 {
8058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8059 if (SWIG_arg_fail(2)) SWIG_fail;
8060 if (arg2 == NULL) {
8061 SWIG_null_ref("wxBitmap");
8062 }
8063 if (SWIG_arg_fail(2)) SWIG_fail;
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076}
8077
8078
c32bde28 8079static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8080 PyObject *resultobj;
8081 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8082 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8083 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 PyObject * obj2 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self",(char *) "cfg",(char *) "path", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail;
8094 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8095 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8096 if (obj2) {
423f194a
RD
8097 {
8098 wxString* sptr = wxString_in_helper(obj2);
8099 if (sptr == NULL) SWIG_fail;
8100 arg3 = *sptr;
8101 delete sptr;
8102 }
d14a1e28
RD
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->ReadCustomization(arg2,arg3);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115}
8116
8117
c32bde28 8118static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8119 PyObject *resultobj;
8120 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8121 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8122 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 PyObject * obj2 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self",(char *) "cfg",(char *) "path", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8132 if (SWIG_arg_fail(1)) SWIG_fail;
8133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8134 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8135 if (obj2) {
423f194a
RD
8136 {
8137 wxString* sptr = wxString_in_helper(obj2);
8138 if (sptr == NULL) SWIG_fail;
8139 arg3 = *sptr;
8140 delete sptr;
8141 }
d14a1e28
RD
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->WriteCustomization(arg2,arg3);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154}
8155
8156
c32bde28 8157static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8158 PyObject *resultobj;
8159 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8160 bool result;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8168 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 result = (bool)(arg1)->HistoryBack();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
4f89f6a3
RD
8176 {
8177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8178 }
d14a1e28
RD
8179 return resultobj;
8180 fail:
8181 return NULL;
8182}
8183
8184
c32bde28 8185static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8186 PyObject *resultobj;
8187 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8188 bool result;
8189 PyObject * obj0 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8196 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (bool)(arg1)->HistoryForward();
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
4f89f6a3
RD
8204 {
8205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8206 }
d14a1e28
RD
8207 return resultobj;
8208 fail:
8209 return NULL;
8210}
8211
8212
c32bde28 8213static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8214 PyObject *resultobj;
8215 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8216 bool result;
8217 PyObject * obj0 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
093d3ff1
RD
8223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8224 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (bool)(arg1)->HistoryCanBack();
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
4f89f6a3
RD
8232 {
8233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8234 }
d14a1e28
RD
8235 return resultobj;
8236 fail:
8237 return NULL;
8238}
8239
8240
c32bde28 8241static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8242 PyObject *resultobj;
8243 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8244 bool result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
093d3ff1
RD
8251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8252 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 result = (bool)(arg1)->HistoryCanForward();
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
4f89f6a3
RD
8260 {
8261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8262 }
d14a1e28
RD
8263 return resultobj;
8264 fail:
8265 return NULL;
8266}
8267
8268
c32bde28 8269static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8270 PyObject *resultobj;
8271 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8272 PyObject * obj0 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
093d3ff1
RD
8278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 (arg1)->HistoryClear();
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 Py_INCREF(Py_None); resultobj = Py_None;
8288 return resultobj;
8289 fail:
8290 return NULL;
8291}
8292
8293
c32bde28 8294static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8295 PyObject *resultobj;
8296 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8297 wxHtmlContainerCell *result;
8298 PyObject * obj0 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
093d3ff1
RD
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
2f4c0a16 8313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8314 return resultobj;
8315 fail:
8316 return NULL;
8317}
8318
8319
c32bde28 8320static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8321 PyObject *resultobj;
8322 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8323 wxHtmlWinParser *result;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
093d3ff1
RD
8330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (wxHtmlWinParser *)(arg1)->GetParser();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
2f4c0a16 8339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
c32bde28 8346static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8347 PyObject *resultobj;
8348 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8349 wxString *arg2 = 0 ;
8350 bool result;
ae8162c8 8351 bool temp2 = false ;
d14a1e28
RD
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "anchor", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8361 {
8362 arg2 = wxString_in_helper(obj1);
8363 if (arg2 == NULL) SWIG_fail;
ae8162c8 8364 temp2 = true;
d14a1e28
RD
8365 }
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
4f89f6a3
RD
8373 {
8374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8375 }
d14a1e28
RD
8376 {
8377 if (temp2)
8378 delete arg2;
8379 }
8380 return resultobj;
8381 fail:
8382 {
8383 if (temp2)
8384 delete arg2;
8385 }
8386 return NULL;
8387}
8388
8389
c32bde28 8390static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8391 PyObject *resultobj;
8392 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8393 wxString *arg2 = 0 ;
8394 bool result;
ae8162c8 8395 bool temp2 = false ;
d14a1e28
RD
8396 PyObject * obj0 = 0 ;
8397 PyObject * obj1 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self",(char *) "anchor", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8404 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8405 {
8406 arg2 = wxString_in_helper(obj1);
8407 if (arg2 == NULL) SWIG_fail;
ae8162c8 8408 temp2 = true;
d14a1e28
RD
8409 }
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
4f89f6a3
RD
8417 {
8418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8419 }
d14a1e28
RD
8420 {
8421 if (temp2)
8422 delete arg2;
8423 }
8424 return resultobj;
8425 fail:
8426 {
8427 if (temp2)
8428 delete arg2;
8429 }
8430 return NULL;
8431}
8432
8433
c32bde28 8434static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8435 PyObject *resultobj;
8436 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "filter", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
8443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 wxPyHtmlWindow::AddFilter(arg1);
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456}
8457
8458
c32bde28 8459static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8460 PyObject *resultobj;
8461 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8462 wxPoint *arg2 = 0 ;
8463 wxPoint temp2 ;
8464 PyObject * obj0 = 0 ;
8465 PyObject * obj1 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self",(char *) "pos", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8473 {
8474 arg2 = &temp2;
8475 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8476 }
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 (arg1)->SelectWord((wxPoint const &)*arg2);
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 Py_INCREF(Py_None); resultobj = Py_None;
8485 return resultobj;
8486 fail:
8487 return NULL;
8488}
8489
8490
c32bde28 8491static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8492 PyObject *resultobj;
8493 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8494 wxPoint *arg2 = 0 ;
8495 wxPoint temp2 ;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char *kwnames[] = {
8499 (char *) "self",(char *) "pos", NULL
8500 };
8501
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8505 {
8506 arg2 = &temp2;
8507 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8508 }
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 (arg1)->SelectLine((wxPoint const &)*arg2);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 Py_INCREF(Py_None); resultobj = Py_None;
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
c32bde28 8523static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
8524 PyObject *resultobj;
8525 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
8532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 (arg1)->SelectAll();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
c32bde28 8548static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8549 PyObject *resultobj;
8550 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8551 wxString result;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (arg1)->SelectionToText();
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568#if wxUSE_UNICODE
8569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8570#else
8571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8572#endif
8573 }
8574 return resultobj;
8575 fail:
8576 return NULL;
8577}
8578
8579
c32bde28 8580static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8581 PyObject *resultobj;
8582 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8583 wxString result;
8584 PyObject * obj0 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
093d3ff1
RD
8590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (arg1)->ToText();
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 {
8600#if wxUSE_UNICODE
8601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8602#else
8603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8604#endif
8605 }
8606 return resultobj;
8607 fail:
8608 return NULL;
8609}
8610
8611
c32bde28 8612static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8613 PyObject *resultobj;
8614 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8615 wxHtmlLinkInfo *arg2 = 0 ;
8616 PyObject * obj0 = 0 ;
8617 PyObject * obj1 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self",(char *) "link", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8624 if (SWIG_arg_fail(1)) SWIG_fail;
8625 {
8626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8627 if (SWIG_arg_fail(2)) SWIG_fail;
8628 if (arg2 == NULL) {
8629 SWIG_null_ref("wxHtmlLinkInfo");
8630 }
8631 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8632 }
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 Py_INCREF(Py_None); resultobj = Py_None;
8641 return resultobj;
8642 fail:
8643 return NULL;
8644}
8645
8646
c32bde28 8647static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8648 PyObject *resultobj;
8649 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8650 wxString *arg2 = 0 ;
ae8162c8 8651 bool temp2 = false ;
d14a1e28
RD
8652 PyObject * obj0 = 0 ;
8653 PyObject * obj1 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self",(char *) "title", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8661 {
8662 arg2 = wxString_in_helper(obj1);
8663 if (arg2 == NULL) SWIG_fail;
ae8162c8 8664 temp2 = true;
d14a1e28
RD
8665 }
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 Py_INCREF(Py_None); resultobj = Py_None;
8674 {
8675 if (temp2)
8676 delete arg2;
8677 }
8678 return resultobj;
8679 fail:
8680 {
8681 if (temp2)
8682 delete arg2;
8683 }
8684 return NULL;
8685}
8686
8687
c32bde28 8688static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8689 PyObject *resultobj;
8690 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8691 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
8692 int arg3 ;
8693 int arg4 ;
d14a1e28
RD
8694 PyObject * obj0 = 0 ;
8695 PyObject * obj1 = 0 ;
8edf1c75
RD
8696 PyObject * obj2 = 0 ;
8697 PyObject * obj3 = 0 ;
d14a1e28
RD
8698 char *kwnames[] = {
8699 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8700 };
8701
8edf1c75 8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail;
8705 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8706 if (SWIG_arg_fail(2)) SWIG_fail;
8707 {
8708 arg3 = (int)(SWIG_As_int(obj2));
8709 if (SWIG_arg_fail(3)) SWIG_fail;
8710 }
8711 {
8712 arg4 = (int)(SWIG_As_int(obj3));
8713 if (SWIG_arg_fail(4)) SWIG_fail;
8714 }
d14a1e28
RD
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 Py_INCREF(Py_None); resultobj = Py_None;
8723 return resultobj;
8724 fail:
8725 return NULL;
8726}
8727
8728
c32bde28 8729static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8730 PyObject *resultobj;
8731 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8732 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
8733 int arg3 ;
8734 int arg4 ;
d14a1e28
RD
8735 wxMouseEvent *arg5 = 0 ;
8736 PyObject * obj0 = 0 ;
8737 PyObject * obj1 = 0 ;
8edf1c75
RD
8738 PyObject * obj2 = 0 ;
8739 PyObject * obj3 = 0 ;
d14a1e28
RD
8740 PyObject * obj4 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8743 };
8744
8edf1c75 8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
8746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail;
8748 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8749 if (SWIG_arg_fail(2)) SWIG_fail;
8750 {
8751 arg3 = (int)(SWIG_As_int(obj2));
8752 if (SWIG_arg_fail(3)) SWIG_fail;
8753 }
8754 {
8755 arg4 = (int)(SWIG_As_int(obj3));
8756 if (SWIG_arg_fail(4)) SWIG_fail;
8757 }
8758 {
8759 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
8760 if (SWIG_arg_fail(5)) SWIG_fail;
8761 if (arg5 == NULL) {
8762 SWIG_null_ref("wxMouseEvent");
8763 }
8764 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
8765 }
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 Py_INCREF(Py_None); resultobj = Py_None;
8774 return resultobj;
8775 fail:
8776 return NULL;
8777}
8778
8779
c32bde28 8780static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 8781 PyObject *resultobj;
093d3ff1 8782 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8783 wxVisualAttributes result;
8784 PyObject * obj0 = 0 ;
8785 char *kwnames[] = {
8786 (char *) "variant", NULL
8787 };
8788
8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8790 if (obj0) {
093d3ff1
RD
8791 {
8792 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8793 if (SWIG_arg_fail(1)) SWIG_fail;
8794 }
f20a2e1f
RD
8795 }
8796 {
0439c23b 8797 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8800
8801 wxPyEndAllowThreads(__tstate);
110da5b0 8802 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8803 }
8804 {
8805 wxVisualAttributes * resultptr;
093d3ff1 8806 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
8807 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8808 }
8809 return resultobj;
8810 fail:
8811 return NULL;
8812}
8813
8814
c32bde28 8815static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8816 PyObject *obj;
8817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8818 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
8819 Py_INCREF(obj);
8820 return Py_BuildValue((char *)"");
8821}
c32bde28 8822static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8823 PyObject *resultobj;
8824 wxHtmlDCRenderer *result;
8825 char *kwnames[] = {
8826 NULL
8827 };
8828
8829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
8830 {
0439c23b 8831 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
8834
8835 wxPyEndAllowThreads(__tstate);
110da5b0 8836 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8837 }
2f4c0a16 8838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
8839 return resultobj;
8840 fail:
8841 return NULL;
8842}
8843
8844
c32bde28 8845static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8846 PyObject *resultobj;
8847 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8848 PyObject * obj0 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 delete arg1;
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 Py_INCREF(Py_None); resultobj = Py_None;
8864 return resultobj;
8865 fail:
8866 return NULL;
8867}
8868
8869
c32bde28 8870static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8871 PyObject *resultobj;
8872 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8873 wxDC *arg2 = (wxDC *) 0 ;
8874 int arg3 ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8edf1c75 8877 PyObject * obj2 = 0 ;
d14a1e28
RD
8878 char *kwnames[] = {
8879 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8880 };
8881
8edf1c75 8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8884 if (SWIG_arg_fail(1)) SWIG_fail;
8885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8886 if (SWIG_arg_fail(2)) SWIG_fail;
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)->SetDC(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_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8906 PyObject *resultobj;
8907 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8908 int arg2 ;
8909 int arg3 ;
8910 PyObject * obj0 = 0 ;
8edf1c75
RD
8911 PyObject * obj1 = 0 ;
8912 PyObject * obj2 = 0 ;
d14a1e28
RD
8913 char *kwnames[] = {
8914 (char *) "self",(char *) "width",(char *) "height", NULL
8915 };
8916
8edf1c75 8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8919 if (SWIG_arg_fail(1)) SWIG_fail;
8920 {
8921 arg2 = (int)(SWIG_As_int(obj1));
8922 if (SWIG_arg_fail(2)) SWIG_fail;
8923 }
8924 {
8925 arg3 = (int)(SWIG_As_int(obj2));
8926 if (SWIG_arg_fail(3)) SWIG_fail;
8927 }
d14a1e28
RD
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->SetSize(arg2,arg3);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
c32bde28 8942static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8943 PyObject *resultobj;
8944 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8945 wxString *arg2 = 0 ;
8946 wxString const &arg3_defvalue = wxPyEmptyString ;
8947 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
8948 bool arg4 = (bool) true ;
8949 bool temp2 = false ;
8950 bool temp3 = false ;
d14a1e28
RD
8951 PyObject * obj0 = 0 ;
8952 PyObject * obj1 = 0 ;
8953 PyObject * obj2 = 0 ;
8954 PyObject * obj3 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8962 {
8963 arg2 = wxString_in_helper(obj1);
8964 if (arg2 == NULL) SWIG_fail;
ae8162c8 8965 temp2 = true;
d14a1e28
RD
8966 }
8967 if (obj2) {
8968 {
8969 arg3 = wxString_in_helper(obj2);
8970 if (arg3 == NULL) SWIG_fail;
ae8162c8 8971 temp3 = true;
d14a1e28
RD
8972 }
8973 }
8974 if (obj3) {
093d3ff1
RD
8975 {
8976 arg4 = (bool)(SWIG_As_bool(obj3));
8977 if (SWIG_arg_fail(4)) SWIG_fail;
8978 }
d14a1e28
RD
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 {
8989 if (temp2)
8990 delete arg2;
8991 }
8992 {
8993 if (temp3)
8994 delete arg3;
8995 }
8996 return resultobj;
8997 fail:
8998 {
8999 if (temp2)
9000 delete arg2;
9001 }
9002 {
9003 if (temp3)
9004 delete arg3;
9005 }
9006 return NULL;
9007}
9008
9009
c32bde28 9010static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9011 PyObject *resultobj;
9012 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9013 wxString arg2 ;
9014 wxString arg3 ;
9015 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9016 PyObject * obj0 = 0 ;
9017 PyObject * obj1 = 0 ;
9018 PyObject * obj2 = 0 ;
9019 PyObject * obj3 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9026 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9027 {
9028 wxString* sptr = wxString_in_helper(obj1);
9029 if (sptr == NULL) SWIG_fail;
9030 arg2 = *sptr;
9031 delete sptr;
9032 }
9033 {
9034 wxString* sptr = wxString_in_helper(obj2);
9035 if (sptr == NULL) SWIG_fail;
9036 arg3 = *sptr;
9037 delete sptr;
9038 }
d14a1e28
RD
9039 if (obj3) {
9040 arg4 = obj3;
9041 }
9042 {
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 Py_INCREF(Py_None); resultobj = Py_None;
9050 return resultobj;
9051 fail:
9052 return NULL;
9053}
9054
9055
ae8162c8 9056static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9057 PyObject *resultobj;
9058 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9059 int arg2 = (int) -1 ;
ae8162c8
RD
9060 wxString const &arg3_defvalue = wxPyEmptyString ;
9061 wxString *arg3 = (wxString *) &arg3_defvalue ;
9062 wxString const &arg4_defvalue = wxPyEmptyString ;
9063 wxString *arg4 = (wxString *) &arg4_defvalue ;
9064 bool temp3 = false ;
9065 bool temp4 = false ;
30ee79f7
RD
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
ae8162c8
RD
9068 PyObject * obj2 = 0 ;
9069 PyObject * obj3 = 0 ;
30ee79f7 9070 char *kwnames[] = {
ae8162c8 9071 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9072 };
9073
ae8162c8 9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9076 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9077 if (obj1) {
093d3ff1
RD
9078 {
9079 arg2 = (int)(SWIG_As_int(obj1));
9080 if (SWIG_arg_fail(2)) SWIG_fail;
9081 }
30ee79f7 9082 }
ae8162c8
RD
9083 if (obj2) {
9084 {
9085 arg3 = wxString_in_helper(obj2);
9086 if (arg3 == NULL) SWIG_fail;
9087 temp3 = true;
9088 }
9089 }
9090 if (obj3) {
9091 {
9092 arg4 = wxString_in_helper(obj3);
9093 if (arg4 == NULL) SWIG_fail;
9094 temp4 = true;
9095 }
9096 }
30ee79f7
RD
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9099 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9105 {
9106 if (temp3)
9107 delete arg3;
9108 }
9109 {
9110 if (temp4)
9111 delete arg4;
9112 }
30ee79f7
RD
9113 return resultobj;
9114 fail:
ae8162c8
RD
9115 {
9116 if (temp3)
9117 delete arg3;
9118 }
9119 {
9120 if (temp4)
9121 delete arg4;
9122 }
30ee79f7
RD
9123 return NULL;
9124}
9125
9126
c32bde28 9127static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9128 PyObject *resultobj;
9129 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9130 int arg2 ;
9131 int arg3 ;
9132 int arg4 = (int) 0 ;
ae8162c8 9133 int arg5 = (int) false ;
d14a1e28
RD
9134 int arg6 = (int) INT_MAX ;
9135 int *arg7 = (int *) NULL ;
9136 int arg8 = (int) 0 ;
9137 int result;
9138 PyObject * obj0 = 0 ;
8edf1c75
RD
9139 PyObject * obj1 = 0 ;
9140 PyObject * obj2 = 0 ;
9141 PyObject * obj3 = 0 ;
9142 PyObject * obj4 = 0 ;
9143 PyObject * obj5 = 0 ;
d14a1e28 9144 PyObject * obj6 = 0 ;
8edf1c75 9145 PyObject * obj7 = 0 ;
d14a1e28 9146 char *kwnames[] = {
f78cc896 9147 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9148 };
9149
8edf1c75 9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail;
9153 {
9154 arg2 = (int)(SWIG_As_int(obj1));
9155 if (SWIG_arg_fail(2)) SWIG_fail;
9156 }
9157 {
9158 arg3 = (int)(SWIG_As_int(obj2));
9159 if (SWIG_arg_fail(3)) SWIG_fail;
9160 }
8edf1c75 9161 if (obj3) {
093d3ff1
RD
9162 {
9163 arg4 = (int)(SWIG_As_int(obj3));
9164 if (SWIG_arg_fail(4)) SWIG_fail;
9165 }
8edf1c75
RD
9166 }
9167 if (obj4) {
093d3ff1
RD
9168 {
9169 arg5 = (int)(SWIG_As_int(obj4));
9170 if (SWIG_arg_fail(5)) SWIG_fail;
9171 }
8edf1c75
RD
9172 }
9173 if (obj5) {
093d3ff1
RD
9174 {
9175 arg6 = (int)(SWIG_As_int(obj5));
9176 if (SWIG_arg_fail(6)) SWIG_fail;
9177 }
8edf1c75 9178 }
d14a1e28 9179 if (obj6) {
093d3ff1
RD
9180 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9181 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9182 }
8edf1c75 9183 if (obj7) {
093d3ff1
RD
9184 {
9185 arg8 = (int)(SWIG_As_int(obj7));
9186 if (SWIG_arg_fail(8)) SWIG_fail;
9187 }
8edf1c75 9188 }
d14a1e28
RD
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
093d3ff1
RD
9196 {
9197 resultobj = SWIG_From_int((int)(result));
9198 }
d14a1e28
RD
9199 return resultobj;
9200 fail:
9201 return NULL;
9202}
9203
9204
c32bde28 9205static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9206 PyObject *resultobj;
9207 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9208 int result;
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
9215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = (int)(arg1)->GetTotalHeight();
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
093d3ff1
RD
9224 {
9225 resultobj = SWIG_From_int((int)(result));
9226 }
d14a1e28
RD
9227 return resultobj;
9228 fail:
9229 return NULL;
9230}
9231
9232
c32bde28 9233static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9234 PyObject *obj;
9235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9236 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9237 Py_INCREF(obj);
9238 return Py_BuildValue((char *)"");
9239}
c32bde28 9240static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9241 PyObject *resultobj;
9242 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9243 wxString *arg1 = (wxString *) &arg1_defvalue ;
9244 wxHtmlPrintout *result;
ae8162c8 9245 bool temp1 = false ;
d14a1e28
RD
9246 PyObject * obj0 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "title", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9252 if (obj0) {
9253 {
9254 arg1 = wxString_in_helper(obj0);
9255 if (arg1 == NULL) SWIG_fail;
ae8162c8 9256 temp1 = true;
d14a1e28
RD
9257 }
9258 }
9259 {
0439c23b 9260 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9261 PyThreadState* __tstate = wxPyBeginAllowThreads();
9262 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9263
9264 wxPyEndAllowThreads(__tstate);
110da5b0 9265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9266 }
2f4c0a16 9267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9268 {
9269 if (temp1)
9270 delete arg1;
9271 }
9272 return resultobj;
9273 fail:
9274 {
9275 if (temp1)
9276 delete arg1;
9277 }
9278 return NULL;
9279}
9280
9281
c32bde28 9282static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9283 PyObject *resultobj;
9284 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9285 wxString *arg2 = 0 ;
9286 wxString const &arg3_defvalue = wxPyEmptyString ;
9287 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9288 bool arg4 = (bool) true ;
9289 bool temp2 = false ;
9290 bool temp3 = false ;
d14a1e28
RD
9291 PyObject * obj0 = 0 ;
9292 PyObject * obj1 = 0 ;
9293 PyObject * obj2 = 0 ;
9294 PyObject * obj3 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9297 };
9298
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9302 {
9303 arg2 = wxString_in_helper(obj1);
9304 if (arg2 == NULL) SWIG_fail;
ae8162c8 9305 temp2 = true;
d14a1e28
RD
9306 }
9307 if (obj2) {
9308 {
9309 arg3 = wxString_in_helper(obj2);
9310 if (arg3 == NULL) SWIG_fail;
ae8162c8 9311 temp3 = true;
d14a1e28
RD
9312 }
9313 }
9314 if (obj3) {
093d3ff1
RD
9315 {
9316 arg4 = (bool)(SWIG_As_bool(obj3));
9317 if (SWIG_arg_fail(4)) SWIG_fail;
9318 }
d14a1e28
RD
9319 }
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 Py_INCREF(Py_None); resultobj = Py_None;
9328 {
9329 if (temp2)
9330 delete arg2;
9331 }
9332 {
9333 if (temp3)
9334 delete arg3;
9335 }
9336 return resultobj;
9337 fail:
9338 {
9339 if (temp2)
9340 delete arg2;
9341 }
9342 {
9343 if (temp3)
9344 delete arg3;
9345 }
9346 return NULL;
9347}
9348
9349
c32bde28 9350static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9351 PyObject *resultobj;
9352 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9353 wxString *arg2 = 0 ;
ae8162c8 9354 bool temp2 = false ;
d14a1e28
RD
9355 PyObject * obj0 = 0 ;
9356 PyObject * obj1 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "self",(char *) "htmlfile", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9364 {
9365 arg2 = wxString_in_helper(obj1);
9366 if (arg2 == NULL) SWIG_fail;
ae8162c8 9367 temp2 = true;
d14a1e28
RD
9368 }
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 (arg1)->SetHtmlFile((wxString const &)*arg2);
9372
9373 wxPyEndAllowThreads(__tstate);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 Py_INCREF(Py_None); resultobj = Py_None;
9377 {
9378 if (temp2)
9379 delete arg2;
9380 }
9381 return resultobj;
9382 fail:
9383 {
9384 if (temp2)
9385 delete arg2;
9386 }
9387 return NULL;
9388}
9389
9390
c32bde28 9391static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9392 PyObject *resultobj;
9393 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9394 wxString *arg2 = 0 ;
9395 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9396 bool temp2 = false ;
d14a1e28
RD
9397 PyObject * obj0 = 0 ;
9398 PyObject * obj1 = 0 ;
8edf1c75 9399 PyObject * obj2 = 0 ;
d14a1e28
RD
9400 char *kwnames[] = {
9401 (char *) "self",(char *) "header",(char *) "pg", NULL
9402 };
9403
8edf1c75 9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9406 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9407 {
9408 arg2 = wxString_in_helper(obj1);
9409 if (arg2 == NULL) SWIG_fail;
ae8162c8 9410 temp2 = true;
d14a1e28 9411 }
8edf1c75 9412 if (obj2) {
093d3ff1
RD
9413 {
9414 arg3 = (int)(SWIG_As_int(obj2));
9415 if (SWIG_arg_fail(3)) SWIG_fail;
9416 }
8edf1c75 9417 }
d14a1e28
RD
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 Py_INCREF(Py_None); resultobj = Py_None;
9426 {
9427 if (temp2)
9428 delete arg2;
9429 }
9430 return resultobj;
9431 fail:
9432 {
9433 if (temp2)
9434 delete arg2;
9435 }
9436 return NULL;
9437}
9438
9439
c32bde28 9440static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9441 PyObject *resultobj;
9442 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9443 wxString *arg2 = 0 ;
9444 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 9445 bool temp2 = false ;
d14a1e28
RD
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
8edf1c75 9448 PyObject * obj2 = 0 ;
d14a1e28
RD
9449 char *kwnames[] = {
9450 (char *) "self",(char *) "footer",(char *) "pg", NULL
9451 };
9452
8edf1c75 9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9456 {
9457 arg2 = wxString_in_helper(obj1);
9458 if (arg2 == NULL) SWIG_fail;
ae8162c8 9459 temp2 = true;
d14a1e28 9460 }
8edf1c75 9461 if (obj2) {
093d3ff1
RD
9462 {
9463 arg3 = (int)(SWIG_As_int(obj2));
9464 if (SWIG_arg_fail(3)) SWIG_fail;
9465 }
8edf1c75 9466 }
d14a1e28
RD
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 Py_INCREF(Py_None); resultobj = Py_None;
9475 {
9476 if (temp2)
9477 delete arg2;
9478 }
9479 return resultobj;
9480 fail:
9481 {
9482 if (temp2)
9483 delete arg2;
9484 }
9485 return NULL;
9486}
9487
9488
c32bde28 9489static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9490 PyObject *resultobj;
9491 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9492 wxString arg2 ;
9493 wxString arg3 ;
9494 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9495 PyObject * obj0 = 0 ;
9496 PyObject * obj1 = 0 ;
9497 PyObject * obj2 = 0 ;
9498 PyObject * obj3 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9506 {
9507 wxString* sptr = wxString_in_helper(obj1);
9508 if (sptr == NULL) SWIG_fail;
9509 arg2 = *sptr;
9510 delete sptr;
9511 }
9512 {
9513 wxString* sptr = wxString_in_helper(obj2);
9514 if (sptr == NULL) SWIG_fail;
9515 arg3 = *sptr;
9516 delete sptr;
9517 }
d14a1e28
RD
9518 if (obj3) {
9519 arg4 = obj3;
9520 }
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 Py_INCREF(Py_None); resultobj = Py_None;
9529 return resultobj;
9530 fail:
9531 return NULL;
9532}
9533
9534
ae8162c8 9535static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9536 PyObject *resultobj;
9537 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9538 int arg2 = (int) -1 ;
ae8162c8
RD
9539 wxString const &arg3_defvalue = wxPyEmptyString ;
9540 wxString *arg3 = (wxString *) &arg3_defvalue ;
9541 wxString const &arg4_defvalue = wxPyEmptyString ;
9542 wxString *arg4 = (wxString *) &arg4_defvalue ;
9543 bool temp3 = false ;
9544 bool temp4 = false ;
30ee79f7
RD
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
ae8162c8
RD
9547 PyObject * obj2 = 0 ;
9548 PyObject * obj3 = 0 ;
30ee79f7 9549 char *kwnames[] = {
ae8162c8 9550 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9551 };
9552
ae8162c8 9553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9555 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9556 if (obj1) {
093d3ff1
RD
9557 {
9558 arg2 = (int)(SWIG_As_int(obj1));
9559 if (SWIG_arg_fail(2)) SWIG_fail;
9560 }
30ee79f7 9561 }
ae8162c8
RD
9562 if (obj2) {
9563 {
9564 arg3 = wxString_in_helper(obj2);
9565 if (arg3 == NULL) SWIG_fail;
9566 temp3 = true;
9567 }
9568 }
9569 if (obj3) {
9570 {
9571 arg4 = wxString_in_helper(obj3);
9572 if (arg4 == NULL) SWIG_fail;
9573 temp4 = true;
9574 }
9575 }
30ee79f7
RD
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9578 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
9584 {
9585 if (temp3)
9586 delete arg3;
9587 }
9588 {
9589 if (temp4)
9590 delete arg4;
9591 }
30ee79f7
RD
9592 return resultobj;
9593 fail:
ae8162c8
RD
9594 {
9595 if (temp3)
9596 delete arg3;
9597 }
9598 {
9599 if (temp4)
9600 delete arg4;
9601 }
30ee79f7
RD
9602 return NULL;
9603}
9604
9605
c32bde28 9606static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9607 PyObject *resultobj;
9608 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9609 float arg2 = (float) 25.2 ;
9610 float arg3 = (float) 25.2 ;
9611 float arg4 = (float) 25.2 ;
9612 float arg5 = (float) 25.2 ;
9613 float arg6 = (float) 5 ;
9614 PyObject * obj0 = 0 ;
8edf1c75
RD
9615 PyObject * obj1 = 0 ;
9616 PyObject * obj2 = 0 ;
9617 PyObject * obj3 = 0 ;
9618 PyObject * obj4 = 0 ;
9619 PyObject * obj5 = 0 ;
d14a1e28
RD
9620 char *kwnames[] = {
9621 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9622 };
9623
8edf1c75 9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
9625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 9627 if (obj1) {
093d3ff1
RD
9628 {
9629 arg2 = (float)(SWIG_As_float(obj1));
9630 if (SWIG_arg_fail(2)) SWIG_fail;
9631 }
8edf1c75
RD
9632 }
9633 if (obj2) {
093d3ff1
RD
9634 {
9635 arg3 = (float)(SWIG_As_float(obj2));
9636 if (SWIG_arg_fail(3)) SWIG_fail;
9637 }
8edf1c75
RD
9638 }
9639 if (obj3) {
093d3ff1
RD
9640 {
9641 arg4 = (float)(SWIG_As_float(obj3));
9642 if (SWIG_arg_fail(4)) SWIG_fail;
9643 }
8edf1c75
RD
9644 }
9645 if (obj4) {
093d3ff1
RD
9646 {
9647 arg5 = (float)(SWIG_As_float(obj4));
9648 if (SWIG_arg_fail(5)) SWIG_fail;
9649 }
8edf1c75
RD
9650 }
9651 if (obj5) {
093d3ff1
RD
9652 {
9653 arg6 = (float)(SWIG_As_float(obj5));
9654 if (SWIG_arg_fail(6)) SWIG_fail;
9655 }
8edf1c75 9656 }
d14a1e28
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 Py_INCREF(Py_None); resultobj = Py_None;
9665 return resultobj;
9666 fail:
9667 return NULL;
9668}
9669
9670
c32bde28 9671static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9672 PyObject *resultobj;
9673 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9674 PyObject * obj0 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "filter", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
9680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9681 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 wxHtmlPrintout::AddFilter(arg1);
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 Py_INCREF(Py_None); resultobj = Py_None;
9690 return resultobj;
9691 fail:
9692 return NULL;
9693}
9694
9695
c32bde28 9696static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9697 PyObject *resultobj;
9698 char *kwnames[] = {
9699 NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 wxHtmlPrintout::CleanUpStatics();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 Py_INCREF(Py_None); resultobj = Py_None;
9711 return resultobj;
9712 fail:
9713 return NULL;
9714}
9715
9716
c32bde28 9717static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9718 PyObject *obj;
9719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9720 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9721 Py_INCREF(obj);
9722 return Py_BuildValue((char *)"");
9723}
c32bde28 9724static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9725 PyObject *resultobj;
9726 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9727 wxString *arg1 = (wxString *) &arg1_defvalue ;
9728 wxWindow *arg2 = (wxWindow *) NULL ;
9729 wxHtmlEasyPrinting *result;
ae8162c8 9730 bool temp1 = false ;
d14a1e28
RD
9731 PyObject * obj0 = 0 ;
9732 PyObject * obj1 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "name",(char *) "parentWindow", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9738 if (obj0) {
9739 {
9740 arg1 = wxString_in_helper(obj0);
9741 if (arg1 == NULL) SWIG_fail;
ae8162c8 9742 temp1 = true;
d14a1e28
RD
9743 }
9744 }
9745 if (obj1) {
093d3ff1
RD
9746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9747 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9748 }
9749 {
0439c23b 9750 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9753
9754 wxPyEndAllowThreads(__tstate);
110da5b0 9755 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9756 }
2f4c0a16 9757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
9758 {
9759 if (temp1)
9760 delete arg1;
9761 }
9762 return resultobj;
9763 fail:
9764 {
9765 if (temp1)
9766 delete arg1;
9767 }
9768 return NULL;
9769}
9770
9771
c32bde28 9772static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9773 PyObject *resultobj;
9774 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9775 PyObject * obj0 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
9781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9782 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 delete arg1;
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 Py_INCREF(Py_None); resultobj = Py_None;
9791 return resultobj;
9792 fail:
9793 return NULL;
9794}
9795
9796
c32bde28 9797static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9798 PyObject *resultobj;
9799 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9800 wxString *arg2 = 0 ;
ae8162c8 9801 bool temp2 = false ;
d14a1e28
RD
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "htmlfile", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9811 {
9812 arg2 = wxString_in_helper(obj1);
9813 if (arg2 == NULL) SWIG_fail;
ae8162c8 9814 temp2 = true;
d14a1e28
RD
9815 }
9816 {
9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
9818 (arg1)->PreviewFile((wxString const &)*arg2);
9819
9820 wxPyEndAllowThreads(__tstate);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 }
9823 Py_INCREF(Py_None); resultobj = Py_None;
9824 {
9825 if (temp2)
9826 delete arg2;
9827 }
9828 return resultobj;
9829 fail:
9830 {
9831 if (temp2)
9832 delete arg2;
9833 }
9834 return NULL;
9835}
9836
9837
c32bde28 9838static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9839 PyObject *resultobj;
9840 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9841 wxString *arg2 = 0 ;
9842 wxString const &arg3_defvalue = wxPyEmptyString ;
9843 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9844 bool temp2 = false ;
9845 bool temp3 = false ;
d14a1e28
RD
9846 PyObject * obj0 = 0 ;
9847 PyObject * obj1 = 0 ;
9848 PyObject * obj2 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9856 {
9857 arg2 = wxString_in_helper(obj1);
9858 if (arg2 == NULL) SWIG_fail;
ae8162c8 9859 temp2 = true;
d14a1e28
RD
9860 }
9861 if (obj2) {
9862 {
9863 arg3 = wxString_in_helper(obj2);
9864 if (arg3 == NULL) SWIG_fail;
ae8162c8 9865 temp3 = true;
d14a1e28
RD
9866 }
9867 }
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
9875 Py_INCREF(Py_None); resultobj = Py_None;
9876 {
9877 if (temp2)
9878 delete arg2;
9879 }
9880 {
9881 if (temp3)
9882 delete arg3;
9883 }
9884 return resultobj;
9885 fail:
9886 {
9887 if (temp2)
9888 delete arg2;
9889 }
9890 {
9891 if (temp3)
9892 delete arg3;
9893 }
9894 return NULL;
9895}
9896
9897
c32bde28 9898static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9899 PyObject *resultobj;
9900 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9901 wxString *arg2 = 0 ;
ae8162c8 9902 bool temp2 = false ;
d14a1e28
RD
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self",(char *) "htmlfile", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9912 {
9913 arg2 = wxString_in_helper(obj1);
9914 if (arg2 == NULL) SWIG_fail;
ae8162c8 9915 temp2 = true;
d14a1e28
RD
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 (arg1)->PrintFile((wxString const &)*arg2);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 Py_INCREF(Py_None); resultobj = Py_None;
9925 {
9926 if (temp2)
9927 delete arg2;
9928 }
9929 return resultobj;
9930 fail:
9931 {
9932 if (temp2)
9933 delete arg2;
9934 }
9935 return NULL;
9936}
9937
9938
c32bde28 9939static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9940 PyObject *resultobj;
9941 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9942 wxString *arg2 = 0 ;
9943 wxString const &arg3_defvalue = wxPyEmptyString ;
9944 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8
RD
9945 bool temp2 = false ;
9946 bool temp3 = false ;
d14a1e28
RD
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 PyObject * obj2 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9957 {
9958 arg2 = wxString_in_helper(obj1);
9959 if (arg2 == NULL) SWIG_fail;
ae8162c8 9960 temp2 = true;
d14a1e28
RD
9961 }
9962 if (obj2) {
9963 {
9964 arg3 = wxString_in_helper(obj2);
9965 if (arg3 == NULL) SWIG_fail;
ae8162c8 9966 temp3 = true;
d14a1e28
RD
9967 }
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 Py_INCREF(Py_None); resultobj = Py_None;
9977 {
9978 if (temp2)
9979 delete arg2;
9980 }
9981 {
9982 if (temp3)
9983 delete arg3;
9984 }
9985 return resultobj;
9986 fail:
9987 {
9988 if (temp2)
9989 delete arg2;
9990 }
9991 {
9992 if (temp3)
9993 delete arg3;
9994 }
9995 return NULL;
9996}
9997
9998
c32bde28 9999static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10000 PyObject *resultobj;
10001 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10002 PyObject * obj0 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
093d3ff1
RD
10008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 (arg1)->PageSetup();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 Py_INCREF(Py_None); resultobj = Py_None;
10018 return resultobj;
10019 fail:
10020 return NULL;
10021}
10022
10023
c32bde28 10024static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10025 PyObject *resultobj;
10026 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10027 wxString *arg2 = 0 ;
10028 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 10029 bool temp2 = false ;
d14a1e28
RD
10030 PyObject * obj0 = 0 ;
10031 PyObject * obj1 = 0 ;
8edf1c75 10032 PyObject * obj2 = 0 ;
d14a1e28
RD
10033 char *kwnames[] = {
10034 (char *) "self",(char *) "header",(char *) "pg", NULL
10035 };
10036
8edf1c75 10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10040 {
10041 arg2 = wxString_in_helper(obj1);
10042 if (arg2 == NULL) SWIG_fail;
ae8162c8 10043 temp2 = true;
d14a1e28 10044 }
8edf1c75 10045 if (obj2) {
093d3ff1
RD
10046 {
10047 arg3 = (int)(SWIG_As_int(obj2));
10048 if (SWIG_arg_fail(3)) SWIG_fail;
10049 }
8edf1c75 10050 }
d14a1e28
RD
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 Py_INCREF(Py_None); resultobj = Py_None;
10059 {
10060 if (temp2)
10061 delete arg2;
10062 }
10063 return resultobj;
10064 fail:
10065 {
10066 if (temp2)
10067 delete arg2;
10068 }
10069 return NULL;
10070}
10071
10072
c32bde28 10073static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10074 PyObject *resultobj;
10075 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10076 wxString *arg2 = 0 ;
10077 int arg3 = (int) wxPAGE_ALL ;
ae8162c8 10078 bool temp2 = false ;
d14a1e28
RD
10079 PyObject * obj0 = 0 ;
10080 PyObject * obj1 = 0 ;
8edf1c75 10081 PyObject * obj2 = 0 ;
d14a1e28
RD
10082 char *kwnames[] = {
10083 (char *) "self",(char *) "footer",(char *) "pg", NULL
10084 };
10085
8edf1c75 10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10089 {
10090 arg2 = wxString_in_helper(obj1);
10091 if (arg2 == NULL) SWIG_fail;
ae8162c8 10092 temp2 = true;
d14a1e28 10093 }
8edf1c75 10094 if (obj2) {
093d3ff1
RD
10095 {
10096 arg3 = (int)(SWIG_As_int(obj2));
10097 if (SWIG_arg_fail(3)) SWIG_fail;
10098 }
8edf1c75 10099 }
d14a1e28
RD
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 Py_INCREF(Py_None); resultobj = Py_None;
10108 {
10109 if (temp2)
10110 delete arg2;
10111 }
10112 return resultobj;
10113 fail:
10114 {
10115 if (temp2)
10116 delete arg2;
10117 }
10118 return NULL;
10119}
10120
10121
c32bde28 10122static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10123 PyObject *resultobj;
10124 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10125 wxString arg2 ;
10126 wxString arg3 ;
10127 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 PyObject * obj2 = 0 ;
10131 PyObject * obj3 = 0 ;
10132 char *kwnames[] = {
10133 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10134 };
10135
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10138 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
10139 {
10140 wxString* sptr = wxString_in_helper(obj1);
10141 if (sptr == NULL) SWIG_fail;
10142 arg2 = *sptr;
10143 delete sptr;
10144 }
10145 {
10146 wxString* sptr = wxString_in_helper(obj2);
10147 if (sptr == NULL) SWIG_fail;
10148 arg3 = *sptr;
10149 delete sptr;
10150 }
d14a1e28
RD
10151 if (obj3) {
10152 arg4 = obj3;
10153 }
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 Py_INCREF(Py_None); resultobj = Py_None;
10162 return resultobj;
10163 fail:
10164 return NULL;
10165}
10166
10167
ae8162c8 10168static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
10169 PyObject *resultobj;
10170 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10171 int arg2 = (int) -1 ;
ae8162c8
RD
10172 wxString const &arg3_defvalue = wxPyEmptyString ;
10173 wxString *arg3 = (wxString *) &arg3_defvalue ;
10174 wxString const &arg4_defvalue = wxPyEmptyString ;
10175 wxString *arg4 = (wxString *) &arg4_defvalue ;
10176 bool temp3 = false ;
10177 bool temp4 = false ;
30ee79f7
RD
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
ae8162c8
RD
10180 PyObject * obj2 = 0 ;
10181 PyObject * obj3 = 0 ;
30ee79f7 10182 char *kwnames[] = {
ae8162c8 10183 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10184 };
10185
ae8162c8 10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10189 if (obj1) {
093d3ff1
RD
10190 {
10191 arg2 = (int)(SWIG_As_int(obj1));
10192 if (SWIG_arg_fail(2)) SWIG_fail;
10193 }
30ee79f7 10194 }
ae8162c8
RD
10195 if (obj2) {
10196 {
10197 arg3 = wxString_in_helper(obj2);
10198 if (arg3 == NULL) SWIG_fail;
10199 temp3 = true;
10200 }
10201 }
10202 if (obj3) {
10203 {
10204 arg4 = wxString_in_helper(obj3);
10205 if (arg4 == NULL) SWIG_fail;
10206 temp4 = true;
10207 }
10208 }
30ee79f7
RD
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 10211 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10212
10213 wxPyEndAllowThreads(__tstate);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 Py_INCREF(Py_None); resultobj = Py_None;
ae8162c8
RD
10217 {
10218 if (temp3)
10219 delete arg3;
10220 }
10221 {
10222 if (temp4)
10223 delete arg4;
10224 }
30ee79f7
RD
10225 return resultobj;
10226 fail:
ae8162c8
RD
10227 {
10228 if (temp3)
10229 delete arg3;
10230 }
10231 {
10232 if (temp4)
10233 delete arg4;
10234 }
30ee79f7
RD
10235 return NULL;
10236}
10237
10238
c32bde28 10239static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10240 PyObject *resultobj;
10241 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10242 wxPrintData *result;
10243 PyObject * obj0 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10250 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (wxPrintData *)(arg1)->GetPrintData();
10254
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
2f4c0a16 10258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10259 return resultobj;
10260 fail:
10261 return NULL;
10262}
10263
10264
c32bde28 10265static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10266 PyObject *resultobj;
10267 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10268 wxPageSetupDialogData *result;
10269 PyObject * obj0 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
10275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
2f4c0a16 10284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
c32bde28 10291static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10292 PyObject *obj;
10293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10294 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10295 Py_INCREF(obj);
10296 return Py_BuildValue((char *)"");
10297}
c32bde28 10298static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10299 PyObject *resultobj;
10300 wxString *arg1 = 0 ;
10301 wxString *arg2 = 0 ;
10302 wxString *arg3 = 0 ;
10303 wxString *arg4 = 0 ;
10304 wxHtmlBookRecord *result;
ae8162c8
RD
10305 bool temp1 = false ;
10306 bool temp2 = false ;
10307 bool temp3 = false ;
10308 bool temp4 = false ;
d14a1e28
RD
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10311 PyObject * obj2 = 0 ;
10312 PyObject * obj3 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10318 {
10319 arg1 = wxString_in_helper(obj0);
10320 if (arg1 == NULL) SWIG_fail;
ae8162c8 10321 temp1 = true;
d14a1e28
RD
10322 }
10323 {
10324 arg2 = wxString_in_helper(obj1);
10325 if (arg2 == NULL) SWIG_fail;
ae8162c8 10326 temp2 = true;
d14a1e28
RD
10327 }
10328 {
10329 arg3 = wxString_in_helper(obj2);
10330 if (arg3 == NULL) SWIG_fail;
ae8162c8 10331 temp3 = true;
d14a1e28
RD
10332 }
10333 {
10334 arg4 = wxString_in_helper(obj3);
10335 if (arg4 == NULL) SWIG_fail;
ae8162c8 10336 temp4 = true;
d14a1e28
RD
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
2f4c0a16 10345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10346 {
10347 if (temp1)
10348 delete arg1;
10349 }
10350 {
10351 if (temp2)
10352 delete arg2;
10353 }
10354 {
10355 if (temp3)
10356 delete arg3;
10357 }
10358 {
10359 if (temp4)
10360 delete arg4;
10361 }
10362 return resultobj;
10363 fail:
10364 {
10365 if (temp1)
10366 delete arg1;
10367 }
10368 {
10369 if (temp2)
10370 delete arg2;
10371 }
10372 {
10373 if (temp3)
10374 delete arg3;
10375 }
10376 {
10377 if (temp4)
10378 delete arg4;
10379 }
10380 return NULL;
10381}
10382
10383
c32bde28 10384static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10385 PyObject *resultobj;
10386 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10387 wxString result;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
10394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10395 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 result = (arg1)->GetBookFile();
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 {
10404#if wxUSE_UNICODE
10405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10406#else
10407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10408#endif
10409 }
10410 return resultobj;
10411 fail:
10412 return NULL;
10413}
10414
10415
c32bde28 10416static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10417 PyObject *resultobj;
10418 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10419 wxString result;
10420 PyObject * obj0 = 0 ;
10421 char *kwnames[] = {
10422 (char *) "self", NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10427 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
10430 result = (arg1)->GetTitle();
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 {
10436#if wxUSE_UNICODE
10437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10438#else
10439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10440#endif
10441 }
10442 return resultobj;
10443 fail:
10444 return NULL;
10445}
10446
10447
c32bde28 10448static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10449 PyObject *resultobj;
10450 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10451 wxString result;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (arg1)->GetStart();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468#if wxUSE_UNICODE
10469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10470#else
10471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10472#endif
10473 }
10474 return resultobj;
10475 fail:
10476 return NULL;
10477}
10478
10479
c32bde28 10480static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10481 PyObject *resultobj;
10482 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10483 wxString result;
10484 PyObject * obj0 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
10490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (arg1)->GetBasePath();
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500#if wxUSE_UNICODE
10501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10502#else
10503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10504#endif
10505 }
10506 return resultobj;
10507 fail:
10508 return NULL;
10509}
10510
10511
c32bde28 10512static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10513 PyObject *resultobj;
10514 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10515 int arg2 ;
10516 int arg3 ;
10517 PyObject * obj0 = 0 ;
8edf1c75
RD
10518 PyObject * obj1 = 0 ;
10519 PyObject * obj2 = 0 ;
d14a1e28
RD
10520 char *kwnames[] = {
10521 (char *) "self",(char *) "start",(char *) "end", NULL
10522 };
10523
8edf1c75 10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10526 if (SWIG_arg_fail(1)) SWIG_fail;
10527 {
10528 arg2 = (int)(SWIG_As_int(obj1));
10529 if (SWIG_arg_fail(2)) SWIG_fail;
10530 }
10531 {
10532 arg3 = (int)(SWIG_As_int(obj2));
10533 if (SWIG_arg_fail(3)) SWIG_fail;
10534 }
d14a1e28
RD
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->SetContentsRange(arg2,arg3);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
c32bde28 10549static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10550 PyObject *resultobj;
10551 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10552 int result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
10559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (int)(arg1)->GetContentsStart();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
093d3ff1
RD
10568 {
10569 resultobj = SWIG_From_int((int)(result));
10570 }
d14a1e28
RD
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
c32bde28 10577static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10578 PyObject *resultobj;
10579 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10580 int result;
10581 PyObject * obj0 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
10587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (int)(arg1)->GetContentsEnd();
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
093d3ff1
RD
10596 {
10597 resultobj = SWIG_From_int((int)(result));
10598 }
d14a1e28
RD
10599 return resultobj;
10600 fail:
10601 return NULL;
10602}
10603
10604
c32bde28 10605static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10606 PyObject *resultobj;
10607 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10608 wxString *arg2 = 0 ;
ae8162c8 10609 bool temp2 = false ;
d14a1e28
RD
10610 PyObject * obj0 = 0 ;
10611 PyObject * obj1 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "title", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10619 {
10620 arg2 = wxString_in_helper(obj1);
10621 if (arg2 == NULL) SWIG_fail;
ae8162c8 10622 temp2 = true;
d14a1e28
RD
10623 }
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->SetTitle((wxString const &)*arg2);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 {
10633 if (temp2)
10634 delete arg2;
10635 }
10636 return resultobj;
10637 fail:
10638 {
10639 if (temp2)
10640 delete arg2;
10641 }
10642 return NULL;
10643}
10644
10645
c32bde28 10646static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10647 PyObject *resultobj;
10648 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10649 wxString *arg2 = 0 ;
ae8162c8 10650 bool temp2 = false ;
d14a1e28
RD
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self",(char *) "path", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10660 {
10661 arg2 = wxString_in_helper(obj1);
10662 if (arg2 == NULL) SWIG_fail;
ae8162c8 10663 temp2 = true;
d14a1e28
RD
10664 }
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 (arg1)->SetBasePath((wxString const &)*arg2);
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 Py_INCREF(Py_None); resultobj = Py_None;
10673 {
10674 if (temp2)
10675 delete arg2;
10676 }
10677 return resultobj;
10678 fail:
10679 {
10680 if (temp2)
10681 delete arg2;
10682 }
10683 return NULL;
10684}
10685
10686
c32bde28 10687static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10688 PyObject *resultobj;
10689 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10690 wxString *arg2 = 0 ;
ae8162c8 10691 bool temp2 = false ;
d14a1e28
RD
10692 PyObject * obj0 = 0 ;
10693 PyObject * obj1 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "start", NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10701 {
10702 arg2 = wxString_in_helper(obj1);
10703 if (arg2 == NULL) SWIG_fail;
ae8162c8 10704 temp2 = true;
d14a1e28
RD
10705 }
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 (arg1)->SetStart((wxString const &)*arg2);
10709
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 Py_INCREF(Py_None); resultobj = Py_None;
10714 {
10715 if (temp2)
10716 delete arg2;
10717 }
10718 return resultobj;
10719 fail:
10720 {
10721 if (temp2)
10722 delete arg2;
10723 }
10724 return NULL;
10725}
10726
10727
c32bde28 10728static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10729 PyObject *resultobj;
10730 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10731 wxString *arg2 = 0 ;
10732 wxString result;
ae8162c8 10733 bool temp2 = false ;
d14a1e28
RD
10734 PyObject * obj0 = 0 ;
10735 PyObject * obj1 = 0 ;
10736 char *kwnames[] = {
10737 (char *) "self",(char *) "page", NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10742 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10743 {
10744 arg2 = wxString_in_helper(obj1);
10745 if (arg2 == NULL) SWIG_fail;
ae8162c8 10746 temp2 = true;
d14a1e28
RD
10747 }
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 {
10756#if wxUSE_UNICODE
10757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10758#else
10759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10760#endif
10761 }
10762 {
10763 if (temp2)
10764 delete arg2;
10765 }
10766 return resultobj;
10767 fail:
10768 {
10769 if (temp2)
10770 delete arg2;
10771 }
10772 return NULL;
10773}
10774
10775
c32bde28 10776static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10777 PyObject *obj;
10778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10779 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
10780 Py_INCREF(obj);
10781 return Py_BuildValue((char *)"");
10782}
c32bde28 10783static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10784 PyObject *resultobj;
10785 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10786 int result;
10787 PyObject * obj0 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
10793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10794 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (int)wxHtmlContentsItem_GetLevel(arg1);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
093d3ff1
RD
10802 {
10803 resultobj = SWIG_From_int((int)(result));
10804 }
d14a1e28
RD
10805 return resultobj;
10806 fail:
10807 return NULL;
10808}
10809
10810
c32bde28 10811static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10812 PyObject *resultobj;
10813 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10814 int result;
10815 PyObject * obj0 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
093d3ff1
RD
10821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (int)wxHtmlContentsItem_GetID(arg1);
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
093d3ff1
RD
10830 {
10831 resultobj = SWIG_From_int((int)(result));
10832 }
d14a1e28
RD
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
c32bde28 10839static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10840 PyObject *resultobj;
10841 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10842 wxString result;
10843 PyObject * obj0 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "self", NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
10849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = wxHtmlContentsItem_GetName(arg1);
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 {
10859#if wxUSE_UNICODE
10860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10861#else
10862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10863#endif
10864 }
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
c32bde28 10871static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10872 PyObject *resultobj;
10873 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10874 wxString result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
10881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = wxHtmlContentsItem_GetPage(arg1);
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891#if wxUSE_UNICODE
10892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10893#else
10894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10895#endif
10896 }
10897 return resultobj;
10898 fail:
10899 return NULL;
10900}
10901
10902
c32bde28 10903static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10904 PyObject *resultobj;
10905 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10906 wxHtmlBookRecord *result;
10907 PyObject * obj0 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
093d3ff1
RD
10913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
2f4c0a16 10922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
d14a1e28
RD
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
c32bde28 10929static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10930 PyObject *obj;
10931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10932 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
10933 Py_INCREF(obj);
10934 return Py_BuildValue((char *)"");
10935}
c32bde28 10936static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10937 PyObject *resultobj;
10938 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10939 bool result;
10940 PyObject * obj0 = 0 ;
10941 char *kwnames[] = {
10942 (char *) "self", NULL
10943 };
10944
10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
093d3ff1
RD
10946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (bool)(arg1)->Search();
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
4f89f6a3
RD
10955 {
10956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10957 }
d14a1e28
RD
10958 return resultobj;
10959 fail:
10960 return NULL;
10961}
10962
10963
c32bde28 10964static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10965 PyObject *resultobj;
10966 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10967 bool result;
10968 PyObject * obj0 = 0 ;
10969 char *kwnames[] = {
10970 (char *) "self", NULL
10971 };
10972
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
10974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (bool)(arg1)->IsActive();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
4f89f6a3
RD
10983 {
10984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10985 }
d14a1e28
RD
10986 return resultobj;
10987 fail:
10988 return NULL;
10989}
10990
10991
c32bde28 10992static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10993 PyObject *resultobj;
10994 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10995 int result;
10996 PyObject * obj0 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (int)(arg1)->GetCurIndex();
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
093d3ff1
RD
11011 {
11012 resultobj = SWIG_From_int((int)(result));
11013 }
d14a1e28
RD
11014 return resultobj;
11015 fail:
11016 return NULL;
11017}
11018
11019
c32bde28 11020static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11021 PyObject *resultobj;
11022 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11023 int result;
11024 PyObject * obj0 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (int)(arg1)->GetMaxIndex();
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
093d3ff1
RD
11039 {
11040 resultobj = SWIG_From_int((int)(result));
11041 }
d14a1e28
RD
11042 return resultobj;
11043 fail:
11044 return NULL;
11045}
11046
11047
c32bde28 11048static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11049 PyObject *resultobj;
11050 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11051 wxString *result;
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
11058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 {
11063 wxString const &_result_ref = (arg1)->GetName();
11064 result = (wxString *) &_result_ref;
11065 }
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
f0983263
RD
11070 {
11071#if wxUSE_UNICODE
11072 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11073#else
11074 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11075#endif
11076 }
d14a1e28
RD
11077 return resultobj;
11078 fail:
11079 return NULL;
11080}
11081
11082
c32bde28 11083static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11084 PyObject *resultobj;
11085 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11086 wxHtmlContentsItem *result;
11087 PyObject * obj0 = 0 ;
11088 char *kwnames[] = {
11089 (char *) "self", NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
11093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
2f4c0a16 11102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11103 return resultobj;
11104 fail:
11105 return NULL;
11106}
11107
11108
c32bde28 11109static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11110 PyObject *obj;
11111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11112 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11113 Py_INCREF(obj);
11114 return Py_BuildValue((char *)"");
11115}
c32bde28 11116static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11117 PyObject *resultobj;
11118 wxHtmlHelpData *result;
11119 char *kwnames[] = {
11120 NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
2f4c0a16 11131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
11132 return resultobj;
11133 fail:
11134 return NULL;
11135}
11136
11137
c32bde28 11138static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11139 PyObject *resultobj;
11140 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11141 PyObject * obj0 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11148 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 delete arg1;
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 Py_INCREF(Py_None); resultobj = Py_None;
11157 return resultobj;
11158 fail:
11159 return NULL;
11160}
11161
11162
c32bde28 11163static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11164 PyObject *resultobj;
11165 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11166 wxString *arg2 = 0 ;
ae8162c8 11167 bool temp2 = false ;
d14a1e28
RD
11168 PyObject * obj0 = 0 ;
11169 PyObject * obj1 = 0 ;
11170 char *kwnames[] = {
11171 (char *) "self",(char *) "path", NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11177 {
11178 arg2 = wxString_in_helper(obj1);
11179 if (arg2 == NULL) SWIG_fail;
ae8162c8 11180 temp2 = true;
d14a1e28
RD
11181 }
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 (arg1)->SetTempDir((wxString const &)*arg2);
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 Py_INCREF(Py_None); resultobj = Py_None;
11190 {
11191 if (temp2)
11192 delete arg2;
11193 }
11194 return resultobj;
11195 fail:
11196 {
11197 if (temp2)
11198 delete arg2;
11199 }
11200 return NULL;
11201}
11202
11203
c32bde28 11204static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11205 PyObject *resultobj;
11206 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11207 wxString *arg2 = 0 ;
11208 bool result;
ae8162c8 11209 bool temp2 = false ;
d14a1e28
RD
11210 PyObject * obj0 = 0 ;
11211 PyObject * obj1 = 0 ;
11212 char *kwnames[] = {
11213 (char *) "self",(char *) "book", NULL
11214 };
11215
11216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11219 {
11220 arg2 = wxString_in_helper(obj1);
11221 if (arg2 == NULL) SWIG_fail;
ae8162c8 11222 temp2 = true;
d14a1e28
RD
11223 }
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
4f89f6a3
RD
11231 {
11232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11233 }
d14a1e28
RD
11234 {
11235 if (temp2)
11236 delete arg2;
11237 }
11238 return resultobj;
11239 fail:
11240 {
11241 if (temp2)
11242 delete arg2;
11243 }
11244 return NULL;
11245}
11246
11247
c32bde28 11248static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11249 PyObject *resultobj;
11250 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11251 wxString *arg2 = 0 ;
11252 wxString result;
ae8162c8 11253 bool temp2 = false ;
d14a1e28
RD
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "page", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11263 {
11264 arg2 = wxString_in_helper(obj1);
11265 if (arg2 == NULL) SWIG_fail;
ae8162c8 11266 temp2 = true;
d14a1e28
RD
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 result = (arg1)->FindPageByName((wxString const &)*arg2);
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 {
11276#if wxUSE_UNICODE
11277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11278#else
11279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11280#endif
11281 }
11282 {
11283 if (temp2)
11284 delete arg2;
11285 }
11286 return resultobj;
11287 fail:
11288 {
11289 if (temp2)
11290 delete arg2;
11291 }
11292 return NULL;
11293}
11294
11295
c32bde28 11296static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11297 PyObject *resultobj;
11298 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11299 int arg2 ;
11300 wxString result;
11301 PyObject * obj0 = 0 ;
8edf1c75 11302 PyObject * obj1 = 0 ;
d14a1e28
RD
11303 char *kwnames[] = {
11304 (char *) "self",(char *) "id", NULL
11305 };
11306
8edf1c75 11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
11310 {
11311 arg2 = (int)(SWIG_As_int(obj1));
11312 if (SWIG_arg_fail(2)) SWIG_fail;
11313 }
d14a1e28
RD
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 result = (arg1)->FindPageById(arg2);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 {
11322#if wxUSE_UNICODE
11323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11324#else
11325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11326#endif
11327 }
11328 return resultobj;
11329 fail:
11330 return NULL;
11331}
11332
11333
c32bde28 11334static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11335 PyObject *resultobj;
11336 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11337 wxHtmlBookRecArray *result;
11338 PyObject * obj0 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
093d3ff1
RD
11344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 {
11349 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11350 result = (wxHtmlBookRecArray *) &_result_ref;
11351 }
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
2f4c0a16 11356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11357 return resultobj;
11358 fail:
11359 return NULL;
11360}
11361
11362
c32bde28 11363static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11364 PyObject *resultobj;
11365 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11366 wxHtmlContentsItem *result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (wxHtmlContentsItem *)(arg1)->GetContents();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
2f4c0a16 11382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11383 return resultobj;
11384 fail:
11385 return NULL;
11386}
11387
11388
c32bde28 11389static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11390 PyObject *resultobj;
11391 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11392 int result;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 result = (int)(arg1)->GetContentsCnt();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
093d3ff1
RD
11408 {
11409 resultobj = SWIG_From_int((int)(result));
11410 }
d14a1e28
RD
11411 return resultobj;
11412 fail:
11413 return NULL;
11414}
11415
11416
c32bde28 11417static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11418 PyObject *resultobj;
11419 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11420 wxHtmlContentsItem *result;
11421 PyObject * obj0 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
2f4c0a16 11436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
11437 return resultobj;
11438 fail:
11439 return NULL;
11440}
11441
11442
c32bde28 11443static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11444 PyObject *resultobj;
11445 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11446 int result;
11447 PyObject * obj0 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
093d3ff1
RD
11453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (int)(arg1)->GetIndexCnt();
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
093d3ff1
RD
11462 {
11463 resultobj = SWIG_From_int((int)(result));
11464 }
d14a1e28
RD
11465 return resultobj;
11466 fail:
11467 return NULL;
11468}
11469
11470
c32bde28 11471static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11472 PyObject *obj;
11473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11474 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11475 Py_INCREF(obj);
11476 return Py_BuildValue((char *)"");
11477}
c32bde28 11478static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11479 PyObject *resultobj;
11480 wxWindow *arg1 = (wxWindow *) 0 ;
11481 int arg2 ;
11482 wxString const &arg3_defvalue = wxPyEmptyString ;
11483 wxString *arg3 = (wxString *) &arg3_defvalue ;
11484 int arg4 = (int) wxHF_DEFAULTSTYLE ;
11485 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
11486 wxHtmlHelpFrame *result;
ae8162c8 11487 bool temp3 = false ;
d14a1e28 11488 PyObject * obj0 = 0 ;
8edf1c75 11489 PyObject * obj1 = 0 ;
d14a1e28 11490 PyObject * obj2 = 0 ;
8edf1c75 11491 PyObject * obj3 = 0 ;
d14a1e28
RD
11492 PyObject * obj4 = 0 ;
11493 char *kwnames[] = {
423f194a 11494 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
11495 };
11496
8edf1c75 11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
11498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11499 if (SWIG_arg_fail(1)) SWIG_fail;
11500 {
11501 arg2 = (int)(SWIG_As_int(obj1));
11502 if (SWIG_arg_fail(2)) SWIG_fail;
11503 }
d14a1e28
RD
11504 if (obj2) {
11505 {
11506 arg3 = wxString_in_helper(obj2);
11507 if (arg3 == NULL) SWIG_fail;
ae8162c8 11508 temp3 = true;
d14a1e28
RD
11509 }
11510 }
8edf1c75 11511 if (obj3) {
093d3ff1
RD
11512 {
11513 arg4 = (int)(SWIG_As_int(obj3));
11514 if (SWIG_arg_fail(4)) SWIG_fail;
11515 }
8edf1c75 11516 }
d14a1e28 11517 if (obj4) {
093d3ff1
RD
11518 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11519 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
11520 }
11521 {
0439c23b 11522 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
11525
11526 wxPyEndAllowThreads(__tstate);
110da5b0 11527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11528 }
2f4c0a16 11529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
11530 {
11531 if (temp3)
11532 delete arg3;
11533 }
11534 return resultobj;
11535 fail:
11536 {
11537 if (temp3)
11538 delete arg3;
11539 }
11540 return NULL;
11541}
11542
11543
c32bde28 11544static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11545 PyObject *resultobj;
11546 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11547 wxHtmlHelpData *result;
11548 PyObject * obj0 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
11554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11556 {
11557 PyThreadState* __tstate = wxPyBeginAllowThreads();
11558 result = (wxHtmlHelpData *)(arg1)->GetData();
11559
11560 wxPyEndAllowThreads(__tstate);
11561 if (PyErr_Occurred()) SWIG_fail;
11562 }
2f4c0a16 11563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11564 return resultobj;
11565 fail:
11566 return NULL;
11567}
11568
11569
c32bde28 11570static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11571 PyObject *resultobj;
11572 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11573 wxString *arg2 = 0 ;
ae8162c8 11574 bool temp2 = false ;
d14a1e28
RD
11575 PyObject * obj0 = 0 ;
11576 PyObject * obj1 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self",(char *) "format", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11583 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11584 {
11585 arg2 = wxString_in_helper(obj1);
11586 if (arg2 == NULL) SWIG_fail;
ae8162c8 11587 temp2 = true;
d14a1e28
RD
11588 }
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 (arg1)->SetTitleFormat((wxString const &)*arg2);
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 Py_INCREF(Py_None); resultobj = Py_None;
11597 {
11598 if (temp2)
11599 delete arg2;
11600 }
11601 return resultobj;
11602 fail:
11603 {
11604 if (temp2)
11605 delete arg2;
11606 }
11607 return NULL;
11608}
11609
11610
c32bde28 11611static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11612 PyObject *resultobj;
11613 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11614 wxString *arg2 = 0 ;
ae8162c8 11615 bool temp2 = false ;
d14a1e28
RD
11616 PyObject * obj0 = 0 ;
11617 PyObject * obj1 = 0 ;
11618 char *kwnames[] = {
11619 (char *) "self",(char *) "x", NULL
11620 };
11621
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11625 {
11626 arg2 = wxString_in_helper(obj1);
11627 if (arg2 == NULL) SWIG_fail;
ae8162c8 11628 temp2 = true;
d14a1e28
RD
11629 }
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 (arg1)->Display((wxString const &)*arg2);
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 Py_INCREF(Py_None); resultobj = Py_None;
11638 {
11639 if (temp2)
11640 delete arg2;
11641 }
11642 return resultobj;
11643 fail:
11644 {
11645 if (temp2)
11646 delete arg2;
11647 }
11648 return NULL;
11649}
11650
11651
c32bde28 11652static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11653 PyObject *resultobj;
11654 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11655 int arg2 ;
11656 PyObject * obj0 = 0 ;
8edf1c75 11657 PyObject * obj1 = 0 ;
d14a1e28
RD
11658 char *kwnames[] = {
11659 (char *) "self",(char *) "id", NULL
11660 };
11661
8edf1c75 11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11664 if (SWIG_arg_fail(1)) SWIG_fail;
11665 {
11666 arg2 = (int)(SWIG_As_int(obj1));
11667 if (SWIG_arg_fail(2)) SWIG_fail;
11668 }
d14a1e28
RD
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 (arg1)->Display(arg2);
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 Py_INCREF(Py_None); resultobj = Py_None;
11677 return resultobj;
11678 fail:
11679 return NULL;
11680}
11681
11682
c32bde28 11683static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11684 PyObject *resultobj;
11685 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11686 PyObject * obj0 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
11692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 (arg1)->DisplayContents();
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 Py_INCREF(Py_None); resultobj = Py_None;
11702 return resultobj;
11703 fail:
11704 return NULL;
11705}
11706
11707
c32bde28 11708static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11709 PyObject *resultobj;
11710 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
11717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 (arg1)->DisplayIndex();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 Py_INCREF(Py_None); resultobj = Py_None;
11727 return resultobj;
11728 fail:
11729 return NULL;
11730}
11731
11732
c32bde28 11733static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11734 PyObject *resultobj;
11735 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11736 wxString *arg2 = 0 ;
11737 bool result;
ae8162c8 11738 bool temp2 = false ;
d14a1e28
RD
11739 PyObject * obj0 = 0 ;
11740 PyObject * obj1 = 0 ;
11741 char *kwnames[] = {
11742 (char *) "self",(char *) "keyword", NULL
11743 };
11744
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11748 {
11749 arg2 = wxString_in_helper(obj1);
11750 if (arg2 == NULL) SWIG_fail;
ae8162c8 11751 temp2 = true;
d14a1e28
RD
11752 }
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
4f89f6a3
RD
11760 {
11761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11762 }
d14a1e28
RD
11763 {
11764 if (temp2)
11765 delete arg2;
11766 }
11767 return resultobj;
11768 fail:
11769 {
11770 if (temp2)
11771 delete arg2;
11772 }
11773 return NULL;
11774}
11775
11776
c32bde28 11777static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11778 PyObject *resultobj;
11779 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11780 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11781 wxString const &arg3_defvalue = wxPyEmptyString ;
11782 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 11783 bool temp3 = false ;
d14a1e28
RD
11784 PyObject * obj0 = 0 ;
11785 PyObject * obj1 = 0 ;
11786 PyObject * obj2 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail;
11794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11795 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11796 if (obj2) {
11797 {
11798 arg3 = wxString_in_helper(obj2);
11799 if (arg3 == NULL) SWIG_fail;
ae8162c8 11800 temp3 = true;
d14a1e28
RD
11801 }
11802 }
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 Py_INCREF(Py_None); resultobj = Py_None;
11811 {
11812 if (temp3)
11813 delete arg3;
11814 }
11815 return resultobj;
11816 fail:
11817 {
11818 if (temp3)
11819 delete arg3;
11820 }
11821 return NULL;
11822}
11823
11824
c32bde28 11825static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11826 PyObject *resultobj;
11827 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11828 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11829 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 PyObject * obj2 = 0 ;
11833 char *kwnames[] = {
11834 (char *) "self",(char *) "cfg",(char *) "path", NULL
11835 };
11836
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11839 if (SWIG_arg_fail(1)) SWIG_fail;
11840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11841 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11842 if (obj2) {
423f194a
RD
11843 {
11844 wxString* sptr = wxString_in_helper(obj2);
11845 if (sptr == NULL) SWIG_fail;
11846 arg3 = *sptr;
11847 delete sptr;
11848 }
d14a1e28
RD
11849 }
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->ReadCustomization(arg2,arg3);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 Py_INCREF(Py_None); resultobj = Py_None;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
c32bde28 11864static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11865 PyObject *resultobj;
11866 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11867 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11868 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 PyObject * obj2 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "cfg",(char *) "path", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail;
11879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11880 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11881 if (obj2) {
423f194a
RD
11882 {
11883 wxString* sptr = wxString_in_helper(obj2);
11884 if (sptr == NULL) SWIG_fail;
11885 arg3 = *sptr;
11886 delete sptr;
11887 }
d14a1e28
RD
11888 }
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 (arg1)->WriteCustomization(arg2,arg3);
11892
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 Py_INCREF(Py_None); resultobj = Py_None;
11897 return resultobj;
11898 fail:
11899 return NULL;
11900}
11901
11902
c32bde28 11903static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11904 PyObject *obj;
11905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11906 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
11907 Py_INCREF(obj);
11908 return Py_BuildValue((char *)"");
11909}
c32bde28 11910static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11911 PyObject *resultobj;
11912 int arg1 = (int) wxHF_DEFAULTSTYLE ;
11913 wxHtmlHelpController *result;
8edf1c75 11914 PyObject * obj0 = 0 ;
d14a1e28
RD
11915 char *kwnames[] = {
11916 (char *) "style", NULL
11917 };
11918
8edf1c75
RD
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
11920 if (obj0) {
093d3ff1
RD
11921 {
11922 arg1 = (int)(SWIG_As_int(obj0));
11923 if (SWIG_arg_fail(1)) SWIG_fail;
11924 }
8edf1c75 11925 }
d14a1e28 11926 {
0439c23b 11927 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
11930
11931 wxPyEndAllowThreads(__tstate);
110da5b0 11932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11933 }
2f4c0a16 11934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
11935 return resultobj;
11936 fail:
11937 return NULL;
11938}
11939
11940
c32bde28 11941static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11942 PyObject *resultobj;
11943 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11944 PyObject * obj0 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
093d3ff1
RD
11950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 delete arg1;
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 Py_INCREF(Py_None); resultobj = Py_None;
11960 return resultobj;
11961 fail:
11962 return NULL;
11963}
11964
11965
c32bde28 11966static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11967 PyObject *resultobj;
11968 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11969 wxString *arg2 = 0 ;
ae8162c8 11970 bool temp2 = false ;
d14a1e28
RD
11971 PyObject * obj0 = 0 ;
11972 PyObject * obj1 = 0 ;
11973 char *kwnames[] = {
11974 (char *) "self",(char *) "format", NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11980 {
11981 arg2 = wxString_in_helper(obj1);
11982 if (arg2 == NULL) SWIG_fail;
ae8162c8 11983 temp2 = true;
d14a1e28
RD
11984 }
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 (arg1)->SetTitleFormat((wxString const &)*arg2);
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 Py_INCREF(Py_None); resultobj = Py_None;
11993 {
11994 if (temp2)
11995 delete arg2;
11996 }
11997 return resultobj;
11998 fail:
11999 {
12000 if (temp2)
12001 delete arg2;
12002 }
12003 return NULL;
12004}
12005
12006
c32bde28 12007static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12008 PyObject *resultobj;
12009 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12010 wxString *arg2 = 0 ;
ae8162c8 12011 bool temp2 = false ;
d14a1e28
RD
12012 PyObject * obj0 = 0 ;
12013 PyObject * obj1 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self",(char *) "path", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12021 {
12022 arg2 = wxString_in_helper(obj1);
12023 if (arg2 == NULL) SWIG_fail;
ae8162c8 12024 temp2 = true;
d14a1e28
RD
12025 }
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 (arg1)->SetTempDir((wxString const &)*arg2);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 Py_INCREF(Py_None); resultobj = Py_None;
12034 {
12035 if (temp2)
12036 delete arg2;
12037 }
12038 return resultobj;
12039 fail:
12040 {
12041 if (temp2)
12042 delete arg2;
12043 }
12044 return NULL;
12045}
12046
12047
c32bde28 12048static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12049 PyObject *resultobj;
12050 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12051 wxString *arg2 = 0 ;
ae8162c8 12052 int arg3 = (int) false ;
d14a1e28 12053 bool result;
ae8162c8 12054 bool temp2 = false ;
d14a1e28
RD
12055 PyObject * obj0 = 0 ;
12056 PyObject * obj1 = 0 ;
8edf1c75 12057 PyObject * obj2 = 0 ;
d14a1e28
RD
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12060 };
12061
8edf1c75 12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12065 {
12066 arg2 = wxString_in_helper(obj1);
12067 if (arg2 == NULL) SWIG_fail;
ae8162c8 12068 temp2 = true;
d14a1e28 12069 }
8edf1c75 12070 if (obj2) {
093d3ff1
RD
12071 {
12072 arg3 = (int)(SWIG_As_int(obj2));
12073 if (SWIG_arg_fail(3)) SWIG_fail;
12074 }
8edf1c75 12075 }
d14a1e28
RD
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
4f89f6a3
RD
12083 {
12084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12085 }
d14a1e28
RD
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 return resultobj;
12091 fail:
12092 {
12093 if (temp2)
12094 delete arg2;
12095 }
12096 return NULL;
12097}
12098
12099
c32bde28 12100static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12101 PyObject *resultobj;
12102 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12103 wxString *arg2 = 0 ;
ae8162c8 12104 bool temp2 = false ;
d14a1e28
RD
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self",(char *) "x", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12114 {
12115 arg2 = wxString_in_helper(obj1);
12116 if (arg2 == NULL) SWIG_fail;
ae8162c8 12117 temp2 = true;
d14a1e28
RD
12118 }
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->Display((wxString const &)*arg2);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 {
12128 if (temp2)
12129 delete arg2;
12130 }
12131 return resultobj;
12132 fail:
12133 {
12134 if (temp2)
12135 delete arg2;
12136 }
12137 return NULL;
12138}
12139
12140
c32bde28 12141static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12142 PyObject *resultobj;
12143 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12144 int arg2 ;
12145 PyObject * obj0 = 0 ;
8edf1c75 12146 PyObject * obj1 = 0 ;
d14a1e28
RD
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "id", NULL
12149 };
12150
8edf1c75 12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail;
12154 {
12155 arg2 = (int)(SWIG_As_int(obj1));
12156 if (SWIG_arg_fail(2)) SWIG_fail;
12157 }
d14a1e28
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->Display(arg2);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
c32bde28 12172static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12173 PyObject *resultobj;
12174 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12175 PyObject * obj0 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
093d3ff1
RD
12181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 (arg1)->DisplayContents();
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 Py_INCREF(Py_None); resultobj = Py_None;
12191 return resultobj;
12192 fail:
12193 return NULL;
12194}
12195
12196
c32bde28 12197static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12198 PyObject *resultobj;
12199 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
12206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->DisplayIndex();
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 Py_INCREF(Py_None); resultobj = Py_None;
12216 return resultobj;
12217 fail:
12218 return NULL;
12219}
12220
12221
c32bde28 12222static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12223 PyObject *resultobj;
12224 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12225 wxString *arg2 = 0 ;
12226 bool result;
ae8162c8 12227 bool temp2 = false ;
d14a1e28
RD
12228 PyObject * obj0 = 0 ;
12229 PyObject * obj1 = 0 ;
12230 char *kwnames[] = {
12231 (char *) "self",(char *) "keyword", NULL
12232 };
12233
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12237 {
12238 arg2 = wxString_in_helper(obj1);
12239 if (arg2 == NULL) SWIG_fail;
ae8162c8 12240 temp2 = true;
d14a1e28
RD
12241 }
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
4f89f6a3
RD
12249 {
12250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12251 }
d14a1e28
RD
12252 {
12253 if (temp2)
12254 delete arg2;
12255 }
12256 return resultobj;
12257 fail:
12258 {
12259 if (temp2)
12260 delete arg2;
12261 }
12262 return NULL;
12263}
12264
12265
c32bde28 12266static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12267 PyObject *resultobj;
12268 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12269 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12270 wxString const &arg3_defvalue = wxPyEmptyString ;
12271 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 12272 bool temp3 = false ;
d14a1e28
RD
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12275 PyObject * obj2 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail;
12283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12284 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12285 if (obj2) {
12286 {
12287 arg3 = wxString_in_helper(obj2);
12288 if (arg3 == NULL) SWIG_fail;
ae8162c8 12289 temp3 = true;
d14a1e28
RD
12290 }
12291 }
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 Py_INCREF(Py_None); resultobj = Py_None;
12300 {
12301 if (temp3)
12302 delete arg3;
12303 }
12304 return resultobj;
12305 fail:
12306 {
12307 if (temp3)
12308 delete arg3;
12309 }
12310 return NULL;
12311}
12312
12313
c32bde28 12314static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12315 PyObject *resultobj;
12316 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12317 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12318 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 PyObject * obj2 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "cfg",(char *) "path", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
12329 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12330 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12331 if (obj2) {
423f194a
RD
12332 {
12333 wxString* sptr = wxString_in_helper(obj2);
12334 if (sptr == NULL) SWIG_fail;
12335 arg3 = *sptr;
12336 delete sptr;
12337 }
d14a1e28
RD
12338 }
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->ReadCustomization(arg2,arg3);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350}
12351
12352
c32bde28 12353static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12354 PyObject *resultobj;
12355 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12356 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12357 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12358 PyObject * obj0 = 0 ;
12359 PyObject * obj1 = 0 ;
12360 PyObject * obj2 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self",(char *) "cfg",(char *) "path", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail;
12368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12369 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12370 if (obj2) {
423f194a
RD
12371 {
12372 wxString* sptr = wxString_in_helper(obj2);
12373 if (sptr == NULL) SWIG_fail;
12374 arg3 = *sptr;
12375 delete sptr;
12376 }
d14a1e28
RD
12377 }
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->WriteCustomization(arg2,arg3);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389}
12390
12391
c32bde28 12392static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12393 PyObject *resultobj;
12394 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12395 wxHtmlHelpFrame *result;
12396 PyObject * obj0 = 0 ;
12397 char *kwnames[] = {
12398 (char *) "self", NULL
12399 };
12400
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
12402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12403 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
2f4c0a16 12411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
12412 return resultobj;
12413 fail:
12414 return NULL;
12415}
12416
12417
c32bde28 12418static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12419 PyObject *obj;
12420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
12422 Py_INCREF(obj);
12423 return Py_BuildValue((char *)"");
12424}
12425static PyMethodDef SwigMethods[] = {
093d3ff1
RD
12426 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12427 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
12428 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
12429 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12430 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12431 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12432 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12433 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
12434 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12435 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
12436 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
12437 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
12438 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
12439 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
12440 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
12441 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
12442 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
12443 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12444 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12445 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
12446 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
12447 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
12448 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12449 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12450 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12451 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
12452 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12453 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12454 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
12455 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
12456 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12457 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12458 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12459 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12460 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12461 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12462 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12463 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12464 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12465 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12466 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12467 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12468 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12469 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12470 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12471 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12472 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12473 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12474 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12475 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12476 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12477 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12478 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12479 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12480 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12481 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12482 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12483 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12484 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
12485 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12486 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
12487 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12488 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12489 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12490 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12491 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12492 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
12493 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12494 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12495 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12496 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12497 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12498 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
12499 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12500 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12501 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12502 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
12503 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
12504 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
12505 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
12506 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
12507 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
12508 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12509 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12510 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12511 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12512 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12513 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
12514 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
12515 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12516 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12517 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12518 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12519 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12520 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12521 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12522 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12523 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
12524 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12525 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12526 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12527 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12528 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12529 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12530 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12531 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12532 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12533 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12534 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12535 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12536 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
12537 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
12538 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12539 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
12540 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
12541 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12542 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12543 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
12544 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12545 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
12546 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
12547 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12548 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12549 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12550 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12551 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
12552 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
12553 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12554 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12555 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12556 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
12557 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
12558 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
12559 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
12560 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
12561 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12562 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12563 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
12564 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
12565 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
12566 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
12567 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12568 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12569 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
12570 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12571 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
12572 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
12573 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
12574 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
12575 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
12576 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
12577 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12578 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12579 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12580 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12581 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12582 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12583 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
12584 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12585 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
12586 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
12587 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12588 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12589 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12590 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
12591 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12592 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
12593 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
12594 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
12595 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
12596 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
12597 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
12598 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
12599 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12600 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12601 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
12602 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12603 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12604 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12605 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12606 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12607 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
12608 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12609 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
12610 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
12611 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12612 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12613 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12614 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12615 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
12616 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12617 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12618 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12619 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 12620 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
12621 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12622 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12623 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
12624 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
12625 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
12626 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
12627 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
12628 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
12629 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12630 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12631 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12632 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12633 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
12634 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
12635 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
12636 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
12637 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
12638 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12639 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12640 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
12641 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12642 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12643 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
12644 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12645 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12646 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12647 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
12648 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12649 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12650 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12651 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
12652 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12653 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
12654 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
12655 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12656 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
12657 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12658 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12659 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12660 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12661 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
12662 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12663 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
12664 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
12665 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12666 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12667 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
12668 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
12669 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
12670 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
12671 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
12672 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12673 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12674 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12675 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12676 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
12677 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
12678 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
12679 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
12680 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
12681 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12682 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12683 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12684 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
12685 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
12686 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12687 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12688 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12689 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12690 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
12691 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
12692 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL},
12693 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL},
12694 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12695 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12696 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL},
12697 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL},
12698 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
12699 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
12700 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12701 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12702 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12703 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL},
12704 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
12705 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12706 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12707 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12708 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12709 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
12710 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
12711 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
12712 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL},
12713 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12714 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12715 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12716 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
12717 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12718 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
12719 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12720 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12721 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12722 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12723 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12724 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12725 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12726 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12727 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12728 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
12729 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12730 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12731 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12732 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12733 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12734 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12735 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12736 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12737 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12738 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12739 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12740 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12741 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12742 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12743 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
c32bde28 12744 { NULL, NULL, 0, NULL }
d14a1e28
RD
12745};
12746
12747
12748/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12749
12750static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
12751 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
12752}
53aa7709
RD
12753static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
12754 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28 12755}
53aa7709
RD
12756static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
12757 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
d14a1e28 12758}
53aa7709
RD
12759static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
12760 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 12761}
53aa7709
RD
12762static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
12763 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
a2482628 12764}
53aa7709
RD
12765static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
12766 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 12767}
53aa7709
RD
12768static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 12770}
53aa7709
RD
12771static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 12773}
53aa7709
RD
12774static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12775 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 12776}
53aa7709
RD
12777static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12778 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
d14a1e28 12779}
53aa7709
RD
12780static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12781 return (void *)((wxEvtHandler *) ((wxValidator *) x));
d14a1e28 12782}
53aa7709
RD
12783static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12784 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
d14a1e28 12785}
53aa7709
RD
12786static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12787 return (void *)((wxEvtHandler *) ((wxMenu *) x));
a2482628 12788}
53aa7709
RD
12789static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12790 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 12791}
53aa7709
RD
12792static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12793 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 12794}
53aa7709
RD
12795static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12796 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 12797}
53aa7709
RD
12798static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12799 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 12800}
53aa7709
RD
12801static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12802 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 12803}
53aa7709
RD
12804static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12805 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 12806}
53aa7709
RD
12807static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12808 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 12809}
53aa7709
RD
12810static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12811 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 12812}
53aa7709
RD
12813static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12814 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
d14a1e28 12815}
53aa7709
RD
12816static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12817 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
c1cb24a4 12818}
53aa7709
RD
12819static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12820 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 12821}
53aa7709
RD
12822static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12823 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 12824}
53aa7709
RD
12825static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12826 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 12827}
53aa7709
RD
12828static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12829 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
d14a1e28 12830}
53aa7709
RD
12831static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12832 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 12833}
53aa7709
RD
12834static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12835 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
d14a1e28 12836}
53aa7709
RD
12837static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12838 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 12839}
53aa7709
RD
12840static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12841 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 12842}
53aa7709
RD
12843static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12844 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 12845}
53aa7709
RD
12846static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12847 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 12848}
53aa7709
RD
12849static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12850 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 12851}
53aa7709
RD
12852static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12853 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 12854}
53aa7709
RD
12855static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12856 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 12857}
53aa7709
RD
12858static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
12859 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 12860}
53aa7709
RD
12861static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12862 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
d14a1e28 12863}
53aa7709
RD
12864static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 12866}
53aa7709
RD
12867static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
c1cb24a4 12869}
53aa7709
RD
12870static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
a2482628 12872}
53aa7709
RD
12873static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12874 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 12875}
53aa7709
RD
12876static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12877 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 12878}
53aa7709
RD
12879static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12880 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 12881}
53aa7709
RD
12882static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12883 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 12884}
53aa7709
RD
12885static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12886 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 12887}
53aa7709
RD
12888static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12889 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 12890}
53aa7709
RD
12891static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12892 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 12893}
53aa7709
RD
12894static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12895 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 12896}
53aa7709
RD
12897static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12898 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 12899}
53aa7709
RD
12900static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
12901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 12902}
53aa7709
RD
12903static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 12905}
53aa7709
RD
12906static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12907 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 12908}
53aa7709
RD
12909static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12910 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 12911}
53aa7709
RD
12912static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12913 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 12914}
53aa7709
RD
12915static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12916 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 12917}
53aa7709
RD
12918static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12919 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 12920}
53aa7709
RD
12921static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
12922 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 12923}
53aa7709
RD
12924static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
12925 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
c1cb24a4 12926}
53aa7709
RD
12927static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
12928 return (void *)((wxFrame *) ((wxProgressDialog *) x));
d14a1e28 12929}
53aa7709
RD
12930static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
12931 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 12932}
53aa7709
RD
12933static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
12934 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 12935}
53aa7709
RD
12936static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
12937 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 12938}
53aa7709
RD
12939static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
12940 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
c1cb24a4 12941}
53aa7709
RD
12942static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
12943 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 12944}
53aa7709
RD
12945static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
12946 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 12947}
53aa7709
RD
12948static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
12949 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28
RD
12950}
12951static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12952 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12953}
12954static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12955 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12956}
12957static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12959}
12960static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12962}
12963static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12964 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12965}
12966static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12967 return (void *)((wxObject *) ((wxSizerItem *) x));
12968}
12969static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12970 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12971}
12972static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12973 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12974}
12975static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
12976 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
12977}
12978static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12979 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12980}
12981static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12982 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12983}
12984static void *_p_wxSizerTo_p_wxObject(void *x) {
12985 return (void *)((wxObject *) ((wxSizer *) x));
12986}
12987static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12988 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12989}
12990static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
12991 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
12992}
12993static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12995}
12996static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12998}
12999static void *_p_wxEventTo_p_wxObject(void *x) {
13000 return (void *)((wxObject *) ((wxEvent *) x));
13001}
13002static void *_p_wxFontDataTo_p_wxObject(void *x) {
13003 return (void *)((wxObject *) ((wxFontData *) x));
13004}
13005static void *_p_wxPrintDataTo_p_wxObject(void *x) {
13006 return (void *)((wxObject *) ((wxPrintData *) x));
13007}
13008static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
13009 return (void *)((wxObject *) ((wxHtmlTag *) x));
13010}
13011static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13012 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13013}
13014static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13015 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13016}
13017static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13018 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13019}
13020static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
13021 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
13022}
84f85550
RD
13023static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
13024 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
13025}
13026static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
13027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
13028}
13029static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
13030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13031}
13032static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
13033 return (void *)((wxObject *) ((wxHtmlCell *) x));
13034}
13035static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13036 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13037}
13038static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13039 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13040}
13041static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13042 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13043}
13044static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13045 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13046}
13047static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13048 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13049}
13050static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13051 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13052}
13053static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
13054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13055}
13056static void *_p_wxControlTo_p_wxObject(void *x) {
13057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13058}
13059static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13060 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13061}
13062static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
13063 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13064}
13065static void *_p_wxFSFileTo_p_wxObject(void *x) {
13066 return (void *)((wxObject *) ((wxFSFile *) x));
13067}
13068static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
13069 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13070}
13071static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
13072 return (void *)((wxObject *) ((wxFindReplaceData *) x));
13073}
13074static void *_p_wxPySizerTo_p_wxObject(void *x) {
13075 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13076}
13077static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
13078 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
13079}
13080static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
13081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13082}
13083static void *_p_wxColourDataTo_p_wxObject(void *x) {
13084 return (void *)((wxObject *) ((wxColourData *) x));
13085}
13086static void *_p_wxPyEventTo_p_wxObject(void *x) {
13087 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13088}
13089static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13090 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13091}
13092static void *_p_wxPyWindowTo_p_wxObject(void *x) {
13093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
13094}
13095static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
13096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13097}
13098static void *_p_wxFileDialogTo_p_wxObject(void *x) {
13099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13100}
13101static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
13102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13103}
13104static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
13105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13106}
13107static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
13108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13109}
c1cb24a4
RD
13110static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
13111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13112}
d14a1e28
RD
13113static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
13114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13115}
13116static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
13117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13118}
13119static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
13120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13121}
13122static void *_p_wxShowEventTo_p_wxObject(void *x) {
13123 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13124}
13125static void *_p_wxPrinterTo_p_wxObject(void *x) {
13126 return (void *)((wxObject *) ((wxPrinter *) x));
13127}
13128static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13129 return (void *)((wxObject *) ((wxMenuItem *) x));
13130}
53aa7709
RD
13131static void *_p_wxDateEventTo_p_wxObject(void *x) {
13132 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
13133}
d14a1e28
RD
13134static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13135 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13136}
13137static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13139}
13140static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13141 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13142}
13143static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13144 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13145}
13146static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13147 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13148}
13149static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13150 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13151}
13152static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13153 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13154}
13155static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13156 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13157}
13158static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
13159 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
13160}
13161static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13162 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13163}
13164static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13165 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13166}
13167static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13168 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13169}
13170static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13171 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13172}
13173static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13174 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13175}
13176static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13177 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13178}
13179static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13180 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13181}
13182static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13183 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13184}
13185static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13186 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13187}
13188static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13189 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13190}
13191static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13192 return (void *)((wxObject *) ((wxImageHandler *) x));
13193}
13194static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13195 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13196}
13197static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13198 return (void *)((wxObject *) ((wxEvtHandler *) x));
13199}
13200static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
13201 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
13202}
13203static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
13204 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
13205}
13206static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
13207 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13208}
13209static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
13210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13211}
13212static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
13213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13214}
51b83b37
RD
13215static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
13216 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13217}
d14a1e28
RD
13218static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13219 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13220}
13221static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
13222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13223}
13224static void *_p_wxImageTo_p_wxObject(void *x) {
13225 return (void *)((wxObject *) ((wxImage *) x));
13226}
13227static void *_p_wxFrameTo_p_wxObject(void *x) {
13228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13229}
13230static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
13231 return (void *)((wxObject *) ((wxPyPrintout *) x));
13232}
13233static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
13234 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
13235}
13236static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13237 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13238}
13239static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
13240 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
13241}
13242static void *_p_wxStatusBarTo_p_wxObject(void *x) {
13243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
13244}
13245static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
13246 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
13247}
13248static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
13249 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
13250}
13251static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
13252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13253}
13254static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13256}
13257static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13258 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13259}
13260static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13261 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13262}
d14a1e28
RD
13263static void *_p_wxWindowTo_p_wxObject(void *x) {
13264 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13265}
13266static void *_p_wxMenuTo_p_wxObject(void *x) {
13267 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13268}
13269static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13271}
41f1cec7
RD
13272static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
13273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13274}
d14a1e28
RD
13275static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
13276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
13277}
13278static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
13279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
13280}
13281static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
13282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
13283}
13284static void *_p_wxSashWindowTo_p_wxObject(void *x) {
13285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
13286}
13287static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
13288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13289}
13290static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
13291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
13292}
13293static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
13294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13295}
13296static void *_p_wxTipWindowTo_p_wxObject(void *x) {
13297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13298}
13299static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
13300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13301}
13302static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
13303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
13304}
a2482628
RD
13305static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
13306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13307}
d14a1e28
RD
13308static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
13309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13310}
13311static void *_p_wxSashEventTo_p_wxObject(void *x) {
13312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
13313}
13314static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
13315 return (void *)((wxObject *) ((wxPrintPreview *) x));
13316}
13317static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
13318 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
13319}
13320static void *_p_wxPanelTo_p_wxObject(void *x) {
13321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
13322}
13323static void *_p_wxDialogTo_p_wxObject(void *x) {
13324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13325}
13326static void *_p_wxColourDialogTo_p_wxObject(void *x) {
13327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13328}
13329static void *_p_wxDirDialogTo_p_wxObject(void *x) {
13330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13331}
13332static void *_p_wxFontDialogTo_p_wxObject(void *x) {
13333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13334}
13335static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 13336 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
13337}
13338static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 13339 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
13340}
13341static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
13342 return (void *)((wxObject *) ((wxHtmlParser *) x));
13343}
13344static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
13345 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
13346}
13347static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13348 return (void *)((wxObject *) ((wxFileSystem *) x));
13349}
13350static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13351 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13352}
13353static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13354 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13355}
13356static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
13357 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
13358}
13359static void *_p_wxPyAppTo_p_wxObject(void *x) {
13360 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13361}
13362static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13363 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13364}
13365static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13366 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13367}
13368static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13369 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13370}
13371static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13373}
13374static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13375 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13376}
13377static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13379}
13380static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13382}
13383static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
13384 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
13385}
13386static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13387 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13388}
13389static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13390 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13391}
13392static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13394}
13395static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
8fb0e70a 13396 return (void *)((wxObject *) ((wxHtmlHelpController *) x));
d14a1e28
RD
13397}
13398static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13400}
13401static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13402 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13403}
13404static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13405 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13406}
13407static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13408 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13409}
13410static void *_p_wxValidatorTo_p_wxObject(void *x) {
13411 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13412}
53aa7709
RD
13413static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
13414 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 13415}
53aa7709
RD
13416static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
13417 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 13418}
53aa7709
RD
13419static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
13420 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 13421}
53aa7709
RD
13422static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
13423 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
d14a1e28 13424}
53aa7709
RD
13425static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
13426 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 13427}
53aa7709
RD
13428static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
13429 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 13430}
53aa7709
RD
13431static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
13432 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 13433}
53aa7709
RD
13434static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
13435 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 13436}
53aa7709
RD
13437static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
13438 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
c1cb24a4 13439}
53aa7709
RD
13440static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
13441 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
d14a1e28 13442}
53aa7709
RD
13443static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
13444 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
d14a1e28 13445}
53aa7709
RD
13446static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
13447 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 13448}
53aa7709
RD
13449static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
13450 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 13451}
53aa7709
RD
13452static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13453 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 13454}
53aa7709
RD
13455static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13456 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 13457}
53aa7709
RD
13458static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
13459 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
d14a1e28 13460}
53aa7709
RD
13461static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
13462 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 13463}
53aa7709
RD
13464static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
13465 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 13466}
53aa7709
RD
13467static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13468 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 13469}
53aa7709
RD
13470static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13471 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 13472}
53aa7709
RD
13473static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
13474 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 13475}
53aa7709
RD
13476static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
13477 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 13478}
53aa7709
RD
13479static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
13480 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 13481}
53aa7709
RD
13482static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13483 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 13484}
53aa7709
RD
13485static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
13486 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 13487}
53aa7709
RD
13488static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
13489 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 13490}
53aa7709
RD
13491static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
13492 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 13493}
53aa7709
RD
13494static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
13495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 13496}
53aa7709
RD
13497static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
13498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 13499}
53aa7709
RD
13500static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
13501 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 13502}
53aa7709
RD
13503static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
13504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
a2482628 13505}
53aa7709
RD
13506static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
13507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 13508}
53aa7709
RD
13509static void *_p_wxPanelTo_p_wxWindow(void *x) {
13510 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 13511}
53aa7709
RD
13512static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
13513 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 13514}
53aa7709
RD
13515static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
13516 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 13517}
53aa7709
RD
13518static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
13519 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 13520}
53aa7709
RD
13521static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
13522 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 13523}
53aa7709
RD
13524static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
13525 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 13526}
53aa7709
RD
13527static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
13528 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 13529}
53aa7709
RD
13530static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
13531 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 13532}
53aa7709
RD
13533static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
13534 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 13535}
53aa7709
RD
13536static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
13537 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 13538}
53aa7709
RD
13539static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
13540 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 13541}
53aa7709
RD
13542static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
13543 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 13544}
53aa7709
RD
13545static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
13546 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 13547}
53aa7709
RD
13548static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
13549 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 13550}
53aa7709
RD
13551static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
13552 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 13553}
53aa7709
RD
13554static void *_p_wxControlTo_p_wxWindow(void *x) {
13555 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 13556}
53aa7709
RD
13557static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
13558 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 13559}
53aa7709
RD
13560static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
13561 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 13562}
53aa7709
RD
13563static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
13564 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
c1cb24a4 13565}
53aa7709
RD
13566static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13567 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 13568}
53aa7709
RD
13569static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
13570 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 13571}
53aa7709
RD
13572static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
13573 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 13574}
53aa7709
RD
13575static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
13576 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 13577}
53aa7709
RD
13578static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
13579 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 13580}
53aa7709
RD
13581static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
13582 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 13583}
53aa7709
RD
13584static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
13585 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 13586}
53aa7709
RD
13587static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
13588 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 13589}
53aa7709
RD
13590static void *_p_wxFrameTo_p_wxWindow(void *x) {
13591 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 13592}
53aa7709
RD
13593static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
13594 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 13595}
53aa7709
RD
13596static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
13597 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 13598}
53aa7709
RD
13599static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
13600 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 13601}
53aa7709
RD
13602static void *_p_wxDialogTo_p_wxWindow(void *x) {
13603 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 13604}
53aa7709
RD
13605static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
13606 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 13607}
53aa7709
RD
13608static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
13609 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13610}
13611static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
13612 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13613}
13614static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
13615 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
13616}
13617static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
13618 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
13619}
13620static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
13621 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
13622}
13623static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
13624 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13625}
13626static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
13627 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13628}
13629static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
13630 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13631}
13632static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
13633 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13634}
13635static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
13636 return (void *)((wxPanel *) ((wxPyPanel *) x));
13637}
13638static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
13639 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
13640}
13641static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
13642 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
13643}
13644static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
13645 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13646}
13647static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
13648 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 13649}
2f4c0a16
RD
13650static 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}};
13651static 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}};
13652static 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}};
13653static 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 13654static 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}};
2f4c0a16
RD
13655static 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}};
13656static 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
13657static 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}};
13658static 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}};
2f4c0a16 13659static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 13660static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
13661static 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}};
13662static 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}};
13663static 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}};
13664static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 13665static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 13666static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 13667static 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
13668static 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}};
13669static 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 13670static 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 13671static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
13672static 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}};
13673static 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}};
13674static 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}};
13675static 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}};
13676static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709
RD
13677static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13678static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 13679static 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}};
2f4c0a16 13680static 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
13681static 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}};
13682static 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}};
2f4c0a16
RD
13683static 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}};
13684static 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 13685static 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 13686static 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}};
2f4c0a16
RD
13687static 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}};
13688static 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}};
13689static 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}};
13690static 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}};
13691static 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 13692static 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}};
2f4c0a16
RD
13693static 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}};
13694static 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}};
13695static 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
13696static 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}};
13697static 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}};
2f4c0a16
RD
13698static 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}};
13699static 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}};
13700static 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}};
13701static 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}};
2f4c0a16 13702static 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 13703static 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}};
2f4c0a16
RD
13704static 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}};
13705static 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}};
13706static 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}};
13707static 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}};
13708static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 13709static 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 13710static 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 13711static 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}};
2f4c0a16 13712static 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
13713
13714static swig_type_info *swig_types_initial[] = {
13715_swigt__p_wxHtmlDCRenderer,
13716_swigt__p_wxColour,
13717_swigt__p_wxPageSetupDialogData,
13718_swigt__p_wxDC,
093d3ff1 13719_swigt__p_form_ops_t,
d14a1e28
RD
13720_swigt__p_wxHtmlRenderingStyle,
13721_swigt__p_wxMouseEvent,
093d3ff1
RD
13722_swigt__p_wxDuplexMode,
13723_swigt__p_wxDefaultHtmlRenderingStyle,
d14a1e28 13724_swigt__p_wxHtmlWordCell,
f20a2e1f 13725_swigt__p_wxVisualAttributes,
d14a1e28 13726_swigt__p_wxHtmlHelpData,
8edf1c75 13727_swigt__p_char,
d14a1e28
RD
13728_swigt__p_wxHtmlWinParser,
13729_swigt__p_wxHtmlParser,
13730_swigt__p_wxPanel,
d14a1e28
RD
13731_swigt__p_wxPyHtmlWindow,
13732_swigt__p_wxScrolledWindow,
13733_swigt__p_wxWindow,
13734_swigt__p_wxTopLevelWindow,
093d3ff1 13735_swigt__p_wxFont,
c32bde28 13736_swigt__p_wxHtmlColourCell,
8edf1c75 13737_swigt__p_wxHtmlFontCell,
d14a1e28
RD
13738_swigt__p_wxHtmlEasyPrinting,
13739_swigt__p_wxHtmlSelection,
13740_swigt__p_wxHtmlRenderingInfo,
13741_swigt__p_wxHtmlWidgetCell,
13742_swigt__p_wxObject,
53aa7709 13743_swigt__p_wxBitmap,
093d3ff1 13744_swigt__p_wxPaperSize,
d14a1e28 13745_swigt__p_wxString,
093d3ff1
RD
13746_swigt__p_unsigned_int,
13747_swigt__unsigned_int,
d14a1e28
RD
13748_swigt__p_wxHtmlTagHandler,
13749_swigt__p_wxPyHtmlTagHandler,
13750_swigt__p_wxEvtHandler,
093d3ff1 13751_swigt__p_wxPyHtmlWinTagHandler,
d14a1e28
RD
13752_swigt__p_wxPoint,
13753_swigt__p_wxHtmlHelpController,
13754_swigt__p_wxCursor,
13755_swigt__p_wxFileSystem,
13756_swigt__p_wxHtmlBookRecArray,
093d3ff1 13757_swigt__p_unsigned_char,
d14a1e28
RD
13758_swigt__p_wxPyPrintout,
13759_swigt__p_wxHtmlPrintout,
13760_swigt__p_wxHtmlSearchStatus,
093d3ff1
RD
13761_swigt__std__ptrdiff_t,
13762_swigt__ptrdiff_t,
d14a1e28
RD
13763_swigt__p_wxHtmlContentsItem,
13764_swigt__p_wxConfigBase,
13765_swigt__p_wxPrintData,
13766_swigt__p_wxHtmlHelpFrame,
d14a1e28 13767_swigt__p_wxFrame,
093d3ff1 13768_swigt__p_wxHtmlRenderingState,
d14a1e28
RD
13769_swigt__p_wxPyHtmlFilter,
13770_swigt__p_wxHtmlFilter,
13771_swigt__p_wxHtmlCell,
13772_swigt__p_wxHtmlContainerCell,
13773_swigt__p_wxHtmlTag,
d14a1e28 13774_swigt__p_int,
c32bde28 13775_swigt__p_wxHtmlLinkInfo,
093d3ff1 13776_swigt__p_unsigned_long,
d14a1e28
RD
13777_swigt__p_wxHtmlBookRecord,
137780
13779};
13780
13781
13782/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13783
13784static swig_const_info swig_const_table[] = {
c32bde28 13785{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
13786
13787#ifdef __cplusplus
13788}
13789#endif
13790
093d3ff1
RD
13791
13792#ifdef __cplusplus
13793extern "C" {
13794#endif
13795
13796 /* Python-specific SWIG API */
13797#define SWIG_newvarlink() SWIG_Python_newvarlink()
13798#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13799#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13800
13801 /* -----------------------------------------------------------------------------
13802 * global variable support code.
13803 * ----------------------------------------------------------------------------- */
13804
13805 typedef struct swig_globalvar {
13806 char *name; /* Name of global variable */
13807 PyObject *(*get_attr)(); /* Return the current value */
13808 int (*set_attr)(PyObject *); /* Set the value */
13809 struct swig_globalvar *next;
13810 } swig_globalvar;
13811
13812 typedef struct swig_varlinkobject {
13813 PyObject_HEAD
13814 swig_globalvar *vars;
13815 } swig_varlinkobject;
13816
13817 static PyObject *
13818 swig_varlink_repr(swig_varlinkobject *v) {
13819 v = v;
13820 return PyString_FromString("<Swig global variables>");
13821 }
13822
13823 static int
13824 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
13825 swig_globalvar *var;
13826 flags = flags;
13827 fprintf(fp,"Swig global variables { ");
13828 for (var = v->vars; var; var=var->next) {
13829 fprintf(fp,"%s", var->name);
13830 if (var->next) fprintf(fp,", ");
13831 }
13832 fprintf(fp," }\n");
13833 return 0;
13834 }
13835
13836 static PyObject *
13837 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13838 swig_globalvar *var = v->vars;
13839 while (var) {
13840 if (strcmp(var->name,n) == 0) {
13841 return (*var->get_attr)();
13842 }
13843 var = var->next;
13844 }
13845 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13846 return NULL;
13847 }
13848
13849 static int
13850 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13851 swig_globalvar *var = v->vars;
13852 while (var) {
13853 if (strcmp(var->name,n) == 0) {
13854 return (*var->set_attr)(p);
13855 }
13856 var = var->next;
13857 }
13858 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13859 return 1;
13860 }
13861
13862 static PyTypeObject varlinktype = {
13863 PyObject_HEAD_INIT(0)
13864 0, /* Number of items in variable part (ob_size) */
13865 (char *)"swigvarlink", /* Type name (tp_name) */
13866 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13867 0, /* Itemsize (tp_itemsize) */
13868 0, /* Deallocator (tp_dealloc) */
13869 (printfunc) swig_varlink_print, /* Print (tp_print) */
13870 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13871 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13872 0, /* tp_compare */
13873 (reprfunc) swig_varlink_repr, /* tp_repr */
13874 0, /* tp_as_number */
13875 0, /* tp_as_sequence */
13876 0, /* tp_as_mapping */
13877 0, /* tp_hash */
13878 0, /* tp_call */
13879 0, /* tp_str */
13880 0, /* tp_getattro */
13881 0, /* tp_setattro */
13882 0, /* tp_as_buffer */
13883 0, /* tp_flags */
13884 0, /* tp_doc */
13885#if PY_VERSION_HEX >= 0x02000000
13886 0, /* tp_traverse */
13887 0, /* tp_clear */
13888#endif
13889#if PY_VERSION_HEX >= 0x02010000
13890 0, /* tp_richcompare */
13891 0, /* tp_weaklistoffset */
13892#endif
13893#if PY_VERSION_HEX >= 0x02020000
13894 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13895#endif
13896#if PY_VERSION_HEX >= 0x02030000
13897 0, /* tp_del */
13898#endif
13899#ifdef COUNT_ALLOCS
13900 0,0,0,0 /* tp_alloc -> tp_next */
13901#endif
13902 };
13903
13904 /* Create a variable linking object for use later */
13905 static PyObject *
13906 SWIG_Python_newvarlink(void) {
13907 swig_varlinkobject *result = 0;
13908 result = PyMem_NEW(swig_varlinkobject,1);
13909 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
13910 result->ob_type = &varlinktype;
13911 result->vars = 0;
13912 result->ob_refcnt = 0;
13913 Py_XINCREF((PyObject *) result);
13914 return ((PyObject*) result);
13915 }
13916
13917 static void
13918 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13919 swig_varlinkobject *v;
13920 swig_globalvar *gv;
13921 v= (swig_varlinkobject *) p;
13922 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13923 gv->name = (char *) malloc(strlen(name)+1);
13924 strcpy(gv->name,name);
13925 gv->get_attr = get_attr;
13926 gv->set_attr = set_attr;
13927 gv->next = v->vars;
13928 v->vars = gv;
13929 }
13930
13931 /* -----------------------------------------------------------------------------
13932 * constants/methods manipulation
13933 * ----------------------------------------------------------------------------- */
13934
13935 /* Install Constants */
13936 static void
13937 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13938 PyObject *obj = 0;
13939 size_t i;
13940 for (i = 0; constants[i].type; i++) {
13941 switch(constants[i].type) {
13942 case SWIG_PY_INT:
13943 obj = PyInt_FromLong(constants[i].lvalue);
13944 break;
13945 case SWIG_PY_FLOAT:
13946 obj = PyFloat_FromDouble(constants[i].dvalue);
13947 break;
13948 case SWIG_PY_STRING:
13949 if (constants[i].pvalue) {
13950 obj = PyString_FromString((char *) constants[i].pvalue);
13951 } else {
13952 Py_INCREF(Py_None);
13953 obj = Py_None;
13954 }
13955 break;
13956 case SWIG_PY_POINTER:
13957 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13958 break;
13959 case SWIG_PY_BINARY:
13960 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13961 break;
13962 default:
13963 obj = 0;
13964 break;
13965 }
13966 if (obj) {
13967 PyDict_SetItemString(d,constants[i].name,obj);
13968 Py_DECREF(obj);
13969 }
13970 }
13971 }
13972
13973 /* -----------------------------------------------------------------------------*/
13974 /* Fix SwigMethods to carry the callback ptrs when needed */
13975 /* -----------------------------------------------------------------------------*/
13976
13977 static void
13978 SWIG_Python_FixMethods(PyMethodDef *methods,
13979 swig_const_info *const_table,
13980 swig_type_info **types,
13981 swig_type_info **types_initial) {
13982 size_t i;
13983 for (i = 0; methods[i].ml_name; ++i) {
13984 char *c = methods[i].ml_doc;
13985 if (c && (c = strstr(c, "swig_ptr: "))) {
13986 int j;
13987 swig_const_info *ci = 0;
13988 char *name = c + 10;
13989 for (j = 0; const_table[j].type; j++) {
13990 if (strncmp(const_table[j].name, name,
13991 strlen(const_table[j].name)) == 0) {
13992 ci = &(const_table[j]);
13993 break;
13994 }
13995 }
13996 if (ci) {
13997 size_t shift = (ci->ptype) - types;
13998 swig_type_info *ty = types_initial[shift];
13999 size_t ldoc = (c - methods[i].ml_doc);
14000 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14001 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14002 char *buff = ndoc;
14003 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
14004 strncpy(buff, methods[i].ml_doc, ldoc);
14005 buff += ldoc;
14006 strncpy(buff, "swig_ptr: ", 10);
14007 buff += 10;
14008 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14009 methods[i].ml_doc = ndoc;
14010 }
14011 }
14012 }
14013 }
14014
14015 /* -----------------------------------------------------------------------------*
14016 * Initialize type list
14017 * -----------------------------------------------------------------------------*/
14018
14019#if PY_MAJOR_VERSION < 2
14020 /* PyModule_AddObject function was introduced in Python 2.0. The following function
14021 is copied out of Python/modsupport.c in python version 2.3.4 */
14022 static int
14023 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
14024 {
14025 PyObject *dict;
14026 if (!PyModule_Check(m)) {
14027 PyErr_SetString(PyExc_TypeError,
14028 "PyModule_AddObject() needs module as first arg");
14029 return -1;
14030 }
14031 if (!o) {
14032 PyErr_SetString(PyExc_TypeError,
14033 "PyModule_AddObject() needs non-NULL value");
14034 return -1;
14035 }
14036
14037 dict = PyModule_GetDict(m);
14038 if (dict == NULL) {
14039 /* Internal error -- modules must have a dict! */
14040 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
14041 PyModule_GetName(m));
14042 return -1;
14043 }
14044 if (PyDict_SetItemString(dict, name, o))
14045 return -1;
14046 Py_DECREF(o);
14047 return 0;
14048 }
14049#endif
14050
14051 static swig_type_info **
14052 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
14053 static PyMethodDef swig_empty_runtime_method_table[] = {
14054 {
14055 NULL, NULL, 0, NULL
14056 }
14057 };/* Sentinel */
14058
14059 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
14060 swig_empty_runtime_method_table);
14061 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
14062 if (pointer && module) {
14063 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
14064 }
14065 return type_list_handle;
14066 }
14067
14068 static swig_type_info **
14069 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
14070 swig_type_info **type_pointer;
14071
14072 /* first check if module already created */
14073 type_pointer = SWIG_Python_GetTypeListHandle();
14074 if (type_pointer) {
14075 return type_pointer;
14076 } else {
14077 /* create a new module and variable */
14078 return SWIG_Python_SetTypeListHandle(type_list_handle);
14079 }
14080 }
14081
14082#ifdef __cplusplus
14083}
14084#endif
14085
14086/* -----------------------------------------------------------------------------*
14087 * Partial Init method
14088 * -----------------------------------------------------------------------------*/
14089
14090#ifdef SWIG_LINK_RUNTIME
14091#ifdef __cplusplus
14092extern "C"
14093#endif
14094SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14095#endif
14096
d14a1e28
RD
14097#ifdef __cplusplus
14098extern "C"
14099#endif
14100SWIGEXPORT(void) SWIG_init(void) {
14101 static PyObject *SWIG_globals = 0;
14102 static int typeinit = 0;
14103 PyObject *m, *d;
14104 int i;
14105 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
14106
14107 /* Fix SwigMethods to carry the callback ptrs when needed */
14108 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
14109
d14a1e28
RD
14110 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14111 d = PyModule_GetDict(m);
14112
14113 if (!typeinit) {
093d3ff1
RD
14114#ifdef SWIG_LINK_RUNTIME
14115 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
14116#else
14117# ifndef SWIG_STATIC_RUNTIME
14118 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
14119# endif
14120#endif
d14a1e28
RD
14121 for (i = 0; swig_types_initial[i]; i++) {
14122 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
14123 }
14124 typeinit = 1;
14125 }
14126 SWIG_InstallConstants(d,swig_const_table);
14127
d03fd34d
RD
14128 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
14129 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
14130 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
14131 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
093d3ff1
RD
14132 {
14133 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT)));
14134 }
14135 {
14136 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER)));
14137 }
14138 {
14139 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT)));
14140 }
14141 {
14142 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM)));
14143 }
14144 {
14145 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP)));
14146 }
14147 {
14148 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND)));
14149 }
14150 {
14151 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND)));
14152 }
14153 {
14154 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS)));
14155 }
14156 {
14157 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT)));
14158 }
14159 {
14160 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT)));
14161 }
14162 {
14163 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT)));
14164 }
14165 {
14166 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP)));
14167 }
14168 {
14169 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM)));
14170 }
14171 {
14172 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL)));
14173 }
14174 {
14175 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL)));
14176 }
14177 {
14178 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL)));
14179 }
14180 {
14181 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR)));
14182 }
14183 {
14184 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP)));
14185 }
14186 {
14187 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER)));
14188 }
14189 {
14190 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1)));
14191 }
14192 {
14193 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2)));
14194 }
14195 {
14196 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3)));
14197 }
14198 {
14199 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4)));
14200 }
14201 {
14202 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5)));
14203 }
14204 {
14205 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6)));
14206 }
14207 {
14208 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7)));
14209 }
14210 {
14211 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER)));
14212 }
14213 {
14214 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO)));
14215 }
14216 {
14217 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION)));
14218 }
14219 {
14220 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE)));
14221 }
14222 {
14223 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN)));
14224 }
14225 {
14226 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK)));
14227 }
14228 {
14229 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT)));
14230 }
14231 {
14232 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE)));
14233 }
14234 {
14235 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE)));
14236 }
14237 {
14238 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER)));
14239 }
14240 {
14241 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT)));
14242 }
14243 {
14244 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN)));
14245 }
14246 {
14247 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING)));
14248 }
14249 {
14250 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT)));
14251 }
14252 {
14253 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE)));
14254 }
14255 {
14256 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER)));
14257 }
14258 {
14259 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD)));
14260 }
14261 {
14262 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN)));
14263 }
14264 {
14265 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL)));
14266 }
14267 {
14268 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR)));
14269 }
14270 {
14271 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR)));
14272 }
14273 {
14274 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS)));
14275 }
14276 {
14277 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX)));
14278 }
14279 {
14280 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH)));
14281 }
14282 {
14283 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS)));
14284 }
14285 {
14286 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES)));
14287 }
14288 {
14289 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT)));
14290 }
14291 {
14292 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE)));
14293 }
d14a1e28
RD
14294
14295 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14296 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14297 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14298 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
14299
14300}
14301