]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html_wrap.cpp
cleanup - reformat ()
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 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);
36ed4f51 26};
d14a1e28
RD
27#endif
28
29
36ed4f51
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
36ed4f51 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d14a1e28 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
RD
46 *
47 ************************************************************************/
48
36ed4f51
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
36ed4f51
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
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
RD
60#endif
61
36ed4f51
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
36ed4f51
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 {
0f774bef 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
0f774bef 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
36ed4f51
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
36ed4f51
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
36ed4f51
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/***********************************************************************
36ed4f51
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 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 443 *
36ed4f51
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
36ed4f51
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
36ed4f51
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
36ed4f51
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 */
36ed4f51
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)
2dbef272 596
d14a1e28 597
36ed4f51
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
36ed4f51
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
36ed4f51
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
36ed4f51
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}
36ed4f51
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
36ed4f51
RD
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
d14a1e28 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d14a1e28 801
36ed4f51
RD
802 return &PySwigObject_Type;
803}
c370783e 804
36ed4f51
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
36ed4f51
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
d14a1e28 820
36ed4f51
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d14a1e28 826
36ed4f51
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
36ed4f51
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
d14a1e28 836
36ed4f51
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
d14a1e28 843
36ed4f51
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}
c370783e 868
36ed4f51
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);
36ed4f51
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
36ed4f51
RD
1336}
1337#endif
8edf1c75 1338
2f4c0a16 1339
36ed4f51 1340/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1341
36ed4f51
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]
943e8dfd
RD
1390#define SWIGTYPE_p_wxConfigBase swig_types[48]
1391#define SWIGTYPE_p_wxPrintData swig_types[49]
1392#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[50]
1393#define SWIGTYPE_p_wxFrame swig_types[51]
1394#define SWIGTYPE_p_wxHtmlRenderingState swig_types[52]
1395#define SWIGTYPE_p_wxPyHtmlFilter swig_types[53]
1396#define SWIGTYPE_p_wxHtmlFilter swig_types[54]
1397#define SWIGTYPE_p_wxHtmlCell swig_types[55]
1398#define SWIGTYPE_p_wxHtmlContainerCell swig_types[56]
1399#define SWIGTYPE_p_wxHtmlTag swig_types[57]
1400#define SWIGTYPE_p_int swig_types[58]
1401#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[59]
1402#define SWIGTYPE_p_unsigned_long swig_types[60]
1403#define SWIGTYPE_p_wxHtmlBookRecord swig_types[61]
1404static swig_type_info *swig_types[63];
8edf1c75 1405
36ed4f51 1406/* -------- TYPES TABLE (END) -------- */
8edf1c75 1407
8edf1c75 1408
36ed4f51
RD
1409/*-----------------------------------------------
1410 @(target):= _html.so
1411 ------------------------------------------------*/
1412#define SWIG_init init_html
1413
1414#define SWIG_name "_html"
8edf1c75 1415
d14a1e28
RD
1416#include "wx/wxPython/wxPython.h"
1417#include "wx/wxPython/pyclasses.h"
1418#include "wx/wxPython/pyistream.h"
1419#include "wx/wxPython/printfw.h"
1420
1421#include <wx/html/htmlwin.h>
1422#include <wx/html/htmprint.h>
1423#include <wx/html/helpctrl.h>
1424
1425
cbd72d4f
RD
1426 static const wxString wxPyEmptyString(wxEmptyString);
1427 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1428 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1429 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 1430
36ed4f51
RD
1431 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1432#define SWIG_From_int PyInt_FromLong
1433/*@@*/
1434
1435
2f4c0a16
RD
1436#include <limits.h>
1437
1438
36ed4f51 1439SWIGINTERN int
c370783e
RD
1440 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1441 const char *errmsg)
2f4c0a16 1442{
c370783e
RD
1443 if (value < min_value) {
1444 if (errmsg) {
1445 PyErr_Format(PyExc_OverflowError,
1446 "value %ld is less than '%s' minimum %ld",
1447 value, errmsg, min_value);
1448 }
1449 return 0;
1450 } else if (value > max_value) {
1451 if (errmsg) {
1452 PyErr_Format(PyExc_OverflowError,
1453 "value %ld is greater than '%s' maximum %ld",
1454 value, errmsg, max_value);
2f4c0a16 1455 }
c370783e 1456 return 0;
2f4c0a16 1457 }
c370783e 1458 return 1;
2f4c0a16
RD
1459}
1460
1461
36ed4f51 1462SWIGINTERN int
c370783e 1463SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1464{
c370783e
RD
1465 if (PyNumber_Check(obj)) {
1466 if (val) *val = PyInt_AsLong(obj);
1467 return 1;
1468 }
69223c70 1469 else {
36ed4f51 1470 SWIG_type_error("number", obj);
69223c70 1471 }
c370783e 1472 return 0;
2f4c0a16
RD
1473}
1474
1475
1476#if INT_MAX != LONG_MAX
36ed4f51 1477SWIGINTERN int
c370783e 1478 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1479{
36ed4f51 1480 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1481 long v;
1482 if (SWIG_AsVal_long(obj, &v)) {
1483 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
36ed4f51 1484 if (val) *val = (int)(v);
c370783e
RD
1485 return 1;
1486 } else {
1487 return 0;
1488 }
1489 } else {
1490 PyErr_Clear();
1491 }
1492 if (val) {
36ed4f51 1493 SWIG_type_error(errmsg, obj);
c370783e
RD
1494 }
1495 return 0;
2f4c0a16
RD
1496}
1497#else
36ed4f51 1498SWIGINTERNSHORT int
c370783e
RD
1499 SWIG_AsVal_int(PyObject *obj, int *val)
1500{
1501 return SWIG_AsVal_long(obj,(long*)val);
1502}
2f4c0a16
RD
1503#endif
1504
1505
36ed4f51 1506SWIGINTERNSHORT int
c370783e 1507SWIG_As_int(PyObject* obj)
2f4c0a16 1508{
c370783e
RD
1509 int v;
1510 if (!SWIG_AsVal_int(obj, &v)) {
1511 /*
36ed4f51 1512 this is needed to make valgrind/purify happier.
c370783e
RD
1513 */
1514 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1515 }
c370783e
RD
1516 return v;
1517}
1518
1519
36ed4f51 1520SWIGINTERNSHORT int
c370783e
RD
1521SWIG_Check_int(PyObject* obj)
1522{
1523 return SWIG_AsVal_int(obj, (int*)0);
8edf1c75
RD
1524}
1525
36ed4f51 1526static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1527 int* temp = NULL;
1528 if (sizes) temp = int_LIST_helper(sizes);
1529 self->SetFonts(normal_face, fixed_face, temp);
1530 if (temp)
1531 delete [] temp;
1532 }
1533
1534class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1535 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
1536public:
1537 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1538
1539 wxHtmlParser* GetParser() { return m_Parser; }
1540 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1541
1542 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1543 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1544
1545 PYPRIVATE;
1546};
1547
1548IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1549
1550IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1551IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1552
1553
1554class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1555 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
1556public:
1557 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1558
1559 wxHtmlWinParser* GetParser() { return m_WParser; }
1560 void ParseInner(const wxHtmlTag& tag)
1561 { wxHtmlWinTagHandler::ParseInner(tag); }
1562
1563 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1564 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1565
1566 PYPRIVATE;
1567};
1568
1569IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1570
1571IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1572IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1573
1574
1575
1576class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1577public:
1578 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1579 m_tagHandlerClass = thc;
1580 Py_INCREF(m_tagHandlerClass);
1581 RegisterModule(this);
1582 wxHtmlWinParser::AddModule(this);
1583 }
1584
1585 void OnExit() {
5a446332 1586 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1587 Py_DECREF(m_tagHandlerClass);
1588 m_tagHandlerClass = NULL;
1589 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1590 PyObject* obj = (PyObject*)m_objArray.Item(x);
1591 Py_DECREF(obj);
1592 }
fbc46b20 1593 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1594 };
1595
1596 void FillHandlersTable(wxHtmlWinParser *parser) {
1597 // Wave our magic wand... (if it works it's a miracle! ;-)
1598
1599 // First, make a new instance of the tag handler
5a446332 1600 wxPyBlock_t blocked = wxPyBeginBlockThreads();
100c4552
RD
1601 PyObject* arg = PyTuple_New(0);
1602 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1603 Py_DECREF(arg);
100c4552 1604
d14a1e28
RD
1605 // now figure out where it's C++ object is...
1606 wxPyHtmlWinTagHandler* thPtr;
100c4552 1607 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
fbc46b20 1608 wxPyEndBlockThreads(blocked);
d14a1e28 1609 return;
100c4552 1610 }
fbc46b20 1611 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1612
1613 // add it,
1614 parser->AddTagHandler(thPtr);
1615
1616 // and track it.
1617 m_objArray.Add(obj);
1618 }
1619
1620private:
1621 PyObject* m_tagHandlerClass;
1622 wxArrayPtrVoid m_objArray;
1623
1624};
1625
1626
1627 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1628 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1629 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1630 new wxPyHtmlTagsModule(tagHandlerClass);
1631 }
1632
1633
36ed4f51
RD
1634SWIGINTERNSHORT PyObject*
1635 SWIG_From_bool(bool value)
1636{
1637 PyObject *obj = value ? Py_True : Py_False;
1638 Py_INCREF(obj);
1639 return obj;
1640}
1641
1642
c370783e 1643 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
1644 PyObject* o2;
1645 PyObject* o3;
c370783e 1646
d14a1e28
RD
1647 if (!target) {
1648 target = o;
1649 } else if (target == Py_None) {
1650 Py_DECREF(Py_None);
1651 target = o;
629e65c2
RD
1652 } else {
1653 if (!PyTuple_Check(target)) {
1654 o2 = target;
1655 target = PyTuple_New(1);
1656 PyTuple_SetItem(target, 0, o2);
1657 }
d14a1e28
RD
1658 o3 = PyTuple_New(1);
1659 PyTuple_SetItem(o3, 0, o);
1660
1661 o2 = target;
1662 target = PySequence_Concat(o2, o3);
1663 Py_DECREF(o2);
1664 Py_DECREF(o3);
1665 }
1666 return target;
629e65c2 1667 }
d14a1e28 1668
8edf1c75 1669
8edf1c75 1670
36ed4f51 1671SWIGINTERN int
c370783e 1672 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 1673{
c370783e
RD
1674 if (obj == Py_True) {
1675 if (val) *val = true;
1676 return 1;
1677 }
1678 if (obj == Py_False) {
1679 if (val) *val = false;
1680 return 1;
1681 }
1682 int res = 0;
1683 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1684 if (val) *val = res ? true : false;
2f4c0a16 1685 return 1;
36ed4f51
RD
1686 } else {
1687 PyErr_Clear();
1688 }
c370783e 1689 if (val) {
36ed4f51 1690 SWIG_type_error("bool", obj);
c370783e
RD
1691 }
1692 return 0;
2f4c0a16
RD
1693}
1694
1695
36ed4f51 1696SWIGINTERNSHORT bool
c370783e 1697SWIG_As_bool(PyObject* obj)
2f4c0a16 1698{
c370783e
RD
1699 bool v;
1700 if (!SWIG_AsVal_bool(obj, &v)) {
1701 /*
36ed4f51 1702 this is needed to make valgrind/purify happier.
c370783e
RD
1703 */
1704 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1705 }
c370783e
RD
1706 return v;
1707}
1708
1709
36ed4f51 1710SWIGINTERNSHORT int
c370783e
RD
1711SWIG_Check_bool(PyObject* obj)
1712{
1713 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
1714}
1715
1716
36ed4f51 1717SWIGINTERNSHORT int
c370783e
RD
1718 SWIG_CheckUnsignedLongInRange(unsigned long value,
1719 unsigned long max_value,
1720 const char *errmsg)
2f4c0a16 1721{
c370783e
RD
1722 if (value > max_value) {
1723 if (errmsg) {
1724 PyErr_Format(PyExc_OverflowError,
36ed4f51 1725 "value %lu is greater than '%s' minimum %lu",
c370783e 1726 value, errmsg, max_value);
2f4c0a16 1727 }
c370783e 1728 return 0;
2f4c0a16 1729 }
c370783e
RD
1730 return 1;
1731 }
1732
1733
36ed4f51 1734SWIGINTERN int
c370783e
RD
1735SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1736{
1737 long v = 0;
1738 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1739 SWIG_type_error("unsigned number", obj);
c370783e
RD
1740 }
1741 else if (val)
1742 *val = (unsigned long)v;
1743 return 1;
2f4c0a16
RD
1744}
1745
1746
1747#if UINT_MAX != ULONG_MAX
36ed4f51 1748SWIGINTERN int
c370783e 1749 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1750{
36ed4f51 1751 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
1752 unsigned long v;
1753 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1754 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 1755 if (val) *val = (unsigned int)(v);
c370783e
RD
1756 return 1;
1757 }
1758 } else {
1759 PyErr_Clear();
1760 }
1761 if (val) {
36ed4f51 1762 SWIG_type_error(errmsg, obj);
c370783e
RD
1763 }
1764 return 0;
8edf1c75 1765}
2f4c0a16 1766#else
36ed4f51 1767SWIGINTERNSHORT unsigned int
c370783e
RD
1768 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1769{
1770 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1771}
2f4c0a16 1772#endif
8edf1c75
RD
1773
1774
36ed4f51 1775SWIGINTERNSHORT unsigned int
c370783e 1776SWIG_As_unsigned_SS_int(PyObject* obj)
8edf1c75 1777{
c370783e
RD
1778 unsigned int v;
1779 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1780 /*
36ed4f51 1781 this is needed to make valgrind/purify happier.
c370783e
RD
1782 */
1783 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 1784 }
c370783e
RD
1785 return v;
1786}
1787
1788
36ed4f51 1789SWIGINTERNSHORT int
c370783e
RD
1790SWIG_Check_unsigned_SS_int(PyObject* obj)
1791{
1792 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2f4c0a16
RD
1793}
1794
1795
36ed4f51
RD
1796 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1797#define SWIG_From_long PyInt_FromLong
1798/*@@*/
1799
1800
1801SWIGINTERNSHORT PyObject*
c370783e 1802 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
1803{
1804 return (value > LONG_MAX) ?
1805 PyLong_FromUnsignedLong(value)
36ed4f51 1806 : PyInt_FromLong((long)(value));
8edf1c75
RD
1807}
1808
1809
2f4c0a16 1810#if UINT_MAX < LONG_MAX
36ed4f51 1811/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1812#define SWIG_From_unsigned_SS_int SWIG_From_long
1813/*@@*/
2f4c0a16 1814#else
36ed4f51 1815/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1816#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1817/*@@*/
2f4c0a16 1818#endif
8edf1c75 1819
d14a1e28
RD
1820 // here's the C++ version
1821class wxPyHtmlFilter : public wxHtmlFilter {
1822 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
1823public:
1824 wxPyHtmlFilter() : wxHtmlFilter() {}
1825
423f194a 1826 // returns True if this filter is able to open&read given file
d14a1e28 1827 virtual bool CanRead(const wxFSFile& file) const {
b411df4a 1828 bool rval = false;
d14a1e28 1829 bool found;
5a446332 1830 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 1831 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 1832 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1833 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1834 Py_DECREF(obj);
1835 }
fbc46b20 1836 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1837 return rval;
1838 }
1839
1840
1841 // Reads given file and returns HTML document.
1842 // Returns empty string if opening failed
1843 virtual wxString ReadFile(const wxFSFile& file) const {
1844 wxString rval;
1845 bool found;
5a446332 1846 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 1847 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 1848 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
1849 PyObject* ro;
1850 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
1851 Py_DECREF(obj);
1852 if (ro) {
1853 rval = Py2wxString(ro);
1854 Py_DECREF(ro);
1855 }
1856 }
fbc46b20 1857 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1858 return rval;
1859 }
1860
1861 PYPRIVATE;
1862};
1863
1864IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
1865
1866
1867class wxPyHtmlWindow : public wxHtmlWindow {
1868 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
1869public:
1870 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
1871 const wxPoint& pos = wxDefaultPosition,
1872 const wxSize& size = wxDefaultSize,
1873 long style = wxHW_DEFAULT_STYLE,
1874 const wxString& name = wxPyHtmlWindowNameStr)
1875 : wxHtmlWindow(parent, id, pos, size, style, name) {};
1876 wxPyHtmlWindow() : wxHtmlWindow() {};
1877
1878 bool ScrollToAnchor(const wxString& anchor) {
1879 return wxHtmlWindow::ScrollToAnchor(anchor);
1880 }
1881
1882 bool HasAnchor(const wxString& anchor) {
1883 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
1884 return c!=NULL;
1885 }
1886
1887 void OnLinkClicked(const wxHtmlLinkInfo& link);
1888 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
1889
1890 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
1891 const wxString& url,
1892 wxString *redirect) const;
1893
1894 DEC_PYCALLBACK__STRING(OnSetTitle);
1895 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
1896 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
1897 PYPRIVATE;
1898};
1899
1900IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
1901IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
1902IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
1903IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
1904
1905
1906void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
1907 bool found;
5a446332 1908 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1909 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
1910 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
1911 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1912 Py_DECREF(obj);
1913 }
fbc46b20 1914 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1915 if (! found)
1916 wxHtmlWindow::OnLinkClicked(link);
1917}
1918void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
1919 wxHtmlWindow::OnLinkClicked(link);
1920}
1921
1922
1923wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
1924 const wxString& url,
1925 wxString *redirect) const {
1926 bool found;
1927 wxHtmlOpeningStatus rval;
5a446332 1928 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1929 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
1930 PyObject* ro;
1931 PyObject* s = wx2PyString(url);
1932 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
1933 Py_DECREF(s);
1934 if (PyString_Check(ro)
1935#if PYTHON_API_VERSION >= 1009
1936 || PyUnicode_Check(ro)
1937#endif
1938 ) {
1939 *redirect = Py2wxString(ro);
1940 rval = wxHTML_REDIRECT;
1941 }
1942 else {
1943 PyObject* num = PyNumber_Int(ro);
1944 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
1945 Py_DECREF(num);
1946 }
1947 Py_DECREF(ro);
1948 }
fbc46b20 1949 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1950 if (! found)
1951 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
1952 return rval;
1953}
1954
1955
1956
36ed4f51 1957static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1958 int* temp = NULL;
1959 if (sizes) temp = int_LIST_helper(sizes);
1960 self->SetFonts(normal_face, fixed_face, temp);
1961 if (temp)
1962 delete [] temp;
1963 }
36ed4f51 1964static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1965 int* temp = NULL;
1966 if (sizes) temp = int_LIST_helper(sizes);
1967 self->SetFonts(normal_face, fixed_face, temp);
1968 if (temp)
1969 delete [] temp;
1970 }
36ed4f51 1971static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1972 int* temp = NULL;
1973 if (sizes) temp = int_LIST_helper(sizes);
1974 self->SetFonts(normal_face, fixed_face, temp);
1975 if (temp)
1976 delete [] temp;
1977 }
8edf1c75 1978
2f4c0a16 1979#include <float.h>
36ed4f51 1980SWIGINTERN int
c370783e
RD
1981 SWIG_CheckDoubleInRange(double value, double min_value,
1982 double max_value, const char* errmsg)
2f4c0a16 1983{
c370783e
RD
1984 if (value < min_value) {
1985 if (errmsg) {
1986 PyErr_Format(PyExc_OverflowError,
1987 "value %g is less than %s minimum %g",
1988 value, errmsg, min_value);
2f4c0a16 1989 }
c370783e
RD
1990 return 0;
1991 } else if (value > max_value) {
1992 if (errmsg) {
1993 PyErr_Format(PyExc_OverflowError,
1994 "value %g is greater than %s maximum %g",
1995 value, errmsg, max_value);
1996 }
1997 return 0;
2f4c0a16 1998 }
c370783e 1999 return 1;
2f4c0a16
RD
2000}
2001
2002
36ed4f51 2003SWIGINTERN int
c370783e 2004SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 2005{
c370783e
RD
2006 if (PyNumber_Check(obj)) {
2007 if (val) *val = PyFloat_AsDouble(obj);
2008 return 1;
2009 }
69223c70 2010 else {
36ed4f51 2011 SWIG_type_error("number", obj);
69223c70 2012 }
c370783e
RD
2013 return 0;
2014}
2015
2016
36ed4f51 2017SWIGINTERN int
c370783e
RD
2018 SWIG_AsVal_float(PyObject *obj, float *val)
2019{
36ed4f51 2020 const char* errmsg = val ? "float" : (char*)0;
c370783e
RD
2021 double v;
2022 if (SWIG_AsVal_double(obj, &v)) {
2023 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
36ed4f51 2024 if (val) *val = (float)(v);
c370783e
RD
2025 return 1;
2026 } else {
2027 return 0;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
36ed4f51 2033 SWIG_type_error(errmsg, obj);
c370783e
RD
2034 }
2035 return 0;
8edf1c75
RD
2036}
2037
2038
36ed4f51 2039SWIGINTERNSHORT float
c370783e 2040SWIG_As_float(PyObject* obj)
8edf1c75 2041{
c370783e
RD
2042 float v;
2043 if (!SWIG_AsVal_float(obj, &v)) {
2044 /*
36ed4f51 2045 this is needed to make valgrind/purify happier.
c370783e
RD
2046 */
2047 memset((void*)&v, 0, sizeof(float));
2048 }
2049 return v;
2f4c0a16
RD
2050}
2051
c370783e 2052
36ed4f51 2053SWIGINTERNSHORT int
c370783e 2054SWIG_Check_float(PyObject* obj)
2f4c0a16 2055{
c370783e 2056 return SWIG_AsVal_float(obj, (float*)0);
8edf1c75
RD
2057}
2058
36ed4f51 2059static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2060 int* temp = NULL;
2061 if (sizes) temp = int_LIST_helper(sizes);
2062 self->SetFonts(normal_face, fixed_face, temp);
2063 if (temp)
2064 delete [] temp;
2065 }
d14a1e28
RD
2066#ifdef __cplusplus
2067extern "C" {
2068#endif
c370783e 2069static int _wrap_HtmlWindowNameStr_set(PyObject *) {
cbd72d4f
RD
2070 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2071 return 1;
2072}
2073
2074
36ed4f51 2075static PyObject *_wrap_HtmlWindowNameStr_get(void) {
cbd72d4f
RD
2076 PyObject *pyobj;
2077
2078 {
2079#if wxUSE_UNICODE
2080 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2081#else
2082 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2083#endif
2084 }
2085 return pyobj;
2086}
2087
2088
c370783e 2089static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
cbd72d4f
RD
2090 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2091 return 1;
2092}
2093
2094
36ed4f51 2095static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
cbd72d4f
RD
2096 PyObject *pyobj;
2097
2098 {
2099#if wxUSE_UNICODE
2100 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2101#else
2102 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2103#endif
2104 }
2105 return pyobj;
2106}
2107
2108
c370783e 2109static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
cbd72d4f
RD
2110 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2111 return 1;
2112}
2113
2114
36ed4f51 2115static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
cbd72d4f
RD
2116 PyObject *pyobj;
2117
2118 {
2119#if wxUSE_UNICODE
2120 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2121#else
2122 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2123#endif
2124 }
2125 return pyobj;
2126}
2127
2128
c370783e 2129static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2130 PyObject *resultobj;
2131 wxString *arg1 = 0 ;
2132 wxString const &arg2_defvalue = wxPyEmptyString ;
2133 wxString *arg2 = (wxString *) &arg2_defvalue ;
2134 wxHtmlLinkInfo *result;
b411df4a
RD
2135 bool temp1 = false ;
2136 bool temp2 = false ;
d14a1e28
RD
2137 PyObject * obj0 = 0 ;
2138 PyObject * obj1 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "href",(char *) "target", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2144 {
2145 arg1 = wxString_in_helper(obj0);
2146 if (arg1 == NULL) SWIG_fail;
b411df4a 2147 temp1 = true;
d14a1e28
RD
2148 }
2149 if (obj1) {
2150 {
2151 arg2 = wxString_in_helper(obj1);
2152 if (arg2 == NULL) SWIG_fail;
b411df4a 2153 temp2 = true;
d14a1e28
RD
2154 }
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2f4c0a16 2163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2164 {
2165 if (temp1)
2166 delete arg1;
2167 }
2168 {
2169 if (temp2)
2170 delete arg2;
2171 }
2172 return resultobj;
2173 fail:
2174 {
2175 if (temp1)
2176 delete arg1;
2177 }
2178 {
2179 if (temp2)
2180 delete arg2;
2181 }
2182 return NULL;
2183}
2184
2185
c370783e 2186static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2187 PyObject *resultobj;
2188 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2189 wxString result;
2190 PyObject * obj0 = 0 ;
2191 char *kwnames[] = {
2192 (char *) "self", NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
36ed4f51
RD
2196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2197 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2198 {
2199 PyThreadState* __tstate = wxPyBeginAllowThreads();
2200 result = (arg1)->GetHref();
2201
2202 wxPyEndAllowThreads(__tstate);
2203 if (PyErr_Occurred()) SWIG_fail;
2204 }
2205 {
2206#if wxUSE_UNICODE
2207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2208#else
2209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2210#endif
2211 }
2212 return resultobj;
2213 fail:
2214 return NULL;
2215}
2216
2217
c370783e 2218static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2219 PyObject *resultobj;
2220 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2221 wxString result;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
2228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2229 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 result = (arg1)->GetTarget();
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 {
2238#if wxUSE_UNICODE
2239 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2240#else
2241 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2242#endif
2243 }
2244 return resultobj;
2245 fail:
2246 return NULL;
2247}
2248
2249
c370783e 2250static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2251 PyObject *resultobj;
2252 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2253 wxMouseEvent *result;
2254 PyObject * obj0 = 0 ;
2255 char *kwnames[] = {
2256 (char *) "self", NULL
2257 };
2258
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
2260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2261 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = (wxMouseEvent *)(arg1)->GetEvent();
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 {
412d302d 2270 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2271 }
2272 return resultobj;
2273 fail:
2274 return NULL;
2275}
2276
2277
c370783e 2278static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2279 PyObject *resultobj;
2280 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2281 wxHtmlCell *result;
2282 PyObject * obj0 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "self", NULL
2285 };
2286
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
2288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2289 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2f4c0a16 2297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2298 return resultobj;
2299 fail:
2300 return NULL;
2301}
2302
2303
c370783e 2304static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2305 PyObject *resultobj;
2306 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2307 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2308 PyObject * obj0 = 0 ;
2309 PyObject * obj1 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self",(char *) "e", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2316 if (SWIG_arg_fail(1)) SWIG_fail;
2317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2318 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 Py_INCREF(Py_None); resultobj = Py_None;
2327 return resultobj;
2328 fail:
2329 return NULL;
2330}
2331
2332
c370783e 2333static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2334 PyObject *resultobj;
2335 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2336 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2337 PyObject * obj0 = 0 ;
2338 PyObject * obj1 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "self",(char *) "e", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2345 if (SWIG_arg_fail(1)) SWIG_fail;
2346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2347 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
2350 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 }
2355 Py_INCREF(Py_None); resultobj = Py_None;
2356 return resultobj;
2357 fail:
2358 return NULL;
2359}
2360
2361
c370783e 2362static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2363 PyObject *obj;
2364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2365 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2366 Py_INCREF(obj);
2367 return Py_BuildValue((char *)"");
2368}
c370783e 2369static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2370 PyObject *resultobj;
2371 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2372 wxString result;
2373 PyObject * obj0 = 0 ;
2374 char *kwnames[] = {
2375 (char *) "self", NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
2379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2380 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 result = (arg1)->GetName();
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 {
2389#if wxUSE_UNICODE
2390 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2391#else
2392 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2393#endif
2394 }
2395 return resultobj;
2396 fail:
2397 return NULL;
2398}
2399
2400
c370783e 2401static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2402 PyObject *resultobj;
2403 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2404 wxString *arg2 = 0 ;
2405 bool result;
b411df4a 2406 bool temp2 = false ;
d14a1e28
RD
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2409 char *kwnames[] = {
2410 (char *) "self",(char *) "par", NULL
2411 };
2412
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2416 {
2417 arg2 = wxString_in_helper(obj1);
2418 if (arg2 == NULL) SWIG_fail;
b411df4a 2419 temp2 = true;
d14a1e28
RD
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
fbc46b20
RD
2428 {
2429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2430 }
d14a1e28
RD
2431 {
2432 if (temp2)
2433 delete arg2;
2434 }
2435 return resultobj;
2436 fail:
2437 {
2438 if (temp2)
2439 delete arg2;
2440 }
2441 return NULL;
2442}
2443
2444
c370783e 2445static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2446 PyObject *resultobj;
2447 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2448 wxString *arg2 = 0 ;
b411df4a 2449 int arg3 = (int) false ;
d14a1e28 2450 wxString result;
b411df4a 2451 bool temp2 = false ;
d14a1e28
RD
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
8edf1c75 2454 PyObject * obj2 = 0 ;
d14a1e28
RD
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2457 };
2458
8edf1c75 2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2462 {
2463 arg2 = wxString_in_helper(obj1);
2464 if (arg2 == NULL) SWIG_fail;
b411df4a 2465 temp2 = true;
d14a1e28 2466 }
8edf1c75 2467 if (obj2) {
36ed4f51
RD
2468 {
2469 arg3 = (int)(SWIG_As_int(obj2));
2470 if (SWIG_arg_fail(3)) SWIG_fail;
2471 }
8edf1c75 2472 }
d14a1e28
RD
2473 {
2474 PyThreadState* __tstate = wxPyBeginAllowThreads();
2475 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2476
2477 wxPyEndAllowThreads(__tstate);
2478 if (PyErr_Occurred()) SWIG_fail;
2479 }
2480 {
2481#if wxUSE_UNICODE
2482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2483#else
2484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2485#endif
2486 }
2487 {
2488 if (temp2)
2489 delete arg2;
2490 }
2491 return resultobj;
2492 fail:
2493 {
2494 if (temp2)
2495 delete arg2;
2496 }
2497 return NULL;
2498}
2499
2500
c370783e 2501static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2502 PyObject *resultobj;
2503 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2504 wxString result;
2505 PyObject * obj0 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
36ed4f51
RD
2511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2512 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = (arg1)->GetAllParams();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 {
2521#if wxUSE_UNICODE
2522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2523#else
2524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2525#endif
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530}
2531
2532
c370783e 2533static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2534 PyObject *resultobj;
2535 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2536 bool result;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
36ed4f51
RD
2543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 result = (bool)(arg1)->HasEnding();
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
fbc46b20
RD
2552 {
2553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2554 }
d14a1e28
RD
2555 return resultobj;
2556 fail:
2557 return NULL;
2558}
2559
2560
c370783e 2561static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2562 PyObject *resultobj;
2563 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2564 int result;
2565 PyObject * obj0 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self", NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
2571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2572 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2573 {
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
2575 result = (int)(arg1)->GetBeginPos();
2576
2577 wxPyEndAllowThreads(__tstate);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
36ed4f51
RD
2580 {
2581 resultobj = SWIG_From_int((int)(result));
2582 }
d14a1e28
RD
2583 return resultobj;
2584 fail:
2585 return NULL;
2586}
2587
2588
c370783e 2589static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2590 PyObject *resultobj;
2591 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2592 int result;
2593 PyObject * obj0 = 0 ;
2594 char *kwnames[] = {
2595 (char *) "self", NULL
2596 };
2597
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
36ed4f51
RD
2599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2600 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 result = (int)(arg1)->GetEndPos1();
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
36ed4f51
RD
2608 {
2609 resultobj = SWIG_From_int((int)(result));
2610 }
d14a1e28
RD
2611 return resultobj;
2612 fail:
2613 return NULL;
2614}
2615
2616
c370783e 2617static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2618 PyObject *resultobj;
2619 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2620 int result;
2621 PyObject * obj0 = 0 ;
2622 char *kwnames[] = {
2623 (char *) "self", NULL
2624 };
2625
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
36ed4f51
RD
2627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2628 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 result = (int)(arg1)->GetEndPos2();
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
36ed4f51
RD
2636 {
2637 resultobj = SWIG_From_int((int)(result));
2638 }
d14a1e28
RD
2639 return resultobj;
2640 fail:
2641 return NULL;
2642}
2643
2644
c370783e 2645static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2646 PyObject *obj;
2647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2648 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2649 Py_INCREF(obj);
2650 return Py_BuildValue((char *)"");
2651}
c370783e 2652static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2653 PyObject *resultobj;
2654 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2655 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2656 PyObject * obj0 = 0 ;
2657 PyObject * obj1 = 0 ;
2658 char *kwnames[] = {
2659 (char *) "self",(char *) "fs", NULL
2660 };
2661
2662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2664 if (SWIG_arg_fail(1)) SWIG_fail;
2665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2666 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->SetFS(arg2);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678}
2679
2680
c370783e 2681static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2682 PyObject *resultobj;
2683 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2684 wxFileSystem *result;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
36ed4f51
RD
2691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 result = (wxFileSystem *)(arg1)->GetFS();
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 {
412d302d 2701 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2702 }
2703 return resultobj;
2704 fail:
2705 return NULL;
2706}
2707
2708
c370783e 2709static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2710 PyObject *resultobj;
2711 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2712 wxString *arg2 = 0 ;
2713 wxObject *result;
b411df4a 2714 bool temp2 = false ;
d14a1e28
RD
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "source", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2724 {
2725 arg2 = wxString_in_helper(obj1);
2726 if (arg2 == NULL) SWIG_fail;
b411df4a 2727 temp2 = true;
d14a1e28
RD
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
412d302d 2737 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2738 }
2739 {
2740 if (temp2)
2741 delete arg2;
2742 }
2743 return resultobj;
2744 fail:
2745 {
2746 if (temp2)
2747 delete arg2;
2748 }
2749 return NULL;
2750}
2751
2752
c370783e 2753static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2754 PyObject *resultobj;
2755 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2756 wxString *arg2 = 0 ;
b411df4a 2757 bool temp2 = false ;
d14a1e28
RD
2758 PyObject * obj0 = 0 ;
2759 PyObject * obj1 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self",(char *) "source", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2766 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2767 {
2768 arg2 = wxString_in_helper(obj1);
2769 if (arg2 == NULL) SWIG_fail;
b411df4a 2770 temp2 = true;
d14a1e28
RD
2771 }
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 (arg1)->InitParser((wxString const &)*arg2);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 Py_INCREF(Py_None); resultobj = Py_None;
2780 {
2781 if (temp2)
2782 delete arg2;
2783 }
2784 return resultobj;
2785 fail:
2786 {
2787 if (temp2)
2788 delete arg2;
2789 }
2790 return NULL;
2791}
2792
2793
c370783e 2794static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2795 PyObject *resultobj;
2796 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2797 PyObject * obj0 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
2803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2804 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 (arg1)->DoneParser();
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 Py_INCREF(Py_None); resultobj = Py_None;
2813 return resultobj;
2814 fail:
2815 return NULL;
2816}
2817
2818
c370783e 2819static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2820 PyObject *resultobj;
2821 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2822 int arg2 ;
2823 int arg3 ;
2824 PyObject * obj0 = 0 ;
8edf1c75
RD
2825 PyObject * obj1 = 0 ;
2826 PyObject * obj2 = 0 ;
d14a1e28
RD
2827 char *kwnames[] = {
2828 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2829 };
2830
8edf1c75 2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2833 if (SWIG_arg_fail(1)) SWIG_fail;
2834 {
2835 arg2 = (int)(SWIG_As_int(obj1));
2836 if (SWIG_arg_fail(2)) SWIG_fail;
2837 }
2838 {
2839 arg3 = (int)(SWIG_As_int(obj2));
2840 if (SWIG_arg_fail(3)) SWIG_fail;
2841 }
d14a1e28
RD
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 (arg1)->DoParsing(arg2,arg3);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 Py_INCREF(Py_None); resultobj = Py_None;
2850 return resultobj;
2851 fail:
2852 return NULL;
2853}
2854
2855
c370783e 2856static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2857 PyObject *resultobj;
2858 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2859 PyObject * obj0 = 0 ;
2860 char *kwnames[] = {
2861 (char *) "self", NULL
2862 };
2863
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
36ed4f51
RD
2865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2866 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 (arg1)->StopParsing();
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 Py_INCREF(Py_None); resultobj = Py_None;
2875 return resultobj;
2876 fail:
2877 return NULL;
2878}
2879
2880
c370783e 2881static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2882 PyObject *resultobj;
2883 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2884 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2885 PyObject * obj0 = 0 ;
2886 PyObject * obj1 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self",(char *) "handler", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2893 if (SWIG_arg_fail(1)) SWIG_fail;
2894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2895 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 (arg1)->AddTagHandler(arg2);
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 }
2903 Py_INCREF(Py_None); resultobj = Py_None;
2904 return resultobj;
2905 fail:
2906 return NULL;
2907}
2908
2909
c370783e 2910static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2911 PyObject *resultobj;
2912 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2913 wxString *result;
2914 PyObject * obj0 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
36ed4f51
RD
2920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2921 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 result = (wxString *)(arg1)->GetSource();
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 {
2930#if wxUSE_UNICODE
2931 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
2932#else
2933 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
2934#endif
2935 }
2936 return resultobj;
2937 fail:
2938 return NULL;
2939}
2940
2941
c370783e 2942static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2943 PyObject *resultobj;
2944 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2945 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2946 wxString arg3 ;
d14a1e28
RD
2947 PyObject * obj0 = 0 ;
2948 PyObject * obj1 = 0 ;
2949 PyObject * obj2 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self",(char *) "handler",(char *) "tags", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2956 if (SWIG_arg_fail(1)) SWIG_fail;
2957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2958 if (SWIG_arg_fail(2)) SWIG_fail;
423f194a
RD
2959 {
2960 wxString* sptr = wxString_in_helper(obj2);
2961 if (sptr == NULL) SWIG_fail;
2962 arg3 = *sptr;
2963 delete sptr;
2964 }
d14a1e28
RD
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 (arg1)->PushTagHandler(arg2,arg3);
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 Py_INCREF(Py_None); resultobj = Py_None;
2973 return resultobj;
2974 fail:
2975 return NULL;
2976}
2977
2978
c370783e 2979static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2980 PyObject *resultobj;
2981 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2982 PyObject * obj0 = 0 ;
2983 char *kwnames[] = {
2984 (char *) "self", NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
36ed4f51
RD
2988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2989 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 (arg1)->PopTagHandler();
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 return resultobj;
2999 fail:
3000 return NULL;
3001}
3002
3003
c370783e 3004static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3005 PyObject *obj;
3006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3007 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3008 Py_INCREF(obj);
3009 return Py_BuildValue((char *)"");
3010}
c370783e 3011static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3012 PyObject *resultobj;
3013 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3014 wxHtmlWinParser *result;
3015 PyObject * obj0 = 0 ;
3016 char *kwnames[] = {
3017 (char *) "wnd", NULL
3018 };
3019
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3021 if (obj0) {
36ed4f51
RD
3022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3023 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3024 }
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
2f4c0a16 3032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3033 return resultobj;
3034 fail:
3035 return NULL;
3036}
3037
3038
c370783e 3039static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3040 PyObject *resultobj;
3041 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3042 wxDC *arg2 = (wxDC *) 0 ;
3043 PyObject * obj0 = 0 ;
3044 PyObject * obj1 = 0 ;
3045 char *kwnames[] = {
3046 (char *) "self",(char *) "dc", NULL
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3051 if (SWIG_arg_fail(1)) SWIG_fail;
3052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3053 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->SetDC(arg2);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065}
3066
3067
c370783e 3068static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3069 PyObject *resultobj;
3070 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3071 wxDC *result;
3072 PyObject * obj0 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
3078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 result = (wxDC *)(arg1)->GetDC();
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) SWIG_fail;
3086 }
3087 {
412d302d 3088 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3089 }
3090 return resultobj;
3091 fail:
3092 return NULL;
3093}
3094
3095
c370783e 3096static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3097 PyObject *resultobj;
3098 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3099 int result;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
3106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (int)(arg1)->GetCharHeight();
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
36ed4f51
RD
3115 {
3116 resultobj = SWIG_From_int((int)(result));
3117 }
d14a1e28
RD
3118 return resultobj;
3119 fail:
3120 return NULL;
3121}
3122
3123
c370783e 3124static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3125 PyObject *resultobj;
3126 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3127 int result;
3128 PyObject * obj0 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
3134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 result = (int)(arg1)->GetCharWidth();
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
36ed4f51
RD
3143 {
3144 resultobj = SWIG_From_int((int)(result));
3145 }
d14a1e28
RD
3146 return resultobj;
3147 fail:
3148 return NULL;
3149}
3150
3151
c370783e 3152static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3153 PyObject *resultobj;
3154 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3155 wxPyHtmlWindow *result;
3156 PyObject * obj0 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
3162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3163 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3164 {
3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
3166 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3167
3168 wxPyEndAllowThreads(__tstate);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 {
412d302d 3172 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3173 }
3174 return resultobj;
3175 fail:
3176 return NULL;
3177}
3178
3179
c370783e 3180static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3181 PyObject *resultobj;
3182 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3183 wxString arg2 ;
3184 wxString arg3 ;
3185 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3186 PyObject * obj0 = 0 ;
3187 PyObject * obj1 = 0 ;
3188 PyObject * obj2 = 0 ;
3189 PyObject * obj3 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3196 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
3197 {
3198 wxString* sptr = wxString_in_helper(obj1);
3199 if (sptr == NULL) SWIG_fail;
3200 arg2 = *sptr;
3201 delete sptr;
3202 }
3203 {
3204 wxString* sptr = wxString_in_helper(obj2);
3205 if (sptr == NULL) SWIG_fail;
3206 arg3 = *sptr;
3207 delete sptr;
3208 }
d14a1e28
RD
3209 if (obj3) {
3210 arg4 = obj3;
3211 }
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 Py_INCREF(Py_None); resultobj = Py_None;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223}
3224
3225
b411df4a 3226static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
3227 PyObject *resultobj;
3228 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3229 int arg2 = (int) -1 ;
b411df4a
RD
3230 wxString const &arg3_defvalue = wxPyEmptyString ;
3231 wxString *arg3 = (wxString *) &arg3_defvalue ;
3232 wxString const &arg4_defvalue = wxPyEmptyString ;
3233 wxString *arg4 = (wxString *) &arg4_defvalue ;
3234 bool temp3 = false ;
3235 bool temp4 = false ;
30ee79f7
RD
3236 PyObject * obj0 = 0 ;
3237 PyObject * obj1 = 0 ;
b411df4a
RD
3238 PyObject * obj2 = 0 ;
3239 PyObject * obj3 = 0 ;
30ee79f7 3240 char *kwnames[] = {
b411df4a 3241 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3242 };
3243
b411df4a 3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3246 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3247 if (obj1) {
36ed4f51
RD
3248 {
3249 arg2 = (int)(SWIG_As_int(obj1));
3250 if (SWIG_arg_fail(2)) SWIG_fail;
3251 }
30ee79f7 3252 }
b411df4a
RD
3253 if (obj2) {
3254 {
3255 arg3 = wxString_in_helper(obj2);
3256 if (arg3 == NULL) SWIG_fail;
3257 temp3 = true;
3258 }
3259 }
3260 if (obj3) {
3261 {
3262 arg4 = wxString_in_helper(obj3);
3263 if (arg4 == NULL) SWIG_fail;
3264 temp4 = true;
3265 }
3266 }
30ee79f7
RD
3267 {
3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 3269 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3270
3271 wxPyEndAllowThreads(__tstate);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
3274 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
3275 {
3276 if (temp3)
3277 delete arg3;
3278 }
3279 {
3280 if (temp4)
3281 delete arg4;
3282 }
30ee79f7
RD
3283 return resultobj;
3284 fail:
b411df4a
RD
3285 {
3286 if (temp3)
3287 delete arg3;
3288 }
3289 {
3290 if (temp4)
3291 delete arg4;
3292 }
30ee79f7
RD
3293 return NULL;
3294}
3295
3296
c370783e 3297static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3298 PyObject *resultobj;
3299 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3300 wxHtmlContainerCell *result;
3301 PyObject * obj0 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3308 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
2f4c0a16 3316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
c370783e 3323static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3324 PyObject *resultobj;
3325 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3326 wxHtmlContainerCell *result;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
2f4c0a16 3342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3343 return resultobj;
3344 fail:
3345 return NULL;
3346}
3347
3348
c370783e 3349static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3350 PyObject *resultobj;
3351 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3352 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3353 wxHtmlContainerCell *result;
3354 PyObject * obj0 = 0 ;
3355 PyObject * obj1 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self",(char *) "c", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail;
3363 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3364 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
2f4c0a16 3372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3373 return resultobj;
3374 fail:
3375 return NULL;
3376}
3377
3378
c370783e 3379static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3380 PyObject *resultobj;
3381 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3382 wxHtmlContainerCell *result;
3383 PyObject * obj0 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
2f4c0a16 3398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3399 return resultobj;
3400 fail:
3401 return NULL;
3402}
3403
3404
c370783e 3405static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3406 PyObject *resultobj;
3407 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3408 int result;
3409 PyObject * obj0 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
3415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 result = (int)(arg1)->GetFontSize();
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
36ed4f51
RD
3424 {
3425 resultobj = SWIG_From_int((int)(result));
3426 }
d14a1e28
RD
3427 return resultobj;
3428 fail:
3429 return NULL;
3430}
3431
3432
c370783e 3433static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3434 PyObject *resultobj;
3435 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3436 int arg2 ;
3437 PyObject * obj0 = 0 ;
8edf1c75 3438 PyObject * obj1 = 0 ;
d14a1e28
RD
3439 char *kwnames[] = {
3440 (char *) "self",(char *) "s", NULL
3441 };
3442
8edf1c75 3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail;
3446 {
3447 arg2 = (int)(SWIG_As_int(obj1));
3448 if (SWIG_arg_fail(2)) SWIG_fail;
3449 }
d14a1e28
RD
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 (arg1)->SetFontSize(arg2);
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 Py_INCREF(Py_None); resultobj = Py_None;
3458 return resultobj;
3459 fail:
3460 return NULL;
3461}
3462
3463
c370783e 3464static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3465 PyObject *resultobj;
3466 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3467 int result;
3468 PyObject * obj0 = 0 ;
3469 char *kwnames[] = {
3470 (char *) "self", NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
36ed4f51
RD
3474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 result = (int)(arg1)->GetFontBold();
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
36ed4f51
RD
3483 {
3484 resultobj = SWIG_From_int((int)(result));
3485 }
d14a1e28
RD
3486 return resultobj;
3487 fail:
3488 return NULL;
3489}
3490
3491
c370783e 3492static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3493 PyObject *resultobj;
3494 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3495 int arg2 ;
3496 PyObject * obj0 = 0 ;
8edf1c75 3497 PyObject * obj1 = 0 ;
d14a1e28
RD
3498 char *kwnames[] = {
3499 (char *) "self",(char *) "x", NULL
3500 };
3501
8edf1c75 3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3504 if (SWIG_arg_fail(1)) SWIG_fail;
3505 {
3506 arg2 = (int)(SWIG_As_int(obj1));
3507 if (SWIG_arg_fail(2)) SWIG_fail;
3508 }
d14a1e28
RD
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 (arg1)->SetFontBold(arg2);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 Py_INCREF(Py_None); resultobj = Py_None;
3517 return resultobj;
3518 fail:
3519 return NULL;
3520}
3521
3522
c370783e 3523static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3524 PyObject *resultobj;
3525 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3526 int result;
3527 PyObject * obj0 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "self", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
36ed4f51
RD
3533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (int)(arg1)->GetFontItalic();
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
36ed4f51
RD
3542 {
3543 resultobj = SWIG_From_int((int)(result));
3544 }
d14a1e28
RD
3545 return resultobj;
3546 fail:
3547 return NULL;
3548}
3549
3550
c370783e 3551static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3552 PyObject *resultobj;
3553 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3554 int arg2 ;
3555 PyObject * obj0 = 0 ;
8edf1c75 3556 PyObject * obj1 = 0 ;
d14a1e28
RD
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "x", NULL
3559 };
3560
8edf1c75 3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail;
3564 {
3565 arg2 = (int)(SWIG_As_int(obj1));
3566 if (SWIG_arg_fail(2)) SWIG_fail;
3567 }
d14a1e28
RD
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 (arg1)->SetFontItalic(arg2);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 Py_INCREF(Py_None); resultobj = Py_None;
3576 return resultobj;
3577 fail:
3578 return NULL;
3579}
3580
3581
c370783e 3582static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3583 PyObject *resultobj;
3584 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3585 int result;
3586 PyObject * obj0 = 0 ;
3587 char *kwnames[] = {
3588 (char *) "self", NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
36ed4f51
RD
3592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 result = (int)(arg1)->GetFontUnderlined();
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
36ed4f51
RD
3601 {
3602 resultobj = SWIG_From_int((int)(result));
3603 }
d14a1e28
RD
3604 return resultobj;
3605 fail:
3606 return NULL;
3607}
3608
3609
c370783e 3610static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3611 PyObject *resultobj;
3612 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3613 int arg2 ;
3614 PyObject * obj0 = 0 ;
8edf1c75 3615 PyObject * obj1 = 0 ;
d14a1e28
RD
3616 char *kwnames[] = {
3617 (char *) "self",(char *) "x", NULL
3618 };
3619
8edf1c75 3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3622 if (SWIG_arg_fail(1)) SWIG_fail;
3623 {
3624 arg2 = (int)(SWIG_As_int(obj1));
3625 if (SWIG_arg_fail(2)) SWIG_fail;
3626 }
d14a1e28
RD
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 (arg1)->SetFontUnderlined(arg2);
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 Py_INCREF(Py_None); resultobj = Py_None;
3635 return resultobj;
3636 fail:
3637 return NULL;
3638}
3639
3640
c370783e 3641static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3642 PyObject *resultobj;
3643 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3644 int result;
3645 PyObject * obj0 = 0 ;
3646 char *kwnames[] = {
3647 (char *) "self", NULL
3648 };
3649
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
36ed4f51
RD
3651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (int)(arg1)->GetFontFixed();
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
36ed4f51
RD
3660 {
3661 resultobj = SWIG_From_int((int)(result));
3662 }
d14a1e28
RD
3663 return resultobj;
3664 fail:
3665 return NULL;
3666}
3667
3668
c370783e 3669static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3670 PyObject *resultobj;
3671 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3672 int arg2 ;
3673 PyObject * obj0 = 0 ;
8edf1c75 3674 PyObject * obj1 = 0 ;
d14a1e28
RD
3675 char *kwnames[] = {
3676 (char *) "self",(char *) "x", NULL
3677 };
3678
8edf1c75 3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3681 if (SWIG_arg_fail(1)) SWIG_fail;
3682 {
3683 arg2 = (int)(SWIG_As_int(obj1));
3684 if (SWIG_arg_fail(2)) SWIG_fail;
3685 }
d14a1e28
RD
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 (arg1)->SetFontFixed(arg2);
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 Py_INCREF(Py_None); resultobj = Py_None;
3694 return resultobj;
3695 fail:
3696 return NULL;
3697}
3698
3699
c370783e 3700static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3701 PyObject *resultobj;
3702 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3703 int result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
3710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (int)(arg1)->GetAlign();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
36ed4f51
RD
3719 {
3720 resultobj = SWIG_From_int((int)(result));
3721 }
d14a1e28
RD
3722 return resultobj;
3723 fail:
3724 return NULL;
3725}
3726
3727
c370783e 3728static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3729 PyObject *resultobj;
3730 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3731 int arg2 ;
3732 PyObject * obj0 = 0 ;
8edf1c75 3733 PyObject * obj1 = 0 ;
d14a1e28
RD
3734 char *kwnames[] = {
3735 (char *) "self",(char *) "a", NULL
3736 };
3737
8edf1c75 3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail;
3741 {
3742 arg2 = (int)(SWIG_As_int(obj1));
3743 if (SWIG_arg_fail(2)) SWIG_fail;
3744 }
d14a1e28
RD
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->SetAlign(arg2);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 return resultobj;
3754 fail:
3755 return NULL;
3756}
3757
3758
c370783e 3759static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3760 PyObject *resultobj;
3761 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3762 wxColour result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
36ed4f51
RD
3769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (arg1)->GetLinkColor();
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 {
3779 wxColour * resultptr;
36ed4f51 3780 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3782 }
3783 return resultobj;
3784 fail:
3785 return NULL;
3786}
3787
3788
c370783e 3789static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3790 PyObject *resultobj;
3791 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3792 wxColour *arg2 = 0 ;
3793 wxColour temp2 ;
3794 PyObject * obj0 = 0 ;
3795 PyObject * obj1 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self",(char *) "clr", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3803 {
3804 arg2 = &temp2;
3805 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3806 }
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 (arg1)->SetLinkColor((wxColour const &)*arg2);
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 Py_INCREF(Py_None); resultobj = Py_None;
3815 return resultobj;
3816 fail:
3817 return NULL;
3818}
3819
3820
c370783e 3821static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3822 PyObject *resultobj;
3823 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3824 wxColour result;
3825 PyObject * obj0 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
36ed4f51
RD
3831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3832 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (arg1)->GetActualColor();
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 wxColour * resultptr;
36ed4f51 3842 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 3843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3844 }
3845 return resultobj;
3846 fail:
3847 return NULL;
3848}
3849
3850
c370783e 3851static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3852 PyObject *resultobj;
3853 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3854 wxColour *arg2 = 0 ;
3855 wxColour temp2 ;
3856 PyObject * obj0 = 0 ;
3857 PyObject * obj1 = 0 ;
3858 char *kwnames[] = {
3859 (char *) "self",(char *) "clr", NULL
3860 };
3861
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3864 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3865 {
3866 arg2 = &temp2;
3867 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3868 }
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->SetActualColor((wxColour const &)*arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
c370783e 3883static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3884 PyObject *resultobj;
3885 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3886 wxString *arg2 = 0 ;
b411df4a 3887 bool temp2 = false ;
d14a1e28
RD
3888 PyObject * obj0 = 0 ;
3889 PyObject * obj1 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self",(char *) "link", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3896 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3897 {
3898 arg2 = wxString_in_helper(obj1);
3899 if (arg2 == NULL) SWIG_fail;
b411df4a 3900 temp2 = true;
d14a1e28
RD
3901 }
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 (arg1)->SetLink((wxString const &)*arg2);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 Py_INCREF(Py_None); resultobj = Py_None;
3910 {
3911 if (temp2)
3912 delete arg2;
3913 }
3914 return resultobj;
3915 fail:
3916 {
3917 if (temp2)
3918 delete arg2;
3919 }
3920 return NULL;
3921}
3922
3923
c370783e 3924static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3925 PyObject *resultobj;
3926 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3927 wxFont *result;
3928 PyObject * obj0 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
3934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 result = (wxFont *)(arg1)->CreateCurrentFont();
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
2f4c0a16 3943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
3944 return resultobj;
3945 fail:
3946 return NULL;
3947}
3948
3949
c370783e 3950static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3951 PyObject *resultobj;
3952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
36ed4f51 3953 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
3960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (arg1)->GetLink();
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 {
3970 wxHtmlLinkInfo * resultptr;
36ed4f51 3971 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result));
2f4c0a16 3972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
3973 }
3974 return resultobj;
3975 fail:
3976 return NULL;
3977}
3978
3979
c370783e 3980static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3981 PyObject *obj;
3982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3983 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
3984 Py_INCREF(obj);
3985 return Py_BuildValue((char *)"");
3986}
c370783e 3987static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3988 PyObject *resultobj;
3989 wxPyHtmlTagHandler *result;
3990 char *kwnames[] = {
3991 NULL
3992 };
3993
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
3998
3999 wxPyEndAllowThreads(__tstate);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
2f4c0a16 4002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4003 return resultobj;
4004 fail:
4005 return NULL;
4006}
4007
4008
c370783e 4009static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4010 PyObject *resultobj;
4011 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4012 PyObject *arg2 = (PyObject *) 0 ;
4013 PyObject *arg3 = (PyObject *) 0 ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj1 = 0 ;
4016 PyObject * obj2 = 0 ;
4017 char *kwnames[] = {
4018 (char *) "self",(char *) "self",(char *) "_class", NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4023 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4024 arg2 = obj1;
4025 arg3 = obj2;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 (arg1)->_setCallbackInfo(arg2,arg3);
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 Py_INCREF(Py_None); resultobj = Py_None;
4034 return resultobj;
4035 fail:
4036 return NULL;
4037}
4038
4039
c370783e 4040static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4041 PyObject *resultobj;
4042 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4043 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4044 PyObject * obj0 = 0 ;
4045 PyObject * obj1 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "parser", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail;
4053 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4054 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 (arg1)->SetParser(arg2);
4058
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 Py_INCREF(Py_None); resultobj = Py_None;
4063 return resultobj;
4064 fail:
4065 return NULL;
4066}
4067
4068
c370783e 4069static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4070 PyObject *resultobj;
4071 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4072 wxHtmlParser *result;
4073 PyObject * obj0 = 0 ;
4074 char *kwnames[] = {
4075 (char *) "self", NULL
4076 };
4077
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
4079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 result = (wxHtmlParser *)(arg1)->GetParser();
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
2f4c0a16 4088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4089 return resultobj;
4090 fail:
4091 return NULL;
4092}
4093
4094
c370783e 4095static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4096 PyObject *resultobj;
4097 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4098 wxHtmlTag *arg2 = 0 ;
4099 PyObject * obj0 = 0 ;
4100 PyObject * obj1 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self",(char *) "tag", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail;
4108 {
4109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4110 if (SWIG_arg_fail(2)) SWIG_fail;
4111 if (arg2 == NULL) {
4112 SWIG_null_ref("wxHtmlTag");
4113 }
4114 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4115 }
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 Py_INCREF(Py_None); resultobj = Py_None;
4124 return resultobj;
4125 fail:
4126 return NULL;
4127}
4128
4129
c370783e 4130static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4131 PyObject *obj;
4132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4133 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4134 Py_INCREF(obj);
4135 return Py_BuildValue((char *)"");
4136}
c370783e 4137static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4138 PyObject *resultobj;
4139 wxPyHtmlWinTagHandler *result;
4140 char *kwnames[] = {
4141 NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
2f4c0a16 4152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4153 return resultobj;
4154 fail:
4155 return NULL;
4156}
4157
4158
c370783e 4159static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4160 PyObject *resultobj;
4161 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4162 PyObject *arg2 = (PyObject *) 0 ;
4163 PyObject *arg3 = (PyObject *) 0 ;
4164 PyObject * obj0 = 0 ;
4165 PyObject * obj1 = 0 ;
4166 PyObject * obj2 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self",(char *) "self",(char *) "_class", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4174 arg2 = obj1;
4175 arg3 = obj2;
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->_setCallbackInfo(arg2,arg3);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 return resultobj;
4185 fail:
4186 return NULL;
4187}
4188
4189
c370783e 4190static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4191 PyObject *resultobj;
4192 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4193 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self",(char *) "parser", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail;
4203 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4204 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 (arg1)->SetParser(arg2);
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 Py_INCREF(Py_None); resultobj = Py_None;
4213 return resultobj;
4214 fail:
4215 return NULL;
4216}
4217
4218
c370783e 4219static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4220 PyObject *resultobj;
4221 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4222 wxHtmlWinParser *result;
4223 PyObject * obj0 = 0 ;
4224 char *kwnames[] = {
4225 (char *) "self", NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
4229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4230 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 result = (wxHtmlWinParser *)(arg1)->GetParser();
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
2f4c0a16 4238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4239 return resultobj;
4240 fail:
4241 return NULL;
4242}
4243
4244
c370783e 4245static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4246 PyObject *resultobj;
4247 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4248 wxHtmlTag *arg2 = 0 ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self",(char *) "tag", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4257 if (SWIG_arg_fail(1)) SWIG_fail;
4258 {
4259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4260 if (SWIG_arg_fail(2)) SWIG_fail;
4261 if (arg2 == NULL) {
4262 SWIG_null_ref("wxHtmlTag");
4263 }
4264 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4265 }
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 Py_INCREF(Py_None); resultobj = Py_None;
4274 return resultobj;
4275 fail:
4276 return NULL;
4277}
4278
4279
c370783e 4280static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4281 PyObject *obj;
4282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4283 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4284 Py_INCREF(obj);
4285 return Py_BuildValue((char *)"");
4286}
c370783e 4287static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4288 PyObject *resultobj;
4289 PyObject *arg1 = (PyObject *) 0 ;
4290 PyObject * obj0 = 0 ;
4291 char *kwnames[] = {
4292 (char *) "tagHandlerClass", NULL
4293 };
4294
4295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4296 arg1 = obj0;
4297 {
4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
4299 wxHtmlWinParser_AddTagHandler(arg1);
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 Py_INCREF(Py_None); resultobj = Py_None;
4305 return resultobj;
4306 fail:
4307 return NULL;
4308}
4309
4310
c370783e 4311static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4312 PyObject *resultobj;
4313 wxHtmlSelection *result;
4314 char *kwnames[] = {
4315 NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxHtmlSelection *)new wxHtmlSelection();
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
2f4c0a16 4326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4327 return resultobj;
4328 fail:
4329 return NULL;
4330}
4331
4332
c370783e 4333static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4334 PyObject *resultobj;
4335 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4336 PyObject * obj0 = 0 ;
4337 char *kwnames[] = {
4338 (char *) "self", NULL
4339 };
4340
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
4342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 delete arg1;
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 Py_INCREF(Py_None); resultobj = Py_None;
4352 return resultobj;
4353 fail:
4354 return NULL;
4355}
4356
4357
c370783e 4358static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4359 PyObject *resultobj;
4360 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4361 wxPoint *arg2 = 0 ;
4362 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4363 wxPoint *arg4 = 0 ;
4364 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4365 wxPoint temp2 ;
4366 wxPoint temp4 ;
4367 PyObject * obj0 = 0 ;
4368 PyObject * obj1 = 0 ;
4369 PyObject * obj2 = 0 ;
4370 PyObject * obj3 = 0 ;
4371 PyObject * obj4 = 0 ;
4372 char *kwnames[] = {
4373 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4374 };
4375
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4379 {
4380 arg2 = &temp2;
4381 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4382 }
36ed4f51
RD
4383 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4384 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4385 {
4386 arg4 = &temp4;
4387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4388 }
36ed4f51
RD
4389 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4390 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402}
4403
4404
c370783e 4405static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4406 PyObject *resultobj;
4407 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4408 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4409 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 PyObject * obj2 = 0 ;
4413 char *kwnames[] = {
4414 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4419 if (SWIG_arg_fail(1)) SWIG_fail;
4420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4421 if (SWIG_arg_fail(2)) SWIG_fail;
4422 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4423 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435}
4436
4437
c370783e 4438static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4439 PyObject *resultobj;
4440 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4441 wxHtmlCell *result;
4442 PyObject * obj0 = 0 ;
4443 char *kwnames[] = {
4444 (char *) "self", NULL
4445 };
4446
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
4448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4449 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
2f4c0a16 4457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4458 return resultobj;
4459 fail:
4460 return NULL;
4461}
4462
4463
c370783e 4464static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4465 PyObject *resultobj;
4466 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4467 wxHtmlCell *result;
4468 PyObject * obj0 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
4474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
2f4c0a16 4483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4484 return resultobj;
4485 fail:
4486 return NULL;
4487}
4488
4489
c370783e 4490static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4491 PyObject *resultobj;
4492 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4493 wxPoint *result;
4494 PyObject * obj0 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4501 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 {
4505 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4506 result = (wxPoint *) &_result_ref;
4507 }
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
2f4c0a16 4512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
c370783e 4519static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4520 PyObject *resultobj;
4521 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4522 wxPoint *result;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 {
4534 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4535 result = (wxPoint *) &_result_ref;
4536 }
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
2f4c0a16 4541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4542 return resultobj;
4543 fail:
4544 return NULL;
4545}
4546
4547
c370783e 4548static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4549 PyObject *resultobj;
4550 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4551 wxPoint *result;
4552 PyObject * obj0 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 {
4563 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4564 result = (wxPoint *) &_result_ref;
4565 }
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
2f4c0a16 4570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4571 return resultobj;
4572 fail:
4573 return NULL;
4574}
4575
4576
c370783e 4577static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4578 PyObject *resultobj;
4579 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4580 wxPoint *result;
4581 PyObject * obj0 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 {
4592 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4593 result = (wxPoint *) &_result_ref;
4594 }
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
2f4c0a16 4599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4600 return resultobj;
4601 fail:
4602 return NULL;
4603}
4604
4605
c370783e 4606static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4607 PyObject *resultobj;
4608 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4609 wxPoint *arg2 = 0 ;
4610 wxPoint temp2 ;
4611 PyObject * obj0 = 0 ;
4612 PyObject * obj1 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self",(char *) "pos", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4620 {
4621 arg2 = &temp2;
4622 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4623 }
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c370783e 4638static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4639 PyObject *resultobj;
4640 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4641 wxPoint *arg2 = 0 ;
4642 wxPoint temp2 ;
4643 PyObject * obj0 = 0 ;
4644 PyObject * obj1 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self",(char *) "pos", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4651 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4652 {
4653 arg2 = &temp2;
4654 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4655 }
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 Py_INCREF(Py_None); resultobj = Py_None;
4664 return resultobj;
4665 fail:
4666 return NULL;
4667}
4668
4669
c370783e 4670static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4671 PyObject *resultobj;
4672 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4673 PyObject * obj0 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 (arg1)->ClearPrivPos();
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 Py_INCREF(Py_None); resultobj = Py_None;
4689 return resultobj;
4690 fail:
4691 return NULL;
4692}
4693
4694
c370783e 4695static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4696 PyObject *resultobj;
4697 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4698 bool result;
4699 PyObject * obj0 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
36ed4f51
RD
4705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4706 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
fbc46b20 4714 {
36ed4f51 4715 resultobj = SWIG_From_bool((bool)(result));
fbc46b20 4716 }
d14a1e28
RD
4717 return resultobj;
4718 fail:
4719 return NULL;
4720}
4721
4722
c370783e 4723static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4724 PyObject *obj;
4725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4726 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4727 Py_INCREF(obj);
4728 return Py_BuildValue((char *)"");
4729}
c370783e 4730static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4731 PyObject *resultobj;
4732 wxHtmlRenderingState *result;
4733 char *kwnames[] = {
4734 NULL
4735 };
4736
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
2f4c0a16 4745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
4746 return resultobj;
4747 fail:
4748 return NULL;
4749}
4750
4751
c370783e 4752static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4753 PyObject *resultobj;
4754 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4755 PyObject * obj0 = 0 ;
4756 char *kwnames[] = {
4757 (char *) "self", NULL
4758 };
4759
4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
36ed4f51
RD
4761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4762 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4763 {
4764 PyThreadState* __tstate = wxPyBeginAllowThreads();
4765 delete arg1;
4766
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 Py_INCREF(Py_None); resultobj = Py_None;
4771 return resultobj;
4772 fail:
4773 return NULL;
4774}
4775
4776
c370783e 4777static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4778 PyObject *resultobj;
4779 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
36ed4f51 4780 wxHtmlSelectionState arg2 ;
d14a1e28 4781 PyObject * obj0 = 0 ;
8edf1c75 4782 PyObject * obj1 = 0 ;
d14a1e28
RD
4783 char *kwnames[] = {
4784 (char *) "self",(char *) "s", NULL
4785 };
4786
8edf1c75 4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4789 if (SWIG_arg_fail(1)) SWIG_fail;
4790 {
4791 arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1));
4792 if (SWIG_arg_fail(2)) SWIG_fail;
4793 }
d14a1e28
RD
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 Py_INCREF(Py_None); resultobj = Py_None;
4802 return resultobj;
4803 fail:
4804 return NULL;
4805}
4806
4807
c370783e 4808static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4809 PyObject *resultobj;
4810 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
36ed4f51 4811 wxHtmlSelectionState result;
d14a1e28
RD
4812 PyObject * obj0 = 0 ;
4813 char *kwnames[] = {
4814 (char *) "self", NULL
4815 };
4816
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
36ed4f51
RD
4818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4819 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4822 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
36ed4f51 4827 resultobj = SWIG_From_int((result));
d14a1e28
RD
4828 return resultobj;
4829 fail:
4830 return NULL;
4831}
4832
4833
c370783e 4834static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4835 PyObject *resultobj;
4836 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4837 wxColour *arg2 = 0 ;
4838 wxColour temp2 ;
4839 PyObject * obj0 = 0 ;
4840 PyObject * obj1 = 0 ;
4841 char *kwnames[] = {
4842 (char *) "self",(char *) "c", NULL
4843 };
4844
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4847 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4848 {
4849 arg2 = &temp2;
4850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4851 }
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 (arg1)->SetFgColour((wxColour const &)*arg2);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 Py_INCREF(Py_None); resultobj = Py_None;
4860 return resultobj;
4861 fail:
4862 return NULL;
4863}
4864
4865
c370783e 4866static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4867 PyObject *resultobj;
4868 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4869 wxColour *result;
4870 PyObject * obj0 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "self", NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
4876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4877 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 {
4881 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
4882 result = (wxColour *) &_result_ref;
4883 }
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
2f4c0a16 4888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
c370783e 4895static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4896 PyObject *resultobj;
4897 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4898 wxColour *arg2 = 0 ;
4899 wxColour temp2 ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self",(char *) "c", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4908 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4909 {
4910 arg2 = &temp2;
4911 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4912 }
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->SetBgColour((wxColour const &)*arg2);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924}
4925
4926
c370783e 4927static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4928 PyObject *resultobj;
4929 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4930 wxColour *result;
4931 PyObject * obj0 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
4937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4938 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 {
4942 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
4943 result = (wxColour *) &_result_ref;
4944 }
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
2f4c0a16 4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
4950 return resultobj;
4951 fail:
4952 return NULL;
4953}
4954
4955
c370783e 4956static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4957 PyObject *obj;
4958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4959 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
4960 Py_INCREF(obj);
4961 return Py_BuildValue((char *)"");
4962}
c370783e 4963static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4964 PyObject *resultobj;
4965 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
4966 wxColour *arg2 = 0 ;
4967 wxColour result;
4968 wxColour temp2 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "clr", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4978 {
4979 arg2 = &temp2;
4980 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4981 }
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 {
4990 wxColour * resultptr;
36ed4f51 4991 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 4992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4993 }
4994 return resultobj;
4995 fail:
4996 return NULL;
4997}
4998
4999
c370783e 5000static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5001 PyObject *resultobj;
5002 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5003 wxColour *arg2 = 0 ;
5004 wxColour result;
5005 wxColour temp2 ;
5006 PyObject * obj0 = 0 ;
5007 PyObject * obj1 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "clr", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5015 {
5016 arg2 = &temp2;
5017 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5018 }
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 {
5027 wxColour * resultptr;
36ed4f51 5028 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 5029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5030 }
5031 return resultobj;
5032 fail:
5033 return NULL;
5034}
5035
5036
c370783e 5037static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5038 PyObject *obj;
5039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5040 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5041 Py_INCREF(obj);
5042 return Py_BuildValue((char *)"");
5043}
c370783e 5044static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5045 PyObject *resultobj;
5046 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5047 wxColour *arg2 = 0 ;
5048 wxColour result;
5049 wxColour temp2 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "self",(char *) "clr", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5059 {
5060 arg2 = &temp2;
5061 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5062 }
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 {
5071 wxColour * resultptr;
36ed4f51 5072 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 5073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5074 }
5075 return resultobj;
5076 fail:
5077 return NULL;
5078}
5079
5080
c370783e 5081static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5082 PyObject *resultobj;
5083 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5084 wxColour *arg2 = 0 ;
5085 wxColour result;
5086 wxColour temp2 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "clr", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5096 {
5097 arg2 = &temp2;
5098 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 {
5108 wxColour * resultptr;
36ed4f51 5109 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 5110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5111 }
5112 return resultobj;
5113 fail:
5114 return NULL;
5115}
5116
5117
c370783e 5118static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5119 PyObject *obj;
5120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5121 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5122 Py_INCREF(obj);
5123 return Py_BuildValue((char *)"");
5124}
c370783e 5125static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5126 PyObject *resultobj;
5127 wxHtmlRenderingInfo *result;
5128 char *kwnames[] = {
5129 NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
2f4c0a16 5140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5141 return resultobj;
5142 fail:
5143 return NULL;
5144}
5145
5146
c370783e 5147static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5148 PyObject *resultobj;
5149 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5150 PyObject * obj0 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 delete arg1;
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 Py_INCREF(Py_None); resultobj = Py_None;
5166 return resultobj;
5167 fail:
5168 return NULL;
5169}
5170
5171
c370783e 5172static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5173 PyObject *resultobj;
5174 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5175 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5176 PyObject * obj0 = 0 ;
5177 PyObject * obj1 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "self",(char *) "s", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5184 if (SWIG_arg_fail(1)) SWIG_fail;
5185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5186 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5187 {
5188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5189 (arg1)->SetSelection(arg2);
5190
5191 wxPyEndAllowThreads(__tstate);
5192 if (PyErr_Occurred()) SWIG_fail;
5193 }
5194 Py_INCREF(Py_None); resultobj = Py_None;
5195 return resultobj;
5196 fail:
5197 return NULL;
5198}
5199
5200
c370783e 5201static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5202 PyObject *resultobj;
5203 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5204 wxHtmlSelection *result;
5205 PyObject * obj0 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
5211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5212 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
2f4c0a16 5220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5221 return resultobj;
5222 fail:
5223 return NULL;
5224}
5225
5226
c370783e 5227static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5228 PyObject *resultobj;
5229 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5230 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self",(char *) "style", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail;
5240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5241 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 (arg1)->SetStyle(arg2);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 Py_INCREF(Py_None); resultobj = Py_None;
5250 return resultobj;
5251 fail:
5252 return NULL;
5253}
5254
5255
c370783e 5256static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5257 PyObject *resultobj;
5258 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5259 wxHtmlRenderingStyle *result;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
5266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 {
5271 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5272 result = (wxHtmlRenderingStyle *) &_result_ref;
5273 }
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
2f4c0a16 5278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5279 return resultobj;
5280 fail:
5281 return NULL;
5282}
5283
5284
c370783e 5285static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5286 PyObject *resultobj;
5287 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5288 wxHtmlRenderingState *result;
5289 PyObject * obj0 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 {
5300 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5301 result = (wxHtmlRenderingState *) &_result_ref;
5302 }
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
2f4c0a16 5307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
c370783e 5314static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5315 PyObject *obj;
5316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5318 Py_INCREF(obj);
5319 return Py_BuildValue((char *)"");
5320}
c370783e 5321static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5322 PyObject *resultobj;
5323 wxHtmlCell *result;
5324 char *kwnames[] = {
5325 NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 result = (wxHtmlCell *)new wxHtmlCell();
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
2f4c0a16 5336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5337 return resultobj;
5338 fail:
5339 return NULL;
5340}
5341
5342
c370783e 5343static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5344 PyObject *resultobj;
5345 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5346 int result;
5347 PyObject * obj0 = 0 ;
5348 char *kwnames[] = {
5349 (char *) "self", NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
36ed4f51
RD
5353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5354 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (int)(arg1)->GetPosX();
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
36ed4f51
RD
5362 {
5363 resultobj = SWIG_From_int((int)(result));
5364 }
d14a1e28
RD
5365 return resultobj;
5366 fail:
5367 return NULL;
5368}
5369
5370
c370783e 5371static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5372 PyObject *resultobj;
5373 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5374 int result;
5375 PyObject * obj0 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
36ed4f51
RD
5381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 result = (int)(arg1)->GetPosY();
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
36ed4f51
RD
5390 {
5391 resultobj = SWIG_From_int((int)(result));
5392 }
d14a1e28
RD
5393 return resultobj;
5394 fail:
5395 return NULL;
5396}
5397
5398
c370783e 5399static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5400 PyObject *resultobj;
5401 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5402 int result;
5403 PyObject * obj0 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5410 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (int)(arg1)->GetWidth();
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
36ed4f51
RD
5418 {
5419 resultobj = SWIG_From_int((int)(result));
5420 }
d14a1e28
RD
5421 return resultobj;
5422 fail:
5423 return NULL;
5424}
5425
5426
c370783e 5427static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5428 PyObject *resultobj;
5429 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5430 int result;
5431 PyObject * obj0 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
5437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (int)(arg1)->GetHeight();
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
36ed4f51
RD
5446 {
5447 resultobj = SWIG_From_int((int)(result));
5448 }
d14a1e28
RD
5449 return resultobj;
5450 fail:
5451 return NULL;
5452}
5453
5454
c370783e 5455static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5456 PyObject *resultobj;
5457 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5458 int result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (int)(arg1)->GetDescent();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
36ed4f51
RD
5474 {
5475 resultobj = SWIG_From_int((int)(result));
5476 }
d14a1e28
RD
5477 return resultobj;
5478 fail:
5479 return NULL;
5480}
5481
5482
c370783e 5483static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
fbc46b20
RD
5484 PyObject *resultobj;
5485 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5486 int result;
5487 PyObject * obj0 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5494 if (SWIG_arg_fail(1)) SWIG_fail;
fbc46b20
RD
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5498
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
36ed4f51
RD
5502 {
5503 resultobj = SWIG_From_int((int)(result));
5504 }
fbc46b20
RD
5505 return resultobj;
5506 fail:
5507 return NULL;
5508}
5509
5510
c370783e 5511static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
5512 PyObject *resultobj;
5513 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5514 wxString *result;
5515 PyObject * obj0 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
5521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 {
5526 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5527 result = (wxString *) &_result_ref;
5528 }
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534#if wxUSE_UNICODE
5535 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5536#else
5537 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5538#endif
5539 }
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
c370783e 5546static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
5547 PyObject *resultobj;
5548 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5549 wxString *arg2 = 0 ;
b411df4a 5550 bool temp2 = false ;
cbd72d4f
RD
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "id", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5560 {
5561 arg2 = wxString_in_helper(obj1);
5562 if (arg2 == NULL) SWIG_fail;
b411df4a 5563 temp2 = true;
cbd72d4f
RD
5564 }
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->SetId((wxString const &)*arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 Py_INCREF(Py_None); resultobj = Py_None;
5573 {
5574 if (temp2)
5575 delete arg2;
5576 }
5577 return resultobj;
5578 fail:
5579 {
5580 if (temp2)
5581 delete arg2;
5582 }
5583 return NULL;
5584}
5585
5586
c370783e 5587static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5588 PyObject *resultobj;
5589 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5590 int arg2 = (int) 0 ;
5591 int arg3 = (int) 0 ;
5592 wxHtmlLinkInfo *result;
5593 PyObject * obj0 = 0 ;
8edf1c75
RD
5594 PyObject * obj1 = 0 ;
5595 PyObject * obj2 = 0 ;
d14a1e28
RD
5596 char *kwnames[] = {
5597 (char *) "self",(char *) "x",(char *) "y", NULL
5598 };
5599
8edf1c75 5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5602 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 5603 if (obj1) {
36ed4f51
RD
5604 {
5605 arg2 = (int)(SWIG_As_int(obj1));
5606 if (SWIG_arg_fail(2)) SWIG_fail;
5607 }
8edf1c75
RD
5608 }
5609 if (obj2) {
36ed4f51
RD
5610 {
5611 arg3 = (int)(SWIG_As_int(obj2));
5612 if (SWIG_arg_fail(3)) SWIG_fail;
5613 }
8edf1c75 5614 }
d14a1e28
RD
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
2f4c0a16 5622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5623 return resultobj;
5624 fail:
5625 return NULL;
5626}
5627
5628
c370783e 5629static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5630 PyObject *resultobj;
5631 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5632 wxHtmlCell *result;
5633 PyObject * obj0 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
5639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (wxHtmlCell *)(arg1)->GetNext();
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
2f4c0a16 5648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5649 return resultobj;
5650 fail:
5651 return NULL;
5652}
5653
5654
c370783e 5655static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5656 PyObject *resultobj;
5657 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5658 wxHtmlContainerCell *result;
5659 PyObject * obj0 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
2f4c0a16 5674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5675 return resultobj;
5676 fail:
5677 return NULL;
5678}
5679
5680
c370783e 5681static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5682 PyObject *resultobj;
5683 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5684 wxHtmlCell *result;
5685 PyObject * obj0 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
5691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
2f4c0a16 5700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5701 return resultobj;
5702 fail:
5703 return NULL;
5704}
5705
5706
c370783e 5707static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5708 PyObject *resultobj;
5709 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5710 wxCursor result;
5711 PyObject * obj0 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
36ed4f51
RD
5717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = ((wxHtmlCell const *)arg1)->GetCursor();
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 {
5727 wxCursor * resultptr;
36ed4f51 5728 resultptr = new wxCursor((wxCursor &)(result));
2f4c0a16 5729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5730 }
5731 return resultobj;
5732 fail:
5733 return NULL;
5734}
5735
5736
c370783e 5737static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5738 PyObject *resultobj;
5739 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5740 bool result;
5741 PyObject * obj0 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
5747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
fbc46b20
RD
5756 {
5757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5758 }
d14a1e28
RD
5759 return resultobj;
5760 fail:
5761 return NULL;
5762}
5763
5764
c370783e 5765static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5766 PyObject *resultobj;
5767 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5768 wxHtmlLinkInfo *arg2 = 0 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "link", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
5779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
5780 if (SWIG_arg_fail(2)) SWIG_fail;
5781 if (arg2 == NULL) {
5782 SWIG_null_ref("wxHtmlLinkInfo");
5783 }
5784 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5785 }
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 Py_INCREF(Py_None); resultobj = Py_None;
5794 return resultobj;
5795 fail:
5796 return NULL;
5797}
5798
5799
c370783e 5800static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5801 PyObject *resultobj;
5802 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5803 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5804 PyObject * obj0 = 0 ;
5805 PyObject * obj1 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self",(char *) "cell", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5812 if (SWIG_arg_fail(1)) SWIG_fail;
5813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 (arg1)->SetNext(arg2);
5818
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 Py_INCREF(Py_None); resultobj = Py_None;
5823 return resultobj;
5824 fail:
5825 return NULL;
5826}
5827
5828
c370783e 5829static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5830 PyObject *resultobj;
5831 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5832 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
5833 PyObject * obj0 = 0 ;
5834 PyObject * obj1 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self",(char *) "p", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5841 if (SWIG_arg_fail(1)) SWIG_fail;
5842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
5843 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 (arg1)->SetParent(arg2);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 Py_INCREF(Py_None); resultobj = Py_None;
5852 return resultobj;
5853 fail:
5854 return NULL;
5855}
5856
5857
c370783e 5858static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5859 PyObject *resultobj;
5860 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5861 int arg2 ;
5862 int arg3 ;
5863 PyObject * obj0 = 0 ;
8edf1c75
RD
5864 PyObject * obj1 = 0 ;
5865 PyObject * obj2 = 0 ;
d14a1e28
RD
5866 char *kwnames[] = {
5867 (char *) "self",(char *) "x",(char *) "y", NULL
5868 };
5869
8edf1c75 5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5872 if (SWIG_arg_fail(1)) SWIG_fail;
5873 {
5874 arg2 = (int)(SWIG_As_int(obj1));
5875 if (SWIG_arg_fail(2)) SWIG_fail;
5876 }
5877 {
5878 arg3 = (int)(SWIG_As_int(obj2));
5879 if (SWIG_arg_fail(3)) SWIG_fail;
5880 }
d14a1e28
RD
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 (arg1)->SetPos(arg2,arg3);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 Py_INCREF(Py_None); resultobj = Py_None;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892}
5893
5894
c370783e 5895static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5896 PyObject *resultobj;
5897 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5898 int arg2 ;
5899 PyObject * obj0 = 0 ;
8edf1c75 5900 PyObject * obj1 = 0 ;
d14a1e28
RD
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "w", NULL
5903 };
5904
8edf1c75 5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail;
5908 {
5909 arg2 = (int)(SWIG_As_int(obj1));
5910 if (SWIG_arg_fail(2)) SWIG_fail;
5911 }
d14a1e28
RD
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 (arg1)->Layout(arg2);
5915
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 Py_INCREF(Py_None); resultobj = Py_None;
5920 return resultobj;
5921 fail:
5922 return NULL;
5923}
5924
5925
c370783e 5926static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5927 PyObject *resultobj;
5928 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5929 wxDC *arg2 = 0 ;
5930 int arg3 ;
5931 int arg4 ;
5932 int arg5 ;
5933 int arg6 ;
5934 wxHtmlRenderingInfo *arg7 = 0 ;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
8edf1c75
RD
5937 PyObject * obj2 = 0 ;
5938 PyObject * obj3 = 0 ;
5939 PyObject * obj4 = 0 ;
5940 PyObject * obj5 = 0 ;
d14a1e28
RD
5941 PyObject * obj6 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5944 };
5945
8edf1c75 5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail;
5949 {
5950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5951 if (SWIG_arg_fail(2)) SWIG_fail;
5952 if (arg2 == NULL) {
5953 SWIG_null_ref("wxDC");
5954 }
5955 if (SWIG_arg_fail(2)) SWIG_fail;
5956 }
5957 {
5958 arg3 = (int)(SWIG_As_int(obj2));
5959 if (SWIG_arg_fail(3)) SWIG_fail;
5960 }
5961 {
5962 arg4 = (int)(SWIG_As_int(obj3));
5963 if (SWIG_arg_fail(4)) SWIG_fail;
5964 }
5965 {
5966 arg5 = (int)(SWIG_As_int(obj4));
5967 if (SWIG_arg_fail(5)) SWIG_fail;
5968 }
5969 {
5970 arg6 = (int)(SWIG_As_int(obj5));
5971 if (SWIG_arg_fail(6)) SWIG_fail;
5972 }
5973 {
5974 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5975 if (SWIG_arg_fail(7)) SWIG_fail;
5976 if (arg7 == NULL) {
5977 SWIG_null_ref("wxHtmlRenderingInfo");
5978 }
5979 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 Py_INCREF(Py_None); resultobj = Py_None;
5989 return resultobj;
5990 fail:
5991 return NULL;
5992}
5993
5994
c370783e 5995static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5996 PyObject *resultobj;
5997 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5998 wxDC *arg2 = 0 ;
5999 int arg3 ;
6000 int arg4 ;
6001 wxHtmlRenderingInfo *arg5 = 0 ;
6002 PyObject * obj0 = 0 ;
6003 PyObject * obj1 = 0 ;
8edf1c75
RD
6004 PyObject * obj2 = 0 ;
6005 PyObject * obj3 = 0 ;
d14a1e28
RD
6006 PyObject * obj4 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6009 };
6010
8edf1c75 6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6013 if (SWIG_arg_fail(1)) SWIG_fail;
6014 {
6015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6016 if (SWIG_arg_fail(2)) SWIG_fail;
6017 if (arg2 == NULL) {
6018 SWIG_null_ref("wxDC");
6019 }
6020 if (SWIG_arg_fail(2)) SWIG_fail;
6021 }
6022 {
6023 arg3 = (int)(SWIG_As_int(obj2));
6024 if (SWIG_arg_fail(3)) SWIG_fail;
6025 }
6026 {
6027 arg4 = (int)(SWIG_As_int(obj3));
6028 if (SWIG_arg_fail(4)) SWIG_fail;
6029 }
6030 {
6031 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6032 if (SWIG_arg_fail(5)) SWIG_fail;
6033 if (arg5 == NULL) {
6034 SWIG_null_ref("wxHtmlRenderingInfo");
6035 }
6036 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 Py_INCREF(Py_None); resultobj = Py_None;
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
c370783e 6052static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6053 PyObject *resultobj;
6054 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6055 int arg2 ;
6056 void *arg3 = (void *) 0 ;
6057 wxHtmlCell *result;
6058 PyObject * obj0 = 0 ;
8edf1c75 6059 PyObject * obj1 = 0 ;
d14a1e28
RD
6060 PyObject * obj2 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "condition",(char *) "param", NULL
6063 };
6064
8edf1c75 6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail;
6068 {
6069 arg2 = (int)(SWIG_As_int(obj1));
6070 if (SWIG_arg_fail(2)) SWIG_fail;
6071 }
6072 {
6073 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6074 SWIG_arg_fail(3);SWIG_fail;
6075 }
6076 }
d14a1e28
RD
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
2f4c0a16 6084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6085 return resultobj;
6086 fail:
6087 return NULL;
6088}
6089
6090
c370783e 6091static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6092 PyObject *resultobj;
6093 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6094 int *arg2 = (int *) 0 ;
6095 bool result;
6096 int temp2 ;
c370783e 6097 int res2 = 0 ;
d14a1e28
RD
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "INOUT", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6106 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6107 {
c370783e
RD
6108 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6109 temp2 = SWIG_As_int(obj1);
36ed4f51 6110 if (SWIG_arg_fail(2)) SWIG_fail;
c370783e
RD
6111 arg2 = &temp2;
6112 res2 = SWIG_NEWOBJ;
6113 }
d14a1e28
RD
6114 }
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (bool)(arg1)->AdjustPagebreak(arg2);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
fbc46b20
RD
6122 {
6123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6124 }
c370783e
RD
6125 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6126 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
c370783e 6133static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6134 PyObject *resultobj;
6135 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6136 bool arg2 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "can", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail;
6146 {
6147 arg2 = (bool)(SWIG_As_bool(obj1));
6148 if (SWIG_arg_fail(2)) SWIG_fail;
6149 }
d14a1e28
RD
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 (arg1)->SetCanLiveOnPagebreak(arg2);
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 Py_INCREF(Py_None); resultobj = Py_None;
6158 return resultobj;
6159 fail:
6160 return NULL;
6161}
6162
6163
c370783e 6164static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6165 PyObject *resultobj;
6166 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6167 bool result;
6168 PyObject * obj0 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "self", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
36ed4f51
RD
6174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
fbc46b20
RD
6183 {
6184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6185 }
d14a1e28
RD
6186 return resultobj;
6187 fail:
6188 return NULL;
6189}
6190
6191
c370783e 6192static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6193 PyObject *resultobj;
6194 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6195 bool result;
6196 PyObject * obj0 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6203 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
fbc46b20
RD
6211 {
6212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6213 }
d14a1e28
RD
6214 return resultobj;
6215 fail:
6216 return NULL;
6217}
6218
6219
c370783e 6220static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6221 PyObject *resultobj;
6222 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
6223 int arg2 ;
6224 int arg3 ;
d14a1e28
RD
6225 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6226 wxHtmlCell *result;
6227 PyObject * obj0 = 0 ;
8edf1c75
RD
6228 PyObject * obj1 = 0 ;
6229 PyObject * obj2 = 0 ;
d14a1e28
RD
6230 PyObject * obj3 = 0 ;
6231 char *kwnames[] = {
6232 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6233 };
6234
8edf1c75 6235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6237 if (SWIG_arg_fail(1)) SWIG_fail;
6238 {
6239 arg2 = (int)(SWIG_As_int(obj1));
6240 if (SWIG_arg_fail(2)) SWIG_fail;
6241 }
6242 {
6243 arg3 = (int)(SWIG_As_int(obj2));
6244 if (SWIG_arg_fail(3)) SWIG_fail;
6245 }
d14a1e28 6246 if (obj3) {
36ed4f51
RD
6247 {
6248 arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3));
6249 if (SWIG_arg_fail(4)) SWIG_fail;
6250 }
d14a1e28
RD
6251 }
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
2f4c0a16 6259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6260 return resultobj;
6261 fail:
6262 return NULL;
6263}
6264
6265
c370783e 6266static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6267 PyObject *resultobj;
6268 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6269 wxPoint result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
6276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 {
6286 wxPoint * resultptr;
36ed4f51 6287 resultptr = new wxPoint((wxPoint &)(result));
2f4c0a16 6288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6289 }
6290 return resultobj;
6291 fail:
6292 return NULL;
6293}
6294
6295
c370783e 6296static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6297 PyObject *resultobj;
6298 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6299 wxHtmlCell *result;
6300 PyObject * obj0 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
2f4c0a16 6315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6316 return resultobj;
6317 fail:
6318 return NULL;
6319}
6320
6321
c370783e 6322static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6323 PyObject *resultobj;
6324 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6325 wxHtmlCell *result;
6326 PyObject * obj0 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
2f4c0a16 6341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6342 return resultobj;
6343 fail:
6344 return NULL;
6345}
6346
6347
c370783e 6348static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6349 PyObject *resultobj;
6350 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6351 unsigned int result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
36ed4f51
RD
6358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
36ed4f51
RD
6367 {
6368 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
6369 }
d14a1e28
RD
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
c370783e 6376static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6377 PyObject *resultobj;
6378 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6379 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6380 bool result;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "cell", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail;
6390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
fbc46b20
RD
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
d14a1e28
RD
6402 return resultobj;
6403 fail:
6404 return NULL;
6405}
6406
6407
c370783e 6408static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6409 PyObject *resultobj;
6410 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6411 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6412 wxString result;
6413 PyObject * obj0 = 0 ;
6414 PyObject * obj1 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self",(char *) "sel", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6421 if (SWIG_arg_fail(1)) SWIG_fail;
6422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6423 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 {
6432#if wxUSE_UNICODE
6433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6434#else
6435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6436#endif
6437 }
6438 return resultobj;
6439 fail:
6440 return NULL;
6441}
6442
6443
c370783e 6444static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6445 PyObject *obj;
6446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6447 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6448 Py_INCREF(obj);
6449 return Py_BuildValue((char *)"");
6450}
c370783e 6451static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6452 PyObject *resultobj;
6453 wxString *arg1 = 0 ;
6454 wxDC *arg2 = 0 ;
6455 wxHtmlWordCell *result;
b411df4a 6456 bool temp1 = false ;
d14a1e28
RD
6457 PyObject * obj0 = 0 ;
6458 PyObject * obj1 = 0 ;
6459 char *kwnames[] = {
6460 (char *) "word",(char *) "dc", NULL
6461 };
6462
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6464 {
6465 arg1 = wxString_in_helper(obj0);
6466 if (arg1 == NULL) SWIG_fail;
b411df4a 6467 temp1 = true;
d14a1e28 6468 }
36ed4f51
RD
6469 {
6470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6471 if (SWIG_arg_fail(2)) SWIG_fail;
6472 if (arg2 == NULL) {
6473 SWIG_null_ref("wxDC");
6474 }
6475 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6476 }
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6480
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
2f4c0a16 6484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6485 {
6486 if (temp1)
6487 delete arg1;
6488 }
6489 return resultobj;
6490 fail:
6491 {
6492 if (temp1)
6493 delete arg1;
6494 }
6495 return NULL;
6496}
6497
6498
c370783e 6499static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6500 PyObject *obj;
6501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6502 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6503 Py_INCREF(obj);
6504 return Py_BuildValue((char *)"");
6505}
c370783e 6506static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6507 PyObject *resultobj;
6508 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6509 wxHtmlContainerCell *result;
6510 PyObject * obj0 = 0 ;
6511 char *kwnames[] = {
6512 (char *) "parent", NULL
6513 };
6514
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
2f4c0a16 6525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6526 return resultobj;
6527 fail:
6528 return NULL;
6529}
6530
6531
c370783e 6532static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6533 PyObject *resultobj;
6534 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6535 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self",(char *) "cell", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail;
6545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6546 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 (arg1)->InsertCell(arg2);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 Py_INCREF(Py_None); resultobj = Py_None;
6555 return resultobj;
6556 fail:
6557 return NULL;
6558}
6559
6560
c370783e 6561static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6562 PyObject *resultobj;
6563 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6564 int arg2 ;
6565 PyObject * obj0 = 0 ;
8edf1c75 6566 PyObject * obj1 = 0 ;
d14a1e28
RD
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "al", NULL
6569 };
6570
8edf1c75 6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6573 if (SWIG_arg_fail(1)) SWIG_fail;
6574 {
6575 arg2 = (int)(SWIG_As_int(obj1));
6576 if (SWIG_arg_fail(2)) SWIG_fail;
6577 }
d14a1e28
RD
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 (arg1)->SetAlignHor(arg2);
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 Py_INCREF(Py_None); resultobj = Py_None;
6586 return resultobj;
6587 fail:
6588 return NULL;
6589}
6590
6591
c370783e 6592static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6593 PyObject *resultobj;
6594 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6595 int result;
6596 PyObject * obj0 = 0 ;
6597 char *kwnames[] = {
6598 (char *) "self", NULL
6599 };
6600
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
36ed4f51
RD
6602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 result = (int)(arg1)->GetAlignHor();
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
36ed4f51
RD
6611 {
6612 resultobj = SWIG_From_int((int)(result));
6613 }
d14a1e28
RD
6614 return resultobj;
6615 fail:
6616 return NULL;
6617}
6618
6619
c370783e 6620static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6621 PyObject *resultobj;
6622 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6623 int arg2 ;
6624 PyObject * obj0 = 0 ;
8edf1c75 6625 PyObject * obj1 = 0 ;
d14a1e28
RD
6626 char *kwnames[] = {
6627 (char *) "self",(char *) "al", NULL
6628 };
6629
8edf1c75 6630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail;
6633 {
6634 arg2 = (int)(SWIG_As_int(obj1));
6635 if (SWIG_arg_fail(2)) SWIG_fail;
6636 }
d14a1e28
RD
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 (arg1)->SetAlignVer(arg2);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 Py_INCREF(Py_None); resultobj = Py_None;
6645 return resultobj;
6646 fail:
6647 return NULL;
6648}
6649
6650
c370783e 6651static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6652 PyObject *resultobj;
6653 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6654 int result;
6655 PyObject * obj0 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "self", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
36ed4f51
RD
6661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6662 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (int)(arg1)->GetAlignVer();
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
36ed4f51
RD
6670 {
6671 resultobj = SWIG_From_int((int)(result));
6672 }
d14a1e28
RD
6673 return resultobj;
6674 fail:
6675 return NULL;
6676}
6677
6678
c370783e 6679static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6680 PyObject *resultobj;
6681 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6682 int arg2 ;
6683 int arg3 ;
6684 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6685 PyObject * obj0 = 0 ;
8edf1c75
RD
6686 PyObject * obj1 = 0 ;
6687 PyObject * obj2 = 0 ;
6688 PyObject * obj3 = 0 ;
d14a1e28
RD
6689 char *kwnames[] = {
6690 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6691 };
6692
8edf1c75 6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail;
6696 {
6697 arg2 = (int)(SWIG_As_int(obj1));
6698 if (SWIG_arg_fail(2)) SWIG_fail;
6699 }
6700 {
6701 arg3 = (int)(SWIG_As_int(obj2));
6702 if (SWIG_arg_fail(3)) SWIG_fail;
6703 }
8edf1c75 6704 if (obj3) {
36ed4f51
RD
6705 {
6706 arg4 = (int)(SWIG_As_int(obj3));
6707 if (SWIG_arg_fail(4)) SWIG_fail;
6708 }
8edf1c75 6709 }
d14a1e28
RD
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 (arg1)->SetIndent(arg2,arg3,arg4);
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 Py_INCREF(Py_None); resultobj = Py_None;
6718 return resultobj;
6719 fail:
6720 return NULL;
6721}
6722
6723
c370783e 6724static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6725 PyObject *resultobj;
6726 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6727 int arg2 ;
6728 int result;
6729 PyObject * obj0 = 0 ;
8edf1c75 6730 PyObject * obj1 = 0 ;
d14a1e28
RD
6731 char *kwnames[] = {
6732 (char *) "self",(char *) "ind", NULL
6733 };
6734
8edf1c75 6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail;
6738 {
6739 arg2 = (int)(SWIG_As_int(obj1));
6740 if (SWIG_arg_fail(2)) SWIG_fail;
6741 }
d14a1e28
RD
6742 {
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 result = (int)(arg1)->GetIndent(arg2);
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
36ed4f51
RD
6749 {
6750 resultobj = SWIG_From_int((int)(result));
6751 }
d14a1e28
RD
6752 return resultobj;
6753 fail:
6754 return NULL;
6755}
6756
6757
c370783e 6758static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6759 PyObject *resultobj;
6760 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6761 int arg2 ;
6762 int result;
6763 PyObject * obj0 = 0 ;
8edf1c75 6764 PyObject * obj1 = 0 ;
d14a1e28
RD
6765 char *kwnames[] = {
6766 (char *) "self",(char *) "ind", NULL
6767 };
6768
8edf1c75 6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6771 if (SWIG_arg_fail(1)) SWIG_fail;
6772 {
6773 arg2 = (int)(SWIG_As_int(obj1));
6774 if (SWIG_arg_fail(2)) SWIG_fail;
6775 }
d14a1e28
RD
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = (int)(arg1)->GetIndentUnits(arg2);
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
36ed4f51
RD
6783 {
6784 resultobj = SWIG_From_int((int)(result));
6785 }
d14a1e28
RD
6786 return resultobj;
6787 fail:
6788 return NULL;
6789}
6790
6791
c370783e 6792static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6793 PyObject *resultobj;
6794 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6795 wxHtmlTag *arg2 = 0 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "tag", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail;
6805 {
6806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6807 if (SWIG_arg_fail(2)) SWIG_fail;
6808 if (arg2 == NULL) {
6809 SWIG_null_ref("wxHtmlTag");
6810 }
6811 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6812 }
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 Py_INCREF(Py_None); resultobj = Py_None;
6821 return resultobj;
6822 fail:
6823 return NULL;
6824}
6825
6826
c370783e 6827static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6828 PyObject *resultobj;
6829 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6830 int arg2 ;
6831 int arg3 ;
6832 PyObject * obj0 = 0 ;
8edf1c75
RD
6833 PyObject * obj1 = 0 ;
6834 PyObject * obj2 = 0 ;
d14a1e28
RD
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "w",(char *) "units", NULL
6837 };
6838
8edf1c75 6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail;
6842 {
6843 arg2 = (int)(SWIG_As_int(obj1));
6844 if (SWIG_arg_fail(2)) SWIG_fail;
6845 }
6846 {
6847 arg3 = (int)(SWIG_As_int(obj2));
6848 if (SWIG_arg_fail(3)) SWIG_fail;
6849 }
d14a1e28
RD
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 (arg1)->SetWidthFloat(arg2,arg3);
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 Py_INCREF(Py_None); resultobj = Py_None;
6858 return resultobj;
6859 fail:
6860 return NULL;
6861}
6862
6863
c370783e 6864static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6865 PyObject *resultobj;
6866 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6867 wxHtmlTag *arg2 = 0 ;
6868 PyObject * obj0 = 0 ;
6869 PyObject * obj1 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self",(char *) "tag", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
6877 {
6878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6879 if (SWIG_arg_fail(2)) SWIG_fail;
6880 if (arg2 == NULL) {
6881 SWIG_null_ref("wxHtmlTag");
6882 }
6883 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6884 }
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 Py_INCREF(Py_None); resultobj = Py_None;
6893 return resultobj;
6894 fail:
6895 return NULL;
6896}
6897
6898
c370783e 6899static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6900 PyObject *resultobj;
6901 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6902 int arg2 ;
6903 int arg3 = (int) wxHTML_ALIGN_TOP ;
6904 PyObject * obj0 = 0 ;
8edf1c75
RD
6905 PyObject * obj1 = 0 ;
6906 PyObject * obj2 = 0 ;
d14a1e28
RD
6907 char *kwnames[] = {
6908 (char *) "self",(char *) "h",(char *) "align", NULL
6909 };
6910
8edf1c75 6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail;
6914 {
6915 arg2 = (int)(SWIG_As_int(obj1));
6916 if (SWIG_arg_fail(2)) SWIG_fail;
6917 }
8edf1c75 6918 if (obj2) {
36ed4f51
RD
6919 {
6920 arg3 = (int)(SWIG_As_int(obj2));
6921 if (SWIG_arg_fail(3)) SWIG_fail;
6922 }
8edf1c75 6923 }
d14a1e28
RD
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 (arg1)->SetMinHeight(arg2,arg3);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 Py_INCREF(Py_None); resultobj = Py_None;
6932 return resultobj;
6933 fail:
6934 return NULL;
6935}
6936
6937
c370783e 6938static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6939 PyObject *resultobj;
6940 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6941 wxColour *arg2 = 0 ;
6942 wxColour temp2 ;
6943 PyObject * obj0 = 0 ;
6944 PyObject * obj1 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self",(char *) "clr", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6951 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6952 {
6953 arg2 = &temp2;
6954 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6955 }
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 Py_INCREF(Py_None); resultobj = Py_None;
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
c370783e 6970static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6971 PyObject *resultobj;
6972 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6973 wxColour result;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
6980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = (arg1)->GetBackgroundColour();
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 wxColour * resultptr;
36ed4f51 6991 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
6993 }
6994 return resultobj;
6995 fail:
6996 return NULL;
6997}
6998
6999
c370783e 7000static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7001 PyObject *resultobj;
7002 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7003 wxColour *arg2 = 0 ;
7004 wxColour *arg3 = 0 ;
7005 wxColour temp2 ;
7006 wxColour temp3 ;
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 PyObject * obj2 = 0 ;
7010 char *kwnames[] = {
7011 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7012 };
7013
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7017 {
7018 arg2 = &temp2;
7019 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7020 }
7021 {
7022 arg3 = &temp3;
7023 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7024 }
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 Py_INCREF(Py_None); resultobj = Py_None;
7033 return resultobj;
7034 fail:
7035 return NULL;
7036}
7037
7038
c370783e 7039static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7040 PyObject *resultobj;
7041 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7042 wxHtmlCell *result;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
7049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
2f4c0a16 7058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
7059 return resultobj;
7060 fail:
7061 return NULL;
7062}
7063
7064
c370783e 7065static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7066 PyObject *obj;
7067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7069 Py_INCREF(obj);
7070 return Py_BuildValue((char *)"");
7071}
c370783e 7072static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7073 PyObject *resultobj;
51b83b37 7074 wxColour *arg1 = 0 ;
d14a1e28
RD
7075 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7076 wxHtmlColourCell *result;
51b83b37 7077 wxColour temp1 ;
d14a1e28 7078 PyObject * obj0 = 0 ;
8edf1c75 7079 PyObject * obj1 = 0 ;
d14a1e28
RD
7080 char *kwnames[] = {
7081 (char *) "clr",(char *) "flags", NULL
7082 };
7083
8edf1c75 7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 7085 {
51b83b37
RD
7086 arg1 = &temp1;
7087 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
36ed4f51 7088 }
8edf1c75 7089 if (obj1) {
36ed4f51
RD
7090 {
7091 arg2 = (int)(SWIG_As_int(obj1));
7092 if (SWIG_arg_fail(2)) SWIG_fail;
7093 }
8edf1c75 7094 }
d14a1e28
RD
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
51b83b37 7097 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
d14a1e28
RD
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
2f4c0a16 7102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7103 return resultobj;
7104 fail:
7105 return NULL;
7106}
7107
7108
c370783e 7109static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7110 PyObject *obj;
7111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7112 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7113 Py_INCREF(obj);
7114 return Py_BuildValue((char *)"");
7115}
c370783e 7116static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7117 PyObject *resultobj;
7118 wxFont *arg1 = (wxFont *) 0 ;
7119 wxHtmlFontCell *result;
7120 PyObject * obj0 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "font", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
7126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
2f4c0a16 7135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7136 return resultobj;
7137 fail:
7138 return NULL;
7139}
7140
7141
c370783e 7142static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7143 PyObject *obj;
7144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7145 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7146 Py_INCREF(obj);
7147 return Py_BuildValue((char *)"");
7148}
c370783e 7149static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7150 PyObject *resultobj;
7151 wxWindow *arg1 = (wxWindow *) 0 ;
7152 int arg2 = (int) 0 ;
7153 wxHtmlWidgetCell *result;
7154 PyObject * obj0 = 0 ;
8edf1c75 7155 PyObject * obj1 = 0 ;
d14a1e28
RD
7156 char *kwnames[] = {
7157 (char *) "wnd",(char *) "w", NULL
7158 };
7159
8edf1c75 7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7162 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7163 if (obj1) {
36ed4f51
RD
7164 {
7165 arg2 = (int)(SWIG_As_int(obj1));
7166 if (SWIG_arg_fail(2)) SWIG_fail;
7167 }
8edf1c75 7168 }
d14a1e28
RD
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
2f4c0a16 7176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
c370783e 7183static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7184 PyObject *obj;
7185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7186 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7187 Py_INCREF(obj);
7188 return Py_BuildValue((char *)"");
7189}
c370783e 7190static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7191 PyObject *resultobj;
7192 wxPyHtmlFilter *result;
7193 char *kwnames[] = {
7194 NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
2f4c0a16 7205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
c370783e 7212static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7213 PyObject *resultobj;
7214 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7215 PyObject *arg2 = (PyObject *) 0 ;
7216 PyObject *arg3 = (PyObject *) 0 ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 PyObject * obj2 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self",(char *) "self",(char *) "_class", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7226 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7227 arg2 = obj1;
7228 arg3 = obj2;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 (arg1)->_setCallbackInfo(arg2,arg3);
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 Py_INCREF(Py_None); resultobj = Py_None;
7237 return resultobj;
7238 fail:
7239 return NULL;
7240}
7241
7242
c370783e 7243static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7244 PyObject *obj;
7245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7246 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7247 Py_INCREF(obj);
7248 return Py_BuildValue((char *)"");
7249}
c370783e 7250static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7251 PyObject *resultobj;
7252 wxWindow *arg1 = (wxWindow *) 0 ;
7253 int arg2 = (int) -1 ;
7254 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7255 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7256 wxSize const &arg4_defvalue = wxDefaultSize ;
7257 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7258 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7259 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7260 wxString *arg6 = (wxString *) &arg6_defvalue ;
7261 wxPyHtmlWindow *result;
7262 wxPoint temp3 ;
7263 wxSize temp4 ;
b411df4a 7264 bool temp6 = false ;
d14a1e28 7265 PyObject * obj0 = 0 ;
8edf1c75 7266 PyObject * obj1 = 0 ;
d14a1e28
RD
7267 PyObject * obj2 = 0 ;
7268 PyObject * obj3 = 0 ;
8edf1c75 7269 PyObject * obj4 = 0 ;
d14a1e28
RD
7270 PyObject * obj5 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7273 };
7274
8edf1c75 7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7277 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7278 if (obj1) {
36ed4f51
RD
7279 {
7280 arg2 = (int)(SWIG_As_int(obj1));
7281 if (SWIG_arg_fail(2)) SWIG_fail;
7282 }
8edf1c75 7283 }
d14a1e28
RD
7284 if (obj2) {
7285 {
7286 arg3 = &temp3;
7287 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7288 }
7289 }
7290 if (obj3) {
7291 {
7292 arg4 = &temp4;
7293 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7294 }
7295 }
8edf1c75 7296 if (obj4) {
36ed4f51
RD
7297 {
7298 arg5 = (int)(SWIG_As_int(obj4));
7299 if (SWIG_arg_fail(5)) SWIG_fail;
7300 }
8edf1c75 7301 }
d14a1e28
RD
7302 if (obj5) {
7303 {
7304 arg6 = wxString_in_helper(obj5);
7305 if (arg6 == NULL) SWIG_fail;
b411df4a 7306 temp6 = true;
d14a1e28
RD
7307 }
7308 }
7309 {
0439c23b 7310 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7313
7314 wxPyEndAllowThreads(__tstate);
110da5b0 7315 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7316 }
b0f7404b 7317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7318 {
7319 if (temp6)
7320 delete arg6;
7321 }
7322 return resultobj;
7323 fail:
7324 {
7325 if (temp6)
7326 delete arg6;
7327 }
7328 return NULL;
7329}
7330
7331
c370783e 7332static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7333 PyObject *resultobj;
7334 wxPyHtmlWindow *result;
7335 char *kwnames[] = {
7336 NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7340 {
0439c23b 7341 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7344
7345 wxPyEndAllowThreads(__tstate);
110da5b0 7346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7347 }
b0f7404b 7348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
c370783e 7355static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7356 PyObject *resultobj;
7357 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7358 wxWindow *arg2 = (wxWindow *) 0 ;
7359 int arg3 = (int) -1 ;
7360 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7361 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7362 wxSize const &arg5_defvalue = wxDefaultSize ;
7363 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7364 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7365 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7366 wxString *arg7 = (wxString *) &arg7_defvalue ;
7367 bool result;
7368 wxPoint temp4 ;
7369 wxSize temp5 ;
b411df4a 7370 bool temp7 = false ;
d14a1e28
RD
7371 PyObject * obj0 = 0 ;
7372 PyObject * obj1 = 0 ;
8edf1c75 7373 PyObject * obj2 = 0 ;
d14a1e28
RD
7374 PyObject * obj3 = 0 ;
7375 PyObject * obj4 = 0 ;
8edf1c75 7376 PyObject * obj5 = 0 ;
d14a1e28
RD
7377 PyObject * obj6 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7380 };
7381
8edf1c75 7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail;
7385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7386 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 7387 if (obj2) {
36ed4f51
RD
7388 {
7389 arg3 = (int)(SWIG_As_int(obj2));
7390 if (SWIG_arg_fail(3)) SWIG_fail;
7391 }
8edf1c75 7392 }
d14a1e28
RD
7393 if (obj3) {
7394 {
7395 arg4 = &temp4;
7396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7397 }
7398 }
7399 if (obj4) {
7400 {
7401 arg5 = &temp5;
7402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7403 }
7404 }
8edf1c75 7405 if (obj5) {
36ed4f51
RD
7406 {
7407 arg6 = (int)(SWIG_As_int(obj5));
7408 if (SWIG_arg_fail(6)) SWIG_fail;
7409 }
8edf1c75 7410 }
d14a1e28
RD
7411 if (obj6) {
7412 {
7413 arg7 = wxString_in_helper(obj6);
7414 if (arg7 == NULL) SWIG_fail;
b411df4a 7415 temp7 = true;
d14a1e28
RD
7416 }
7417 }
7418 {
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
fbc46b20
RD
7425 {
7426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7427 }
d14a1e28
RD
7428 {
7429 if (temp7)
7430 delete arg7;
7431 }
7432 return resultobj;
7433 fail:
7434 {
7435 if (temp7)
7436 delete arg7;
7437 }
7438 return NULL;
7439}
7440
7441
c370783e 7442static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7443 PyObject *resultobj;
7444 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7445 PyObject *arg2 = (PyObject *) 0 ;
7446 PyObject *arg3 = (PyObject *) 0 ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 PyObject * obj2 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self",(char *) "self",(char *) "_class", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7456 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7457 arg2 = obj1;
7458 arg3 = obj2;
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 (arg1)->_setCallbackInfo(arg2,arg3);
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 Py_INCREF(Py_None); resultobj = Py_None;
7467 return resultobj;
7468 fail:
7469 return NULL;
7470}
7471
7472
c370783e 7473static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7474 PyObject *resultobj;
7475 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7476 wxString *arg2 = 0 ;
7477 bool result;
b411df4a 7478 bool temp2 = false ;
d14a1e28
RD
7479 PyObject * obj0 = 0 ;
7480 PyObject * obj1 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self",(char *) "source", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7487 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7488 {
7489 arg2 = wxString_in_helper(obj1);
7490 if (arg2 == NULL) SWIG_fail;
b411df4a 7491 temp2 = true;
d14a1e28
RD
7492 }
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
fbc46b20
RD
7500 {
7501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7502 }
d14a1e28
RD
7503 {
7504 if (temp2)
7505 delete arg2;
7506 }
7507 return resultobj;
7508 fail:
7509 {
7510 if (temp2)
7511 delete arg2;
7512 }
7513 return NULL;
7514}
7515
7516
c370783e 7517static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7518 PyObject *resultobj;
7519 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7520 wxString *arg2 = 0 ;
7521 bool result;
b411df4a 7522 bool temp2 = false ;
d14a1e28
RD
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self",(char *) "location", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7532 {
7533 arg2 = wxString_in_helper(obj1);
7534 if (arg2 == NULL) SWIG_fail;
b411df4a 7535 temp2 = true;
d14a1e28
RD
7536 }
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
fbc46b20
RD
7544 {
7545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7546 }
d14a1e28
RD
7547 {
7548 if (temp2)
7549 delete arg2;
7550 }
7551 return resultobj;
7552 fail:
7553 {
7554 if (temp2)
7555 delete arg2;
7556 }
7557 return NULL;
7558}
7559
7560
c370783e 7561static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7562 PyObject *resultobj;
7563 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7564 wxString *arg2 = 0 ;
7565 bool result;
b411df4a 7566 bool temp2 = false ;
d14a1e28
RD
7567 PyObject * obj0 = 0 ;
7568 PyObject * obj1 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "filename", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7575 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7576 {
7577 arg2 = wxString_in_helper(obj1);
7578 if (arg2 == NULL) SWIG_fail;
b411df4a 7579 temp2 = true;
d14a1e28
RD
7580 }
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
fbc46b20
RD
7588 {
7589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7590 }
d14a1e28
RD
7591 {
7592 if (temp2)
7593 delete arg2;
7594 }
7595 return resultobj;
7596 fail:
7597 {
7598 if (temp2)
7599 delete arg2;
7600 }
7601 return NULL;
7602}
7603
7604
c370783e 7605static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7606 PyObject *resultobj;
7607 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7608 wxString *arg2 = 0 ;
7609 bool result;
b411df4a 7610 bool temp2 = false ;
d14a1e28
RD
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "source", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7620 {
7621 arg2 = wxString_in_helper(obj1);
7622 if (arg2 == NULL) SWIG_fail;
b411df4a 7623 temp2 = true;
d14a1e28
RD
7624 }
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
fbc46b20
RD
7632 {
7633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7634 }
d14a1e28
RD
7635 {
7636 if (temp2)
7637 delete arg2;
7638 }
7639 return resultobj;
7640 fail:
7641 {
7642 if (temp2)
7643 delete arg2;
7644 }
7645 return NULL;
7646}
7647
7648
c370783e 7649static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7650 PyObject *resultobj;
7651 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7652 wxString result;
7653 PyObject * obj0 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
7659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (arg1)->GetOpenedPage();
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 {
7669#if wxUSE_UNICODE
7670 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7671#else
7672 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7673#endif
7674 }
7675 return resultobj;
7676 fail:
7677 return NULL;
7678}
7679
7680
c370783e 7681static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7682 PyObject *resultobj;
7683 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7684 wxString result;
7685 PyObject * obj0 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
36ed4f51
RD
7691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 result = (arg1)->GetOpenedAnchor();
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 {
7701#if wxUSE_UNICODE
7702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7703#else
7704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7705#endif
7706 }
7707 return resultobj;
7708 fail:
7709 return NULL;
7710}
7711
7712
c370783e 7713static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7714 PyObject *resultobj;
7715 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7716 wxString result;
7717 PyObject * obj0 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "self", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
7723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 result = (arg1)->GetOpenedPageTitle();
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733#if wxUSE_UNICODE
7734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7735#else
7736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7737#endif
7738 }
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
c370783e 7745static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7746 PyObject *resultobj;
7747 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7748 wxFrame *arg2 = (wxFrame *) 0 ;
7749 wxString *arg3 = 0 ;
b411df4a 7750 bool temp3 = false ;
d14a1e28
RD
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 PyObject * obj2 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self",(char *) "frame",(char *) "format", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail;
7761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7763 {
7764 arg3 = wxString_in_helper(obj2);
7765 if (arg3 == NULL) SWIG_fail;
b411df4a 7766 temp3 = true;
d14a1e28
RD
7767 }
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 {
7777 if (temp3)
7778 delete arg3;
7779 }
7780 return resultobj;
7781 fail:
7782 {
7783 if (temp3)
7784 delete arg3;
7785 }
7786 return NULL;
7787}
7788
7789
c370783e 7790static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7791 PyObject *resultobj;
7792 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7793 wxFrame *result;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
7800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 result = (wxFrame *)(arg1)->GetRelatedFrame();
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 {
412d302d 7810 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7811 }
7812 return resultobj;
7813 fail:
7814 return NULL;
7815}
7816
7817
c370783e 7818static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7819 PyObject *resultobj;
7820 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7821 int arg2 ;
7822 PyObject * obj0 = 0 ;
8edf1c75 7823 PyObject * obj1 = 0 ;
d14a1e28
RD
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "bar", NULL
7826 };
7827
8edf1c75 7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail;
7831 {
7832 arg2 = (int)(SWIG_As_int(obj1));
7833 if (SWIG_arg_fail(2)) SWIG_fail;
7834 }
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetRelatedStatusBar(arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846}
7847
7848
c370783e 7849static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7850 PyObject *resultobj;
7851 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7852 wxString arg2 ;
7853 wxString arg3 ;
7854 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7855 PyObject * obj0 = 0 ;
7856 PyObject * obj1 = 0 ;
7857 PyObject * obj2 = 0 ;
7858 PyObject * obj3 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
7866 {
7867 wxString* sptr = wxString_in_helper(obj1);
7868 if (sptr == NULL) SWIG_fail;
7869 arg2 = *sptr;
7870 delete sptr;
7871 }
7872 {
7873 wxString* sptr = wxString_in_helper(obj2);
7874 if (sptr == NULL) SWIG_fail;
7875 arg3 = *sptr;
7876 delete sptr;
7877 }
d14a1e28
RD
7878 if (obj3) {
7879 arg4 = obj3;
7880 }
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 Py_INCREF(Py_None); resultobj = Py_None;
7889 return resultobj;
7890 fail:
7891 return NULL;
7892}
7893
7894
b411df4a 7895static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
7896 PyObject *resultobj;
7897 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7898 int arg2 = (int) -1 ;
b411df4a
RD
7899 wxString const &arg3_defvalue = wxPyEmptyString ;
7900 wxString *arg3 = (wxString *) &arg3_defvalue ;
7901 wxString const &arg4_defvalue = wxPyEmptyString ;
7902 wxString *arg4 = (wxString *) &arg4_defvalue ;
7903 bool temp3 = false ;
7904 bool temp4 = false ;
30ee79f7
RD
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
b411df4a
RD
7907 PyObject * obj2 = 0 ;
7908 PyObject * obj3 = 0 ;
30ee79f7 7909 char *kwnames[] = {
b411df4a 7910 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
7911 };
7912
b411df4a 7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 7916 if (obj1) {
36ed4f51
RD
7917 {
7918 arg2 = (int)(SWIG_As_int(obj1));
7919 if (SWIG_arg_fail(2)) SWIG_fail;
7920 }
30ee79f7 7921 }
b411df4a
RD
7922 if (obj2) {
7923 {
7924 arg3 = wxString_in_helper(obj2);
7925 if (arg3 == NULL) SWIG_fail;
7926 temp3 = true;
7927 }
7928 }
7929 if (obj3) {
7930 {
7931 arg4 = wxString_in_helper(obj3);
7932 if (arg4 == NULL) SWIG_fail;
7933 temp4 = true;
7934 }
7935 }
30ee79f7
RD
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 7938 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
7944 {
7945 if (temp3)
7946 delete arg3;
7947 }
7948 {
7949 if (temp4)
7950 delete arg4;
7951 }
30ee79f7
RD
7952 return resultobj;
7953 fail:
b411df4a
RD
7954 {
7955 if (temp3)
7956 delete arg3;
7957 }
7958 {
7959 if (temp4)
7960 delete arg4;
7961 }
30ee79f7
RD
7962 return NULL;
7963}
7964
7965
943e8dfd 7966static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7967 PyObject *resultobj;
7968 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7969 wxString *arg2 = 0 ;
b411df4a 7970 bool temp2 = false ;
d14a1e28
RD
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self",(char *) "title", NULL
7975 };
7976
943e8dfd 7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7980 {
7981 arg2 = wxString_in_helper(obj1);
7982 if (arg2 == NULL) SWIG_fail;
b411df4a 7983 temp2 = true;
d14a1e28
RD
7984 }
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
943e8dfd 7987 (arg1)->SetLabel((wxString const &)*arg2);
d14a1e28
RD
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 Py_INCREF(Py_None); resultobj = Py_None;
7993 {
7994 if (temp2)
7995 delete arg2;
7996 }
7997 return resultobj;
7998 fail:
7999 {
8000 if (temp2)
8001 delete arg2;
8002 }
8003 return NULL;
8004}
8005
8006
c370783e 8007static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8008 PyObject *resultobj;
8009 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8010 int arg2 ;
8011 PyObject * obj0 = 0 ;
8edf1c75 8012 PyObject * obj1 = 0 ;
d14a1e28
RD
8013 char *kwnames[] = {
8014 (char *) "self",(char *) "b", NULL
8015 };
8016
8edf1c75 8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
8020 {
8021 arg2 = (int)(SWIG_As_int(obj1));
8022 if (SWIG_arg_fail(2)) SWIG_fail;
8023 }
d14a1e28
RD
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 (arg1)->SetBorders(arg2);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 Py_INCREF(Py_None); resultobj = Py_None;
8032 return resultobj;
8033 fail:
8034 return NULL;
8035}
8036
8037
53aa7709
RD
8038static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8041 wxBitmap *arg2 = 0 ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "bmpBg", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
8051 {
8052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8053 if (SWIG_arg_fail(2)) SWIG_fail;
8054 if (arg2 == NULL) {
8055 SWIG_null_ref("wxBitmap");
8056 }
8057 if (SWIG_arg_fail(2)) SWIG_fail;
8058 }
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 Py_INCREF(Py_None); resultobj = Py_None;
8067 return resultobj;
8068 fail:
8069 return NULL;
8070}
8071
8072
c370783e 8073static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8074 PyObject *resultobj;
8075 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8076 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8077 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8078 PyObject * obj0 = 0 ;
8079 PyObject * obj1 = 0 ;
8080 PyObject * obj2 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self",(char *) "cfg",(char *) "path", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
8088 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8089 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8090 if (obj2) {
423f194a
RD
8091 {
8092 wxString* sptr = wxString_in_helper(obj2);
8093 if (sptr == NULL) SWIG_fail;
8094 arg3 = *sptr;
8095 delete sptr;
8096 }
d14a1e28
RD
8097 }
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 (arg1)->ReadCustomization(arg2,arg3);
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 Py_INCREF(Py_None); resultobj = Py_None;
8106 return resultobj;
8107 fail:
8108 return NULL;
8109}
8110
8111
c370783e 8112static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8113 PyObject *resultobj;
8114 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8115 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8116 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8117 PyObject * obj0 = 0 ;
8118 PyObject * obj1 = 0 ;
8119 PyObject * obj2 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "self",(char *) "cfg",(char *) "path", NULL
8122 };
8123
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail;
8127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8128 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8129 if (obj2) {
423f194a
RD
8130 {
8131 wxString* sptr = wxString_in_helper(obj2);
8132 if (sptr == NULL) SWIG_fail;
8133 arg3 = *sptr;
8134 delete sptr;
8135 }
d14a1e28
RD
8136 }
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 (arg1)->WriteCustomization(arg2,arg3);
8140
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
8144 Py_INCREF(Py_None); resultobj = Py_None;
8145 return resultobj;
8146 fail:
8147 return NULL;
8148}
8149
8150
c370783e 8151static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8152 PyObject *resultobj;
8153 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8154 bool result;
8155 PyObject * obj0 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
36ed4f51
RD
8161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (bool)(arg1)->HistoryBack();
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
fbc46b20
RD
8170 {
8171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8172 }
d14a1e28
RD
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
c370783e 8179static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8180 PyObject *resultobj;
8181 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8182 bool result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
36ed4f51
RD
8189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (bool)(arg1)->HistoryForward();
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
fbc46b20
RD
8198 {
8199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8200 }
d14a1e28
RD
8201 return resultobj;
8202 fail:
8203 return NULL;
8204}
8205
8206
c370783e 8207static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8208 PyObject *resultobj;
8209 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8210 bool result;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
36ed4f51
RD
8217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (bool)(arg1)->HistoryCanBack();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
fbc46b20
RD
8226 {
8227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8228 }
d14a1e28
RD
8229 return resultobj;
8230 fail:
8231 return NULL;
8232}
8233
8234
c370783e 8235static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8236 PyObject *resultobj;
8237 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8238 bool result;
8239 PyObject * obj0 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
36ed4f51
RD
8245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (bool)(arg1)->HistoryCanForward();
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
fbc46b20
RD
8254 {
8255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8256 }
d14a1e28
RD
8257 return resultobj;
8258 fail:
8259 return NULL;
8260}
8261
8262
c370783e 8263static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8264 PyObject *resultobj;
8265 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
36ed4f51
RD
8272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 (arg1)->HistoryClear();
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 Py_INCREF(Py_None); resultobj = Py_None;
8282 return resultobj;
8283 fail:
8284 return NULL;
8285}
8286
8287
c370783e 8288static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8289 PyObject *resultobj;
8290 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8291 wxHtmlContainerCell *result;
8292 PyObject * obj0 = 0 ;
8293 char *kwnames[] = {
8294 (char *) "self", NULL
8295 };
8296
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
36ed4f51
RD
8298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
2f4c0a16 8307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8308 return resultobj;
8309 fail:
8310 return NULL;
8311}
8312
8313
c370783e 8314static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8315 PyObject *resultobj;
8316 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8317 wxHtmlWinParser *result;
8318 PyObject * obj0 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
8324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 result = (wxHtmlWinParser *)(arg1)->GetParser();
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
2f4c0a16 8333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8334 return resultobj;
8335 fail:
8336 return NULL;
8337}
8338
8339
c370783e 8340static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8341 PyObject *resultobj;
8342 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8343 wxString *arg2 = 0 ;
8344 bool result;
b411df4a 8345 bool temp2 = false ;
d14a1e28
RD
8346 PyObject * obj0 = 0 ;
8347 PyObject * obj1 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self",(char *) "anchor", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8355 {
8356 arg2 = wxString_in_helper(obj1);
8357 if (arg2 == NULL) SWIG_fail;
b411df4a 8358 temp2 = true;
d14a1e28
RD
8359 }
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
fbc46b20
RD
8367 {
8368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8369 }
d14a1e28
RD
8370 {
8371 if (temp2)
8372 delete arg2;
8373 }
8374 return resultobj;
8375 fail:
8376 {
8377 if (temp2)
8378 delete arg2;
8379 }
8380 return NULL;
8381}
8382
8383
c370783e 8384static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8385 PyObject *resultobj;
8386 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8387 wxString *arg2 = 0 ;
8388 bool result;
b411df4a 8389 bool temp2 = false ;
d14a1e28
RD
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self",(char *) "anchor", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8398 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8399 {
8400 arg2 = wxString_in_helper(obj1);
8401 if (arg2 == NULL) SWIG_fail;
b411df4a 8402 temp2 = true;
d14a1e28
RD
8403 }
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
fbc46b20
RD
8411 {
8412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8413 }
d14a1e28
RD
8414 {
8415 if (temp2)
8416 delete arg2;
8417 }
8418 return resultobj;
8419 fail:
8420 {
8421 if (temp2)
8422 delete arg2;
8423 }
8424 return NULL;
8425}
8426
8427
c370783e 8428static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8429 PyObject *resultobj;
8430 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8431 PyObject * obj0 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "filter", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
8437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8438 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 wxPyHtmlWindow::AddFilter(arg1);
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 Py_INCREF(Py_None); resultobj = Py_None;
8447 return resultobj;
8448 fail:
8449 return NULL;
8450}
8451
8452
c370783e 8453static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
8454 PyObject *resultobj;
8455 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8456 wxPoint *arg2 = 0 ;
8457 wxPoint temp2 ;
8458 PyObject * obj0 = 0 ;
8459 PyObject * obj1 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self",(char *) "pos", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8466 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8467 {
8468 arg2 = &temp2;
8469 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 (arg1)->SelectWord((wxPoint const &)*arg2);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 return resultobj;
8480 fail:
8481 return NULL;
8482}
8483
8484
c370783e 8485static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
8486 PyObject *resultobj;
8487 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8488 wxPoint *arg2 = 0 ;
8489 wxPoint temp2 ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self",(char *) "pos", NULL
8494 };
8495
8496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8499 {
8500 arg2 = &temp2;
8501 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8502 }
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 (arg1)->SelectLine((wxPoint const &)*arg2);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 Py_INCREF(Py_None); resultobj = Py_None;
8511 return resultobj;
8512 fail:
8513 return NULL;
8514}
8515
8516
c370783e 8517static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
8518 PyObject *resultobj;
8519 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8520 PyObject * obj0 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
8526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8527 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 (arg1)->SelectAll();
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 return resultobj;
8537 fail:
8538 return NULL;
8539}
8540
8541
c370783e 8542static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8543 PyObject *resultobj;
8544 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8545 wxString result;
8546 PyObject * obj0 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
36ed4f51
RD
8552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (arg1)->SelectionToText();
8557
8558 wxPyEndAllowThreads(__tstate);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
8561 {
8562#if wxUSE_UNICODE
8563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8564#else
8565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8566#endif
8567 }
8568 return resultobj;
8569 fail:
8570 return NULL;
8571}
8572
8573
c370783e 8574static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
b0f7404b
RD
8575 PyObject *resultobj;
8576 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8577 wxString result;
8578 PyObject * obj0 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "self", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
36ed4f51
RD
8584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8585 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (arg1)->ToText();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 {
8594#if wxUSE_UNICODE
8595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8596#else
8597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8598#endif
8599 }
8600 return resultobj;
8601 fail:
8602 return NULL;
8603}
8604
8605
c370783e 8606static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8607 PyObject *resultobj;
8608 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8609 wxHtmlLinkInfo *arg2 = 0 ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self",(char *) "link", NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8618 if (SWIG_arg_fail(1)) SWIG_fail;
8619 {
8620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8621 if (SWIG_arg_fail(2)) SWIG_fail;
8622 if (arg2 == NULL) {
8623 SWIG_null_ref("wxHtmlLinkInfo");
8624 }
8625 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 return resultobj;
8636 fail:
8637 return NULL;
8638}
8639
8640
c370783e 8641static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8642 PyObject *resultobj;
8643 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8644 wxString *arg2 = 0 ;
b411df4a 8645 bool temp2 = false ;
d14a1e28
RD
8646 PyObject * obj0 = 0 ;
8647 PyObject * obj1 = 0 ;
8648 char *kwnames[] = {
8649 (char *) "self",(char *) "title", NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8654 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8655 {
8656 arg2 = wxString_in_helper(obj1);
8657 if (arg2 == NULL) SWIG_fail;
b411df4a 8658 temp2 = true;
d14a1e28
RD
8659 }
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 Py_INCREF(Py_None); resultobj = Py_None;
8668 {
8669 if (temp2)
8670 delete arg2;
8671 }
8672 return resultobj;
8673 fail:
8674 {
8675 if (temp2)
8676 delete arg2;
8677 }
8678 return NULL;
8679}
8680
8681
c370783e 8682static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8683 PyObject *resultobj;
8684 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8685 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
8686 int arg3 ;
8687 int arg4 ;
d14a1e28
RD
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8edf1c75
RD
8690 PyObject * obj2 = 0 ;
8691 PyObject * obj3 = 0 ;
d14a1e28
RD
8692 char *kwnames[] = {
8693 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8694 };
8695
8edf1c75 8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8698 if (SWIG_arg_fail(1)) SWIG_fail;
8699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8700 if (SWIG_arg_fail(2)) SWIG_fail;
8701 {
8702 arg3 = (int)(SWIG_As_int(obj2));
8703 if (SWIG_arg_fail(3)) SWIG_fail;
8704 }
8705 {
8706 arg4 = (int)(SWIG_As_int(obj3));
8707 if (SWIG_arg_fail(4)) SWIG_fail;
8708 }
d14a1e28
RD
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 Py_INCREF(Py_None); resultobj = Py_None;
8717 return resultobj;
8718 fail:
8719 return NULL;
8720}
8721
8722
c370783e 8723static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8724 PyObject *resultobj;
8725 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8726 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
8727 int arg3 ;
8728 int arg4 ;
d14a1e28
RD
8729 wxMouseEvent *arg5 = 0 ;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8edf1c75
RD
8732 PyObject * obj2 = 0 ;
8733 PyObject * obj3 = 0 ;
d14a1e28
RD
8734 PyObject * obj4 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8737 };
8738
8edf1c75 8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
8740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail;
8742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8743 if (SWIG_arg_fail(2)) SWIG_fail;
8744 {
8745 arg3 = (int)(SWIG_As_int(obj2));
8746 if (SWIG_arg_fail(3)) SWIG_fail;
8747 }
8748 {
8749 arg4 = (int)(SWIG_As_int(obj3));
8750 if (SWIG_arg_fail(4)) SWIG_fail;
8751 }
8752 {
8753 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
8754 if (SWIG_arg_fail(5)) SWIG_fail;
8755 if (arg5 == NULL) {
8756 SWIG_null_ref("wxMouseEvent");
8757 }
8758 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 Py_INCREF(Py_None); resultobj = Py_None;
8768 return resultobj;
8769 fail:
8770 return NULL;
8771}
8772
8773
c370783e 8774static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 8775 PyObject *resultobj;
36ed4f51 8776 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8777 wxVisualAttributes result;
8778 PyObject * obj0 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "variant", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8784 if (obj0) {
36ed4f51
RD
8785 {
8786 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8787 if (SWIG_arg_fail(1)) SWIG_fail;
8788 }
f20a2e1f
RD
8789 }
8790 {
0439c23b 8791 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8794
8795 wxPyEndAllowThreads(__tstate);
110da5b0 8796 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8797 }
8798 {
8799 wxVisualAttributes * resultptr;
36ed4f51 8800 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
8801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8802 }
8803 return resultobj;
8804 fail:
8805 return NULL;
8806}
8807
8808
c370783e 8809static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8810 PyObject *obj;
8811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8812 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
8813 Py_INCREF(obj);
8814 return Py_BuildValue((char *)"");
8815}
c370783e 8816static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8817 PyObject *resultobj;
8818 wxHtmlDCRenderer *result;
8819 char *kwnames[] = {
8820 NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
8824 {
0439c23b 8825 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
8828
8829 wxPyEndAllowThreads(__tstate);
110da5b0 8830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8831 }
2f4c0a16 8832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
8833 return resultobj;
8834 fail:
8835 return NULL;
8836}
8837
8838
c370783e 8839static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8840 PyObject *resultobj;
8841 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8842 PyObject * obj0 = 0 ;
8843 char *kwnames[] = {
8844 (char *) "self", NULL
8845 };
8846
8847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
36ed4f51
RD
8848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8849 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 delete arg1;
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 Py_INCREF(Py_None); resultobj = Py_None;
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
c370783e 8864static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8865 PyObject *resultobj;
8866 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8867 wxDC *arg2 = (wxDC *) 0 ;
8868 int arg3 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8edf1c75 8871 PyObject * obj2 = 0 ;
d14a1e28
RD
8872 char *kwnames[] = {
8873 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8874 };
8875
8edf1c75 8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8878 if (SWIG_arg_fail(1)) SWIG_fail;
8879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8880 if (SWIG_arg_fail(2)) SWIG_fail;
8881 {
8882 arg3 = (int)(SWIG_As_int(obj2));
8883 if (SWIG_arg_fail(3)) SWIG_fail;
8884 }
d14a1e28
RD
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->SetDC(arg2,arg3);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 Py_INCREF(Py_None); resultobj = Py_None;
8893 return resultobj;
8894 fail:
8895 return NULL;
8896}
8897
8898
c370783e 8899static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8900 PyObject *resultobj;
8901 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8902 int arg2 ;
8903 int arg3 ;
8904 PyObject * obj0 = 0 ;
8edf1c75
RD
8905 PyObject * obj1 = 0 ;
8906 PyObject * obj2 = 0 ;
d14a1e28
RD
8907 char *kwnames[] = {
8908 (char *) "self",(char *) "width",(char *) "height", NULL
8909 };
8910
8edf1c75 8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8913 if (SWIG_arg_fail(1)) SWIG_fail;
8914 {
8915 arg2 = (int)(SWIG_As_int(obj1));
8916 if (SWIG_arg_fail(2)) SWIG_fail;
8917 }
8918 {
8919 arg3 = (int)(SWIG_As_int(obj2));
8920 if (SWIG_arg_fail(3)) SWIG_fail;
8921 }
d14a1e28
RD
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 (arg1)->SetSize(arg2,arg3);
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 Py_INCREF(Py_None); resultobj = Py_None;
8930 return resultobj;
8931 fail:
8932 return NULL;
8933}
8934
8935
c370783e 8936static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8937 PyObject *resultobj;
8938 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8939 wxString *arg2 = 0 ;
8940 wxString const &arg3_defvalue = wxPyEmptyString ;
8941 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
8942 bool arg4 = (bool) true ;
8943 bool temp2 = false ;
8944 bool temp3 = false ;
d14a1e28
RD
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 PyObject * obj2 = 0 ;
8948 PyObject * obj3 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8956 {
8957 arg2 = wxString_in_helper(obj1);
8958 if (arg2 == NULL) SWIG_fail;
b411df4a 8959 temp2 = true;
d14a1e28
RD
8960 }
8961 if (obj2) {
8962 {
8963 arg3 = wxString_in_helper(obj2);
8964 if (arg3 == NULL) SWIG_fail;
b411df4a 8965 temp3 = true;
d14a1e28
RD
8966 }
8967 }
8968 if (obj3) {
36ed4f51
RD
8969 {
8970 arg4 = (bool)(SWIG_As_bool(obj3));
8971 if (SWIG_arg_fail(4)) SWIG_fail;
8972 }
d14a1e28
RD
8973 }
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 Py_INCREF(Py_None); resultobj = Py_None;
8982 {
8983 if (temp2)
8984 delete arg2;
8985 }
8986 {
8987 if (temp3)
8988 delete arg3;
8989 }
8990 return resultobj;
8991 fail:
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 {
8997 if (temp3)
8998 delete arg3;
8999 }
9000 return NULL;
9001}
9002
9003
c370783e 9004static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9005 PyObject *resultobj;
9006 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9007 wxString arg2 ;
9008 wxString arg3 ;
9009 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 PyObject * obj2 = 0 ;
9013 PyObject * obj3 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9020 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9021 {
9022 wxString* sptr = wxString_in_helper(obj1);
9023 if (sptr == NULL) SWIG_fail;
9024 arg2 = *sptr;
9025 delete sptr;
9026 }
9027 {
9028 wxString* sptr = wxString_in_helper(obj2);
9029 if (sptr == NULL) SWIG_fail;
9030 arg3 = *sptr;
9031 delete sptr;
9032 }
d14a1e28
RD
9033 if (obj3) {
9034 arg4 = obj3;
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047}
9048
9049
b411df4a 9050static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9051 PyObject *resultobj;
9052 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9053 int arg2 = (int) -1 ;
b411df4a
RD
9054 wxString const &arg3_defvalue = wxPyEmptyString ;
9055 wxString *arg3 = (wxString *) &arg3_defvalue ;
9056 wxString const &arg4_defvalue = wxPyEmptyString ;
9057 wxString *arg4 = (wxString *) &arg4_defvalue ;
9058 bool temp3 = false ;
9059 bool temp4 = false ;
30ee79f7
RD
9060 PyObject * obj0 = 0 ;
9061 PyObject * obj1 = 0 ;
b411df4a
RD
9062 PyObject * obj2 = 0 ;
9063 PyObject * obj3 = 0 ;
30ee79f7 9064 char *kwnames[] = {
b411df4a 9065 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9066 };
9067
b411df4a 9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9071 if (obj1) {
36ed4f51
RD
9072 {
9073 arg2 = (int)(SWIG_As_int(obj1));
9074 if (SWIG_arg_fail(2)) SWIG_fail;
9075 }
30ee79f7 9076 }
b411df4a
RD
9077 if (obj2) {
9078 {
9079 arg3 = wxString_in_helper(obj2);
9080 if (arg3 == NULL) SWIG_fail;
9081 temp3 = true;
9082 }
9083 }
9084 if (obj3) {
9085 {
9086 arg4 = wxString_in_helper(obj3);
9087 if (arg4 == NULL) SWIG_fail;
9088 temp4 = true;
9089 }
9090 }
30ee79f7
RD
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 9093 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
9099 {
9100 if (temp3)
9101 delete arg3;
9102 }
9103 {
9104 if (temp4)
9105 delete arg4;
9106 }
30ee79f7
RD
9107 return resultobj;
9108 fail:
b411df4a
RD
9109 {
9110 if (temp3)
9111 delete arg3;
9112 }
9113 {
9114 if (temp4)
9115 delete arg4;
9116 }
30ee79f7
RD
9117 return NULL;
9118}
9119
9120
c370783e 9121static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9122 PyObject *resultobj;
9123 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9124 int arg2 ;
9125 int arg3 ;
9126 int arg4 = (int) 0 ;
b411df4a 9127 int arg5 = (int) false ;
d14a1e28
RD
9128 int arg6 = (int) INT_MAX ;
9129 int *arg7 = (int *) NULL ;
9130 int arg8 = (int) 0 ;
9131 int result;
9132 PyObject * obj0 = 0 ;
8edf1c75
RD
9133 PyObject * obj1 = 0 ;
9134 PyObject * obj2 = 0 ;
9135 PyObject * obj3 = 0 ;
9136 PyObject * obj4 = 0 ;
9137 PyObject * obj5 = 0 ;
d14a1e28 9138 PyObject * obj6 = 0 ;
8edf1c75 9139 PyObject * obj7 = 0 ;
d14a1e28 9140 char *kwnames[] = {
f78cc896 9141 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9142 };
9143
8edf1c75 9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9146 if (SWIG_arg_fail(1)) SWIG_fail;
9147 {
9148 arg2 = (int)(SWIG_As_int(obj1));
9149 if (SWIG_arg_fail(2)) SWIG_fail;
9150 }
9151 {
9152 arg3 = (int)(SWIG_As_int(obj2));
9153 if (SWIG_arg_fail(3)) SWIG_fail;
9154 }
8edf1c75 9155 if (obj3) {
36ed4f51
RD
9156 {
9157 arg4 = (int)(SWIG_As_int(obj3));
9158 if (SWIG_arg_fail(4)) SWIG_fail;
9159 }
8edf1c75
RD
9160 }
9161 if (obj4) {
36ed4f51
RD
9162 {
9163 arg5 = (int)(SWIG_As_int(obj4));
9164 if (SWIG_arg_fail(5)) SWIG_fail;
9165 }
8edf1c75
RD
9166 }
9167 if (obj5) {
36ed4f51
RD
9168 {
9169 arg6 = (int)(SWIG_As_int(obj5));
9170 if (SWIG_arg_fail(6)) SWIG_fail;
9171 }
8edf1c75 9172 }
d14a1e28 9173 if (obj6) {
36ed4f51
RD
9174 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9175 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9176 }
8edf1c75 9177 if (obj7) {
36ed4f51
RD
9178 {
9179 arg8 = (int)(SWIG_As_int(obj7));
9180 if (SWIG_arg_fail(8)) SWIG_fail;
9181 }
8edf1c75 9182 }
d14a1e28
RD
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
36ed4f51
RD
9190 {
9191 resultobj = SWIG_From_int((int)(result));
9192 }
d14a1e28
RD
9193 return resultobj;
9194 fail:
9195 return NULL;
9196}
9197
9198
c370783e 9199static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9200 PyObject *resultobj;
9201 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9202 int result;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
9209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (int)(arg1)->GetTotalHeight();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
36ed4f51
RD
9218 {
9219 resultobj = SWIG_From_int((int)(result));
9220 }
d14a1e28
RD
9221 return resultobj;
9222 fail:
9223 return NULL;
9224}
9225
9226
c370783e 9227static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9228 PyObject *obj;
9229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9230 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9231 Py_INCREF(obj);
9232 return Py_BuildValue((char *)"");
9233}
c370783e 9234static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9235 PyObject *resultobj;
9236 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9237 wxString *arg1 = (wxString *) &arg1_defvalue ;
9238 wxHtmlPrintout *result;
b411df4a 9239 bool temp1 = false ;
d14a1e28
RD
9240 PyObject * obj0 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "title", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9246 if (obj0) {
9247 {
9248 arg1 = wxString_in_helper(obj0);
9249 if (arg1 == NULL) SWIG_fail;
b411df4a 9250 temp1 = true;
d14a1e28
RD
9251 }
9252 }
9253 {
0439c23b 9254 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9257
9258 wxPyEndAllowThreads(__tstate);
110da5b0 9259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9260 }
2f4c0a16 9261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9262 {
9263 if (temp1)
9264 delete arg1;
9265 }
9266 return resultobj;
9267 fail:
9268 {
9269 if (temp1)
9270 delete arg1;
9271 }
9272 return NULL;
9273}
9274
9275
c370783e 9276static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9277 PyObject *resultobj;
9278 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9279 wxString *arg2 = 0 ;
9280 wxString const &arg3_defvalue = wxPyEmptyString ;
9281 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9282 bool arg4 = (bool) true ;
9283 bool temp2 = false ;
9284 bool temp3 = false ;
d14a1e28
RD
9285 PyObject * obj0 = 0 ;
9286 PyObject * obj1 = 0 ;
9287 PyObject * obj2 = 0 ;
9288 PyObject * obj3 = 0 ;
9289 char *kwnames[] = {
9290 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9296 {
9297 arg2 = wxString_in_helper(obj1);
9298 if (arg2 == NULL) SWIG_fail;
b411df4a 9299 temp2 = true;
d14a1e28
RD
9300 }
9301 if (obj2) {
9302 {
9303 arg3 = wxString_in_helper(obj2);
9304 if (arg3 == NULL) SWIG_fail;
b411df4a 9305 temp3 = true;
d14a1e28
RD
9306 }
9307 }
9308 if (obj3) {
36ed4f51
RD
9309 {
9310 arg4 = (bool)(SWIG_As_bool(obj3));
9311 if (SWIG_arg_fail(4)) SWIG_fail;
9312 }
d14a1e28
RD
9313 }
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 Py_INCREF(Py_None); resultobj = Py_None;
9322 {
9323 if (temp2)
9324 delete arg2;
9325 }
9326 {
9327 if (temp3)
9328 delete arg3;
9329 }
9330 return resultobj;
9331 fail:
9332 {
9333 if (temp2)
9334 delete arg2;
9335 }
9336 {
9337 if (temp3)
9338 delete arg3;
9339 }
9340 return NULL;
9341}
9342
9343
c370783e 9344static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9345 PyObject *resultobj;
9346 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9347 wxString *arg2 = 0 ;
b411df4a 9348 bool temp2 = false ;
d14a1e28
RD
9349 PyObject * obj0 = 0 ;
9350 PyObject * obj1 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self",(char *) "htmlfile", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9358 {
9359 arg2 = wxString_in_helper(obj1);
9360 if (arg2 == NULL) SWIG_fail;
b411df4a 9361 temp2 = true;
d14a1e28
RD
9362 }
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 (arg1)->SetHtmlFile((wxString const &)*arg2);
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 Py_INCREF(Py_None); resultobj = Py_None;
9371 {
9372 if (temp2)
9373 delete arg2;
9374 }
9375 return resultobj;
9376 fail:
9377 {
9378 if (temp2)
9379 delete arg2;
9380 }
9381 return NULL;
9382}
9383
9384
c370783e 9385static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9386 PyObject *resultobj;
9387 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9388 wxString *arg2 = 0 ;
9389 int arg3 = (int) wxPAGE_ALL ;
b411df4a 9390 bool temp2 = false ;
d14a1e28
RD
9391 PyObject * obj0 = 0 ;
9392 PyObject * obj1 = 0 ;
8edf1c75 9393 PyObject * obj2 = 0 ;
d14a1e28
RD
9394 char *kwnames[] = {
9395 (char *) "self",(char *) "header",(char *) "pg", NULL
9396 };
9397
8edf1c75 9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9401 {
9402 arg2 = wxString_in_helper(obj1);
9403 if (arg2 == NULL) SWIG_fail;
b411df4a 9404 temp2 = true;
d14a1e28 9405 }
8edf1c75 9406 if (obj2) {
36ed4f51
RD
9407 {
9408 arg3 = (int)(SWIG_As_int(obj2));
9409 if (SWIG_arg_fail(3)) SWIG_fail;
9410 }
8edf1c75 9411 }
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 Py_INCREF(Py_None); resultobj = Py_None;
9420 {
9421 if (temp2)
9422 delete arg2;
9423 }
9424 return resultobj;
9425 fail:
9426 {
9427 if (temp2)
9428 delete arg2;
9429 }
9430 return NULL;
9431}
9432
9433
c370783e 9434static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9435 PyObject *resultobj;
9436 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9437 wxString *arg2 = 0 ;
9438 int arg3 = (int) wxPAGE_ALL ;
b411df4a 9439 bool temp2 = false ;
d14a1e28
RD
9440 PyObject * obj0 = 0 ;
9441 PyObject * obj1 = 0 ;
8edf1c75 9442 PyObject * obj2 = 0 ;
d14a1e28
RD
9443 char *kwnames[] = {
9444 (char *) "self",(char *) "footer",(char *) "pg", NULL
9445 };
9446
8edf1c75 9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9450 {
9451 arg2 = wxString_in_helper(obj1);
9452 if (arg2 == NULL) SWIG_fail;
b411df4a 9453 temp2 = true;
d14a1e28 9454 }
8edf1c75 9455 if (obj2) {
36ed4f51
RD
9456 {
9457 arg3 = (int)(SWIG_As_int(obj2));
9458 if (SWIG_arg_fail(3)) SWIG_fail;
9459 }
8edf1c75 9460 }
d14a1e28
RD
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 Py_INCREF(Py_None); resultobj = Py_None;
9469 {
9470 if (temp2)
9471 delete arg2;
9472 }
9473 return resultobj;
9474 fail:
9475 {
9476 if (temp2)
9477 delete arg2;
9478 }
9479 return NULL;
9480}
9481
9482
c370783e 9483static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9484 PyObject *resultobj;
9485 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9486 wxString arg2 ;
9487 wxString arg3 ;
9488 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9489 PyObject * obj0 = 0 ;
9490 PyObject * obj1 = 0 ;
9491 PyObject * obj2 = 0 ;
9492 PyObject * obj3 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9499 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9500 {
9501 wxString* sptr = wxString_in_helper(obj1);
9502 if (sptr == NULL) SWIG_fail;
9503 arg2 = *sptr;
9504 delete sptr;
9505 }
9506 {
9507 wxString* sptr = wxString_in_helper(obj2);
9508 if (sptr == NULL) SWIG_fail;
9509 arg3 = *sptr;
9510 delete sptr;
9511 }
d14a1e28
RD
9512 if (obj3) {
9513 arg4 = obj3;
9514 }
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 Py_INCREF(Py_None); resultobj = Py_None;
9523 return resultobj;
9524 fail:
9525 return NULL;
9526}
9527
9528
b411df4a 9529static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
9530 PyObject *resultobj;
9531 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9532 int arg2 = (int) -1 ;
b411df4a
RD
9533 wxString const &arg3_defvalue = wxPyEmptyString ;
9534 wxString *arg3 = (wxString *) &arg3_defvalue ;
9535 wxString const &arg4_defvalue = wxPyEmptyString ;
9536 wxString *arg4 = (wxString *) &arg4_defvalue ;
9537 bool temp3 = false ;
9538 bool temp4 = false ;
30ee79f7
RD
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
b411df4a
RD
9541 PyObject * obj2 = 0 ;
9542 PyObject * obj3 = 0 ;
30ee79f7 9543 char *kwnames[] = {
b411df4a 9544 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9545 };
9546
b411df4a 9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9549 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9550 if (obj1) {
36ed4f51
RD
9551 {
9552 arg2 = (int)(SWIG_As_int(obj1));
9553 if (SWIG_arg_fail(2)) SWIG_fail;
9554 }
30ee79f7 9555 }
b411df4a
RD
9556 if (obj2) {
9557 {
9558 arg3 = wxString_in_helper(obj2);
9559 if (arg3 == NULL) SWIG_fail;
9560 temp3 = true;
9561 }
9562 }
9563 if (obj3) {
9564 {
9565 arg4 = wxString_in_helper(obj3);
9566 if (arg4 == NULL) SWIG_fail;
9567 temp4 = true;
9568 }
9569 }
30ee79f7
RD
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 9572 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
9578 {
9579 if (temp3)
9580 delete arg3;
9581 }
9582 {
9583 if (temp4)
9584 delete arg4;
9585 }
30ee79f7
RD
9586 return resultobj;
9587 fail:
b411df4a
RD
9588 {
9589 if (temp3)
9590 delete arg3;
9591 }
9592 {
9593 if (temp4)
9594 delete arg4;
9595 }
30ee79f7
RD
9596 return NULL;
9597}
9598
9599
c370783e 9600static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9601 PyObject *resultobj;
9602 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9603 float arg2 = (float) 25.2 ;
9604 float arg3 = (float) 25.2 ;
9605 float arg4 = (float) 25.2 ;
9606 float arg5 = (float) 25.2 ;
9607 float arg6 = (float) 5 ;
9608 PyObject * obj0 = 0 ;
8edf1c75
RD
9609 PyObject * obj1 = 0 ;
9610 PyObject * obj2 = 0 ;
9611 PyObject * obj3 = 0 ;
9612 PyObject * obj4 = 0 ;
9613 PyObject * obj5 = 0 ;
d14a1e28
RD
9614 char *kwnames[] = {
9615 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9616 };
9617
8edf1c75 9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
9619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9620 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 9621 if (obj1) {
36ed4f51
RD
9622 {
9623 arg2 = (float)(SWIG_As_float(obj1));
9624 if (SWIG_arg_fail(2)) SWIG_fail;
9625 }
8edf1c75
RD
9626 }
9627 if (obj2) {
36ed4f51
RD
9628 {
9629 arg3 = (float)(SWIG_As_float(obj2));
9630 if (SWIG_arg_fail(3)) SWIG_fail;
9631 }
8edf1c75
RD
9632 }
9633 if (obj3) {
36ed4f51
RD
9634 {
9635 arg4 = (float)(SWIG_As_float(obj3));
9636 if (SWIG_arg_fail(4)) SWIG_fail;
9637 }
8edf1c75
RD
9638 }
9639 if (obj4) {
36ed4f51
RD
9640 {
9641 arg5 = (float)(SWIG_As_float(obj4));
9642 if (SWIG_arg_fail(5)) SWIG_fail;
9643 }
8edf1c75
RD
9644 }
9645 if (obj5) {
36ed4f51
RD
9646 {
9647 arg6 = (float)(SWIG_As_float(obj5));
9648 if (SWIG_arg_fail(6)) SWIG_fail;
9649 }
8edf1c75 9650 }
d14a1e28
RD
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 Py_INCREF(Py_None); resultobj = Py_None;
9659 return resultobj;
9660 fail:
9661 return NULL;
9662}
9663
9664
c370783e 9665static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9666 PyObject *resultobj;
9667 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9668 PyObject * obj0 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "filter", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
9674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 wxHtmlPrintout::AddFilter(arg1);
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 Py_INCREF(Py_None); resultobj = Py_None;
9684 return resultobj;
9685 fail:
9686 return NULL;
9687}
9688
9689
c370783e 9690static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9691 PyObject *resultobj;
9692 char *kwnames[] = {
9693 NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 wxHtmlPrintout::CleanUpStatics();
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 Py_INCREF(Py_None); resultobj = Py_None;
9705 return resultobj;
9706 fail:
9707 return NULL;
9708}
9709
9710
c370783e 9711static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9712 PyObject *obj;
9713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9714 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9715 Py_INCREF(obj);
9716 return Py_BuildValue((char *)"");
9717}
c370783e 9718static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9719 PyObject *resultobj;
9720 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9721 wxString *arg1 = (wxString *) &arg1_defvalue ;
9722 wxWindow *arg2 = (wxWindow *) NULL ;
9723 wxHtmlEasyPrinting *result;
b411df4a 9724 bool temp1 = false ;
d14a1e28
RD
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "name",(char *) "parentWindow", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9732 if (obj0) {
9733 {
9734 arg1 = wxString_in_helper(obj0);
9735 if (arg1 == NULL) SWIG_fail;
b411df4a 9736 temp1 = true;
d14a1e28
RD
9737 }
9738 }
9739 if (obj1) {
36ed4f51
RD
9740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9741 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9742 }
9743 {
0439c23b 9744 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9747
9748 wxPyEndAllowThreads(__tstate);
110da5b0 9749 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9750 }
2f4c0a16 9751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
9752 {
9753 if (temp1)
9754 delete arg1;
9755 }
9756 return resultobj;
9757 fail:
9758 {
9759 if (temp1)
9760 delete arg1;
9761 }
9762 return NULL;
9763}
9764
9765
c370783e 9766static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9767 PyObject *resultobj;
9768 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9769 PyObject * obj0 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
9775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 delete arg1;
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 Py_INCREF(Py_None); resultobj = Py_None;
9785 return resultobj;
9786 fail:
9787 return NULL;
9788}
9789
9790
c370783e 9791static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9792 PyObject *resultobj;
9793 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9794 wxString *arg2 = 0 ;
b411df4a 9795 bool temp2 = false ;
d14a1e28
RD
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self",(char *) "htmlfile", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9805 {
9806 arg2 = wxString_in_helper(obj1);
9807 if (arg2 == NULL) SWIG_fail;
b411df4a 9808 temp2 = true;
d14a1e28
RD
9809 }
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 (arg1)->PreviewFile((wxString const &)*arg2);
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 Py_INCREF(Py_None); resultobj = Py_None;
9818 {
9819 if (temp2)
9820 delete arg2;
9821 }
9822 return resultobj;
9823 fail:
9824 {
9825 if (temp2)
9826 delete arg2;
9827 }
9828 return NULL;
9829}
9830
9831
c370783e 9832static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9833 PyObject *resultobj;
9834 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9835 wxString *arg2 = 0 ;
9836 wxString const &arg3_defvalue = wxPyEmptyString ;
9837 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9838 bool temp2 = false ;
9839 bool temp3 = false ;
d14a1e28
RD
9840 PyObject * obj0 = 0 ;
9841 PyObject * obj1 = 0 ;
9842 PyObject * obj2 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9850 {
9851 arg2 = wxString_in_helper(obj1);
9852 if (arg2 == NULL) SWIG_fail;
b411df4a 9853 temp2 = true;
d14a1e28
RD
9854 }
9855 if (obj2) {
9856 {
9857 arg3 = wxString_in_helper(obj2);
9858 if (arg3 == NULL) SWIG_fail;
b411df4a 9859 temp3 = true;
d14a1e28
RD
9860 }
9861 }
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 Py_INCREF(Py_None); resultobj = Py_None;
9870 {
9871 if (temp2)
9872 delete arg2;
9873 }
9874 {
9875 if (temp3)
9876 delete arg3;
9877 }
9878 return resultobj;
9879 fail:
9880 {
9881 if (temp2)
9882 delete arg2;
9883 }
9884 {
9885 if (temp3)
9886 delete arg3;
9887 }
9888 return NULL;
9889}
9890
9891
c370783e 9892static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9893 PyObject *resultobj;
9894 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9895 wxString *arg2 = 0 ;
b411df4a 9896 bool temp2 = false ;
d14a1e28
RD
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj1 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "htmlfile", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9905 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9906 {
9907 arg2 = wxString_in_helper(obj1);
9908 if (arg2 == NULL) SWIG_fail;
b411df4a 9909 temp2 = true;
d14a1e28
RD
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 (arg1)->PrintFile((wxString const &)*arg2);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 Py_INCREF(Py_None); resultobj = Py_None;
9919 {
9920 if (temp2)
9921 delete arg2;
9922 }
9923 return resultobj;
9924 fail:
9925 {
9926 if (temp2)
9927 delete arg2;
9928 }
9929 return NULL;
9930}
9931
9932
c370783e 9933static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9934 PyObject *resultobj;
9935 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9936 wxString *arg2 = 0 ;
9937 wxString const &arg3_defvalue = wxPyEmptyString ;
9938 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9939 bool temp2 = false ;
9940 bool temp3 = false ;
d14a1e28
RD
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
9943 PyObject * obj2 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9950 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9951 {
9952 arg2 = wxString_in_helper(obj1);
9953 if (arg2 == NULL) SWIG_fail;
b411df4a 9954 temp2 = true;
d14a1e28
RD
9955 }
9956 if (obj2) {
9957 {
9958 arg3 = wxString_in_helper(obj2);
9959 if (arg3 == NULL) SWIG_fail;
b411df4a 9960 temp3 = true;
d14a1e28
RD
9961 }
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 Py_INCREF(Py_None); resultobj = Py_None;
9971 {
9972 if (temp2)
9973 delete arg2;
9974 }
9975 {
9976 if (temp3)
9977 delete arg3;
9978 }
9979 return resultobj;
9980 fail:
9981 {
9982 if (temp2)
9983 delete arg2;
9984 }
9985 {
9986 if (temp3)
9987 delete arg3;
9988 }
9989 return NULL;
9990}
9991
9992
c370783e 9993static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9994 PyObject *resultobj;
9995 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
36ed4f51
RD
10002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 (arg1)->PageSetup();
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 Py_INCREF(Py_None); resultobj = Py_None;
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
c370783e 10018static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10019 PyObject *resultobj;
10020 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10021 wxString *arg2 = 0 ;
10022 int arg3 = (int) wxPAGE_ALL ;
b411df4a 10023 bool temp2 = false ;
d14a1e28
RD
10024 PyObject * obj0 = 0 ;
10025 PyObject * obj1 = 0 ;
8edf1c75 10026 PyObject * obj2 = 0 ;
d14a1e28
RD
10027 char *kwnames[] = {
10028 (char *) "self",(char *) "header",(char *) "pg", NULL
10029 };
10030
8edf1c75 10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10033 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10034 {
10035 arg2 = wxString_in_helper(obj1);
10036 if (arg2 == NULL) SWIG_fail;
b411df4a 10037 temp2 = true;
d14a1e28 10038 }
8edf1c75 10039 if (obj2) {
36ed4f51
RD
10040 {
10041 arg3 = (int)(SWIG_As_int(obj2));
10042 if (SWIG_arg_fail(3)) SWIG_fail;
10043 }
8edf1c75 10044 }
d14a1e28
RD
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 Py_INCREF(Py_None); resultobj = Py_None;
10053 {
10054 if (temp2)
10055 delete arg2;
10056 }
10057 return resultobj;
10058 fail:
10059 {
10060 if (temp2)
10061 delete arg2;
10062 }
10063 return NULL;
10064}
10065
10066
c370783e 10067static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10068 PyObject *resultobj;
10069 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10070 wxString *arg2 = 0 ;
10071 int arg3 = (int) wxPAGE_ALL ;
b411df4a 10072 bool temp2 = false ;
d14a1e28
RD
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
8edf1c75 10075 PyObject * obj2 = 0 ;
d14a1e28
RD
10076 char *kwnames[] = {
10077 (char *) "self",(char *) "footer",(char *) "pg", NULL
10078 };
10079
8edf1c75 10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10083 {
10084 arg2 = wxString_in_helper(obj1);
10085 if (arg2 == NULL) SWIG_fail;
b411df4a 10086 temp2 = true;
d14a1e28 10087 }
8edf1c75 10088 if (obj2) {
36ed4f51
RD
10089 {
10090 arg3 = (int)(SWIG_As_int(obj2));
10091 if (SWIG_arg_fail(3)) SWIG_fail;
10092 }
8edf1c75 10093 }
d14a1e28
RD
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 Py_INCREF(Py_None); resultobj = Py_None;
10102 {
10103 if (temp2)
10104 delete arg2;
10105 }
10106 return resultobj;
10107 fail:
10108 {
10109 if (temp2)
10110 delete arg2;
10111 }
10112 return NULL;
10113}
10114
10115
c370783e 10116static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10117 PyObject *resultobj;
10118 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10119 wxString arg2 ;
10120 wxString arg3 ;
10121 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 PyObject * obj2 = 0 ;
10125 PyObject * obj3 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
10133 {
10134 wxString* sptr = wxString_in_helper(obj1);
10135 if (sptr == NULL) SWIG_fail;
10136 arg2 = *sptr;
10137 delete sptr;
10138 }
10139 {
10140 wxString* sptr = wxString_in_helper(obj2);
10141 if (sptr == NULL) SWIG_fail;
10142 arg3 = *sptr;
10143 delete sptr;
10144 }
d14a1e28
RD
10145 if (obj3) {
10146 arg4 = obj3;
10147 }
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 Py_INCREF(Py_None); resultobj = Py_None;
10156 return resultobj;
10157 fail:
10158 return NULL;
10159}
10160
10161
b411df4a 10162static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
30ee79f7
RD
10163 PyObject *resultobj;
10164 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10165 int arg2 = (int) -1 ;
b411df4a
RD
10166 wxString const &arg3_defvalue = wxPyEmptyString ;
10167 wxString *arg3 = (wxString *) &arg3_defvalue ;
10168 wxString const &arg4_defvalue = wxPyEmptyString ;
10169 wxString *arg4 = (wxString *) &arg4_defvalue ;
10170 bool temp3 = false ;
10171 bool temp4 = false ;
30ee79f7
RD
10172 PyObject * obj0 = 0 ;
10173 PyObject * obj1 = 0 ;
b411df4a
RD
10174 PyObject * obj2 = 0 ;
10175 PyObject * obj3 = 0 ;
30ee79f7 10176 char *kwnames[] = {
b411df4a 10177 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10178 };
10179
b411df4a 10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10182 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10183 if (obj1) {
36ed4f51
RD
10184 {
10185 arg2 = (int)(SWIG_As_int(obj1));
10186 if (SWIG_arg_fail(2)) SWIG_fail;
10187 }
30ee79f7 10188 }
b411df4a
RD
10189 if (obj2) {
10190 {
10191 arg3 = wxString_in_helper(obj2);
10192 if (arg3 == NULL) SWIG_fail;
10193 temp3 = true;
10194 }
10195 }
10196 if (obj3) {
10197 {
10198 arg4 = wxString_in_helper(obj3);
10199 if (arg4 == NULL) SWIG_fail;
10200 temp4 = true;
10201 }
10202 }
30ee79f7
RD
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 10205 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
10211 {
10212 if (temp3)
10213 delete arg3;
10214 }
10215 {
10216 if (temp4)
10217 delete arg4;
10218 }
30ee79f7
RD
10219 return resultobj;
10220 fail:
b411df4a
RD
10221 {
10222 if (temp3)
10223 delete arg3;
10224 }
10225 {
10226 if (temp4)
10227 delete arg4;
10228 }
30ee79f7
RD
10229 return NULL;
10230}
10231
10232
c370783e 10233static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10234 PyObject *resultobj;
10235 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10236 wxPrintData *result;
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "self", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 result = (wxPrintData *)(arg1)->GetPrintData();
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
2f4c0a16 10252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10253 return resultobj;
10254 fail:
10255 return NULL;
10256}
10257
10258
c370783e 10259static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10260 PyObject *resultobj;
10261 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10262 wxPageSetupDialogData *result;
10263 PyObject * obj0 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10270 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
2f4c0a16 10278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10279 return resultobj;
10280 fail:
10281 return NULL;
10282}
10283
10284
c370783e 10285static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10286 PyObject *obj;
10287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10289 Py_INCREF(obj);
10290 return Py_BuildValue((char *)"");
10291}
c370783e 10292static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10293 PyObject *resultobj;
10294 wxString *arg1 = 0 ;
10295 wxString *arg2 = 0 ;
10296 wxString *arg3 = 0 ;
10297 wxString *arg4 = 0 ;
10298 wxHtmlBookRecord *result;
b411df4a
RD
10299 bool temp1 = false ;
10300 bool temp2 = false ;
10301 bool temp3 = false ;
10302 bool temp4 = false ;
d14a1e28
RD
10303 PyObject * obj0 = 0 ;
10304 PyObject * obj1 = 0 ;
10305 PyObject * obj2 = 0 ;
10306 PyObject * obj3 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10312 {
10313 arg1 = wxString_in_helper(obj0);
10314 if (arg1 == NULL) SWIG_fail;
b411df4a 10315 temp1 = true;
d14a1e28
RD
10316 }
10317 {
10318 arg2 = wxString_in_helper(obj1);
10319 if (arg2 == NULL) SWIG_fail;
b411df4a 10320 temp2 = true;
d14a1e28
RD
10321 }
10322 {
10323 arg3 = wxString_in_helper(obj2);
10324 if (arg3 == NULL) SWIG_fail;
b411df4a 10325 temp3 = true;
d14a1e28
RD
10326 }
10327 {
10328 arg4 = wxString_in_helper(obj3);
10329 if (arg4 == NULL) SWIG_fail;
b411df4a 10330 temp4 = true;
d14a1e28
RD
10331 }
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
2f4c0a16 10339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10340 {
10341 if (temp1)
10342 delete arg1;
10343 }
10344 {
10345 if (temp2)
10346 delete arg2;
10347 }
10348 {
10349 if (temp3)
10350 delete arg3;
10351 }
10352 {
10353 if (temp4)
10354 delete arg4;
10355 }
10356 return resultobj;
10357 fail:
10358 {
10359 if (temp1)
10360 delete arg1;
10361 }
10362 {
10363 if (temp2)
10364 delete arg2;
10365 }
10366 {
10367 if (temp3)
10368 delete arg3;
10369 }
10370 {
10371 if (temp4)
10372 delete arg4;
10373 }
10374 return NULL;
10375}
10376
10377
c370783e 10378static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10379 PyObject *resultobj;
10380 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10381 wxString result;
10382 PyObject * obj0 = 0 ;
10383 char *kwnames[] = {
10384 (char *) "self", NULL
10385 };
10386
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
10388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = (arg1)->GetBookFile();
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 {
10398#if wxUSE_UNICODE
10399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10400#else
10401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10402#endif
10403 }
10404 return resultobj;
10405 fail:
10406 return NULL;
10407}
10408
10409
c370783e 10410static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10411 PyObject *resultobj;
10412 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10413 wxString result;
10414 PyObject * obj0 = 0 ;
10415 char *kwnames[] = {
10416 (char *) "self", NULL
10417 };
10418
10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 result = (arg1)->GetTitle();
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 {
10430#if wxUSE_UNICODE
10431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10432#else
10433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10434#endif
10435 }
10436 return resultobj;
10437 fail:
10438 return NULL;
10439}
10440
10441
c370783e 10442static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10443 PyObject *resultobj;
10444 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10445 wxString result;
10446 PyObject * obj0 = 0 ;
10447 char *kwnames[] = {
10448 (char *) "self", NULL
10449 };
10450
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
10452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (arg1)->GetStart();
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 {
10462#if wxUSE_UNICODE
10463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10464#else
10465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10466#endif
10467 }
10468 return resultobj;
10469 fail:
10470 return NULL;
10471}
10472
10473
c370783e 10474static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10475 PyObject *resultobj;
10476 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10477 wxString result;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
10484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 result = (arg1)->GetBasePath();
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 {
10494#if wxUSE_UNICODE
10495 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10496#else
10497 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10498#endif
10499 }
10500 return resultobj;
10501 fail:
10502 return NULL;
10503}
10504
10505
c370783e 10506static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10507 PyObject *resultobj;
10508 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10509 int arg2 ;
10510 int arg3 ;
10511 PyObject * obj0 = 0 ;
8edf1c75
RD
10512 PyObject * obj1 = 0 ;
10513 PyObject * obj2 = 0 ;
d14a1e28
RD
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "start",(char *) "end", NULL
10516 };
10517
8edf1c75 10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
10521 {
10522 arg2 = (int)(SWIG_As_int(obj1));
10523 if (SWIG_arg_fail(2)) SWIG_fail;
10524 }
10525 {
10526 arg3 = (int)(SWIG_As_int(obj2));
10527 if (SWIG_arg_fail(3)) SWIG_fail;
10528 }
d14a1e28
RD
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 (arg1)->SetContentsRange(arg2,arg3);
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 Py_INCREF(Py_None); resultobj = Py_None;
10537 return resultobj;
10538 fail:
10539 return NULL;
10540}
10541
10542
c370783e 10543static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10544 PyObject *resultobj;
10545 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10546 int result;
10547 PyObject * obj0 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
10553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 result = (int)(arg1)->GetContentsStart();
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
36ed4f51
RD
10562 {
10563 resultobj = SWIG_From_int((int)(result));
10564 }
d14a1e28
RD
10565 return resultobj;
10566 fail:
10567 return NULL;
10568}
10569
10570
c370783e 10571static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10572 PyObject *resultobj;
10573 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10574 int result;
10575 PyObject * obj0 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
10581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10582 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 result = (int)(arg1)->GetContentsEnd();
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
36ed4f51
RD
10590 {
10591 resultobj = SWIG_From_int((int)(result));
10592 }
d14a1e28
RD
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
c370783e 10599static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10600 PyObject *resultobj;
10601 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10602 wxString *arg2 = 0 ;
b411df4a 10603 bool temp2 = false ;
d14a1e28
RD
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10606 char *kwnames[] = {
10607 (char *) "self",(char *) "title", NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10613 {
10614 arg2 = wxString_in_helper(obj1);
10615 if (arg2 == NULL) SWIG_fail;
b411df4a 10616 temp2 = true;
d14a1e28
RD
10617 }
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 (arg1)->SetTitle((wxString const &)*arg2);
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 Py_INCREF(Py_None); resultobj = Py_None;
10626 {
10627 if (temp2)
10628 delete arg2;
10629 }
10630 return resultobj;
10631 fail:
10632 {
10633 if (temp2)
10634 delete arg2;
10635 }
10636 return NULL;
10637}
10638
10639
c370783e 10640static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10641 PyObject *resultobj;
10642 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10643 wxString *arg2 = 0 ;
b411df4a 10644 bool temp2 = false ;
d14a1e28
RD
10645 PyObject * obj0 = 0 ;
10646 PyObject * obj1 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self",(char *) "path", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10653 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10654 {
10655 arg2 = wxString_in_helper(obj1);
10656 if (arg2 == NULL) SWIG_fail;
b411df4a 10657 temp2 = true;
d14a1e28
RD
10658 }
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 (arg1)->SetBasePath((wxString const &)*arg2);
10662
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 Py_INCREF(Py_None); resultobj = Py_None;
10667 {
10668 if (temp2)
10669 delete arg2;
10670 }
10671 return resultobj;
10672 fail:
10673 {
10674 if (temp2)
10675 delete arg2;
10676 }
10677 return NULL;
10678}
10679
10680
c370783e 10681static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10682 PyObject *resultobj;
10683 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10684 wxString *arg2 = 0 ;
b411df4a 10685 bool temp2 = false ;
d14a1e28
RD
10686 PyObject * obj0 = 0 ;
10687 PyObject * obj1 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self",(char *) "start", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10695 {
10696 arg2 = wxString_in_helper(obj1);
10697 if (arg2 == NULL) SWIG_fail;
b411df4a 10698 temp2 = true;
d14a1e28
RD
10699 }
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 (arg1)->SetStart((wxString const &)*arg2);
10703
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 Py_INCREF(Py_None); resultobj = Py_None;
10708 {
10709 if (temp2)
10710 delete arg2;
10711 }
10712 return resultobj;
10713 fail:
10714 {
10715 if (temp2)
10716 delete arg2;
10717 }
10718 return NULL;
10719}
10720
10721
c370783e 10722static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10723 PyObject *resultobj;
10724 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10725 wxString *arg2 = 0 ;
10726 wxString result;
b411df4a 10727 bool temp2 = false ;
d14a1e28
RD
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "page", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10737 {
10738 arg2 = wxString_in_helper(obj1);
10739 if (arg2 == NULL) SWIG_fail;
b411df4a 10740 temp2 = true;
d14a1e28
RD
10741 }
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 {
10750#if wxUSE_UNICODE
10751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10752#else
10753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10754#endif
10755 }
10756 {
10757 if (temp2)
10758 delete arg2;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (temp2)
10764 delete arg2;
10765 }
10766 return NULL;
10767}
10768
10769
c370783e 10770static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10771 PyObject *obj;
10772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10773 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
10774 Py_INCREF(obj);
10775 return Py_BuildValue((char *)"");
10776}
c370783e 10777static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10778 PyObject *resultobj;
10779 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10780 bool result;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
36ed4f51
RD
10787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10789 {
10790 PyThreadState* __tstate = wxPyBeginAllowThreads();
10791 result = (bool)(arg1)->Search();
10792
10793 wxPyEndAllowThreads(__tstate);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 }
fbc46b20
RD
10796 {
10797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10798 }
d14a1e28
RD
10799 return resultobj;
10800 fail:
10801 return NULL;
10802}
10803
10804
c370783e 10805static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10806 PyObject *resultobj;
10807 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10808 bool result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
10815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10816 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10817 {
10818 PyThreadState* __tstate = wxPyBeginAllowThreads();
10819 result = (bool)(arg1)->IsActive();
10820
10821 wxPyEndAllowThreads(__tstate);
10822 if (PyErr_Occurred()) SWIG_fail;
10823 }
fbc46b20
RD
10824 {
10825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10826 }
d14a1e28
RD
10827 return resultobj;
10828 fail:
10829 return NULL;
10830}
10831
10832
c370783e 10833static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10834 PyObject *resultobj;
10835 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10836 int result;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
10843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10844 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 result = (int)(arg1)->GetCurIndex();
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
36ed4f51
RD
10852 {
10853 resultobj = SWIG_From_int((int)(result));
10854 }
d14a1e28
RD
10855 return resultobj;
10856 fail:
10857 return NULL;
10858}
10859
10860
c370783e 10861static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10862 PyObject *resultobj;
10863 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10864 int result;
10865 PyObject * obj0 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
10871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (int)(arg1)->GetMaxIndex();
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
36ed4f51
RD
10880 {
10881 resultobj = SWIG_From_int((int)(result));
10882 }
d14a1e28
RD
10883 return resultobj;
10884 fail:
10885 return NULL;
10886}
10887
10888
c370783e 10889static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10890 PyObject *resultobj;
10891 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10892 wxString *result;
10893 PyObject * obj0 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self", NULL
10896 };
10897
10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
10899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 {
10904 wxString const &_result_ref = (arg1)->GetName();
10905 result = (wxString *) &_result_ref;
10906 }
10907
10908 wxPyEndAllowThreads(__tstate);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
0f774bef
RD
10911 {
10912#if wxUSE_UNICODE
10913 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10914#else
10915 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10916#endif
10917 }
d14a1e28
RD
10918 return resultobj;
10919 fail:
10920 return NULL;
10921}
10922
10923
c370783e 10924static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10925 PyObject *obj;
10926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10927 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
10928 Py_INCREF(obj);
10929 return Py_BuildValue((char *)"");
10930}
c370783e 10931static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10932 PyObject *resultobj;
10933 wxHtmlHelpData *result;
10934 char *kwnames[] = {
10935 NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (wxHtmlHelpData *)new wxHtmlHelpData();
10942
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
2f4c0a16 10946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
10947 return resultobj;
10948 fail:
10949 return NULL;
10950}
10951
10952
c370783e 10953static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10954 PyObject *resultobj;
10955 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10956 PyObject * obj0 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 delete arg1;
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 Py_INCREF(Py_None); resultobj = Py_None;
10972 return resultobj;
10973 fail:
10974 return NULL;
10975}
10976
10977
c370783e 10978static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10979 PyObject *resultobj;
10980 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
10981 wxString *arg2 = 0 ;
b411df4a 10982 bool temp2 = false ;
d14a1e28
RD
10983 PyObject * obj0 = 0 ;
10984 PyObject * obj1 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "path", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10992 {
10993 arg2 = wxString_in_helper(obj1);
10994 if (arg2 == NULL) SWIG_fail;
b411df4a 10995 temp2 = true;
d14a1e28
RD
10996 }
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->SetTempDir((wxString const &)*arg2);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 Py_INCREF(Py_None); resultobj = Py_None;
11005 {
11006 if (temp2)
11007 delete arg2;
11008 }
11009 return resultobj;
11010 fail:
11011 {
11012 if (temp2)
11013 delete arg2;
11014 }
11015 return NULL;
11016}
11017
11018
c370783e 11019static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11020 PyObject *resultobj;
11021 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11022 wxString *arg2 = 0 ;
11023 bool result;
b411df4a 11024 bool temp2 = false ;
d14a1e28
RD
11025 PyObject * obj0 = 0 ;
11026 PyObject * obj1 = 0 ;
11027 char *kwnames[] = {
11028 (char *) "self",(char *) "book", NULL
11029 };
11030
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11033 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11034 {
11035 arg2 = wxString_in_helper(obj1);
11036 if (arg2 == NULL) SWIG_fail;
b411df4a 11037 temp2 = true;
d14a1e28
RD
11038 }
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
fbc46b20
RD
11046 {
11047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11048 }
d14a1e28
RD
11049 {
11050 if (temp2)
11051 delete arg2;
11052 }
11053 return resultobj;
11054 fail:
11055 {
11056 if (temp2)
11057 delete arg2;
11058 }
11059 return NULL;
11060}
11061
11062
c370783e 11063static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11064 PyObject *resultobj;
11065 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11066 wxString *arg2 = 0 ;
11067 wxString result;
b411df4a 11068 bool temp2 = false ;
d14a1e28
RD
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "page", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11078 {
11079 arg2 = wxString_in_helper(obj1);
11080 if (arg2 == NULL) SWIG_fail;
b411df4a 11081 temp2 = true;
d14a1e28
RD
11082 }
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (arg1)->FindPageByName((wxString const &)*arg2);
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091#if wxUSE_UNICODE
11092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11093#else
11094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11095#endif
11096 }
11097 {
11098 if (temp2)
11099 delete arg2;
11100 }
11101 return resultobj;
11102 fail:
11103 {
11104 if (temp2)
11105 delete arg2;
11106 }
11107 return NULL;
11108}
11109
11110
c370783e 11111static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11112 PyObject *resultobj;
11113 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11114 int arg2 ;
11115 wxString result;
11116 PyObject * obj0 = 0 ;
8edf1c75 11117 PyObject * obj1 = 0 ;
d14a1e28
RD
11118 char *kwnames[] = {
11119 (char *) "self",(char *) "id", NULL
11120 };
11121
8edf1c75 11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail;
11125 {
11126 arg2 = (int)(SWIG_As_int(obj1));
11127 if (SWIG_arg_fail(2)) SWIG_fail;
11128 }
d14a1e28
RD
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 result = (arg1)->FindPageById(arg2);
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 {
11137#if wxUSE_UNICODE
11138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11139#else
11140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11141#endif
11142 }
11143 return resultobj;
11144 fail:
11145 return NULL;
11146}
11147
11148
c370783e 11149static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11150 PyObject *resultobj;
11151 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11152 wxHtmlBookRecArray *result;
11153 PyObject * obj0 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
36ed4f51
RD
11159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 {
11164 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11165 result = (wxHtmlBookRecArray *) &_result_ref;
11166 }
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
2f4c0a16 11171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11172 return resultobj;
11173 fail:
11174 return NULL;
11175}
11176
11177
c370783e 11178static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11179 PyObject *obj;
11180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11181 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11182 Py_INCREF(obj);
11183 return Py_BuildValue((char *)"");
11184}
c370783e 11185static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11186 PyObject *resultobj;
11187 wxWindow *arg1 = (wxWindow *) 0 ;
11188 int arg2 ;
11189 wxString const &arg3_defvalue = wxPyEmptyString ;
11190 wxString *arg3 = (wxString *) &arg3_defvalue ;
11191 int arg4 = (int) wxHF_DEFAULTSTYLE ;
11192 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
11193 wxHtmlHelpFrame *result;
b411df4a 11194 bool temp3 = false ;
d14a1e28 11195 PyObject * obj0 = 0 ;
8edf1c75 11196 PyObject * obj1 = 0 ;
d14a1e28 11197 PyObject * obj2 = 0 ;
8edf1c75 11198 PyObject * obj3 = 0 ;
d14a1e28
RD
11199 PyObject * obj4 = 0 ;
11200 char *kwnames[] = {
423f194a 11201 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
11202 };
11203
8edf1c75 11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
11205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11206 if (SWIG_arg_fail(1)) SWIG_fail;
11207 {
11208 arg2 = (int)(SWIG_As_int(obj1));
11209 if (SWIG_arg_fail(2)) SWIG_fail;
11210 }
d14a1e28
RD
11211 if (obj2) {
11212 {
11213 arg3 = wxString_in_helper(obj2);
11214 if (arg3 == NULL) SWIG_fail;
b411df4a 11215 temp3 = true;
d14a1e28
RD
11216 }
11217 }
8edf1c75 11218 if (obj3) {
36ed4f51
RD
11219 {
11220 arg4 = (int)(SWIG_As_int(obj3));
11221 if (SWIG_arg_fail(4)) SWIG_fail;
11222 }
8edf1c75 11223 }
d14a1e28 11224 if (obj4) {
36ed4f51
RD
11225 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11226 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
11227 }
11228 {
0439c23b 11229 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
11231 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
11232
11233 wxPyEndAllowThreads(__tstate);
110da5b0 11234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11235 }
2f4c0a16 11236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
11237 {
11238 if (temp3)
11239 delete arg3;
11240 }
11241 return resultobj;
11242 fail:
11243 {
11244 if (temp3)
11245 delete arg3;
11246 }
11247 return NULL;
11248}
11249
11250
c370783e 11251static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11252 PyObject *resultobj;
11253 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11254 wxHtmlHelpData *result;
11255 PyObject * obj0 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
11261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (wxHtmlHelpData *)(arg1)->GetData();
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
2f4c0a16 11270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11271 return resultobj;
11272 fail:
11273 return NULL;
11274}
11275
11276
c370783e 11277static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11278 PyObject *resultobj;
11279 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11280 wxString *arg2 = 0 ;
b411df4a 11281 bool temp2 = false ;
d14a1e28
RD
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self",(char *) "format", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11291 {
11292 arg2 = wxString_in_helper(obj1);
11293 if (arg2 == NULL) SWIG_fail;
b411df4a 11294 temp2 = true;
d14a1e28
RD
11295 }
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 (arg1)->SetTitleFormat((wxString const &)*arg2);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 Py_INCREF(Py_None); resultobj = Py_None;
11304 {
11305 if (temp2)
11306 delete arg2;
11307 }
11308 return resultobj;
11309 fail:
11310 {
11311 if (temp2)
11312 delete arg2;
11313 }
11314 return NULL;
11315}
11316
11317
c370783e 11318static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11319 PyObject *resultobj;
11320 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11321 wxString *arg2 = 0 ;
b411df4a 11322 bool temp2 = false ;
d14a1e28
RD
11323 PyObject * obj0 = 0 ;
11324 PyObject * obj1 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "self",(char *) "x", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11332 {
11333 arg2 = wxString_in_helper(obj1);
11334 if (arg2 == NULL) SWIG_fail;
b411df4a 11335 temp2 = true;
d14a1e28
RD
11336 }
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 (arg1)->Display((wxString const &)*arg2);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 Py_INCREF(Py_None); resultobj = Py_None;
11345 {
11346 if (temp2)
11347 delete arg2;
11348 }
11349 return resultobj;
11350 fail:
11351 {
11352 if (temp2)
11353 delete arg2;
11354 }
11355 return NULL;
11356}
11357
11358
c370783e 11359static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11360 PyObject *resultobj;
11361 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11362 int arg2 ;
11363 PyObject * obj0 = 0 ;
8edf1c75 11364 PyObject * obj1 = 0 ;
d14a1e28
RD
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "id", NULL
11367 };
11368
8edf1c75 11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail;
11372 {
11373 arg2 = (int)(SWIG_As_int(obj1));
11374 if (SWIG_arg_fail(2)) SWIG_fail;
11375 }
d14a1e28
RD
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->Display(arg2);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387}
11388
11389
c370783e 11390static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11391 PyObject *resultobj;
11392 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
36ed4f51
RD
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 (arg1)->DisplayContents();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 Py_INCREF(Py_None); resultobj = Py_None;
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
c370783e 11415static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11416 PyObject *resultobj;
11417 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11418 PyObject * obj0 = 0 ;
11419 char *kwnames[] = {
11420 (char *) "self", NULL
11421 };
11422
11423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
11424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11425 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 (arg1)->DisplayIndex();
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 Py_INCREF(Py_None); resultobj = Py_None;
11434 return resultobj;
11435 fail:
11436 return NULL;
11437}
11438
11439
c370783e 11440static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11441 PyObject *resultobj;
11442 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11443 wxString *arg2 = 0 ;
11444 bool result;
b411df4a 11445 bool temp2 = false ;
d14a1e28
RD
11446 PyObject * obj0 = 0 ;
11447 PyObject * obj1 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self",(char *) "keyword", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11455 {
11456 arg2 = wxString_in_helper(obj1);
11457 if (arg2 == NULL) SWIG_fail;
b411df4a 11458 temp2 = true;
d14a1e28
RD
11459 }
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
fbc46b20
RD
11467 {
11468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11469 }
d14a1e28
RD
11470 {
11471 if (temp2)
11472 delete arg2;
11473 }
11474 return resultobj;
11475 fail:
11476 {
11477 if (temp2)
11478 delete arg2;
11479 }
11480 return NULL;
11481}
11482
11483
c370783e 11484static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11485 PyObject *resultobj;
11486 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11487 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11488 wxString const &arg3_defvalue = wxPyEmptyString ;
11489 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 11490 bool temp3 = false ;
d14a1e28
RD
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 PyObject * obj2 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail;
11501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11502 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11503 if (obj2) {
11504 {
11505 arg3 = wxString_in_helper(obj2);
11506 if (arg3 == NULL) SWIG_fail;
b411df4a 11507 temp3 = true;
d14a1e28
RD
11508 }
11509 }
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 {
11519 if (temp3)
11520 delete arg3;
11521 }
11522 return resultobj;
11523 fail:
11524 {
11525 if (temp3)
11526 delete arg3;
11527 }
11528 return NULL;
11529}
11530
11531
c370783e 11532static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11533 PyObject *resultobj;
11534 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11535 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11536 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11537 PyObject * obj0 = 0 ;
11538 PyObject * obj1 = 0 ;
11539 PyObject * obj2 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self",(char *) "cfg",(char *) "path", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11546 if (SWIG_arg_fail(1)) SWIG_fail;
11547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11548 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11549 if (obj2) {
423f194a
RD
11550 {
11551 wxString* sptr = wxString_in_helper(obj2);
11552 if (sptr == NULL) SWIG_fail;
11553 arg3 = *sptr;
11554 delete sptr;
11555 }
d14a1e28
RD
11556 }
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->ReadCustomization(arg2,arg3);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568}
11569
11570
c370783e 11571static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11572 PyObject *resultobj;
11573 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11574 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11575 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 PyObject * obj2 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "cfg",(char *) "path", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11585 if (SWIG_arg_fail(1)) SWIG_fail;
11586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11587 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11588 if (obj2) {
423f194a
RD
11589 {
11590 wxString* sptr = wxString_in_helper(obj2);
11591 if (sptr == NULL) SWIG_fail;
11592 arg3 = *sptr;
11593 delete sptr;
11594 }
d14a1e28
RD
11595 }
11596 {
11597 PyThreadState* __tstate = wxPyBeginAllowThreads();
11598 (arg1)->WriteCustomization(arg2,arg3);
11599
11600 wxPyEndAllowThreads(__tstate);
11601 if (PyErr_Occurred()) SWIG_fail;
11602 }
11603 Py_INCREF(Py_None); resultobj = Py_None;
11604 return resultobj;
11605 fail:
11606 return NULL;
11607}
11608
11609
c370783e 11610static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11611 PyObject *obj;
11612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11613 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
11614 Py_INCREF(obj);
11615 return Py_BuildValue((char *)"");
11616}
c370783e 11617static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11618 PyObject *resultobj;
11619 int arg1 = (int) wxHF_DEFAULTSTYLE ;
11620 wxHtmlHelpController *result;
8edf1c75 11621 PyObject * obj0 = 0 ;
d14a1e28
RD
11622 char *kwnames[] = {
11623 (char *) "style", NULL
11624 };
11625
8edf1c75
RD
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
11627 if (obj0) {
36ed4f51
RD
11628 {
11629 arg1 = (int)(SWIG_As_int(obj0));
11630 if (SWIG_arg_fail(1)) SWIG_fail;
11631 }
8edf1c75 11632 }
d14a1e28 11633 {
0439c23b 11634 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
11637
11638 wxPyEndAllowThreads(__tstate);
110da5b0 11639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11640 }
2f4c0a16 11641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
11642 return resultobj;
11643 fail:
11644 return NULL;
11645}
11646
11647
c370783e 11648static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11649 PyObject *resultobj;
11650 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11651 PyObject * obj0 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "self", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
36ed4f51
RD
11657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 delete arg1;
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 Py_INCREF(Py_None); resultobj = Py_None;
11667 return resultobj;
11668 fail:
11669 return NULL;
11670}
11671
11672
c370783e 11673static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11674 PyObject *resultobj;
11675 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11676 wxString *arg2 = 0 ;
b411df4a 11677 bool temp2 = false ;
d14a1e28
RD
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "format", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11687 {
11688 arg2 = wxString_in_helper(obj1);
11689 if (arg2 == NULL) SWIG_fail;
b411df4a 11690 temp2 = true;
d14a1e28
RD
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SetTitleFormat((wxString const &)*arg2);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 Py_INCREF(Py_None); resultobj = Py_None;
11700 {
11701 if (temp2)
11702 delete arg2;
11703 }
11704 return resultobj;
11705 fail:
11706 {
11707 if (temp2)
11708 delete arg2;
11709 }
11710 return NULL;
11711}
11712
11713
c370783e 11714static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11715 PyObject *resultobj;
11716 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11717 wxString *arg2 = 0 ;
b411df4a 11718 bool temp2 = false ;
d14a1e28
RD
11719 PyObject * obj0 = 0 ;
11720 PyObject * obj1 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self",(char *) "path", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11728 {
11729 arg2 = wxString_in_helper(obj1);
11730 if (arg2 == NULL) SWIG_fail;
b411df4a 11731 temp2 = true;
d14a1e28
RD
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 (arg1)->SetTempDir((wxString const &)*arg2);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 Py_INCREF(Py_None); resultobj = Py_None;
11741 {
11742 if (temp2)
11743 delete arg2;
11744 }
11745 return resultobj;
11746 fail:
11747 {
11748 if (temp2)
11749 delete arg2;
11750 }
11751 return NULL;
11752}
11753
11754
c370783e 11755static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11756 PyObject *resultobj;
11757 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11758 wxString *arg2 = 0 ;
b411df4a 11759 int arg3 = (int) false ;
d14a1e28 11760 bool result;
b411df4a 11761 bool temp2 = false ;
d14a1e28
RD
11762 PyObject * obj0 = 0 ;
11763 PyObject * obj1 = 0 ;
8edf1c75 11764 PyObject * obj2 = 0 ;
d14a1e28
RD
11765 char *kwnames[] = {
11766 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
11767 };
11768
8edf1c75 11769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11771 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11772 {
11773 arg2 = wxString_in_helper(obj1);
11774 if (arg2 == NULL) SWIG_fail;
b411df4a 11775 temp2 = true;
d14a1e28 11776 }
8edf1c75 11777 if (obj2) {
36ed4f51
RD
11778 {
11779 arg3 = (int)(SWIG_As_int(obj2));
11780 if (SWIG_arg_fail(3)) SWIG_fail;
11781 }
8edf1c75 11782 }
d14a1e28
RD
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
fbc46b20
RD
11790 {
11791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11792 }
d14a1e28
RD
11793 {
11794 if (temp2)
11795 delete arg2;
11796 }
11797 return resultobj;
11798 fail:
11799 {
11800 if (temp2)
11801 delete arg2;
11802 }
11803 return NULL;
11804}
11805
11806
c370783e 11807static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11808 PyObject *resultobj;
11809 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11810 wxString *arg2 = 0 ;
b411df4a 11811 bool temp2 = false ;
d14a1e28
RD
11812 PyObject * obj0 = 0 ;
11813 PyObject * obj1 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self",(char *) "x", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11820 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11821 {
11822 arg2 = wxString_in_helper(obj1);
11823 if (arg2 == NULL) SWIG_fail;
b411df4a 11824 temp2 = true;
d14a1e28
RD
11825 }
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 (arg1)->Display((wxString const &)*arg2);
11829
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 Py_INCREF(Py_None); resultobj = Py_None;
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return resultobj;
11839 fail:
11840 {
11841 if (temp2)
11842 delete arg2;
11843 }
11844 return NULL;
11845}
11846
11847
c370783e 11848static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11849 PyObject *resultobj;
11850 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11851 int arg2 ;
11852 PyObject * obj0 = 0 ;
8edf1c75 11853 PyObject * obj1 = 0 ;
d14a1e28
RD
11854 char *kwnames[] = {
11855 (char *) "self",(char *) "id", NULL
11856 };
11857
8edf1c75 11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11860 if (SWIG_arg_fail(1)) SWIG_fail;
11861 {
11862 arg2 = (int)(SWIG_As_int(obj1));
11863 if (SWIG_arg_fail(2)) SWIG_fail;
11864 }
d14a1e28
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 (arg1)->Display(arg2);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 return resultobj;
11874 fail:
11875 return NULL;
11876}
11877
11878
c370783e 11879static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11880 PyObject *resultobj;
11881 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11882 PyObject * obj0 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
36ed4f51
RD
11888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11889 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 (arg1)->DisplayContents();
11893
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 Py_INCREF(Py_None); resultobj = Py_None;
11898 return resultobj;
11899 fail:
11900 return NULL;
11901}
11902
11903
c370783e 11904static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11905 PyObject *resultobj;
11906 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11907 PyObject * obj0 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
11913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 (arg1)->DisplayIndex();
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 Py_INCREF(Py_None); resultobj = Py_None;
11923 return resultobj;
11924 fail:
11925 return NULL;
11926}
11927
11928
c370783e 11929static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11930 PyObject *resultobj;
11931 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11932 wxString *arg2 = 0 ;
11933 bool result;
b411df4a 11934 bool temp2 = false ;
d14a1e28
RD
11935 PyObject * obj0 = 0 ;
11936 PyObject * obj1 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self",(char *) "keyword", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11944 {
11945 arg2 = wxString_in_helper(obj1);
11946 if (arg2 == NULL) SWIG_fail;
b411df4a 11947 temp2 = true;
d14a1e28
RD
11948 }
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
fbc46b20
RD
11956 {
11957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11958 }
d14a1e28
RD
11959 {
11960 if (temp2)
11961 delete arg2;
11962 }
11963 return resultobj;
11964 fail:
11965 {
11966 if (temp2)
11967 delete arg2;
11968 }
11969 return NULL;
11970}
11971
11972
c370783e 11973static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11974 PyObject *resultobj;
11975 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11976 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11977 wxString const &arg3_defvalue = wxPyEmptyString ;
11978 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 11979 bool temp3 = false ;
d14a1e28
RD
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 PyObject * obj2 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail;
11990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11991 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11992 if (obj2) {
11993 {
11994 arg3 = wxString_in_helper(obj2);
11995 if (arg3 == NULL) SWIG_fail;
b411df4a 11996 temp3 = true;
d14a1e28
RD
11997 }
11998 }
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 Py_INCREF(Py_None); resultobj = Py_None;
12007 {
12008 if (temp3)
12009 delete arg3;
12010 }
12011 return resultobj;
12012 fail:
12013 {
12014 if (temp3)
12015 delete arg3;
12016 }
12017 return NULL;
12018}
12019
12020
c370783e 12021static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12022 PyObject *resultobj;
12023 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12024 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12025 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12026 PyObject * obj0 = 0 ;
12027 PyObject * obj1 = 0 ;
12028 PyObject * obj2 = 0 ;
12029 char *kwnames[] = {
12030 (char *) "self",(char *) "cfg",(char *) "path", NULL
12031 };
12032
12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12035 if (SWIG_arg_fail(1)) SWIG_fail;
12036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12037 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12038 if (obj2) {
423f194a
RD
12039 {
12040 wxString* sptr = wxString_in_helper(obj2);
12041 if (sptr == NULL) SWIG_fail;
12042 arg3 = *sptr;
12043 delete sptr;
12044 }
d14a1e28
RD
12045 }
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 (arg1)->ReadCustomization(arg2,arg3);
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 Py_INCREF(Py_None); resultobj = Py_None;
12054 return resultobj;
12055 fail:
12056 return NULL;
12057}
12058
12059
c370783e 12060static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12061 PyObject *resultobj;
12062 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12063 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12064 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 PyObject * obj2 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self",(char *) "cfg",(char *) "path", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12074 if (SWIG_arg_fail(1)) SWIG_fail;
12075 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12076 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12077 if (obj2) {
423f194a
RD
12078 {
12079 wxString* sptr = wxString_in_helper(obj2);
12080 if (sptr == NULL) SWIG_fail;
12081 arg3 = *sptr;
12082 delete sptr;
12083 }
d14a1e28
RD
12084 }
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->WriteCustomization(arg2,arg3);
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 Py_INCREF(Py_None); resultobj = Py_None;
12093 return resultobj;
12094 fail:
12095 return NULL;
12096}
12097
12098
c370783e 12099static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12100 PyObject *resultobj;
12101 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12102 wxHtmlHelpFrame *result;
12103 PyObject * obj0 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
12109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
2f4c0a16 12118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
12119 return resultobj;
12120 fail:
12121 return NULL;
12122}
12123
12124
c370783e 12125static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12126 PyObject *obj;
12127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12128 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
12129 Py_INCREF(obj);
12130 return Py_BuildValue((char *)"");
12131}
12132static PyMethodDef SwigMethods[] = {
36ed4f51
RD
12133 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12134 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
12135 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
12136 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12137 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12138 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12139 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12140 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
12141 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12142 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
12143 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
12144 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
12145 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
12146 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
12147 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
12148 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
12149 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
12150 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12151 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12152 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
12153 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
12154 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
12155 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12156 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12157 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12158 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
12159 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12160 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12161 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
12162 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
12163 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12164 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12165 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12166 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12167 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12168 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12169 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12170 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12171 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12172 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12173 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12174 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12175 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12176 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12177 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12178 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12179 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12180 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12181 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12182 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12183 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12184 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12185 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12186 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12187 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12188 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12189 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12190 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12191 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
12192 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12193 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
12194 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12195 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12196 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12197 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12198 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12199 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
12200 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12201 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12202 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12203 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12204 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12205 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
12206 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12207 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12208 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12209 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
12210 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
12211 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
12212 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
12213 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
12214 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
12215 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12216 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12217 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12218 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12219 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12220 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
12221 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
12222 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12223 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12224 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12225 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12226 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12227 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12228 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12229 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12230 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
12231 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12232 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12233 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12234 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12235 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12236 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12237 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12238 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12239 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12240 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12241 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12242 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12243 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
12244 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
12245 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12246 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
12247 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
12248 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12249 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12250 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
12251 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12252 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
12253 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
12254 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12255 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12256 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12257 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12258 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
12259 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
12260 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12261 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12262 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12263 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
12264 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
12265 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
12266 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
12267 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
12268 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12269 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12270 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
12271 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
12272 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
12273 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
12274 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12275 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12276 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
12277 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12278 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
12279 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
12280 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
12281 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
12282 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
12283 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
12284 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12285 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12286 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12287 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12288 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12289 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12290 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
12291 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12292 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
12293 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
12294 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12295 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12296 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12297 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
12298 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12299 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
12300 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
12301 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
12302 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
12303 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
12304 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
12305 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
12306 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12307 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12308 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
12309 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12310 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12311 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12312 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12313 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12314 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
12315 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12316 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
12317 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
12318 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12319 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12320 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12321 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12322 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
12323 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12324 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 12325 { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 12326 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 12327 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
12328 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12329 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12330 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
12331 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
12332 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
12333 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
12334 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
12335 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
12336 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12337 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12338 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12339 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12340 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
12341 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
12342 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
12343 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
12344 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
12345 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12346 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12347 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
12348 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12349 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12350 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
12351 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12352 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12353 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12354 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
12355 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12356 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12357 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12358 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
12359 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12360 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
12361 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
12362 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12363 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
12364 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12365 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12366 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12367 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12368 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
12369 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12370 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
12371 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
12372 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12373 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12374 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
12375 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
12376 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
12377 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
12378 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
12379 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12380 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12381 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12382 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12383 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
12384 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
12385 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
12386 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
12387 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
12388 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12389 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12390 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12391 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
12392 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
12393 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12394 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12395 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12396 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12397 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
12398 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
12399 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
12400 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
12401 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12402 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12403 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
12404 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
12405 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12406 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12407 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12408 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12409 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
12410 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
12411 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
12412 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
12413 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12414 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
12415 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12416 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12417 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12418 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12419 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12420 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12421 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12422 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12423 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12424 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
12425 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12426 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12427 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12428 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12429 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12430 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12431 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12432 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12433 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12434 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12435 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12436 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12437 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12438 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12439 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
c370783e 12440 { NULL, NULL, 0, NULL }
d14a1e28
RD
12441};
12442
12443
12444/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12445
12446static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
12447 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
12448}
943e8dfd
RD
12449static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
12450 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 12451}
943e8dfd
RD
12452static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
12453 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 12454}
943e8dfd
RD
12455static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
12456 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 12457}
943e8dfd
RD
12458static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
12459 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
a2482628 12460}
943e8dfd
RD
12461static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
12462 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 12463}
943e8dfd
RD
12464static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
12465 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 12466}
943e8dfd
RD
12467static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
12468 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 12469}
943e8dfd
RD
12470static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
12471 return (void *)((wxPanel *) ((wxPyPanel *) x));
d14a1e28 12472}
943e8dfd
RD
12473static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
12474 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 12475}
943e8dfd
RD
12476static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
12477 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 12478}
943e8dfd
RD
12479static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
12480 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 12481}
943e8dfd
RD
12482static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
12483 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
a2482628 12484}
943e8dfd
RD
12485static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
12486 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 12487}
943e8dfd
RD
12488static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
12489 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 12490}
943e8dfd
RD
12491static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
12492 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 12493}
943e8dfd
RD
12494static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
12495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 12496}
943e8dfd
RD
12497static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
12498 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 12499}
943e8dfd
RD
12500static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12501 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 12502}
943e8dfd
RD
12503static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
12504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 12505}
943e8dfd
RD
12506static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
12507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 12508}
943e8dfd
RD
12509static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
12510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 12511}
943e8dfd
RD
12512static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
12513 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
070c48b4 12514}
943e8dfd
RD
12515static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
12516 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 12517}
943e8dfd
RD
12518static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
12519 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 12520}
943e8dfd
RD
12521static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
12522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 12523}
943e8dfd
RD
12524static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
12525 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 12526}
943e8dfd
RD
12527static void *_p_wxPanelTo_p_wxWindow(void *x) {
12528 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 12529}
943e8dfd
RD
12530static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
12531 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 12532}
943e8dfd
RD
12533static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
12534 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 12535}
943e8dfd
RD
12536static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
12537 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
d14a1e28 12538}
943e8dfd
RD
12539static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
12540 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 12541}
943e8dfd
RD
12542static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
12543 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 12544}
943e8dfd
RD
12545static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
12546 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 12547}
943e8dfd
RD
12548static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
12549 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 12550}
943e8dfd
RD
12551static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
12552 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 12553}
943e8dfd
RD
12554static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
12555 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 12556}
943e8dfd
RD
12557static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
12558 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 12559}
943e8dfd
RD
12560static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
12561 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 12562}
943e8dfd
RD
12563static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
12564 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
070c48b4 12565}
943e8dfd
RD
12566static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
12567 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
a2482628 12568}
943e8dfd
RD
12569static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
12570 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 12571}
943e8dfd
RD
12572static void *_p_wxControlTo_p_wxWindow(void *x) {
12573 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 12574}
943e8dfd
RD
12575static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
12576 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 12577}
943e8dfd
RD
12578static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
12579 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 12580}
943e8dfd
RD
12581static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
12582 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 12583}
943e8dfd
RD
12584static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12585 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 12586}
943e8dfd
RD
12587static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
12588 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 12589}
943e8dfd
RD
12590static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
12591 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 12592}
943e8dfd
RD
12593static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
12594 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 12595}
943e8dfd
RD
12596static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
12597 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 12598}
943e8dfd
RD
12599static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
12600 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 12601}
943e8dfd
RD
12602static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
12603 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 12604}
943e8dfd
RD
12605static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
12606 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 12607}
943e8dfd
RD
12608static void *_p_wxFrameTo_p_wxWindow(void *x) {
12609 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 12610}
943e8dfd
RD
12611static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
12612 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 12613}
943e8dfd
RD
12614static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
12615 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 12616}
943e8dfd
RD
12617static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
12618 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 12619}
943e8dfd
RD
12620static void *_p_wxDialogTo_p_wxWindow(void *x) {
12621 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
070c48b4 12622}
943e8dfd
RD
12623static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
12624 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 12625}
943e8dfd
RD
12626static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
12627 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 12628}
943e8dfd
RD
12629static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
12630 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 12631}
943e8dfd
RD
12632static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
12633 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 12634}
943e8dfd
RD
12635static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
12636 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
070c48b4 12637}
943e8dfd
RD
12638static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
12639 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 12640}
943e8dfd
RD
12641static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
12642 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 12643}
943e8dfd
RD
12644static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
12645 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 12646}
943e8dfd
RD
12647static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
12648 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
12649}
12650static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
12651 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
12652}
12653static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
12654 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
12655}
12656static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
12657 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
12658}
12659static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
12660 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12661}
12662static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
12663 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
12664}
12665static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
12666 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
12667}
12668static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
12669 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
12670}
12671static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
12672 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
12673}
12674static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
12675 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
12676}
12677static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
12678 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
12679}
12680static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
12681 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
12682}
12683static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
12684 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
12685}
12686static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
12687 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28
RD
12688}
12689static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12690 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12691}
12692static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12693 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12694}
12695static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12697}
12698static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12700}
12701static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12702 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12703}
12704static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12705 return (void *)((wxObject *) ((wxSizerItem *) x));
12706}
12707static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12709}
12710static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12711 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12712}
12713static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
12714 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
12715}
12716static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12717 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12718}
12719static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12720 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12721}
12722static void *_p_wxSizerTo_p_wxObject(void *x) {
12723 return (void *)((wxObject *) ((wxSizer *) x));
12724}
12725static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12726 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12727}
12728static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
12729 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
12730}
12731static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12733}
12734static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12736}
12737static void *_p_wxEventTo_p_wxObject(void *x) {
12738 return (void *)((wxObject *) ((wxEvent *) x));
12739}
12740static void *_p_wxFontDataTo_p_wxObject(void *x) {
12741 return (void *)((wxObject *) ((wxFontData *) x));
12742}
12743static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12744 return (void *)((wxObject *) ((wxPrintData *) x));
12745}
12746static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
12747 return (void *)((wxObject *) ((wxHtmlTag *) x));
12748}
12749static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12750 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12751}
12752static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12753 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12754}
12755static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12756 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12757}
12758static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12759 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12760}
84f85550
RD
12761static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12762 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
12763}
12764static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12766}
12767static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
12768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12769}
12770static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
12771 return (void *)((wxObject *) ((wxHtmlCell *) x));
12772}
12773static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12774 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12775}
12776static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12777 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12778}
12779static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12780 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12781}
12782static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12783 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12784}
12785static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12786 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12787}
12788static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12789 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12790}
12791static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12793}
12794static void *_p_wxControlTo_p_wxObject(void *x) {
12795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12796}
12797static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12798 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12799}
12800static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12801 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12802}
12803static void *_p_wxFSFileTo_p_wxObject(void *x) {
12804 return (void *)((wxObject *) ((wxFSFile *) x));
12805}
12806static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
12807 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
12808}
12809static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12810 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12811}
12812static void *_p_wxPySizerTo_p_wxObject(void *x) {
12813 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12814}
12815static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
12816 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
12817}
12818static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12820}
12821static void *_p_wxColourDataTo_p_wxObject(void *x) {
12822 return (void *)((wxObject *) ((wxColourData *) x));
12823}
12824static void *_p_wxPyEventTo_p_wxObject(void *x) {
12825 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12826}
12827static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12829}
12830static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12832}
12833static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12835}
12836static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12838}
12839static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12841}
12842static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12844}
12845static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12847}
070c48b4
RD
12848static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12850}
d14a1e28
RD
12851static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12853}
12854static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12856}
12857static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12859}
12860static void *_p_wxShowEventTo_p_wxObject(void *x) {
12861 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12862}
12863static void *_p_wxPrinterTo_p_wxObject(void *x) {
12864 return (void *)((wxObject *) ((wxPrinter *) x));
12865}
12866static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12867 return (void *)((wxObject *) ((wxMenuItem *) x));
12868}
53aa7709
RD
12869static void *_p_wxDateEventTo_p_wxObject(void *x) {
12870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12871}
d14a1e28
RD
12872static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12873 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12874}
12875static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12877}
12878static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12879 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12880}
12881static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12882 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12883}
12884static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12885 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12886}
12887static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12888 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12889}
12890static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12891 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12892}
12893static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12894 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12895}
12896static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
12897 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
12898}
d14a1e28
RD
12899static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12900 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12901}
12902static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12903 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12904}
12905static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12906 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12907}
12908static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12909 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12910}
12911static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12912 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12913}
12914static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12915 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12916}
12917static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12918 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12919}
12920static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12921 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12922}
12923static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12924 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12925}
943e8dfd
RD
12926static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12927 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12928}
d14a1e28
RD
12929static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12930 return (void *)((wxObject *) ((wxImageHandler *) x));
12931}
943e8dfd
RD
12932static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12933 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12934}
d14a1e28
RD
12935static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12936 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12937}
12938static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12939 return (void *)((wxObject *) ((wxEvtHandler *) x));
12940}
12941static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12942 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12943}
12944static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
12945 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
12946}
12947static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
12948 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
12949}
12950static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12952}
12953static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12955}
51b83b37
RD
12956static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12957 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12958}
d14a1e28
RD
12959static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12960 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12961}
12962static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12964}
12965static void *_p_wxImageTo_p_wxObject(void *x) {
12966 return (void *)((wxObject *) ((wxImage *) x));
12967}
12968static void *_p_wxFrameTo_p_wxObject(void *x) {
12969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12970}
12971static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12972 return (void *)((wxObject *) ((wxPyPrintout *) x));
12973}
12974static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
12975 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
12976}
12977static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12978 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12979}
12980static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12981 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12982}
12983static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12985}
12986static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
12987 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
12988}
12989static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
12990 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
12991}
12992static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12994}
12995static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12997}
12998static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12999 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13000}
13001static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13002 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13003}
d14a1e28
RD
13004static void *_p_wxWindowTo_p_wxObject(void *x) {
13005 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13006}
13007static void *_p_wxMenuTo_p_wxObject(void *x) {
13008 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13009}
13010static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13012}
41f1cec7
RD
13013static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
13014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13015}
d14a1e28
RD
13016static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
13017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
13018}
13019static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
13020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
13021}
13022static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
13023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
13024}
13025static void *_p_wxSashWindowTo_p_wxObject(void *x) {
13026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
13027}
13028static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
13029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13030}
13031static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
13032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
13033}
13034static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
13035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13036}
13037static void *_p_wxTipWindowTo_p_wxObject(void *x) {
13038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
13039}
13040static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
13041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13042}
13043static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
13044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
13045}
a2482628
RD
13046static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
13047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13048}
d14a1e28
RD
13049static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
13050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13051}
13052static void *_p_wxSashEventTo_p_wxObject(void *x) {
13053 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
13054}
13055static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
13056 return (void *)((wxObject *) ((wxPrintPreview *) x));
13057}
13058static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
13059 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
13060}
13061static void *_p_wxPanelTo_p_wxObject(void *x) {
13062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
13063}
13064static void *_p_wxDialogTo_p_wxObject(void *x) {
13065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13066}
13067static void *_p_wxColourDialogTo_p_wxObject(void *x) {
13068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13069}
13070static void *_p_wxDirDialogTo_p_wxObject(void *x) {
13071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13072}
13073static void *_p_wxFontDialogTo_p_wxObject(void *x) {
13074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13075}
13076static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 13077 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
13078}
13079static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
8fb0e70a 13080 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
13081}
13082static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
13083 return (void *)((wxObject *) ((wxHtmlParser *) x));
13084}
13085static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
13086 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
13087}
13088static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13089 return (void *)((wxObject *) ((wxFileSystem *) x));
13090}
13091static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13093}
13094static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13095 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13096}
13097static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
13098 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
13099}
13100static void *_p_wxPyAppTo_p_wxObject(void *x) {
13101 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13102}
13103static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13104 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13105}
13106static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13107 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13108}
13109static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13110 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13111}
13112static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13114}
13115static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13116 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13117}
13118static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13120}
13121static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13123}
13124static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
13125 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
13126}
13127static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13128 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13129}
13130static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13131 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13132}
13133static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13134 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13135}
13136static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
8fb0e70a 13137 return (void *)((wxObject *) ((wxHtmlHelpController *) x));
d14a1e28
RD
13138}
13139static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13141}
13142static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13143 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13144}
13145static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13146 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13147}
13148static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13149 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13150}
13151static void *_p_wxValidatorTo_p_wxObject(void *x) {
13152 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13153}
943e8dfd
RD
13154static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
13155 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 13156}
943e8dfd
RD
13157static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 13159}
943e8dfd
RD
13160static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13161 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 13162}
943e8dfd
RD
13163static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
13164 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 13165}
943e8dfd
RD
13166static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13167 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
d14a1e28 13168}
943e8dfd
RD
13169static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13170 return (void *)((wxEvtHandler *) ((wxValidator *) x));
d14a1e28 13171}
943e8dfd
RD
13172static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13173 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
d14a1e28 13174}
943e8dfd
RD
13175static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13176 return (void *)((wxEvtHandler *) ((wxMenu *) x));
d14a1e28 13177}
943e8dfd
RD
13178static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13179 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 13180}
943e8dfd
RD
13181static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13182 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 13183}
943e8dfd
RD
13184static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13185 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 13186}
943e8dfd
RD
13187static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13188 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 13189}
943e8dfd
RD
13190static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13191 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 13192}
943e8dfd
RD
13193static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13194 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 13195}
943e8dfd
RD
13196static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 13198}
943e8dfd
RD
13199static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 13201}
943e8dfd
RD
13202static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13203 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
d14a1e28 13204}
943e8dfd
RD
13205static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13206 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
a2482628 13207}
943e8dfd
RD
13208static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13209 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 13210}
943e8dfd
RD
13211static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13212 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
d14a1e28 13213}
943e8dfd
RD
13214static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13215 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 13216}
943e8dfd
RD
13217static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13218 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
d14a1e28 13219}
943e8dfd
RD
13220static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13221 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 13222}
943e8dfd
RD
13223static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13224 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
d14a1e28 13225}
943e8dfd
RD
13226static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13227 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 13228}
943e8dfd
RD
13229static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13230 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 13231}
943e8dfd
RD
13232static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13233 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 13234}
943e8dfd
RD
13235static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13236 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 13237}
943e8dfd
RD
13238static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13239 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 13240}
943e8dfd
RD
13241static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13242 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 13243}
943e8dfd
RD
13244static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13245 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 13246}
943e8dfd
RD
13247static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
13248 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 13249}
943e8dfd
RD
13250static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13251 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
d14a1e28 13252}
943e8dfd
RD
13253static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
13254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 13255}
943e8dfd
RD
13256static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
13257 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 13258}
943e8dfd
RD
13259static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 13261}
943e8dfd
RD
13262static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13263 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 13264}
943e8dfd
RD
13265static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
070c48b4 13267}
943e8dfd
RD
13268static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 13270}
943e8dfd
RD
13271static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13272 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 13273}
943e8dfd
RD
13274static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13275 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 13276}
943e8dfd
RD
13277static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13278 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 13279}
943e8dfd
RD
13280static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13281 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 13282}
943e8dfd
RD
13283static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13284 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 13285}
943e8dfd
RD
13286static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
13287 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 13288}
943e8dfd
RD
13289static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
13290 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 13291}
943e8dfd
RD
13292static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13293 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 13294}
943e8dfd
RD
13295static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 13297}
943e8dfd
RD
13298static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 13300}
943e8dfd
RD
13301static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 13303}
943e8dfd
RD
13304static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13305 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 13306}
943e8dfd
RD
13307static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13308 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 13309}
943e8dfd
RD
13310static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
13311 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 13312}
943e8dfd
RD
13313static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
13314 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
53aa7709 13315}
943e8dfd
RD
13316static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
13317 return (void *)((wxFrame *) ((wxProgressDialog *) x));
53aa7709 13318}
943e8dfd
RD
13319static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
13320 return (void *)((wxFrame *) ((wxTipWindow *) x));
53aa7709 13321}
943e8dfd
RD
13322static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
13323 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
53aa7709 13324}
943e8dfd
RD
13325static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
13326 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
53aa7709 13327}
943e8dfd
RD
13328static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
13329 return (void *)((wxFrame *) ((wxMiniFrame *) x));
53aa7709 13330}
943e8dfd
RD
13331static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
13332 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
53aa7709 13333}
943e8dfd
RD
13334static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
13335 return (void *)((wxFrame *) ((wxSplashScreen *) x));
53aa7709 13336}
943e8dfd
RD
13337static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
13338 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
53aa7709 13339}
943e8dfd
RD
13340static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
13341 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
53aa7709 13342}
943e8dfd
RD
13343static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
13344 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
53aa7709 13345}
943e8dfd
RD
13346static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
13347 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
53aa7709 13348}
943e8dfd
RD
13349static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
13350 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
53aa7709 13351}
943e8dfd
RD
13352static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
13353 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 13354}
2f4c0a16
RD
13355static 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}};
13356static 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}};
13357static 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}};
13358static 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}};
36ed4f51 13359static 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
13360static 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}};
13361static 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}};
36ed4f51
RD
13362static 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}};
13363static 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 13364static 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 13365static 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
13366static 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}};
13367static 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}};
13368static 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}};
13369static 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 13370static 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 13371static 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 13372static 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}};
6e0de3df
RD
13373static 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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_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}};
13374static 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_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_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}};
36ed4f51 13375static 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}};
c370783e 13376static 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
13377static 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}};
13378static 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}};
13379static 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}};
13380static 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}};
13381static 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}};
943e8dfd 13382static 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_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}};
53aa7709 13383static 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}};
36ed4f51 13384static 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 13385static 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}};
36ed4f51
RD
13386static 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}};
13387static 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
13388static 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}};
13389static 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}};
6e0de3df 13390static 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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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}};
36ed4f51 13391static 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
13392static 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}};
13393static 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}};
13394static 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}};
13395static 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}};
13396static 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}};
36ed4f51 13397static 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
13398static 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}};
13399static 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}};
13400static 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}};
36ed4f51
RD
13401static 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}};
13402static 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
13403static 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}};
13404static 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}};
13405static 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 13406static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 13407static 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
13408static 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}};
13409static 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}};
13410static 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}};
13411static 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}};
13412static 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 13413static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c370783e 13414static 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}};
36ed4f51 13415static 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 13416static 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
13417
13418static swig_type_info *swig_types_initial[] = {
13419_swigt__p_wxHtmlDCRenderer,
13420_swigt__p_wxColour,
13421_swigt__p_wxPageSetupDialogData,
13422_swigt__p_wxDC,
36ed4f51 13423_swigt__p_form_ops_t,
d14a1e28
RD
13424_swigt__p_wxHtmlRenderingStyle,
13425_swigt__p_wxMouseEvent,
36ed4f51
RD
13426_swigt__p_wxDuplexMode,
13427_swigt__p_wxDefaultHtmlRenderingStyle,
d14a1e28 13428_swigt__p_wxHtmlWordCell,
f20a2e1f 13429_swigt__p_wxVisualAttributes,
d14a1e28 13430_swigt__p_wxHtmlHelpData,
8edf1c75 13431_swigt__p_char,
d14a1e28
RD
13432_swigt__p_wxHtmlWinParser,
13433_swigt__p_wxHtmlParser,
13434_swigt__p_wxPanel,
d14a1e28
RD
13435_swigt__p_wxPyHtmlWindow,
13436_swigt__p_wxScrolledWindow,
13437_swigt__p_wxWindow,
13438_swigt__p_wxTopLevelWindow,
36ed4f51 13439_swigt__p_wxFont,
c370783e 13440_swigt__p_wxHtmlColourCell,
8edf1c75 13441_swigt__p_wxHtmlFontCell,
d14a1e28
RD
13442_swigt__p_wxHtmlEasyPrinting,
13443_swigt__p_wxHtmlSelection,
13444_swigt__p_wxHtmlRenderingInfo,
13445_swigt__p_wxHtmlWidgetCell,
13446_swigt__p_wxObject,
53aa7709 13447_swigt__p_wxBitmap,
36ed4f51 13448_swigt__p_wxPaperSize,
d14a1e28 13449_swigt__p_wxString,
36ed4f51
RD
13450_swigt__p_unsigned_int,
13451_swigt__unsigned_int,
d14a1e28
RD
13452_swigt__p_wxHtmlTagHandler,
13453_swigt__p_wxPyHtmlTagHandler,
13454_swigt__p_wxEvtHandler,
36ed4f51 13455_swigt__p_wxPyHtmlWinTagHandler,
d14a1e28
RD
13456_swigt__p_wxPoint,
13457_swigt__p_wxHtmlHelpController,
13458_swigt__p_wxCursor,
13459_swigt__p_wxFileSystem,
13460_swigt__p_wxHtmlBookRecArray,
36ed4f51 13461_swigt__p_unsigned_char,
d14a1e28
RD
13462_swigt__p_wxPyPrintout,
13463_swigt__p_wxHtmlPrintout,
13464_swigt__p_wxHtmlSearchStatus,
36ed4f51
RD
13465_swigt__std__ptrdiff_t,
13466_swigt__ptrdiff_t,
d14a1e28
RD
13467_swigt__p_wxConfigBase,
13468_swigt__p_wxPrintData,
13469_swigt__p_wxHtmlHelpFrame,
d14a1e28 13470_swigt__p_wxFrame,
36ed4f51 13471_swigt__p_wxHtmlRenderingState,
d14a1e28
RD
13472_swigt__p_wxPyHtmlFilter,
13473_swigt__p_wxHtmlFilter,
13474_swigt__p_wxHtmlCell,
13475_swigt__p_wxHtmlContainerCell,
13476_swigt__p_wxHtmlTag,
d14a1e28 13477_swigt__p_int,
c370783e 13478_swigt__p_wxHtmlLinkInfo,
36ed4f51 13479_swigt__p_unsigned_long,
d14a1e28
RD
13480_swigt__p_wxHtmlBookRecord,
134810
13482};
13483
13484
13485/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13486
13487static swig_const_info swig_const_table[] = {
c370783e 13488{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
13489
13490#ifdef __cplusplus
13491}
13492#endif
13493
36ed4f51
RD
13494
13495#ifdef __cplusplus
13496extern "C" {
13497#endif
13498
13499 /* Python-specific SWIG API */
13500#define SWIG_newvarlink() SWIG_Python_newvarlink()
13501#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13502#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13503
13504 /* -----------------------------------------------------------------------------
13505 * global variable support code.
13506 * ----------------------------------------------------------------------------- */
13507
13508 typedef struct swig_globalvar {
13509 char *name; /* Name of global variable */
13510 PyObject *(*get_attr)(); /* Return the current value */
13511 int (*set_attr)(PyObject *); /* Set the value */
13512 struct swig_globalvar *next;
13513 } swig_globalvar;
13514
13515 typedef struct swig_varlinkobject {
13516 PyObject_HEAD
13517 swig_globalvar *vars;
13518 } swig_varlinkobject;
13519
13520 static PyObject *
13521 swig_varlink_repr(swig_varlinkobject *v) {
13522 v = v;
13523 return PyString_FromString("<Swig global variables>");
13524 }
13525
13526 static int
13527 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
13528 swig_globalvar *var;
13529 flags = flags;
13530 fprintf(fp,"Swig global variables { ");
13531 for (var = v->vars; var; var=var->next) {
13532 fprintf(fp,"%s", var->name);
13533 if (var->next) fprintf(fp,", ");
13534 }
13535 fprintf(fp," }\n");
13536 return 0;
13537 }
13538
13539 static PyObject *
13540 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13541 swig_globalvar *var = v->vars;
13542 while (var) {
13543 if (strcmp(var->name,n) == 0) {
13544 return (*var->get_attr)();
13545 }
13546 var = var->next;
13547 }
13548 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13549 return NULL;
13550 }
13551
13552 static int
13553 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13554 swig_globalvar *var = v->vars;
13555 while (var) {
13556 if (strcmp(var->name,n) == 0) {
13557 return (*var->set_attr)(p);
13558 }
13559 var = var->next;
13560 }
13561 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13562 return 1;
13563 }
13564
13565 static PyTypeObject varlinktype = {
13566 PyObject_HEAD_INIT(0)
13567 0, /* Number of items in variable part (ob_size) */
13568 (char *)"swigvarlink", /* Type name (tp_name) */
13569 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13570 0, /* Itemsize (tp_itemsize) */
13571 0, /* Deallocator (tp_dealloc) */
13572 (printfunc) swig_varlink_print, /* Print (tp_print) */
13573 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13574 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13575 0, /* tp_compare */
13576 (reprfunc) swig_varlink_repr, /* tp_repr */
13577 0, /* tp_as_number */
13578 0, /* tp_as_sequence */
13579 0, /* tp_as_mapping */
13580 0, /* tp_hash */
13581 0, /* tp_call */
13582 0, /* tp_str */
13583 0, /* tp_getattro */
13584 0, /* tp_setattro */
13585 0, /* tp_as_buffer */
13586 0, /* tp_flags */
13587 0, /* tp_doc */
13588#if PY_VERSION_HEX >= 0x02000000
13589 0, /* tp_traverse */
13590 0, /* tp_clear */
13591#endif
13592#if PY_VERSION_HEX >= 0x02010000
13593 0, /* tp_richcompare */
13594 0, /* tp_weaklistoffset */
13595#endif
13596#if PY_VERSION_HEX >= 0x02020000
13597 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13598#endif
13599#if PY_VERSION_HEX >= 0x02030000
13600 0, /* tp_del */
13601#endif
13602#ifdef COUNT_ALLOCS
13603 0,0,0,0 /* tp_alloc -> tp_next */
13604#endif
13605 };
13606
13607 /* Create a variable linking object for use later */
13608 static PyObject *
13609 SWIG_Python_newvarlink(void) {
13610 swig_varlinkobject *result = 0;
13611 result = PyMem_NEW(swig_varlinkobject,1);
13612 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
13613 result->ob_type = &varlinktype;
13614 result->vars = 0;
13615 result->ob_refcnt = 0;
13616 Py_XINCREF((PyObject *) result);
13617 return ((PyObject*) result);
13618 }
13619
13620 static void
13621 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13622 swig_varlinkobject *v;
13623 swig_globalvar *gv;
13624 v= (swig_varlinkobject *) p;
13625 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13626 gv->name = (char *) malloc(strlen(name)+1);
13627 strcpy(gv->name,name);
13628 gv->get_attr = get_attr;
13629 gv->set_attr = set_attr;
13630 gv->next = v->vars;
13631 v->vars = gv;
13632 }
13633
13634 /* -----------------------------------------------------------------------------
13635 * constants/methods manipulation
13636 * ----------------------------------------------------------------------------- */
13637
13638 /* Install Constants */
13639 static void
13640 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13641 PyObject *obj = 0;
13642 size_t i;
13643 for (i = 0; constants[i].type; i++) {
13644 switch(constants[i].type) {
13645 case SWIG_PY_INT:
13646 obj = PyInt_FromLong(constants[i].lvalue);
13647 break;
13648 case SWIG_PY_FLOAT:
13649 obj = PyFloat_FromDouble(constants[i].dvalue);
13650 break;
13651 case SWIG_PY_STRING:
13652 if (constants[i].pvalue) {
13653 obj = PyString_FromString((char *) constants[i].pvalue);
13654 } else {
13655 Py_INCREF(Py_None);
13656 obj = Py_None;
13657 }
13658 break;
13659 case SWIG_PY_POINTER:
13660 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13661 break;
13662 case SWIG_PY_BINARY:
13663 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13664 break;
13665 default:
13666 obj = 0;
13667 break;
13668 }
13669 if (obj) {
13670 PyDict_SetItemString(d,constants[i].name,obj);
13671 Py_DECREF(obj);
13672 }
13673 }
13674 }
13675
13676 /* -----------------------------------------------------------------------------*/
13677 /* Fix SwigMethods to carry the callback ptrs when needed */
13678 /* -----------------------------------------------------------------------------*/
13679
13680 static void
13681 SWIG_Python_FixMethods(PyMethodDef *methods,
13682 swig_const_info *const_table,
13683 swig_type_info **types,
13684 swig_type_info **types_initial) {
13685 size_t i;
13686 for (i = 0; methods[i].ml_name; ++i) {
13687 char *c = methods[i].ml_doc;
13688 if (c && (c = strstr(c, "swig_ptr: "))) {
13689 int j;
13690 swig_const_info *ci = 0;
13691 char *name = c + 10;
13692 for (j = 0; const_table[j].type; j++) {
13693 if (strncmp(const_table[j].name, name,
13694 strlen(const_table[j].name)) == 0) {
13695 ci = &(const_table[j]);
13696 break;
13697 }
13698 }
13699 if (ci) {
13700 size_t shift = (ci->ptype) - types;
13701 swig_type_info *ty = types_initial[shift];
13702 size_t ldoc = (c - methods[i].ml_doc);
13703 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13704 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13705 char *buff = ndoc;
13706 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
13707 strncpy(buff, methods[i].ml_doc, ldoc);
13708 buff += ldoc;
13709 strncpy(buff, "swig_ptr: ", 10);
13710 buff += 10;
13711 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13712 methods[i].ml_doc = ndoc;
13713 }
13714 }
13715 }
13716 }
13717
13718 /* -----------------------------------------------------------------------------*
13719 * Initialize type list
13720 * -----------------------------------------------------------------------------*/
13721
13722#if PY_MAJOR_VERSION < 2
13723 /* PyModule_AddObject function was introduced in Python 2.0. The following function
13724 is copied out of Python/modsupport.c in python version 2.3.4 */
13725 static int
13726 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
13727 {
13728 PyObject *dict;
13729 if (!PyModule_Check(m)) {
13730 PyErr_SetString(PyExc_TypeError,
13731 "PyModule_AddObject() needs module as first arg");
13732 return -1;
13733 }
13734 if (!o) {
13735 PyErr_SetString(PyExc_TypeError,
13736 "PyModule_AddObject() needs non-NULL value");
13737 return -1;
13738 }
13739
13740 dict = PyModule_GetDict(m);
13741 if (dict == NULL) {
13742 /* Internal error -- modules must have a dict! */
13743 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
13744 PyModule_GetName(m));
13745 return -1;
13746 }
13747 if (PyDict_SetItemString(dict, name, o))
13748 return -1;
13749 Py_DECREF(o);
13750 return 0;
13751 }
13752#endif
13753
13754 static swig_type_info **
13755 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
13756 static PyMethodDef swig_empty_runtime_method_table[] = {
13757 {
13758 NULL, NULL, 0, NULL
13759 }
13760 };/* Sentinel */
13761
13762 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
13763 swig_empty_runtime_method_table);
13764 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
13765 if (pointer && module) {
13766 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
13767 }
13768 return type_list_handle;
13769 }
13770
13771 static swig_type_info **
13772 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
13773 swig_type_info **type_pointer;
13774
13775 /* first check if module already created */
13776 type_pointer = SWIG_Python_GetTypeListHandle();
13777 if (type_pointer) {
13778 return type_pointer;
13779 } else {
13780 /* create a new module and variable */
13781 return SWIG_Python_SetTypeListHandle(type_list_handle);
13782 }
13783 }
13784
13785#ifdef __cplusplus
13786}
13787#endif
13788
13789/* -----------------------------------------------------------------------------*
13790 * Partial Init method
13791 * -----------------------------------------------------------------------------*/
13792
13793#ifdef SWIG_LINK_RUNTIME
13794#ifdef __cplusplus
13795extern "C"
13796#endif
13797SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
13798#endif
13799
d14a1e28
RD
13800#ifdef __cplusplus
13801extern "C"
13802#endif
13803SWIGEXPORT(void) SWIG_init(void) {
13804 static PyObject *SWIG_globals = 0;
13805 static int typeinit = 0;
13806 PyObject *m, *d;
13807 int i;
13808 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
13809
13810 /* Fix SwigMethods to carry the callback ptrs when needed */
13811 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
13812
d14a1e28
RD
13813 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13814 d = PyModule_GetDict(m);
13815
13816 if (!typeinit) {
36ed4f51
RD
13817#ifdef SWIG_LINK_RUNTIME
13818 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
13819#else
13820# ifndef SWIG_STATIC_RUNTIME
13821 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
13822# endif
13823#endif
d14a1e28
RD
13824 for (i = 0; swig_types_initial[i]; i++) {
13825 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13826 }
13827 typeinit = 1;
13828 }
13829 SWIG_InstallConstants(d,swig_const_table);
13830
cbd72d4f
RD
13831 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13832 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
13833 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
13834 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
36ed4f51
RD
13835 {
13836 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT)));
13837 }
13838 {
13839 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER)));
13840 }
13841 {
13842 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT)));
13843 }
13844 {
13845 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM)));
13846 }
13847 {
13848 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP)));
13849 }
13850 {
13851 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND)));
13852 }
13853 {
13854 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND)));
13855 }
13856 {
13857 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS)));
13858 }
13859 {
13860 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT)));
13861 }
13862 {
13863 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT)));
13864 }
13865 {
13866 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT)));
13867 }
13868 {
13869 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP)));
13870 }
13871 {
13872 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM)));
13873 }
13874 {
13875 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL)));
13876 }
13877 {
13878 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL)));
13879 }
13880 {
13881 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL)));
13882 }
13883 {
13884 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR)));
13885 }
13886 {
13887 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP)));
13888 }
13889 {
13890 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER)));
13891 }
13892 {
13893 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1)));
13894 }
13895 {
13896 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2)));
13897 }
13898 {
13899 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3)));
13900 }
13901 {
13902 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4)));
13903 }
13904 {
13905 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5)));
13906 }
13907 {
13908 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6)));
13909 }
13910 {
13911 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7)));
13912 }
13913 {
13914 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER)));
13915 }
13916 {
13917 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO)));
13918 }
13919 {
13920 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION)));
13921 }
13922 {
13923 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE)));
13924 }
13925 {
13926 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN)));
13927 }
13928 {
13929 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK)));
13930 }
13931 {
13932 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT)));
13933 }
13934 {
13935 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE)));
13936 }
13937 {
13938 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE)));
13939 }
13940 {
13941 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER)));
13942 }
13943 {
13944 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT)));
13945 }
13946 {
13947 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN)));
13948 }
13949 {
13950 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING)));
13951 }
13952 {
13953 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT)));
13954 }
13955 {
13956 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE)));
13957 }
13958 {
13959 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER)));
13960 }
13961 {
13962 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD)));
13963 }
13964 {
13965 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN)));
13966 }
13967 {
13968 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL)));
13969 }
13970 {
13971 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR)));
13972 }
13973 {
13974 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR)));
13975 }
13976 {
13977 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS)));
13978 }
13979 {
13980 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX)));
13981 }
13982 {
13983 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH)));
13984 }
13985 {
13986 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS)));
13987 }
13988 {
13989 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES)));
13990 }
13991 {
13992 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT)));
13993 }
13994 {
13995 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE)));
13996 }
d14a1e28
RD
13997
13998 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
13999 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14000 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14001 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
14002
14003}
14004