]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/mac/html_wrap.cpp
Mention the SWIG_VERSION change
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
... / ...
CommitLineData
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
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
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);
26};
27#endif
28
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43#endif
44
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
96
97#include <Python.h>
98
99/***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109#define SWIG_RUNTIME_VERSION "2"
110
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116#else
117# define SWIG_TYPE_TABLE_NAME
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
128
129#ifndef SWIGRUNTIME
130# define SWIGRUNTIME SWIGINTERN
131#endif
132
133#ifndef SWIGRUNTIMEINLINE
134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135#endif
136
137#include <string.h>
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146/* Structure to store inforomation on one type */
147typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153} swig_type_info;
154
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216*/
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230}
231
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255/*
256 Check the typename
257*/
258SWIGRUNTIME swig_cast_info *
259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417}
418
419
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
505
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
518
519#ifdef __cplusplus
520}
521#endif
522
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527#ifdef __cplusplus
528extern "C" {
529#endif
530
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535#ifndef SWIGINTERN
536# define SWIGINTERN static SWIGUNUSED
537#endif
538
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541#endif
542
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
579
580
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588#ifdef __cplusplus
589}
590#endif
591
592
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
628
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
632
633
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
639#ifdef __cplusplus
640extern "C" {
641#endif
642
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
649
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
679
680/* Declarations for objects of type PySwigObject */
681
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684{
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693}
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
697{
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701}
702
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
705{
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709}
710
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
713{
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
736 return PySwigObject_format("%o",v);
737}
738
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
742 return PySwigObject_format("%x",v);
743}
744
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756}
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
761 PyObject_Del(self);
762}
763
764SWIGRUNTIME PyTypeObject*
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793#if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797#endif
798 };
799
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806#endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851#endif
852 return &pyswigobject_type;
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864}
865
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
883
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919}
920
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944}
945
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
950 PyObject_Del(self);
951}
952
953SWIGRUNTIME PyTypeObject*
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963#endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008#endif
1009 return &pyswigpacked_type;
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
1051
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
1105
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
1115
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
1140
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
1153
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
1211
1212type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
1263
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378#endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381}
1382
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412}
1413#endif
1414
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
1426
1427#ifdef __cplusplus
1428}
1429#endif
1430
1431
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
1434#define SWIGTYPE_p_bool swig_types[0]
1435#define SWIGTYPE_p_char swig_types[1]
1436#define SWIGTYPE_p_form_ops_t swig_types[2]
1437#define SWIGTYPE_p_int swig_types[3]
1438#define SWIGTYPE_p_unsigned_char swig_types[4]
1439#define SWIGTYPE_p_unsigned_int swig_types[5]
1440#define SWIGTYPE_p_unsigned_long swig_types[6]
1441#define SWIGTYPE_p_wxANIHandler swig_types[7]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445#define SWIGTYPE_p_wxBitmap swig_types[11]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447#define SWIGTYPE_p_wxCURHandler swig_types[13]
1448#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451#define SWIGTYPE_p_wxColour swig_types[17]
1452#define SWIGTYPE_p_wxColourData swig_types[18]
1453#define SWIGTYPE_p_wxColourDialog swig_types[19]
1454#define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455#define SWIGTYPE_p_wxConfigBase swig_types[21]
1456#define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
1457#define SWIGTYPE_p_wxControl swig_types[23]
1458#define SWIGTYPE_p_wxControlWithItems swig_types[24]
1459#define SWIGTYPE_p_wxCursor swig_types[25]
1460#define SWIGTYPE_p_wxDC swig_types[26]
1461#define SWIGTYPE_p_wxDateEvent swig_types[27]
1462#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
1463#define SWIGTYPE_p_wxDialog swig_types[29]
1464#define SWIGTYPE_p_wxDirDialog swig_types[30]
1465#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1466#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1467#define SWIGTYPE_p_wxDuplexMode swig_types[33]
1468#define SWIGTYPE_p_wxEraseEvent swig_types[34]
1469#define SWIGTYPE_p_wxEvent swig_types[35]
1470#define SWIGTYPE_p_wxEvtHandler swig_types[36]
1471#define SWIGTYPE_p_wxFSFile swig_types[37]
1472#define SWIGTYPE_p_wxFileDialog swig_types[38]
1473#define SWIGTYPE_p_wxFileSystem swig_types[39]
1474#define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
1475#define SWIGTYPE_p_wxFindReplaceData swig_types[41]
1476#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
1477#define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
1478#define SWIGTYPE_p_wxFocusEvent swig_types[44]
1479#define SWIGTYPE_p_wxFont swig_types[45]
1480#define SWIGTYPE_p_wxFontData swig_types[46]
1481#define SWIGTYPE_p_wxFontDialog swig_types[47]
1482#define SWIGTYPE_p_wxFrame swig_types[48]
1483#define SWIGTYPE_p_wxGBSizerItem swig_types[49]
1484#define SWIGTYPE_p_wxGIFHandler swig_types[50]
1485#define SWIGTYPE_p_wxGridBagSizer swig_types[51]
1486#define SWIGTYPE_p_wxGridSizer swig_types[52]
1487#define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
1488#define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
1489#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
1490#define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
1491#define SWIGTYPE_p_wxHtmlCell swig_types[57]
1492#define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
1493#define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
1494#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
1495#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
1496#define SWIGTYPE_p_wxHtmlFilter swig_types[62]
1497#define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
1498#define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
1499#define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
1500#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
1501#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
1502#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
1503#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
1504#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
1505#define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
1506#define SWIGTYPE_p_wxHtmlParser swig_types[72]
1507#define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
1508#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
1509#define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
1510#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
1511#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
1512#define SWIGTYPE_p_wxHtmlSelection swig_types[78]
1513#define SWIGTYPE_p_wxHtmlTag swig_types[79]
1514#define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
1515#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
1516#define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
1517#define SWIGTYPE_p_wxHtmlWindow swig_types[83]
1518#define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
1519#define SWIGTYPE_p_wxHtmlWordCell swig_types[85]
1520#define SWIGTYPE_p_wxICOHandler swig_types[86]
1521#define SWIGTYPE_p_wxIconizeEvent swig_types[87]
1522#define SWIGTYPE_p_wxIdleEvent swig_types[88]
1523#define SWIGTYPE_p_wxImage swig_types[89]
1524#define SWIGTYPE_p_wxImageHandler swig_types[90]
1525#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
1526#define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
1527#define SWIGTYPE_p_wxJPEGHandler swig_types[93]
1528#define SWIGTYPE_p_wxKeyEvent swig_types[94]
1529#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95]
1530#define SWIGTYPE_p_wxLayoutConstraints swig_types[96]
1531#define SWIGTYPE_p_wxMDIChildFrame swig_types[97]
1532#define SWIGTYPE_p_wxMDIClientWindow swig_types[98]
1533#define SWIGTYPE_p_wxMDIParentFrame swig_types[99]
1534#define SWIGTYPE_p_wxMaximizeEvent swig_types[100]
1535#define SWIGTYPE_p_wxMenu swig_types[101]
1536#define SWIGTYPE_p_wxMenuBar swig_types[102]
1537#define SWIGTYPE_p_wxMenuEvent swig_types[103]
1538#define SWIGTYPE_p_wxMenuItem swig_types[104]
1539#define SWIGTYPE_p_wxMessageDialog swig_types[105]
1540#define SWIGTYPE_p_wxMiniFrame swig_types[106]
1541#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107]
1542#define SWIGTYPE_p_wxMouseEvent swig_types[108]
1543#define SWIGTYPE_p_wxMoveEvent swig_types[109]
1544#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110]
1545#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111]
1546#define SWIGTYPE_p_wxNcPaintEvent swig_types[112]
1547#define SWIGTYPE_p_wxNotifyEvent swig_types[113]
1548#define SWIGTYPE_p_wxObject swig_types[114]
1549#define SWIGTYPE_p_wxPCXHandler swig_types[115]
1550#define SWIGTYPE_p_wxPNGHandler swig_types[116]
1551#define SWIGTYPE_p_wxPNMHandler swig_types[117]
1552#define SWIGTYPE_p_wxPageSetupDialog swig_types[118]
1553#define SWIGTYPE_p_wxPageSetupDialogData swig_types[119]
1554#define SWIGTYPE_p_wxPaintEvent swig_types[120]
1555#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121]
1556#define SWIGTYPE_p_wxPanel swig_types[122]
1557#define SWIGTYPE_p_wxPaperSize swig_types[123]
1558#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124]
1559#define SWIGTYPE_p_wxPoint swig_types[125]
1560#define SWIGTYPE_p_wxPopupWindow swig_types[126]
1561#define SWIGTYPE_p_wxPreviewCanvas swig_types[127]
1562#define SWIGTYPE_p_wxPreviewControlBar swig_types[128]
1563#define SWIGTYPE_p_wxPreviewFrame swig_types[129]
1564#define SWIGTYPE_p_wxPrintData swig_types[130]
1565#define SWIGTYPE_p_wxPrintDialog swig_types[131]
1566#define SWIGTYPE_p_wxPrintDialogData swig_types[132]
1567#define SWIGTYPE_p_wxPrintPreview swig_types[133]
1568#define SWIGTYPE_p_wxPrinter swig_types[134]
1569#define SWIGTYPE_p_wxProgressDialog swig_types[135]
1570#define SWIGTYPE_p_wxPyApp swig_types[136]
1571#define SWIGTYPE_p_wxPyCommandEvent swig_types[137]
1572#define SWIGTYPE_p_wxPyEvent swig_types[138]
1573#define SWIGTYPE_p_wxPyHtmlFilter swig_types[139]
1574#define SWIGTYPE_p_wxPyHtmlListBox swig_types[140]
1575#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141]
1576#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142]
1577#define SWIGTYPE_p_wxPyHtmlWindow swig_types[143]
1578#define SWIGTYPE_p_wxPyImageHandler swig_types[144]
1579#define SWIGTYPE_p_wxPyPanel swig_types[145]
1580#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146]
1581#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147]
1582#define SWIGTYPE_p_wxPyPreviewFrame swig_types[148]
1583#define SWIGTYPE_p_wxPyPrintPreview swig_types[149]
1584#define SWIGTYPE_p_wxPyPrintout swig_types[150]
1585#define SWIGTYPE_p_wxPyScrolledWindow swig_types[151]
1586#define SWIGTYPE_p_wxPySizer swig_types[152]
1587#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153]
1588#define SWIGTYPE_p_wxPyVListBox swig_types[154]
1589#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155]
1590#define SWIGTYPE_p_wxPyValidator swig_types[156]
1591#define SWIGTYPE_p_wxPyWindow swig_types[157]
1592#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158]
1593#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159]
1594#define SWIGTYPE_p_wxSashEvent swig_types[160]
1595#define SWIGTYPE_p_wxSashLayoutWindow swig_types[161]
1596#define SWIGTYPE_p_wxSashWindow swig_types[162]
1597#define SWIGTYPE_p_wxScrollEvent swig_types[163]
1598#define SWIGTYPE_p_wxScrollWinEvent swig_types[164]
1599#define SWIGTYPE_p_wxScrolledWindow swig_types[165]
1600#define SWIGTYPE_p_wxSetCursorEvent swig_types[166]
1601#define SWIGTYPE_p_wxShowEvent swig_types[167]
1602#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168]
1603#define SWIGTYPE_p_wxSize swig_types[169]
1604#define SWIGTYPE_p_wxSizeEvent swig_types[170]
1605#define SWIGTYPE_p_wxSizer swig_types[171]
1606#define SWIGTYPE_p_wxSizerItem swig_types[172]
1607#define SWIGTYPE_p_wxSplashScreen swig_types[173]
1608#define SWIGTYPE_p_wxSplashScreenWindow swig_types[174]
1609#define SWIGTYPE_p_wxSplitterEvent swig_types[175]
1610#define SWIGTYPE_p_wxSplitterWindow swig_types[176]
1611#define SWIGTYPE_p_wxStaticBoxSizer swig_types[177]
1612#define SWIGTYPE_p_wxStatusBar swig_types[178]
1613#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179]
1614#define SWIGTYPE_p_wxString swig_types[180]
1615#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181]
1616#define SWIGTYPE_p_wxTIFFHandler swig_types[182]
1617#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183]
1618#define SWIGTYPE_p_wxTextEntryDialog swig_types[184]
1619#define SWIGTYPE_p_wxTipWindow swig_types[185]
1620#define SWIGTYPE_p_wxTopLevelWindow swig_types[186]
1621#define SWIGTYPE_p_wxTreeCtrl swig_types[187]
1622#define SWIGTYPE_p_wxUpdateUIEvent swig_types[188]
1623#define SWIGTYPE_p_wxValidator swig_types[189]
1624#define SWIGTYPE_p_wxVisualAttributes swig_types[190]
1625#define SWIGTYPE_p_wxWindow swig_types[191]
1626#define SWIGTYPE_p_wxWindowCreateEvent swig_types[192]
1627#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193]
1628#define SWIGTYPE_p_wxXPMHandler swig_types[194]
1629#define SWIGTYPE_ptrdiff_t swig_types[195]
1630#define SWIGTYPE_std__ptrdiff_t swig_types[196]
1631#define SWIGTYPE_unsigned_int swig_types[197]
1632static swig_type_info *swig_types[199];
1633static swig_module_info swig_module = {swig_types, 198, 0, 0, 0, 0};
1634#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1635#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1636
1637/* -------- TYPES TABLE (END) -------- */
1638
1639
1640/*-----------------------------------------------
1641 @(target):= _html.so
1642 ------------------------------------------------*/
1643#define SWIG_init init_html
1644
1645#define SWIG_name "_html"
1646
1647#include "wx/wxPython/wxPython.h"
1648#include "wx/wxPython/pyclasses.h"
1649#include "wx/wxPython/pyistream.h"
1650#include "wx/wxPython/printfw.h"
1651
1652#include <wx/html/htmlwin.h>
1653#include <wx/html/htmprint.h>
1654#include <wx/html/helpctrl.h>
1655#include <wx/html/helpwnd.h>
1656#include <wx/html/helpfrm.h>
1657#include <wx/html/helpdlg.h>
1658
1659
1660 static const wxString wxPyEmptyString(wxEmptyString);
1661 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1662 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1663 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
1664
1665 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1666#define SWIG_From_int PyInt_FromLong
1667/*@@*/
1668
1669
1670#include <limits.h>
1671
1672
1673SWIGINTERN int
1674 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1675 const char *errmsg)
1676{
1677 if (value < min_value) {
1678 if (errmsg) {
1679 PyErr_Format(PyExc_OverflowError,
1680 "value %ld is less than '%s' minimum %ld",
1681 value, errmsg, min_value);
1682 }
1683 return 0;
1684 } else if (value > max_value) {
1685 if (errmsg) {
1686 PyErr_Format(PyExc_OverflowError,
1687 "value %ld is greater than '%s' maximum %ld",
1688 value, errmsg, max_value);
1689 }
1690 return 0;
1691 }
1692 return 1;
1693}
1694
1695
1696SWIGINTERN int
1697SWIG_AsVal_long(PyObject* obj, long* val)
1698{
1699 if (PyNumber_Check(obj)) {
1700 if (val) *val = PyInt_AsLong(obj);
1701 return 1;
1702 }
1703 else {
1704 SWIG_type_error("number", obj);
1705 }
1706 return 0;
1707}
1708
1709
1710#if INT_MAX != LONG_MAX
1711SWIGINTERN int
1712 SWIG_AsVal_int(PyObject *obj, int *val)
1713{
1714 const char* errmsg = val ? "int" : (char*)0;
1715 long v;
1716 if (SWIG_AsVal_long(obj, &v)) {
1717 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1718 if (val) *val = static_cast<int >(v);
1719 return 1;
1720 } else {
1721 return 0;
1722 }
1723 } else {
1724 PyErr_Clear();
1725 }
1726 if (val) {
1727 SWIG_type_error(errmsg, obj);
1728 }
1729 return 0;
1730}
1731#else
1732SWIGINTERNINLINE int
1733 SWIG_AsVal_int(PyObject *obj, int *val)
1734{
1735 return SWIG_AsVal_long(obj,(long*)val);
1736}
1737#endif
1738
1739
1740SWIGINTERNINLINE int
1741SWIG_As_int(PyObject* obj)
1742{
1743 int v;
1744 if (!SWIG_AsVal_int(obj, &v)) {
1745 /*
1746 this is needed to make valgrind/purify happier.
1747 */
1748 memset((void*)&v, 0, sizeof(int));
1749 }
1750 return v;
1751}
1752
1753
1754SWIGINTERNINLINE int
1755SWIG_Check_int(PyObject* obj)
1756{
1757 return SWIG_AsVal_int(obj, (int*)0);
1758}
1759
1760static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
1761 int* temp = NULL;
1762 if (sizes) temp = int_LIST_helper(sizes);
1763 self->SetFonts(normal_face, fixed_face, temp);
1764 if (temp)
1765 delete [] temp;
1766 }
1767
1768class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1769 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
1770public:
1771 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1772
1773 wxHtmlParser* GetParser() { return m_Parser; }
1774 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1775
1776 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1777 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1778
1779 PYPRIVATE;
1780};
1781
1782IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1783
1784IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1785IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1786
1787
1788class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1789 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
1790public:
1791 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1792
1793 wxHtmlWinParser* GetParser() { return m_WParser; }
1794 void ParseInner(const wxHtmlTag& tag)
1795 { wxHtmlWinTagHandler::ParseInner(tag); }
1796
1797 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1798 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1799
1800 PYPRIVATE;
1801};
1802
1803IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1804
1805IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1806IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1807
1808
1809
1810class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1811public:
1812 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1813 m_tagHandlerClass = thc;
1814 Py_INCREF(m_tagHandlerClass);
1815 RegisterModule(this);
1816 wxHtmlWinParser::AddModule(this);
1817 }
1818
1819 void OnExit() {
1820 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1821 Py_DECREF(m_tagHandlerClass);
1822 m_tagHandlerClass = NULL;
1823 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1824 PyObject* obj = (PyObject*)m_objArray.Item(x);
1825 Py_DECREF(obj);
1826 }
1827 wxPyEndBlockThreads(blocked);
1828 };
1829
1830 void FillHandlersTable(wxHtmlWinParser *parser) {
1831 // Wave our magic wand... (if it works it's a miracle! ;-)
1832
1833 // First, make a new instance of the tag handler
1834 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1835 PyObject* arg = PyTuple_New(0);
1836 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
1837 Py_DECREF(arg);
1838
1839 // now figure out where it's C++ object is...
1840 wxPyHtmlWinTagHandler* thPtr;
1841 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
1842 wxPyEndBlockThreads(blocked);
1843 return;
1844 }
1845 wxPyEndBlockThreads(blocked);
1846
1847 // add it,
1848 parser->AddTagHandler(thPtr);
1849
1850 // and track it.
1851 m_objArray.Add(obj);
1852 }
1853
1854private:
1855 PyObject* m_tagHandlerClass;
1856 wxArrayPtrVoid m_objArray;
1857
1858};
1859
1860
1861 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1862 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1863 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1864 new wxPyHtmlTagsModule(tagHandlerClass);
1865 }
1866
1867
1868SWIGINTERNINLINE PyObject*
1869 SWIG_From_bool(bool value)
1870{
1871 PyObject *obj = value ? Py_True : Py_False;
1872 Py_INCREF(obj);
1873 return obj;
1874}
1875
1876
1877 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1878 PyObject* o2;
1879 PyObject* o3;
1880
1881 if (!target) {
1882 target = o;
1883 } else if (target == Py_None) {
1884 Py_DECREF(Py_None);
1885 target = o;
1886 } else {
1887 if (!PyTuple_Check(target)) {
1888 o2 = target;
1889 target = PyTuple_New(1);
1890 PyTuple_SetItem(target, 0, o2);
1891 }
1892 o3 = PyTuple_New(1);
1893 PyTuple_SetItem(o3, 0, o);
1894
1895 o2 = target;
1896 target = PySequence_Concat(o2, o3);
1897 Py_DECREF(o2);
1898 Py_DECREF(o3);
1899 }
1900 return target;
1901 }
1902
1903
1904
1905SWIGINTERN int
1906 SWIG_AsVal_bool(PyObject *obj, bool *val)
1907{
1908 if (obj == Py_True) {
1909 if (val) *val = true;
1910 return 1;
1911 }
1912 if (obj == Py_False) {
1913 if (val) *val = false;
1914 return 1;
1915 }
1916 int res = 0;
1917 if (SWIG_AsVal_int(obj, &res)) {
1918 if (val) *val = res ? true : false;
1919 return 1;
1920 } else {
1921 PyErr_Clear();
1922 }
1923 if (val) {
1924 SWIG_type_error("bool", obj);
1925 }
1926 return 0;
1927}
1928
1929
1930SWIGINTERNINLINE bool
1931SWIG_As_bool(PyObject* obj)
1932{
1933 bool v;
1934 if (!SWIG_AsVal_bool(obj, &v)) {
1935 /*
1936 this is needed to make valgrind/purify happier.
1937 */
1938 memset((void*)&v, 0, sizeof(bool));
1939 }
1940 return v;
1941}
1942
1943
1944SWIGINTERNINLINE int
1945SWIG_Check_bool(PyObject* obj)
1946{
1947 return SWIG_AsVal_bool(obj, (bool*)0);
1948}
1949
1950
1951SWIGINTERNINLINE int
1952 SWIG_CheckUnsignedLongInRange(unsigned long value,
1953 unsigned long max_value,
1954 const char *errmsg)
1955{
1956 if (value > max_value) {
1957 if (errmsg) {
1958 PyErr_Format(PyExc_OverflowError,
1959 "value %lu is greater than '%s' minimum %lu",
1960 value, errmsg, max_value);
1961 }
1962 return 0;
1963 }
1964 return 1;
1965 }
1966
1967
1968SWIGINTERN int
1969SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1970{
1971 long v = 0;
1972 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1973 SWIG_type_error("unsigned number", obj);
1974 }
1975 else if (val)
1976 *val = (unsigned long)v;
1977 return 1;
1978}
1979
1980
1981#if UINT_MAX != ULONG_MAX
1982SWIGINTERN int
1983 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1984{
1985 const char* errmsg = val ? "unsigned int" : (char*)0;
1986 unsigned long v;
1987 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1988 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1989 if (val) *val = static_cast<unsigned int >(v);
1990 return 1;
1991 }
1992 } else {
1993 PyErr_Clear();
1994 }
1995 if (val) {
1996 SWIG_type_error(errmsg, obj);
1997 }
1998 return 0;
1999}
2000#else
2001SWIGINTERNINLINE unsigned int
2002 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2003{
2004 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2005}
2006#endif
2007
2008
2009SWIGINTERNINLINE unsigned int
2010SWIG_As_unsigned_SS_int(PyObject* obj)
2011{
2012 unsigned int v;
2013 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2014 /*
2015 this is needed to make valgrind/purify happier.
2016 */
2017 memset((void*)&v, 0, sizeof(unsigned int));
2018 }
2019 return v;
2020}
2021
2022
2023SWIGINTERNINLINE int
2024SWIG_Check_unsigned_SS_int(PyObject* obj)
2025{
2026 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2027}
2028
2029
2030 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2031#define SWIG_From_long PyInt_FromLong
2032/*@@*/
2033
2034
2035SWIGINTERNINLINE PyObject*
2036 SWIG_From_unsigned_SS_long(unsigned long value)
2037{
2038 return (value > LONG_MAX) ?
2039 PyLong_FromUnsignedLong(value)
2040 : PyInt_FromLong(static_cast<long >(value));
2041}
2042
2043
2044#if UINT_MAX < LONG_MAX
2045/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2046#define SWIG_From_unsigned_SS_int SWIG_From_long
2047/*@@*/
2048#else
2049/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2050#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2051/*@@*/
2052#endif
2053
2054 // here's the C++ version
2055class wxPyHtmlFilter : public wxHtmlFilter {
2056 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
2057public:
2058 wxPyHtmlFilter() : wxHtmlFilter() {}
2059
2060 // returns True if this filter is able to open&read given file
2061 virtual bool CanRead(const wxFSFile& file) const {
2062 bool rval = false;
2063 bool found;
2064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2065 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
2066 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
2067 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2068 Py_DECREF(obj);
2069 }
2070 wxPyEndBlockThreads(blocked);
2071 return rval;
2072 }
2073
2074
2075 // Reads given file and returns HTML document.
2076 // Returns empty string if opening failed
2077 virtual wxString ReadFile(const wxFSFile& file) const {
2078 wxString rval;
2079 bool found;
2080 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2081 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
2082 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
2083 PyObject* ro;
2084 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
2085 Py_DECREF(obj);
2086 if (ro) {
2087 rval = Py2wxString(ro);
2088 Py_DECREF(ro);
2089 }
2090 }
2091 wxPyEndBlockThreads(blocked);
2092 return rval;
2093 }
2094
2095 PYPRIVATE;
2096};
2097
2098IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
2099
2100
2101class wxPyHtmlWindow : public wxHtmlWindow {
2102 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
2103public:
2104 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
2105 const wxPoint& pos = wxDefaultPosition,
2106 const wxSize& size = wxDefaultSize,
2107 long style = wxHW_DEFAULT_STYLE,
2108 const wxString& name = wxPyHtmlWindowNameStr)
2109 : wxHtmlWindow(parent, id, pos, size, style, name) {};
2110 wxPyHtmlWindow() : wxHtmlWindow() {};
2111
2112 bool ScrollToAnchor(const wxString& anchor) {
2113 return wxHtmlWindow::ScrollToAnchor(anchor);
2114 }
2115
2116 bool HasAnchor(const wxString& anchor) {
2117 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
2118 return c!=NULL;
2119 }
2120
2121 void OnLinkClicked(const wxHtmlLinkInfo& link);
2122 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
2123
2124 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
2125 const wxString& url,
2126 wxString *redirect) const;
2127
2128 DEC_PYCALLBACK__STRING(OnSetTitle);
2129 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
2130 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
2131 PYPRIVATE;
2132};
2133
2134IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
2135IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
2136IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
2137IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
2138
2139
2140void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
2141 bool found;
2142 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2143 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
2144 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
2145 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2146 Py_DECREF(obj);
2147 }
2148 wxPyEndBlockThreads(blocked);
2149 if (! found)
2150 wxHtmlWindow::OnLinkClicked(link);
2151}
2152void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
2153 wxHtmlWindow::OnLinkClicked(link);
2154}
2155
2156
2157wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
2158 const wxString& url,
2159 wxString *redirect) const {
2160 bool found;
2161 wxHtmlOpeningStatus rval;
2162 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2163 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
2164 PyObject* ro;
2165 PyObject* s = wx2PyString(url);
2166 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
2167 Py_DECREF(s);
2168 if (PyString_Check(ro)
2169#if PYTHON_API_VERSION >= 1009
2170 || PyUnicode_Check(ro)
2171#endif
2172 ) {
2173 *redirect = Py2wxString(ro);
2174 rval = wxHTML_REDIRECT;
2175 }
2176 else {
2177 PyObject* num = PyNumber_Int(ro);
2178 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
2179 Py_DECREF(num);
2180 }
2181 Py_DECREF(ro);
2182 }
2183 wxPyEndBlockThreads(blocked);
2184 if (! found)
2185 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
2186 return rval;
2187}
2188
2189
2190
2191static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2192 int* temp = NULL;
2193 if (sizes) temp = int_LIST_helper(sizes);
2194 self->SetFonts(normal_face, fixed_face, temp);
2195 if (temp)
2196 delete [] temp;
2197 }
2198static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2199 int* temp = NULL;
2200 if (sizes) temp = int_LIST_helper(sizes);
2201 self->SetFonts(normal_face, fixed_face, temp);
2202 if (temp)
2203 delete [] temp;
2204 }
2205static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2206 int* temp = NULL;
2207 if (sizes) temp = int_LIST_helper(sizes);
2208 self->SetFonts(normal_face, fixed_face, temp);
2209 if (temp)
2210 delete [] temp;
2211 }
2212
2213#include <float.h>
2214SWIGINTERN int
2215 SWIG_CheckDoubleInRange(double value, double min_value,
2216 double max_value, const char* errmsg)
2217{
2218 if (value < min_value) {
2219 if (errmsg) {
2220 PyErr_Format(PyExc_OverflowError,
2221 "value %g is less than %s minimum %g",
2222 value, errmsg, min_value);
2223 }
2224 return 0;
2225 } else if (value > max_value) {
2226 if (errmsg) {
2227 PyErr_Format(PyExc_OverflowError,
2228 "value %g is greater than %s maximum %g",
2229 value, errmsg, max_value);
2230 }
2231 return 0;
2232 }
2233 return 1;
2234}
2235
2236
2237SWIGINTERN int
2238SWIG_AsVal_double(PyObject *obj, double* val)
2239{
2240 if (PyNumber_Check(obj)) {
2241 if (val) *val = PyFloat_AsDouble(obj);
2242 return 1;
2243 }
2244 else {
2245 SWIG_type_error("number", obj);
2246 }
2247 return 0;
2248}
2249
2250
2251SWIGINTERN int
2252 SWIG_AsVal_float(PyObject *obj, float *val)
2253{
2254 const char* errmsg = val ? "float" : (char*)0;
2255 double v;
2256 if (SWIG_AsVal_double(obj, &v)) {
2257 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2258 if (val) *val = static_cast<float >(v);
2259 return 1;
2260 } else {
2261 return 0;
2262 }
2263 } else {
2264 PyErr_Clear();
2265 }
2266 if (val) {
2267 SWIG_type_error(errmsg, obj);
2268 }
2269 return 0;
2270}
2271
2272
2273SWIGINTERNINLINE float
2274SWIG_As_float(PyObject* obj)
2275{
2276 float v;
2277 if (!SWIG_AsVal_float(obj, &v)) {
2278 /*
2279 this is needed to make valgrind/purify happier.
2280 */
2281 memset((void*)&v, 0, sizeof(float));
2282 }
2283 return v;
2284}
2285
2286
2287SWIGINTERNINLINE int
2288SWIG_Check_float(PyObject* obj)
2289{
2290 return SWIG_AsVal_float(obj, (float*)0);
2291}
2292
2293static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2294 int* temp = NULL;
2295 if (sizes) temp = int_LIST_helper(sizes);
2296 self->SetFonts(normal_face, fixed_face, temp);
2297 if (temp)
2298 delete [] temp;
2299 }
2300
2301SWIGINTERNINLINE long
2302SWIG_As_long(PyObject* obj)
2303{
2304 long v;
2305 if (!SWIG_AsVal_long(obj, &v)) {
2306 /*
2307 this is needed to make valgrind/purify happier.
2308 */
2309 memset((void*)&v, 0, sizeof(long));
2310 }
2311 return v;
2312}
2313
2314
2315SWIGINTERNINLINE int
2316SWIG_Check_long(PyObject* obj)
2317{
2318 return SWIG_AsVal_long(obj, (long*)0);
2319}
2320
2321#ifdef __cplusplus
2322extern "C" {
2323#endif
2324static int _wrap_HtmlWindowNameStr_set(PyObject *) {
2325 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2326 return 1;
2327}
2328
2329
2330static PyObject *_wrap_HtmlWindowNameStr_get(void) {
2331 PyObject *pyobj = NULL;
2332
2333 {
2334#if wxUSE_UNICODE
2335 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2336#else
2337 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2338#endif
2339 }
2340 return pyobj;
2341}
2342
2343
2344static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
2345 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2346 return 1;
2347}
2348
2349
2350static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
2351 PyObject *pyobj = NULL;
2352
2353 {
2354#if wxUSE_UNICODE
2355 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2356#else
2357 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2358#endif
2359 }
2360 return pyobj;
2361}
2362
2363
2364static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
2365 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2366 return 1;
2367}
2368
2369
2370static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
2371 PyObject *pyobj = NULL;
2372
2373 {
2374#if wxUSE_UNICODE
2375 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2376#else
2377 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2378#endif
2379 }
2380 return pyobj;
2381}
2382
2383
2384static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2385 PyObject *resultobj = NULL;
2386 wxString *arg1 = 0 ;
2387 wxString const &arg2_defvalue = wxPyEmptyString ;
2388 wxString *arg2 = (wxString *) &arg2_defvalue ;
2389 wxHtmlLinkInfo *result;
2390 bool temp1 = false ;
2391 bool temp2 = false ;
2392 PyObject * obj0 = 0 ;
2393 PyObject * obj1 = 0 ;
2394 char *kwnames[] = {
2395 (char *) "href",(char *) "target", NULL
2396 };
2397
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2399 {
2400 arg1 = wxString_in_helper(obj0);
2401 if (arg1 == NULL) SWIG_fail;
2402 temp1 = true;
2403 }
2404 if (obj1) {
2405 {
2406 arg2 = wxString_in_helper(obj1);
2407 if (arg2 == NULL) SWIG_fail;
2408 temp2 = true;
2409 }
2410 }
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2419 {
2420 if (temp1)
2421 delete arg1;
2422 }
2423 {
2424 if (temp2)
2425 delete arg2;
2426 }
2427 return resultobj;
2428 fail:
2429 {
2430 if (temp1)
2431 delete arg1;
2432 }
2433 {
2434 if (temp2)
2435 delete arg2;
2436 }
2437 return NULL;
2438}
2439
2440
2441static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj = NULL;
2443 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2444 wxString result;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
2451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2452 if (SWIG_arg_fail(1)) SWIG_fail;
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = (arg1)->GetHref();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461#if wxUSE_UNICODE
2462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2463#else
2464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2465#endif
2466 }
2467 return resultobj;
2468 fail:
2469 return NULL;
2470}
2471
2472
2473static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj = NULL;
2475 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2476 wxString result;
2477 PyObject * obj0 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
2483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2484 if (SWIG_arg_fail(1)) SWIG_fail;
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 result = (arg1)->GetTarget();
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493#if wxUSE_UNICODE
2494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2495#else
2496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2497#endif
2498 }
2499 return resultobj;
2500 fail:
2501 return NULL;
2502}
2503
2504
2505static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2506 PyObject *resultobj = NULL;
2507 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2508 wxMouseEvent *result;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
2515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2516 if (SWIG_arg_fail(1)) SWIG_fail;
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 result = (wxMouseEvent *)(arg1)->GetEvent();
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 {
2525 resultobj = wxPyMake_wxObject(result, 0);
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530}
2531
2532
2533static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2534 PyObject *resultobj = NULL;
2535 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2536 wxHtmlCell *result;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
2543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2544 if (SWIG_arg_fail(1)) SWIG_fail;
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
2553 return resultobj;
2554 fail:
2555 return NULL;
2556}
2557
2558
2559static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2560 PyObject *resultobj = NULL;
2561 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2562 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "e", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
2570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2571 if (SWIG_arg_fail(1)) SWIG_fail;
2572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2573 if (SWIG_arg_fail(2)) SWIG_fail;
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
2581 Py_INCREF(Py_None); resultobj = Py_None;
2582 return resultobj;
2583 fail:
2584 return NULL;
2585}
2586
2587
2588static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2589 PyObject *resultobj = NULL;
2590 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2591 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2592 PyObject * obj0 = 0 ;
2593 PyObject * obj1 = 0 ;
2594 char *kwnames[] = {
2595 (char *) "self",(char *) "e", NULL
2596 };
2597
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
2599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2600 if (SWIG_arg_fail(1)) SWIG_fail;
2601 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2602 if (SWIG_arg_fail(2)) SWIG_fail;
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614}
2615
2616
2617static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
2618 PyObject *obj;
2619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2621 Py_INCREF(obj);
2622 return Py_BuildValue((char *)"");
2623}
2624static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj = NULL;
2626 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2627 wxString result;
2628 PyObject * obj0 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
2634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2635 if (SWIG_arg_fail(1)) SWIG_fail;
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 result = (arg1)->GetName();
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 {
2644#if wxUSE_UNICODE
2645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2646#else
2647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2648#endif
2649 }
2650 return resultobj;
2651 fail:
2652 return NULL;
2653}
2654
2655
2656static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
2657 PyObject *resultobj = NULL;
2658 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2659 wxString *arg2 = 0 ;
2660 bool result;
2661 bool temp2 = false ;
2662 PyObject * obj0 = 0 ;
2663 PyObject * obj1 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "self",(char *) "par", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
2669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2670 if (SWIG_arg_fail(1)) SWIG_fail;
2671 {
2672 arg2 = wxString_in_helper(obj1);
2673 if (arg2 == NULL) SWIG_fail;
2674 temp2 = true;
2675 }
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
2683 {
2684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2685 }
2686 {
2687 if (temp2)
2688 delete arg2;
2689 }
2690 return resultobj;
2691 fail:
2692 {
2693 if (temp2)
2694 delete arg2;
2695 }
2696 return NULL;
2697}
2698
2699
2700static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj = NULL;
2702 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2703 wxString *arg2 = 0 ;
2704 int arg3 = (int) false ;
2705 wxString result;
2706 bool temp2 = false ;
2707 PyObject * obj0 = 0 ;
2708 PyObject * obj1 = 0 ;
2709 PyObject * obj2 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
2715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2716 if (SWIG_arg_fail(1)) SWIG_fail;
2717 {
2718 arg2 = wxString_in_helper(obj1);
2719 if (arg2 == NULL) SWIG_fail;
2720 temp2 = true;
2721 }
2722 if (obj2) {
2723 {
2724 arg3 = static_cast<int >(SWIG_As_int(obj2));
2725 if (SWIG_arg_fail(3)) SWIG_fail;
2726 }
2727 }
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
2735 {
2736#if wxUSE_UNICODE
2737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2738#else
2739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2740#endif
2741 }
2742 {
2743 if (temp2)
2744 delete arg2;
2745 }
2746 return resultobj;
2747 fail:
2748 {
2749 if (temp2)
2750 delete arg2;
2751 }
2752 return NULL;
2753}
2754
2755
2756static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj = NULL;
2758 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2759 wxString result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
2766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2767 if (SWIG_arg_fail(1)) SWIG_fail;
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 result = (arg1)->GetAllParams();
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 {
2776#if wxUSE_UNICODE
2777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2778#else
2779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2780#endif
2781 }
2782 return resultobj;
2783 fail:
2784 return NULL;
2785}
2786
2787
2788static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj = NULL;
2790 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2791 bool result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
2798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2799 if (SWIG_arg_fail(1)) SWIG_fail;
2800 {
2801 PyThreadState* __tstate = wxPyBeginAllowThreads();
2802 result = (bool)(arg1)->HasEnding();
2803
2804 wxPyEndAllowThreads(__tstate);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
2807 {
2808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2809 }
2810 return resultobj;
2811 fail:
2812 return NULL;
2813}
2814
2815
2816static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj = NULL;
2818 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2819 int result;
2820 PyObject * obj0 = 0 ;
2821 char *kwnames[] = {
2822 (char *) "self", NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
2826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2827 if (SWIG_arg_fail(1)) SWIG_fail;
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = (int)(arg1)->GetBeginPos();
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 {
2836 resultobj = SWIG_From_int(static_cast<int >(result));
2837 }
2838 return resultobj;
2839 fail:
2840 return NULL;
2841}
2842
2843
2844static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
2845 PyObject *resultobj = NULL;
2846 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2847 int result;
2848 PyObject * obj0 = 0 ;
2849 char *kwnames[] = {
2850 (char *) "self", NULL
2851 };
2852
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
2854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2855 if (SWIG_arg_fail(1)) SWIG_fail;
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 result = (int)(arg1)->GetEndPos1();
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 {
2864 resultobj = SWIG_From_int(static_cast<int >(result));
2865 }
2866 return resultobj;
2867 fail:
2868 return NULL;
2869}
2870
2871
2872static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
2873 PyObject *resultobj = NULL;
2874 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2875 int result;
2876 PyObject * obj0 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
2882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2883 if (SWIG_arg_fail(1)) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 result = (int)(arg1)->GetEndPos2();
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 {
2892 resultobj = SWIG_From_int(static_cast<int >(result));
2893 }
2894 return resultobj;
2895 fail:
2896 return NULL;
2897}
2898
2899
2900static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
2901 PyObject *obj;
2902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2903 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2904 Py_INCREF(obj);
2905 return Py_BuildValue((char *)"");
2906}
2907static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj = NULL;
2909 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2910 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2911 PyObject * obj0 = 0 ;
2912 PyObject * obj1 = 0 ;
2913 char *kwnames[] = {
2914 (char *) "self",(char *) "fs", NULL
2915 };
2916
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
2918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail;
2920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2921 if (SWIG_arg_fail(2)) SWIG_fail;
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 (arg1)->SetFS(arg2);
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 Py_INCREF(Py_None); resultobj = Py_None;
2930 return resultobj;
2931 fail:
2932 return NULL;
2933}
2934
2935
2936static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2937 PyObject *resultobj = NULL;
2938 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2939 wxFileSystem *result;
2940 PyObject * obj0 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
2946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2947 if (SWIG_arg_fail(1)) SWIG_fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = (wxFileSystem *)(arg1)->GetFS();
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 resultobj = wxPyMake_wxObject(result, 0);
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
2964static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj = NULL;
2966 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2967 wxString *arg2 = 0 ;
2968 wxObject *result;
2969 bool temp2 = false ;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "source", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
2977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2978 if (SWIG_arg_fail(1)) SWIG_fail;
2979 {
2980 arg2 = wxString_in_helper(obj1);
2981 if (arg2 == NULL) SWIG_fail;
2982 temp2 = true;
2983 }
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
2991 {
2992 resultobj = wxPyMake_wxObject(result, 0);
2993 }
2994 {
2995 if (temp2)
2996 delete arg2;
2997 }
2998 return resultobj;
2999 fail:
3000 {
3001 if (temp2)
3002 delete arg2;
3003 }
3004 return NULL;
3005}
3006
3007
3008static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
3009 PyObject *resultobj = NULL;
3010 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3011 wxString *arg2 = 0 ;
3012 bool temp2 = false ;
3013 PyObject * obj0 = 0 ;
3014 PyObject * obj1 = 0 ;
3015 char *kwnames[] = {
3016 (char *) "self",(char *) "source", NULL
3017 };
3018
3019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
3020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3021 if (SWIG_arg_fail(1)) SWIG_fail;
3022 {
3023 arg2 = wxString_in_helper(obj1);
3024 if (arg2 == NULL) SWIG_fail;
3025 temp2 = true;
3026 }
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 (arg1)->InitParser((wxString const &)*arg2);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 Py_INCREF(Py_None); resultobj = Py_None;
3035 {
3036 if (temp2)
3037 delete arg2;
3038 }
3039 return resultobj;
3040 fail:
3041 {
3042 if (temp2)
3043 delete arg2;
3044 }
3045 return NULL;
3046}
3047
3048
3049static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj = NULL;
3051 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3052 PyObject * obj0 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
3058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail;
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->DoneParser();
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
3074static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj = NULL;
3076 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3077 int arg2 ;
3078 int arg3 ;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 PyObject * obj2 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
3087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3088 if (SWIG_arg_fail(1)) SWIG_fail;
3089 {
3090 arg2 = static_cast<int >(SWIG_As_int(obj1));
3091 if (SWIG_arg_fail(2)) SWIG_fail;
3092 }
3093 {
3094 arg3 = static_cast<int >(SWIG_As_int(obj2));
3095 if (SWIG_arg_fail(3)) SWIG_fail;
3096 }
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 (arg1)->DoParsing(arg2,arg3);
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 Py_INCREF(Py_None); resultobj = Py_None;
3105 return resultobj;
3106 fail:
3107 return NULL;
3108}
3109
3110
3111static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj = NULL;
3113 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3114 PyObject * obj0 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
3120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail;
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->StopParsing();
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133}
3134
3135
3136static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj = NULL;
3138 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3139 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "handler", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
3147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3148 if (SWIG_arg_fail(1)) SWIG_fail;
3149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3150 if (SWIG_arg_fail(2)) SWIG_fail;
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->AddTagHandler(arg2);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162}
3163
3164
3165static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj = NULL;
3167 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3168 wxString *result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (wxString *)(arg1)->GetSource();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185#if wxUSE_UNICODE
3186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3187#else
3188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3189#endif
3190 }
3191 return resultobj;
3192 fail:
3193 return NULL;
3194}
3195
3196
3197static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3198 PyObject *resultobj = NULL;
3199 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3200 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3201 wxString arg3 ;
3202 PyObject * obj0 = 0 ;
3203 PyObject * obj1 = 0 ;
3204 PyObject * obj2 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self",(char *) "handler",(char *) "tags", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
3210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail;
3212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(2)) SWIG_fail;
3214 {
3215 wxString* sptr = wxString_in_helper(obj2);
3216 if (sptr == NULL) SWIG_fail;
3217 arg3 = *sptr;
3218 delete sptr;
3219 }
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 (arg1)->PushTagHandler(arg2,arg3);
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 Py_INCREF(Py_None); resultobj = Py_None;
3228 return resultobj;
3229 fail:
3230 return NULL;
3231}
3232
3233
3234static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3235 PyObject *resultobj = NULL;
3236 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3237 PyObject * obj0 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
3243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail;
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 (arg1)->PopTagHandler();
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 Py_INCREF(Py_None); resultobj = Py_None;
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
3259static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
3260 PyObject *obj;
3261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3262 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3263 Py_INCREF(obj);
3264 return Py_BuildValue((char *)"");
3265}
3266static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj = NULL;
3268 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3269 wxHtmlWinParser *result;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "wnd", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3276 if (obj0) {
3277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail;
3279 }
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
3288 return resultobj;
3289 fail:
3290 return NULL;
3291}
3292
3293
3294static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj = NULL;
3296 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3297 wxDC *arg2 = (wxDC *) 0 ;
3298 PyObject * obj0 = 0 ;
3299 PyObject * obj1 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self",(char *) "dc", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
3305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail;
3307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3308 if (SWIG_arg_fail(2)) SWIG_fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->SetDC(arg2);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
3323static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj = NULL;
3325 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3326 wxDC *result;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
3333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (wxDC *)(arg1)->GetDC();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 {
3343 resultobj = wxPyMake_wxObject(result, 0);
3344 }
3345 return resultobj;
3346 fail:
3347 return NULL;
3348}
3349
3350
3351static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3352 PyObject *resultobj = NULL;
3353 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3354 int result;
3355 PyObject * obj0 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
3361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail;
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (int)(arg1)->GetCharHeight();
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 {
3371 resultobj = SWIG_From_int(static_cast<int >(result));
3372 }
3373 return resultobj;
3374 fail:
3375 return NULL;
3376}
3377
3378
3379static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj = NULL;
3381 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3382 int result;
3383 PyObject * obj0 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
3389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3390 if (SWIG_arg_fail(1)) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (int)(arg1)->GetCharWidth();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 {
3399 resultobj = SWIG_From_int(static_cast<int >(result));
3400 }
3401 return resultobj;
3402 fail:
3403 return NULL;
3404}
3405
3406
3407static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj = NULL;
3409 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3410 wxPyHtmlWindow *result;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
3417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail;
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 {
3427 resultobj = wxPyMake_wxObject(result, 0);
3428 }
3429 return resultobj;
3430 fail:
3431 return NULL;
3432}
3433
3434
3435static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3436 PyObject *resultobj = NULL;
3437 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3438 wxString arg2 ;
3439 wxString arg3 ;
3440 PyObject *arg4 = (PyObject *) NULL ;
3441 PyObject * obj0 = 0 ;
3442 PyObject * obj1 = 0 ;
3443 PyObject * obj2 = 0 ;
3444 PyObject * obj3 = 0 ;
3445 char *kwnames[] = {
3446 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3447 };
3448
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3451 if (SWIG_arg_fail(1)) SWIG_fail;
3452 {
3453 wxString* sptr = wxString_in_helper(obj1);
3454 if (sptr == NULL) SWIG_fail;
3455 arg2 = *sptr;
3456 delete sptr;
3457 }
3458 {
3459 wxString* sptr = wxString_in_helper(obj2);
3460 if (sptr == NULL) SWIG_fail;
3461 arg3 = *sptr;
3462 delete sptr;
3463 }
3464 if (obj3) {
3465 arg4 = obj3;
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 return resultobj;
3476 fail:
3477 return NULL;
3478}
3479
3480
3481static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj = NULL;
3483 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3484 int arg2 = (int) -1 ;
3485 wxString const &arg3_defvalue = wxPyEmptyString ;
3486 wxString *arg3 = (wxString *) &arg3_defvalue ;
3487 wxString const &arg4_defvalue = wxPyEmptyString ;
3488 wxString *arg4 = (wxString *) &arg4_defvalue ;
3489 bool temp3 = false ;
3490 bool temp4 = false ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 PyObject * obj2 = 0 ;
3494 PyObject * obj3 = 0 ;
3495 char *kwnames[] = {
3496 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3497 };
3498
3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3501 if (SWIG_arg_fail(1)) SWIG_fail;
3502 if (obj1) {
3503 {
3504 arg2 = static_cast<int >(SWIG_As_int(obj1));
3505 if (SWIG_arg_fail(2)) SWIG_fail;
3506 }
3507 }
3508 if (obj2) {
3509 {
3510 arg3 = wxString_in_helper(obj2);
3511 if (arg3 == NULL) SWIG_fail;
3512 temp3 = true;
3513 }
3514 }
3515 if (obj3) {
3516 {
3517 arg4 = wxString_in_helper(obj3);
3518 if (arg4 == NULL) SWIG_fail;
3519 temp4 = true;
3520 }
3521 }
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 {
3531 if (temp3)
3532 delete arg3;
3533 }
3534 {
3535 if (temp4)
3536 delete arg4;
3537 }
3538 return resultobj;
3539 fail:
3540 {
3541 if (temp3)
3542 delete arg3;
3543 }
3544 {
3545 if (temp4)
3546 delete arg4;
3547 }
3548 return NULL;
3549}
3550
3551
3552static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj = NULL;
3554 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3555 wxHtmlContainerCell *result;
3556 PyObject * obj0 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
3562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail;
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3572 return resultobj;
3573 fail:
3574 return NULL;
3575}
3576
3577
3578static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj = NULL;
3580 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3581 wxHtmlContainerCell *result;
3582 PyObject * obj0 = 0 ;
3583 char *kwnames[] = {
3584 (char *) "self", NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
3588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail;
3590 {
3591 PyThreadState* __tstate = wxPyBeginAllowThreads();
3592 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3593
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
3597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3598 return resultobj;
3599 fail:
3600 return NULL;
3601}
3602
3603
3604static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj = NULL;
3606 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3607 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3608 wxHtmlContainerCell *result;
3609 PyObject * obj0 = 0 ;
3610 PyObject * obj1 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "self",(char *) "c", NULL
3613 };
3614
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
3616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3617 if (SWIG_arg_fail(1)) SWIG_fail;
3618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3619 if (SWIG_arg_fail(2)) SWIG_fail;
3620 {
3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
3622 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3623
3624 wxPyEndAllowThreads(__tstate);
3625 if (PyErr_Occurred()) SWIG_fail;
3626 }
3627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3628 return resultobj;
3629 fail:
3630 return NULL;
3631}
3632
3633
3634static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj = NULL;
3636 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3637 wxHtmlContainerCell *result;
3638 PyObject * obj0 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
3644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3645 if (SWIG_arg_fail(1)) SWIG_fail;
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3654 return resultobj;
3655 fail:
3656 return NULL;
3657}
3658
3659
3660static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj = NULL;
3662 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3663 int result;
3664 PyObject * obj0 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
3670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3671 if (SWIG_arg_fail(1)) SWIG_fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (int)(arg1)->GetFontSize();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 {
3680 resultobj = SWIG_From_int(static_cast<int >(result));
3681 }
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
3688static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj = NULL;
3690 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3691 int arg2 ;
3692 PyObject * obj0 = 0 ;
3693 PyObject * obj1 = 0 ;
3694 char *kwnames[] = {
3695 (char *) "self",(char *) "s", NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
3699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3700 if (SWIG_arg_fail(1)) SWIG_fail;
3701 {
3702 arg2 = static_cast<int >(SWIG_As_int(obj1));
3703 if (SWIG_arg_fail(2)) SWIG_fail;
3704 }
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 (arg1)->SetFontSize(arg2);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 Py_INCREF(Py_None); resultobj = Py_None;
3713 return resultobj;
3714 fail:
3715 return NULL;
3716}
3717
3718
3719static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3720 PyObject *resultobj = NULL;
3721 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3722 int result;
3723 PyObject * obj0 = 0 ;
3724 char *kwnames[] = {
3725 (char *) "self", NULL
3726 };
3727
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
3729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3730 if (SWIG_arg_fail(1)) SWIG_fail;
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = (int)(arg1)->GetFontBold();
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 resultobj = SWIG_From_int(static_cast<int >(result));
3740 }
3741 return resultobj;
3742 fail:
3743 return NULL;
3744}
3745
3746
3747static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3748 PyObject *resultobj = NULL;
3749 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3750 int arg2 ;
3751 PyObject * obj0 = 0 ;
3752 PyObject * obj1 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "x", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
3758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail;
3760 {
3761 arg2 = static_cast<int >(SWIG_As_int(obj1));
3762 if (SWIG_arg_fail(2)) SWIG_fail;
3763 }
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 (arg1)->SetFontBold(arg2);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 return resultobj;
3773 fail:
3774 return NULL;
3775}
3776
3777
3778static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj = NULL;
3780 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
3788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)(arg1)->GetFontItalic();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 {
3798 resultobj = SWIG_From_int(static_cast<int >(result));
3799 }
3800 return resultobj;
3801 fail:
3802 return NULL;
3803}
3804
3805
3806static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3807 PyObject *resultobj = NULL;
3808 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3809 int arg2 ;
3810 PyObject * obj0 = 0 ;
3811 PyObject * obj1 = 0 ;
3812 char *kwnames[] = {
3813 (char *) "self",(char *) "x", NULL
3814 };
3815
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
3817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3818 if (SWIG_arg_fail(1)) SWIG_fail;
3819 {
3820 arg2 = static_cast<int >(SWIG_As_int(obj1));
3821 if (SWIG_arg_fail(2)) SWIG_fail;
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 (arg1)->SetFontItalic(arg2);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 Py_INCREF(Py_None); resultobj = Py_None;
3831 return resultobj;
3832 fail:
3833 return NULL;
3834}
3835
3836
3837static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj = NULL;
3839 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3840 int result;
3841 PyObject * obj0 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
3847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3848 if (SWIG_arg_fail(1)) SWIG_fail;
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (int)(arg1)->GetFontUnderlined();
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 {
3857 resultobj = SWIG_From_int(static_cast<int >(result));
3858 }
3859 return resultobj;
3860 fail:
3861 return NULL;
3862}
3863
3864
3865static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj = NULL;
3867 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3868 int arg2 ;
3869 PyObject * obj0 = 0 ;
3870 PyObject * obj1 = 0 ;
3871 char *kwnames[] = {
3872 (char *) "self",(char *) "x", NULL
3873 };
3874
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
3876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3877 if (SWIG_arg_fail(1)) SWIG_fail;
3878 {
3879 arg2 = static_cast<int >(SWIG_As_int(obj1));
3880 if (SWIG_arg_fail(2)) SWIG_fail;
3881 }
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 (arg1)->SetFontUnderlined(arg2);
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 Py_INCREF(Py_None); resultobj = Py_None;
3890 return resultobj;
3891 fail:
3892 return NULL;
3893}
3894
3895
3896static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj = NULL;
3898 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3899 int result;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
3906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3907 if (SWIG_arg_fail(1)) SWIG_fail;
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (int)(arg1)->GetFontFixed();
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 {
3916 resultobj = SWIG_From_int(static_cast<int >(result));
3917 }
3918 return resultobj;
3919 fail:
3920 return NULL;
3921}
3922
3923
3924static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3925 PyObject *resultobj = NULL;
3926 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3927 int arg2 ;
3928 PyObject * obj0 = 0 ;
3929 PyObject * obj1 = 0 ;
3930 char *kwnames[] = {
3931 (char *) "self",(char *) "x", NULL
3932 };
3933
3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
3935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail;
3937 {
3938 arg2 = static_cast<int >(SWIG_As_int(obj1));
3939 if (SWIG_arg_fail(2)) SWIG_fail;
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 (arg1)->SetFontFixed(arg2);
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 Py_INCREF(Py_None); resultobj = Py_None;
3949 return resultobj;
3950 fail:
3951 return NULL;
3952}
3953
3954
3955static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj = NULL;
3957 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3958 int result;
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
3965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail;
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (int)(arg1)->GetAlign();
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 {
3975 resultobj = SWIG_From_int(static_cast<int >(result));
3976 }
3977 return resultobj;
3978 fail:
3979 return NULL;
3980}
3981
3982
3983static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3984 PyObject *resultobj = NULL;
3985 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3986 int arg2 ;
3987 PyObject * obj0 = 0 ;
3988 PyObject * obj1 = 0 ;
3989 char *kwnames[] = {
3990 (char *) "self",(char *) "a", NULL
3991 };
3992
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
3994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3995 if (SWIG_arg_fail(1)) SWIG_fail;
3996 {
3997 arg2 = static_cast<int >(SWIG_As_int(obj1));
3998 if (SWIG_arg_fail(2)) SWIG_fail;
3999 }
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 (arg1)->SetAlign(arg2);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 return resultobj;
4009 fail:
4010 return NULL;
4011}
4012
4013
4014static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj = NULL;
4016 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4017 wxColour result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
4024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4025 if (SWIG_arg_fail(1)) SWIG_fail;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (arg1)->GetLinkColor();
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 {
4034 wxColour * resultptr;
4035 resultptr = new wxColour(static_cast<wxColour & >(result));
4036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4037 }
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
4044static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj = NULL;
4046 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4047 wxColour *arg2 = 0 ;
4048 wxColour temp2 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "clr", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
4058 {
4059 arg2 = &temp2;
4060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4061 }
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetLinkColor((wxColour const &)*arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
4076static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj = NULL;
4078 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4079 wxColour result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
4086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4087 if (SWIG_arg_fail(1)) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (arg1)->GetActualColor();
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 {
4096 wxColour * resultptr;
4097 resultptr = new wxColour(static_cast<wxColour & >(result));
4098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4099 }
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
4106static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj = NULL;
4108 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4109 wxColour *arg2 = 0 ;
4110 wxColour temp2 ;
4111 PyObject * obj0 = 0 ;
4112 PyObject * obj1 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "clr", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
4118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail;
4120 {
4121 arg2 = &temp2;
4122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4123 }
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 (arg1)->SetActualColor((wxColour const &)*arg2);
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 Py_INCREF(Py_None); resultobj = Py_None;
4132 return resultobj;
4133 fail:
4134 return NULL;
4135}
4136
4137
4138static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4139 PyObject *resultobj = NULL;
4140 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4141 wxString *arg2 = 0 ;
4142 bool temp2 = false ;
4143 PyObject * obj0 = 0 ;
4144 PyObject * obj1 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "self",(char *) "link", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
4150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4151 if (SWIG_arg_fail(1)) SWIG_fail;
4152 {
4153 arg2 = wxString_in_helper(obj1);
4154 if (arg2 == NULL) SWIG_fail;
4155 temp2 = true;
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 (arg1)->SetLink((wxString const &)*arg2);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 Py_INCREF(Py_None); resultobj = Py_None;
4165 {
4166 if (temp2)
4167 delete arg2;
4168 }
4169 return resultobj;
4170 fail:
4171 {
4172 if (temp2)
4173 delete arg2;
4174 }
4175 return NULL;
4176}
4177
4178
4179static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj = NULL;
4181 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4182 wxFont *result;
4183 PyObject * obj0 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
4189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (wxFont *)(arg1)->CreateCurrentFont();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
4199 return resultobj;
4200 fail:
4201 return NULL;
4202}
4203
4204
4205static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj = NULL;
4207 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4208 SwigValueWrapper<wxHtmlLinkInfo > result;
4209 PyObject * obj0 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
4215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4216 if (SWIG_arg_fail(1)) SWIG_fail;
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (arg1)->GetLink();
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 wxHtmlLinkInfo * resultptr;
4226 resultptr = new wxHtmlLinkInfo(static_cast<wxHtmlLinkInfo & >(result));
4227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232}
4233
4234
4235static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
4236 PyObject *obj;
4237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4238 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
4239 Py_INCREF(obj);
4240 return Py_BuildValue((char *)"");
4241}
4242static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj = NULL;
4244 wxPyHtmlTagHandler *result;
4245 char *kwnames[] = {
4246 NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
4258 return resultobj;
4259 fail:
4260 return NULL;
4261}
4262
4263
4264static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj = NULL;
4266 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4267 PyObject *arg2 = (PyObject *) 0 ;
4268 PyObject *arg3 = (PyObject *) 0 ;
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 PyObject * obj2 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self",(char *) "self",(char *) "_class", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4278 if (SWIG_arg_fail(1)) SWIG_fail;
4279 arg2 = obj1;
4280 arg3 = obj2;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 (arg1)->_setCallbackInfo(arg2,arg3);
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 Py_INCREF(Py_None); resultobj = Py_None;
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
4295static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj = NULL;
4297 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4298 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "parser", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail;
4308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4309 if (SWIG_arg_fail(2)) SWIG_fail;
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 (arg1)->SetParser(arg2);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 Py_INCREF(Py_None); resultobj = Py_None;
4318 return resultobj;
4319 fail:
4320 return NULL;
4321}
4322
4323
4324static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4325 PyObject *resultobj = NULL;
4326 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4327 wxHtmlParser *result;
4328 PyObject * obj0 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
4334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4335 if (SWIG_arg_fail(1)) SWIG_fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (wxHtmlParser *)(arg1)->GetParser();
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
4350static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj = NULL;
4352 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4353 wxHtmlTag *arg2 = 0 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "tag", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4362 if (SWIG_arg_fail(1)) SWIG_fail;
4363 {
4364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4365 if (SWIG_arg_fail(2)) SWIG_fail;
4366 if (arg2 == NULL) {
4367 SWIG_null_ref("wxHtmlTag");
4368 }
4369 if (SWIG_arg_fail(2)) SWIG_fail;
4370 }
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 Py_INCREF(Py_None); resultobj = Py_None;
4379 return resultobj;
4380 fail:
4381 return NULL;
4382}
4383
4384
4385static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
4386 PyObject *obj;
4387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4388 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4389 Py_INCREF(obj);
4390 return Py_BuildValue((char *)"");
4391}
4392static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = NULL;
4394 wxPyHtmlWinTagHandler *result;
4395 char *kwnames[] = {
4396 NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
4408 return resultobj;
4409 fail:
4410 return NULL;
4411}
4412
4413
4414static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj = NULL;
4416 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4417 PyObject *arg2 = (PyObject *) 0 ;
4418 PyObject *arg3 = (PyObject *) 0 ;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 PyObject * obj2 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self",(char *) "self",(char *) "_class", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail;
4429 arg2 = obj1;
4430 arg3 = obj2;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 (arg1)->_setCallbackInfo(arg2,arg3);
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 Py_INCREF(Py_None); resultobj = Py_None;
4439 return resultobj;
4440 fail:
4441 return NULL;
4442}
4443
4444
4445static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj = NULL;
4447 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4448 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "parser", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail;
4458 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4459 if (SWIG_arg_fail(2)) SWIG_fail;
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 (arg1)->SetParser(arg2);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 Py_INCREF(Py_None); resultobj = Py_None;
4468 return resultobj;
4469 fail:
4470 return NULL;
4471}
4472
4473
4474static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj = NULL;
4476 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4477 wxHtmlWinParser *result;
4478 PyObject * obj0 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
4484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4485 if (SWIG_arg_fail(1)) SWIG_fail;
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (wxHtmlWinParser *)(arg1)->GetParser();
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
4494 return resultobj;
4495 fail:
4496 return NULL;
4497}
4498
4499
4500static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj = NULL;
4502 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4503 wxHtmlTag *arg2 = 0 ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self",(char *) "tag", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4512 if (SWIG_arg_fail(1)) SWIG_fail;
4513 {
4514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(2)) SWIG_fail;
4516 if (arg2 == NULL) {
4517 SWIG_null_ref("wxHtmlTag");
4518 }
4519 if (SWIG_arg_fail(2)) SWIG_fail;
4520 }
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532}
4533
4534
4535static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
4536 PyObject *obj;
4537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4538 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4539 Py_INCREF(obj);
4540 return Py_BuildValue((char *)"");
4541}
4542static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj = NULL;
4544 PyObject *arg1 = (PyObject *) 0 ;
4545 PyObject * obj0 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "tagHandlerClass", NULL
4548 };
4549
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4551 arg1 = obj0;
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 wxHtmlWinParser_AddTagHandler(arg1);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563}
4564
4565
4566static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4567 PyObject *resultobj = NULL;
4568 wxHtmlSelection *result;
4569 char *kwnames[] = {
4570 NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 result = (wxHtmlSelection *)new wxHtmlSelection();
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
4582 return resultobj;
4583 fail:
4584 return NULL;
4585}
4586
4587
4588static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj = NULL;
4590 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 delete arg1;
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610}
4611
4612
4613static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj = NULL;
4615 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4616 wxPoint *arg2 = 0 ;
4617 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4618 wxPoint *arg4 = 0 ;
4619 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4620 wxPoint temp2 ;
4621 wxPoint temp4 ;
4622 PyObject * obj0 = 0 ;
4623 PyObject * obj1 = 0 ;
4624 PyObject * obj2 = 0 ;
4625 PyObject * obj3 = 0 ;
4626 PyObject * obj4 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4633 if (SWIG_arg_fail(1)) SWIG_fail;
4634 {
4635 arg2 = &temp2;
4636 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4637 }
4638 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4639 if (SWIG_arg_fail(3)) SWIG_fail;
4640 {
4641 arg4 = &temp4;
4642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4643 }
4644 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4645 if (SWIG_arg_fail(5)) SWIG_fail;
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657}
4658
4659
4660static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj = NULL;
4662 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4663 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4664 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4665 PyObject * obj0 = 0 ;
4666 PyObject * obj1 = 0 ;
4667 PyObject * obj2 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
4673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail;
4675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4676 if (SWIG_arg_fail(2)) SWIG_fail;
4677 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4678 if (SWIG_arg_fail(3)) SWIG_fail;
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 Py_INCREF(Py_None); resultobj = Py_None;
4687 return resultobj;
4688 fail:
4689 return NULL;
4690}
4691
4692
4693static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj = NULL;
4695 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4696 wxHtmlCell *result;
4697 PyObject * obj0 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
4703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail;
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4713 return resultobj;
4714 fail:
4715 return NULL;
4716}
4717
4718
4719static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj = NULL;
4721 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4722 wxHtmlCell *result;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
4745static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj = NULL;
4747 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4748 wxPoint *result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
4755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail;
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 {
4760 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4761 result = (wxPoint *) &_result_ref;
4762 }
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4768 return resultobj;
4769 fail:
4770 return NULL;
4771}
4772
4773
4774static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj = NULL;
4776 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4777 wxPoint *result;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
4784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail;
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 {
4789 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4790 result = (wxPoint *) &_result_ref;
4791 }
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4797 return resultobj;
4798 fail:
4799 return NULL;
4800}
4801
4802
4803static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj = NULL;
4805 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4806 wxPoint *result;
4807 PyObject * obj0 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "self", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
4813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4814 if (SWIG_arg_fail(1)) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 {
4818 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4819 result = (wxPoint *) &_result_ref;
4820 }
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4826 return resultobj;
4827 fail:
4828 return NULL;
4829}
4830
4831
4832static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj = NULL;
4834 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4835 wxPoint *result;
4836 PyObject * obj0 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
4842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4843 if (SWIG_arg_fail(1)) SWIG_fail;
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 {
4847 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4848 result = (wxPoint *) &_result_ref;
4849 }
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4855 return resultobj;
4856 fail:
4857 return NULL;
4858}
4859
4860
4861static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj = NULL;
4863 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4864 wxPoint *arg2 = 0 ;
4865 wxPoint temp2 ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self",(char *) "pos", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
4873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4874 if (SWIG_arg_fail(1)) SWIG_fail;
4875 {
4876 arg2 = &temp2;
4877 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4878 }
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4882
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 Py_INCREF(Py_None); resultobj = Py_None;
4887 return resultobj;
4888 fail:
4889 return NULL;
4890}
4891
4892
4893static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj = NULL;
4895 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4896 wxPoint *arg2 = 0 ;
4897 wxPoint temp2 ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "pos", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
4905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail;
4907 {
4908 arg2 = &temp2;
4909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4910 }
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 Py_INCREF(Py_None); resultobj = Py_None;
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
4925static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj = NULL;
4927 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4928 PyObject * obj0 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
4934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4935 if (SWIG_arg_fail(1)) SWIG_fail;
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 (arg1)->ClearPrivPos();
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 Py_INCREF(Py_None); resultobj = Py_None;
4944 return resultobj;
4945 fail:
4946 return NULL;
4947}
4948
4949
4950static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
4951 PyObject *resultobj = NULL;
4952 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4953 bool result;
4954 PyObject * obj0 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
4960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4961 if (SWIG_arg_fail(1)) SWIG_fail;
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 {
4970 resultobj = SWIG_From_bool(static_cast<bool >(result));
4971 }
4972 return resultobj;
4973 fail:
4974 return NULL;
4975}
4976
4977
4978static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
4979 PyObject *obj;
4980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4981 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4982 Py_INCREF(obj);
4983 return Py_BuildValue((char *)"");
4984}
4985static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj = NULL;
4987 wxHtmlRenderingState *result;
4988 char *kwnames[] = {
4989 NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4996
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
5001 return resultobj;
5002 fail:
5003 return NULL;
5004}
5005
5006
5007static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
5008 PyObject *resultobj = NULL;
5009 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5010 PyObject * obj0 = 0 ;
5011 char *kwnames[] = {
5012 (char *) "self", NULL
5013 };
5014
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
5016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail;
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 delete arg1;
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029}
5030
5031
5032static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj = NULL;
5034 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5035 wxHtmlSelectionState arg2 ;
5036 PyObject * obj0 = 0 ;
5037 PyObject * obj1 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "s", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
5043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5044 if (SWIG_arg_fail(1)) SWIG_fail;
5045 {
5046 arg2 = static_cast<wxHtmlSelectionState >(SWIG_As_int(obj1));
5047 if (SWIG_arg_fail(2)) SWIG_fail;
5048 }
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 (arg1)->SetSelectionState(arg2);
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 Py_INCREF(Py_None); resultobj = Py_None;
5057 return resultobj;
5058 fail:
5059 return NULL;
5060}
5061
5062
5063static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = NULL;
5065 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5066 wxHtmlSelectionState result;
5067 PyObject * obj0 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
5073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail;
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 resultobj = SWIG_From_int((result));
5083 return resultobj;
5084 fail:
5085 return NULL;
5086}
5087
5088
5089static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj = NULL;
5091 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5092 wxColour *arg2 = 0 ;
5093 wxColour temp2 ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "c", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
5101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail;
5103 {
5104 arg2 = &temp2;
5105 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5106 }
5107 {
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 (arg1)->SetFgColour((wxColour const &)*arg2);
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 Py_INCREF(Py_None); resultobj = Py_None;
5115 return resultobj;
5116 fail:
5117 return NULL;
5118}
5119
5120
5121static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj = NULL;
5123 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5124 wxColour *result;
5125 PyObject * obj0 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
5131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5132 if (SWIG_arg_fail(1)) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 {
5136 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
5137 result = (wxColour *) &_result_ref;
5138 }
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
5144 return resultobj;
5145 fail:
5146 return NULL;
5147}
5148
5149
5150static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj = NULL;
5152 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5153 wxColour *arg2 = 0 ;
5154 wxColour temp2 ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self",(char *) "c", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
5162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5163 if (SWIG_arg_fail(1)) SWIG_fail;
5164 {
5165 arg2 = &temp2;
5166 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SetBgColour((wxColour const &)*arg2);
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 Py_INCREF(Py_None); resultobj = Py_None;
5176 return resultobj;
5177 fail:
5178 return NULL;
5179}
5180
5181
5182static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj = NULL;
5184 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5185 wxColour *result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
5192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail;
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 {
5197 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
5198 result = (wxColour *) &_result_ref;
5199 }
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
5205 return resultobj;
5206 fail:
5207 return NULL;
5208}
5209
5210
5211static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
5212 PyObject *obj;
5213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5214 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
5215 Py_INCREF(obj);
5216 return Py_BuildValue((char *)"");
5217}
5218static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj = NULL;
5220 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5221 wxColour *arg2 = 0 ;
5222 wxColour result;
5223 wxColour temp2 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self",(char *) "clr", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5232 if (SWIG_arg_fail(1)) SWIG_fail;
5233 {
5234 arg2 = &temp2;
5235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 {
5245 wxColour * resultptr;
5246 resultptr = new wxColour(static_cast<wxColour & >(result));
5247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5248 }
5249 return resultobj;
5250 fail:
5251 return NULL;
5252}
5253
5254
5255static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj = NULL;
5257 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5258 wxColour *arg2 = 0 ;
5259 wxColour result;
5260 wxColour temp2 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self",(char *) "clr", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail;
5270 {
5271 arg2 = &temp2;
5272 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5273 }
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 {
5282 wxColour * resultptr;
5283 resultptr = new wxColour(static_cast<wxColour & >(result));
5284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5285 }
5286 return resultobj;
5287 fail:
5288 return NULL;
5289}
5290
5291
5292static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5293 PyObject *obj;
5294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5295 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5296 Py_INCREF(obj);
5297 return Py_BuildValue((char *)"");
5298}
5299static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj = NULL;
5301 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5302 wxColour *arg2 = 0 ;
5303 wxColour result;
5304 wxColour temp2 ;
5305 PyObject * obj0 = 0 ;
5306 PyObject * obj1 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self",(char *) "clr", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail;
5314 {
5315 arg2 = &temp2;
5316 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5317 }
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5321
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 {
5326 wxColour * resultptr;
5327 resultptr = new wxColour(static_cast<wxColour & >(result));
5328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5329 }
5330 return resultobj;
5331 fail:
5332 return NULL;
5333}
5334
5335
5336static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj = NULL;
5338 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5339 wxColour *arg2 = 0 ;
5340 wxColour result;
5341 wxColour temp2 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "clr", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5350 if (SWIG_arg_fail(1)) SWIG_fail;
5351 {
5352 arg2 = &temp2;
5353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 {
5363 wxColour * resultptr;
5364 resultptr = new wxColour(static_cast<wxColour & >(result));
5365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5366 }
5367 return resultobj;
5368 fail:
5369 return NULL;
5370}
5371
5372
5373static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5374 PyObject *obj;
5375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5376 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5377 Py_INCREF(obj);
5378 return Py_BuildValue((char *)"");
5379}
5380static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj = NULL;
5382 wxHtmlRenderingInfo *result;
5383 char *kwnames[] = {
5384 NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
5402static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj = NULL;
5404 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5405 PyObject * obj0 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
5411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5412 if (SWIG_arg_fail(1)) SWIG_fail;
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 delete arg1;
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 Py_INCREF(Py_None); resultobj = Py_None;
5421 return resultobj;
5422 fail:
5423 return NULL;
5424}
5425
5426
5427static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj = NULL;
5429 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5430 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5431 PyObject * obj0 = 0 ;
5432 PyObject * obj1 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "s", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
5438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5439 if (SWIG_arg_fail(1)) SWIG_fail;
5440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5441 if (SWIG_arg_fail(2)) SWIG_fail;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 (arg1)->SetSelection(arg2);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 Py_INCREF(Py_None); resultobj = Py_None;
5450 return resultobj;
5451 fail:
5452 return NULL;
5453}
5454
5455
5456static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj = NULL;
5458 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5459 wxHtmlSelection *result;
5460 PyObject * obj0 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
5466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail;
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
5476 return resultobj;
5477 fail:
5478 return NULL;
5479}
5480
5481
5482static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj = NULL;
5484 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5485 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5486 PyObject * obj0 = 0 ;
5487 PyObject * obj1 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self",(char *) "style", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
5493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5494 if (SWIG_arg_fail(1)) SWIG_fail;
5495 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5496 if (SWIG_arg_fail(2)) SWIG_fail;
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 (arg1)->SetStyle(arg2);
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 Py_INCREF(Py_None); resultobj = Py_None;
5505 return resultobj;
5506 fail:
5507 return NULL;
5508}
5509
5510
5511static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj = NULL;
5513 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5514 wxHtmlRenderingStyle *result;
5515 PyObject * obj0 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
5521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail;
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 {
5526 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5527 result = (wxHtmlRenderingStyle *) &_result_ref;
5528 }
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
5534 return resultobj;
5535 fail:
5536 return NULL;
5537}
5538
5539
5540static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj = NULL;
5542 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5543 wxHtmlRenderingState *result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
5550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail;
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 {
5555 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5556 result = (wxHtmlRenderingState *) &_result_ref;
5557 }
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
5563 return resultobj;
5564 fail:
5565 return NULL;
5566}
5567
5568
5569static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
5570 PyObject *obj;
5571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5572 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5573 Py_INCREF(obj);
5574 return Py_BuildValue((char *)"");
5575}
5576static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj = NULL;
5578 wxHtmlCell *result;
5579 char *kwnames[] = {
5580 NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (wxHtmlCell *)new wxHtmlCell();
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
5592 return resultobj;
5593 fail:
5594 return NULL;
5595}
5596
5597
5598static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj = NULL;
5600 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5601 int result;
5602 PyObject * obj0 = 0 ;
5603 char *kwnames[] = {
5604 (char *) "self", NULL
5605 };
5606
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
5608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5609 if (SWIG_arg_fail(1)) SWIG_fail;
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 result = (int)(arg1)->GetPosX();
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 {
5618 resultobj = SWIG_From_int(static_cast<int >(result));
5619 }
5620 return resultobj;
5621 fail:
5622 return NULL;
5623}
5624
5625
5626static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj = NULL;
5628 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5629 int result;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
5636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5637 if (SWIG_arg_fail(1)) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (int)(arg1)->GetPosY();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 resultobj = SWIG_From_int(static_cast<int >(result));
5647 }
5648 return resultobj;
5649 fail:
5650 return NULL;
5651}
5652
5653
5654static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj = NULL;
5656 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5657 int result;
5658 PyObject * obj0 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
5664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5665 if (SWIG_arg_fail(1)) SWIG_fail;
5666 {
5667 PyThreadState* __tstate = wxPyBeginAllowThreads();
5668 result = (int)(arg1)->GetWidth();
5669
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 resultobj = SWIG_From_int(static_cast<int >(result));
5675 }
5676 return resultobj;
5677 fail:
5678 return NULL;
5679}
5680
5681
5682static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj = NULL;
5684 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5685 int result;
5686 PyObject * obj0 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
5692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail;
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (int)(arg1)->GetHeight();
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 {
5702 resultobj = SWIG_From_int(static_cast<int >(result));
5703 }
5704 return resultobj;
5705 fail:
5706 return NULL;
5707}
5708
5709
5710static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
5711 PyObject *resultobj = NULL;
5712 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5713 int result;
5714 PyObject * obj0 = 0 ;
5715 char *kwnames[] = {
5716 (char *) "self", NULL
5717 };
5718
5719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
5720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5721 if (SWIG_arg_fail(1)) SWIG_fail;
5722 {
5723 PyThreadState* __tstate = wxPyBeginAllowThreads();
5724 result = (int)(arg1)->GetDescent();
5725
5726 wxPyEndAllowThreads(__tstate);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 {
5730 resultobj = SWIG_From_int(static_cast<int >(result));
5731 }
5732 return resultobj;
5733 fail:
5734 return NULL;
5735}
5736
5737
5738static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj = NULL;
5740 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5741 int result;
5742 PyObject * obj0 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
5748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5749 if (SWIG_arg_fail(1)) SWIG_fail;
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5753
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 {
5758 resultobj = SWIG_From_int(static_cast<int >(result));
5759 }
5760 return resultobj;
5761 fail:
5762 return NULL;
5763}
5764
5765
5766static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj = NULL;
5768 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5769 wxString *result;
5770 PyObject * obj0 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 {
5781 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5782 result = (wxString *) &_result_ref;
5783 }
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789#if wxUSE_UNICODE
5790 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5791#else
5792 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5793#endif
5794 }
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
5801static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj = NULL;
5803 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5804 wxString *arg2 = 0 ;
5805 bool temp2 = false ;
5806 PyObject * obj0 = 0 ;
5807 PyObject * obj1 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "id", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
5813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail;
5815 {
5816 arg2 = wxString_in_helper(obj1);
5817 if (arg2 == NULL) SWIG_fail;
5818 temp2 = true;
5819 }
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->SetId((wxString const &)*arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 {
5829 if (temp2)
5830 delete arg2;
5831 }
5832 return resultobj;
5833 fail:
5834 {
5835 if (temp2)
5836 delete arg2;
5837 }
5838 return NULL;
5839}
5840
5841
5842static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj = NULL;
5844 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5845 int arg2 = (int) 0 ;
5846 int arg3 = (int) 0 ;
5847 wxHtmlLinkInfo *result;
5848 PyObject * obj0 = 0 ;
5849 PyObject * obj1 = 0 ;
5850 PyObject * obj2 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self",(char *) "x",(char *) "y", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
5856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail;
5858 if (obj1) {
5859 {
5860 arg2 = static_cast<int >(SWIG_As_int(obj1));
5861 if (SWIG_arg_fail(2)) SWIG_fail;
5862 }
5863 }
5864 if (obj2) {
5865 {
5866 arg3 = static_cast<int >(SWIG_As_int(obj2));
5867 if (SWIG_arg_fail(3)) SWIG_fail;
5868 }
5869 }
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
5878 return resultobj;
5879 fail:
5880 return NULL;
5881}
5882
5883
5884static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj = NULL;
5886 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5887 wxHtmlCell *result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
5894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5895 if (SWIG_arg_fail(1)) SWIG_fail;
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (wxHtmlCell *)(arg1)->GetNext();
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5904 return resultobj;
5905 fail:
5906 return NULL;
5907}
5908
5909
5910static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj = NULL;
5912 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5913 wxHtmlContainerCell *result;
5914 PyObject * obj0 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
5920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5921 if (SWIG_arg_fail(1)) SWIG_fail;
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
5936static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj = NULL;
5938 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5939 wxHtmlCell *result;
5940 PyObject * obj0 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
5946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail;
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5956 return resultobj;
5957 fail:
5958 return NULL;
5959}
5960
5961
5962static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj = NULL;
5964 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5965 wxCursor result;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
5972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5973 if (SWIG_arg_fail(1)) SWIG_fail;
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 result = ((wxHtmlCell const *)arg1)->GetCursor();
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 {
5982 wxCursor * resultptr;
5983 resultptr = new wxCursor(static_cast<wxCursor & >(result));
5984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
5985 }
5986 return resultobj;
5987 fail:
5988 return NULL;
5989}
5990
5991
5992static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj = NULL;
5994 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5995 bool result;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
6002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6003 if (SWIG_arg_fail(1)) SWIG_fail;
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 {
6012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6013 }
6014 return resultobj;
6015 fail:
6016 return NULL;
6017}
6018
6019
6020static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj = NULL;
6022 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6023 wxHtmlLinkInfo *arg2 = 0 ;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "link", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
6031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6032 if (SWIG_arg_fail(1)) SWIG_fail;
6033 {
6034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(2)) SWIG_fail;
6036 if (arg2 == NULL) {
6037 SWIG_null_ref("wxHtmlLinkInfo");
6038 }
6039 if (SWIG_arg_fail(2)) SWIG_fail;
6040 }
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 Py_INCREF(Py_None); resultobj = Py_None;
6049 return resultobj;
6050 fail:
6051 return NULL;
6052}
6053
6054
6055static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj = NULL;
6057 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6058 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "cell", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
6066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail;
6068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6069 if (SWIG_arg_fail(2)) SWIG_fail;
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 (arg1)->SetNext(arg2);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 Py_INCREF(Py_None); resultobj = Py_None;
6078 return resultobj;
6079 fail:
6080 return NULL;
6081}
6082
6083
6084static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj = NULL;
6086 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6087 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self",(char *) "p", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
6095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6096 if (SWIG_arg_fail(1)) SWIG_fail;
6097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6098 if (SWIG_arg_fail(2)) SWIG_fail;
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 (arg1)->SetParent(arg2);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 Py_INCREF(Py_None); resultobj = Py_None;
6107 return resultobj;
6108 fail:
6109 return NULL;
6110}
6111
6112
6113static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj = NULL;
6115 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6116 int arg2 ;
6117 int arg3 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 PyObject * obj2 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "x",(char *) "y", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
6126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6127 if (SWIG_arg_fail(1)) SWIG_fail;
6128 {
6129 arg2 = static_cast<int >(SWIG_As_int(obj1));
6130 if (SWIG_arg_fail(2)) SWIG_fail;
6131 }
6132 {
6133 arg3 = static_cast<int >(SWIG_As_int(obj2));
6134 if (SWIG_arg_fail(3)) SWIG_fail;
6135 }
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 (arg1)->SetPos(arg2,arg3);
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 Py_INCREF(Py_None); resultobj = Py_None;
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
6150static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
6151 PyObject *resultobj = NULL;
6152 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6153 int arg2 ;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj1 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self",(char *) "w", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 {
6164 arg2 = static_cast<int >(SWIG_As_int(obj1));
6165 if (SWIG_arg_fail(2)) SWIG_fail;
6166 }
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 (arg1)->Layout(arg2);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 Py_INCREF(Py_None); resultobj = Py_None;
6175 return resultobj;
6176 fail:
6177 return NULL;
6178}
6179
6180
6181static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj = NULL;
6183 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6184 wxDC *arg2 = 0 ;
6185 int arg3 ;
6186 int arg4 ;
6187 int arg5 ;
6188 int arg6 ;
6189 wxHtmlRenderingInfo *arg7 = 0 ;
6190 PyObject * obj0 = 0 ;
6191 PyObject * obj1 = 0 ;
6192 PyObject * obj2 = 0 ;
6193 PyObject * obj3 = 0 ;
6194 PyObject * obj4 = 0 ;
6195 PyObject * obj5 = 0 ;
6196 PyObject * obj6 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6203 if (SWIG_arg_fail(1)) SWIG_fail;
6204 {
6205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6206 if (SWIG_arg_fail(2)) SWIG_fail;
6207 if (arg2 == NULL) {
6208 SWIG_null_ref("wxDC");
6209 }
6210 if (SWIG_arg_fail(2)) SWIG_fail;
6211 }
6212 {
6213 arg3 = static_cast<int >(SWIG_As_int(obj2));
6214 if (SWIG_arg_fail(3)) SWIG_fail;
6215 }
6216 {
6217 arg4 = static_cast<int >(SWIG_As_int(obj3));
6218 if (SWIG_arg_fail(4)) SWIG_fail;
6219 }
6220 {
6221 arg5 = static_cast<int >(SWIG_As_int(obj4));
6222 if (SWIG_arg_fail(5)) SWIG_fail;
6223 }
6224 {
6225 arg6 = static_cast<int >(SWIG_As_int(obj5));
6226 if (SWIG_arg_fail(6)) SWIG_fail;
6227 }
6228 {
6229 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6230 if (SWIG_arg_fail(7)) SWIG_fail;
6231 if (arg7 == NULL) {
6232 SWIG_null_ref("wxHtmlRenderingInfo");
6233 }
6234 if (SWIG_arg_fail(7)) SWIG_fail;
6235 }
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 Py_INCREF(Py_None); resultobj = Py_None;
6244 return resultobj;
6245 fail:
6246 return NULL;
6247}
6248
6249
6250static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj = NULL;
6252 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6253 wxDC *arg2 = 0 ;
6254 int arg3 ;
6255 int arg4 ;
6256 wxHtmlRenderingInfo *arg5 = 0 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
6260 PyObject * obj3 = 0 ;
6261 PyObject * obj4 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6268 if (SWIG_arg_fail(1)) SWIG_fail;
6269 {
6270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6271 if (SWIG_arg_fail(2)) SWIG_fail;
6272 if (arg2 == NULL) {
6273 SWIG_null_ref("wxDC");
6274 }
6275 if (SWIG_arg_fail(2)) SWIG_fail;
6276 }
6277 {
6278 arg3 = static_cast<int >(SWIG_As_int(obj2));
6279 if (SWIG_arg_fail(3)) SWIG_fail;
6280 }
6281 {
6282 arg4 = static_cast<int >(SWIG_As_int(obj3));
6283 if (SWIG_arg_fail(4)) SWIG_fail;
6284 }
6285 {
6286 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6287 if (SWIG_arg_fail(5)) SWIG_fail;
6288 if (arg5 == NULL) {
6289 SWIG_null_ref("wxHtmlRenderingInfo");
6290 }
6291 if (SWIG_arg_fail(5)) SWIG_fail;
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 return resultobj;
6302 fail:
6303 return NULL;
6304}
6305
6306
6307static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj = NULL;
6309 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6310 int arg2 ;
6311 void *arg3 = (void *) 0 ;
6312 wxHtmlCell *result;
6313 PyObject * obj0 = 0 ;
6314 PyObject * obj1 = 0 ;
6315 PyObject * obj2 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "condition",(char *) "param", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 {
6324 arg2 = static_cast<int >(SWIG_As_int(obj1));
6325 if (SWIG_arg_fail(2)) SWIG_fail;
6326 }
6327 {
6328 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6329 SWIG_arg_fail(3);SWIG_fail;
6330 }
6331 }
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
6346static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj = NULL;
6348 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6349 int *arg2 = (int *) 0 ;
6350 bool result;
6351 int temp2 ;
6352 int res2 = 0 ;
6353 PyObject * obj0 = 0 ;
6354 PyObject * obj1 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self",(char *) "INOUT", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
6360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6361 if (SWIG_arg_fail(1)) SWIG_fail;
6362 {
6363 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6364 temp2 = SWIG_As_int(obj1);
6365 if (SWIG_arg_fail(2)) SWIG_fail;
6366 arg2 = &temp2;
6367 res2 = SWIG_NEWOBJ;
6368 }
6369 }
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (bool)(arg1)->AdjustPagebreak(arg2);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 {
6378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6379 }
6380 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6381 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6382 return resultobj;
6383 fail:
6384 return NULL;
6385}
6386
6387
6388static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj = NULL;
6390 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6391 bool arg2 ;
6392 PyObject * obj0 = 0 ;
6393 PyObject * obj1 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self",(char *) "can", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
6399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail;
6401 {
6402 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6403 if (SWIG_arg_fail(2)) SWIG_fail;
6404 }
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 (arg1)->SetCanLiveOnPagebreak(arg2);
6408
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 Py_INCREF(Py_None); resultobj = Py_None;
6413 return resultobj;
6414 fail:
6415 return NULL;
6416}
6417
6418
6419static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj = NULL;
6421 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6422 bool result;
6423 PyObject * obj0 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "self", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
6429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail;
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
6438 {
6439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6440 }
6441 return resultobj;
6442 fail:
6443 return NULL;
6444}
6445
6446
6447static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
6448 PyObject *resultobj = NULL;
6449 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6450 bool result;
6451 PyObject * obj0 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
6457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail;
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6468 }
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
6475static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj = NULL;
6477 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6478 int arg2 ;
6479 int arg3 ;
6480 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6481 wxHtmlCell *result;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 PyObject * obj2 = 0 ;
6485 PyObject * obj3 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6492 if (SWIG_arg_fail(1)) SWIG_fail;
6493 {
6494 arg2 = static_cast<int >(SWIG_As_int(obj1));
6495 if (SWIG_arg_fail(2)) SWIG_fail;
6496 }
6497 {
6498 arg3 = static_cast<int >(SWIG_As_int(obj2));
6499 if (SWIG_arg_fail(3)) SWIG_fail;
6500 }
6501 if (obj3) {
6502 {
6503 arg4 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj3));
6504 if (SWIG_arg_fail(4)) SWIG_fail;
6505 }
6506 }
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6515 return resultobj;
6516 fail:
6517 return NULL;
6518}
6519
6520
6521static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj = NULL;
6523 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6524 wxPoint result;
6525 PyObject * obj0 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
6531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6532 if (SWIG_arg_fail(1)) SWIG_fail;
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 {
6541 wxPoint * resultptr;
6542 resultptr = new wxPoint(static_cast<wxPoint & >(result));
6543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6544 }
6545 return resultobj;
6546 fail:
6547 return NULL;
6548}
6549
6550
6551static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj = NULL;
6553 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6554 wxHtmlCell *result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
6561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail;
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6571 return resultobj;
6572 fail:
6573 return NULL;
6574}
6575
6576
6577static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj = NULL;
6579 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6580 wxHtmlCell *result;
6581 PyObject * obj0 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
6587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail;
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6597 return resultobj;
6598 fail:
6599 return NULL;
6600}
6601
6602
6603static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj = NULL;
6605 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6606 unsigned int result;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
6613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6614 if (SWIG_arg_fail(1)) SWIG_fail;
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
6624 }
6625 return resultobj;
6626 fail:
6627 return NULL;
6628}
6629
6630
6631static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj = NULL;
6633 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6634 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6635 bool result;
6636 PyObject * obj0 = 0 ;
6637 PyObject * obj1 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self",(char *) "cell", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
6643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6644 if (SWIG_arg_fail(1)) SWIG_fail;
6645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6646 if (SWIG_arg_fail(2)) SWIG_fail;
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 {
6655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6656 }
6657 return resultobj;
6658 fail:
6659 return NULL;
6660}
6661
6662
6663static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj = NULL;
6665 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6666 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6667 wxString result;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "sel", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6678 if (SWIG_arg_fail(2)) SWIG_fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 {
6687#if wxUSE_UNICODE
6688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6689#else
6690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6691#endif
6692 }
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
6699static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
6700 PyObject *obj;
6701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6702 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6703 Py_INCREF(obj);
6704 return Py_BuildValue((char *)"");
6705}
6706static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj = NULL;
6708 wxString *arg1 = 0 ;
6709 wxDC *arg2 = 0 ;
6710 wxHtmlWordCell *result;
6711 bool temp1 = false ;
6712 PyObject * obj0 = 0 ;
6713 PyObject * obj1 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "word",(char *) "dc", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6719 {
6720 arg1 = wxString_in_helper(obj0);
6721 if (arg1 == NULL) SWIG_fail;
6722 temp1 = true;
6723 }
6724 {
6725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6726 if (SWIG_arg_fail(2)) SWIG_fail;
6727 if (arg2 == NULL) {
6728 SWIG_null_ref("wxDC");
6729 }
6730 if (SWIG_arg_fail(2)) SWIG_fail;
6731 }
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
6739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
6740 {
6741 if (temp1)
6742 delete arg1;
6743 }
6744 return resultobj;
6745 fail:
6746 {
6747 if (temp1)
6748 delete arg1;
6749 }
6750 return NULL;
6751}
6752
6753
6754static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
6755 PyObject *obj;
6756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6757 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6758 Py_INCREF(obj);
6759 return Py_BuildValue((char *)"");
6760}
6761static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj = NULL;
6763 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6764 wxHtmlContainerCell *result;
6765 PyObject * obj0 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "parent", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
6771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail;
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
6781 return resultobj;
6782 fail:
6783 return NULL;
6784}
6785
6786
6787static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj = NULL;
6789 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6790 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6791 PyObject * obj0 = 0 ;
6792 PyObject * obj1 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self",(char *) "cell", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
6798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6799 if (SWIG_arg_fail(1)) SWIG_fail;
6800 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6801 if (SWIG_arg_fail(2)) SWIG_fail;
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 (arg1)->InsertCell(arg2);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 Py_INCREF(Py_None); resultobj = Py_None;
6810 return resultobj;
6811 fail:
6812 return NULL;
6813}
6814
6815
6816static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj = NULL;
6818 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6819 int arg2 ;
6820 PyObject * obj0 = 0 ;
6821 PyObject * obj1 = 0 ;
6822 char *kwnames[] = {
6823 (char *) "self",(char *) "al", NULL
6824 };
6825
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
6827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6828 if (SWIG_arg_fail(1)) SWIG_fail;
6829 {
6830 arg2 = static_cast<int >(SWIG_As_int(obj1));
6831 if (SWIG_arg_fail(2)) SWIG_fail;
6832 }
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 (arg1)->SetAlignHor(arg2);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
6847static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj = NULL;
6849 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6850 int result;
6851 PyObject * obj0 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
6857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail;
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 result = (int)(arg1)->GetAlignHor();
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 {
6867 resultobj = SWIG_From_int(static_cast<int >(result));
6868 }
6869 return resultobj;
6870 fail:
6871 return NULL;
6872}
6873
6874
6875static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj = NULL;
6877 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6878 int arg2 ;
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "al", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
6888 {
6889 arg2 = static_cast<int >(SWIG_As_int(obj1));
6890 if (SWIG_arg_fail(2)) SWIG_fail;
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 (arg1)->SetAlignVer(arg2);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 Py_INCREF(Py_None); resultobj = Py_None;
6900 return resultobj;
6901 fail:
6902 return NULL;
6903}
6904
6905
6906static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj = NULL;
6908 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6909 int result;
6910 PyObject * obj0 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "self", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
6916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6917 if (SWIG_arg_fail(1)) SWIG_fail;
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 result = (int)(arg1)->GetAlignVer();
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 {
6926 resultobj = SWIG_From_int(static_cast<int >(result));
6927 }
6928 return resultobj;
6929 fail:
6930 return NULL;
6931}
6932
6933
6934static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj = NULL;
6936 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6937 int arg2 ;
6938 int arg3 ;
6939 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 PyObject * obj2 = 0 ;
6943 PyObject * obj3 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6950 if (SWIG_arg_fail(1)) SWIG_fail;
6951 {
6952 arg2 = static_cast<int >(SWIG_As_int(obj1));
6953 if (SWIG_arg_fail(2)) SWIG_fail;
6954 }
6955 {
6956 arg3 = static_cast<int >(SWIG_As_int(obj2));
6957 if (SWIG_arg_fail(3)) SWIG_fail;
6958 }
6959 if (obj3) {
6960 {
6961 arg4 = static_cast<int >(SWIG_As_int(obj3));
6962 if (SWIG_arg_fail(4)) SWIG_fail;
6963 }
6964 }
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 (arg1)->SetIndent(arg2,arg3,arg4);
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 Py_INCREF(Py_None); resultobj = Py_None;
6973 return resultobj;
6974 fail:
6975 return NULL;
6976}
6977
6978
6979static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj = NULL;
6981 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6982 int arg2 ;
6983 int result;
6984 PyObject * obj0 = 0 ;
6985 PyObject * obj1 = 0 ;
6986 char *kwnames[] = {
6987 (char *) "self",(char *) "ind", NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
6991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6992 if (SWIG_arg_fail(1)) SWIG_fail;
6993 {
6994 arg2 = static_cast<int >(SWIG_As_int(obj1));
6995 if (SWIG_arg_fail(2)) SWIG_fail;
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (int)(arg1)->GetIndent(arg2);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 {
7005 resultobj = SWIG_From_int(static_cast<int >(result));
7006 }
7007 return resultobj;
7008 fail:
7009 return NULL;
7010}
7011
7012
7013static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj = NULL;
7015 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7016 int arg2 ;
7017 int result;
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 char *kwnames[] = {
7021 (char *) "self",(char *) "ind", NULL
7022 };
7023
7024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
7025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7026 if (SWIG_arg_fail(1)) SWIG_fail;
7027 {
7028 arg2 = static_cast<int >(SWIG_As_int(obj1));
7029 if (SWIG_arg_fail(2)) SWIG_fail;
7030 }
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (int)(arg1)->GetIndentUnits(arg2);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 {
7039 resultobj = SWIG_From_int(static_cast<int >(result));
7040 }
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj = NULL;
7049 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7050 wxHtmlTag *arg2 = 0 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "tag", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
7058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail;
7060 {
7061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7062 if (SWIG_arg_fail(2)) SWIG_fail;
7063 if (arg2 == NULL) {
7064 SWIG_null_ref("wxHtmlTag");
7065 }
7066 if (SWIG_arg_fail(2)) SWIG_fail;
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 Py_INCREF(Py_None); resultobj = Py_None;
7076 return resultobj;
7077 fail:
7078 return NULL;
7079}
7080
7081
7082static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj = NULL;
7084 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7085 int arg2 ;
7086 int arg3 ;
7087 PyObject * obj0 = 0 ;
7088 PyObject * obj1 = 0 ;
7089 PyObject * obj2 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "w",(char *) "units", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
7095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail;
7097 {
7098 arg2 = static_cast<int >(SWIG_As_int(obj1));
7099 if (SWIG_arg_fail(2)) SWIG_fail;
7100 }
7101 {
7102 arg3 = static_cast<int >(SWIG_As_int(obj2));
7103 if (SWIG_arg_fail(3)) SWIG_fail;
7104 }
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetWidthFloat(arg2,arg3);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 return resultobj;
7114 fail:
7115 return NULL;
7116}
7117
7118
7119static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj = NULL;
7121 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7122 wxHtmlTag *arg2 = 0 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "tag", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
7130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail;
7132 {
7133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7134 if (SWIG_arg_fail(2)) SWIG_fail;
7135 if (arg2 == NULL) {
7136 SWIG_null_ref("wxHtmlTag");
7137 }
7138 if (SWIG_arg_fail(2)) SWIG_fail;
7139 }
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 Py_INCREF(Py_None); resultobj = Py_None;
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
7154static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj = NULL;
7156 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7157 int arg2 ;
7158 int arg3 = (int) wxHTML_ALIGN_TOP ;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "h",(char *) "align", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
7167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail;
7169 {
7170 arg2 = static_cast<int >(SWIG_As_int(obj1));
7171 if (SWIG_arg_fail(2)) SWIG_fail;
7172 }
7173 if (obj2) {
7174 {
7175 arg3 = static_cast<int >(SWIG_As_int(obj2));
7176 if (SWIG_arg_fail(3)) SWIG_fail;
7177 }
7178 }
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 (arg1)->SetMinHeight(arg2,arg3);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 Py_INCREF(Py_None); resultobj = Py_None;
7187 return resultobj;
7188 fail:
7189 return NULL;
7190}
7191
7192
7193static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj = NULL;
7195 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7196 wxColour *arg2 = 0 ;
7197 wxColour temp2 ;
7198 PyObject * obj0 = 0 ;
7199 PyObject * obj1 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "clr", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail;
7207 {
7208 arg2 = &temp2;
7209 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 Py_INCREF(Py_None); resultobj = Py_None;
7219 return resultobj;
7220 fail:
7221 return NULL;
7222}
7223
7224
7225static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj = NULL;
7227 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7228 wxColour result;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
7235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail;
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (arg1)->GetBackgroundColour();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 wxColour * resultptr;
7246 resultptr = new wxColour(static_cast<wxColour & >(result));
7247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
7248 }
7249 return resultobj;
7250 fail:
7251 return NULL;
7252}
7253
7254
7255static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj = NULL;
7257 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7258 wxColour *arg2 = 0 ;
7259 wxColour *arg3 = 0 ;
7260 wxColour temp2 ;
7261 wxColour temp3 ;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
7264 PyObject * obj2 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail;
7272 {
7273 arg2 = &temp2;
7274 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7275 }
7276 {
7277 arg3 = &temp3;
7278 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
7294static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj = NULL;
7296 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7297 wxHtmlCell *result;
7298 PyObject * obj0 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
7304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail;
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
7314 return resultobj;
7315 fail:
7316 return NULL;
7317}
7318
7319
7320static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
7321 PyObject *obj;
7322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7324 Py_INCREF(obj);
7325 return Py_BuildValue((char *)"");
7326}
7327static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj = NULL;
7329 wxColour *arg1 = 0 ;
7330 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7331 wxHtmlColourCell *result;
7332 wxColour temp1 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "clr",(char *) "flags", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
7340 {
7341 arg1 = &temp1;
7342 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7343 }
7344 if (obj1) {
7345 {
7346 arg2 = static_cast<int >(SWIG_As_int(obj1));
7347 if (SWIG_arg_fail(2)) SWIG_fail;
7348 }
7349 }
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
7364static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
7365 PyObject *obj;
7366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7367 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7368 Py_INCREF(obj);
7369 return Py_BuildValue((char *)"");
7370}
7371static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj = NULL;
7373 wxFont *arg1 = (wxFont *) 0 ;
7374 wxHtmlFontCell *result;
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "font", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
7381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
7397static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
7398 PyObject *obj;
7399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7400 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7401 Py_INCREF(obj);
7402 return Py_BuildValue((char *)"");
7403}
7404static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj = NULL;
7406 wxWindow *arg1 = (wxWindow *) 0 ;
7407 int arg2 = (int) 0 ;
7408 wxHtmlWidgetCell *result;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 char *kwnames[] = {
7412 (char *) "wnd",(char *) "w", NULL
7413 };
7414
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
7416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7417 if (SWIG_arg_fail(1)) SWIG_fail;
7418 if (obj1) {
7419 {
7420 arg2 = static_cast<int >(SWIG_As_int(obj1));
7421 if (SWIG_arg_fail(2)) SWIG_fail;
7422 }
7423 }
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
7432 return resultobj;
7433 fail:
7434 return NULL;
7435}
7436
7437
7438static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
7439 PyObject *obj;
7440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7441 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7442 Py_INCREF(obj);
7443 return Py_BuildValue((char *)"");
7444}
7445static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj = NULL;
7447 wxPyHtmlFilter *result;
7448 char *kwnames[] = {
7449 NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
7461 return resultobj;
7462 fail:
7463 return NULL;
7464}
7465
7466
7467static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj = NULL;
7469 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7470 PyObject *arg2 = (PyObject *) 0 ;
7471 PyObject *arg3 = (PyObject *) 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "self",(char *) "_class", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
7482 arg2 = obj1;
7483 arg3 = obj2;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 (arg1)->_setCallbackInfo(arg2,arg3);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 Py_INCREF(Py_None); resultobj = Py_None;
7492 return resultobj;
7493 fail:
7494 return NULL;
7495}
7496
7497
7498static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
7499 PyObject *obj;
7500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7501 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7502 Py_INCREF(obj);
7503 return Py_BuildValue((char *)"");
7504}
7505static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj = NULL;
7507 wxWindow *arg1 = (wxWindow *) 0 ;
7508 int arg2 = (int) -1 ;
7509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7511 wxSize const &arg4_defvalue = wxDefaultSize ;
7512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7513 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7514 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7515 wxString *arg6 = (wxString *) &arg6_defvalue ;
7516 wxPyHtmlWindow *result;
7517 wxPoint temp3 ;
7518 wxSize temp4 ;
7519 bool temp6 = false ;
7520 PyObject * obj0 = 0 ;
7521 PyObject * obj1 = 0 ;
7522 PyObject * obj2 = 0 ;
7523 PyObject * obj3 = 0 ;
7524 PyObject * obj4 = 0 ;
7525 PyObject * obj5 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
7533 if (obj1) {
7534 {
7535 arg2 = static_cast<int >(SWIG_As_int(obj1));
7536 if (SWIG_arg_fail(2)) SWIG_fail;
7537 }
7538 }
7539 if (obj2) {
7540 {
7541 arg3 = &temp3;
7542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7543 }
7544 }
7545 if (obj3) {
7546 {
7547 arg4 = &temp4;
7548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7549 }
7550 }
7551 if (obj4) {
7552 {
7553 arg5 = static_cast<int >(SWIG_As_int(obj4));
7554 if (SWIG_arg_fail(5)) SWIG_fail;
7555 }
7556 }
7557 if (obj5) {
7558 {
7559 arg6 = wxString_in_helper(obj5);
7560 if (arg6 == NULL) SWIG_fail;
7561 temp6 = true;
7562 }
7563 }
7564 {
7565 if (!wxPyCheckForApp()) SWIG_fail;
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7573 {
7574 if (temp6)
7575 delete arg6;
7576 }
7577 return resultobj;
7578 fail:
7579 {
7580 if (temp6)
7581 delete arg6;
7582 }
7583 return NULL;
7584}
7585
7586
7587static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj = NULL;
7589 wxPyHtmlWindow *result;
7590 char *kwnames[] = {
7591 NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7595 {
7596 if (!wxPyCheckForApp()) SWIG_fail;
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
7610static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj = NULL;
7612 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7613 wxWindow *arg2 = (wxWindow *) 0 ;
7614 int arg3 = (int) -1 ;
7615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7617 wxSize const &arg5_defvalue = wxDefaultSize ;
7618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7619 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7620 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7621 wxString *arg7 = (wxString *) &arg7_defvalue ;
7622 bool result;
7623 wxPoint temp4 ;
7624 wxSize temp5 ;
7625 bool temp7 = false ;
7626 PyObject * obj0 = 0 ;
7627 PyObject * obj1 = 0 ;
7628 PyObject * obj2 = 0 ;
7629 PyObject * obj3 = 0 ;
7630 PyObject * obj4 = 0 ;
7631 PyObject * obj5 = 0 ;
7632 PyObject * obj6 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail;
7640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7641 if (SWIG_arg_fail(2)) SWIG_fail;
7642 if (obj2) {
7643 {
7644 arg3 = static_cast<int >(SWIG_As_int(obj2));
7645 if (SWIG_arg_fail(3)) SWIG_fail;
7646 }
7647 }
7648 if (obj3) {
7649 {
7650 arg4 = &temp4;
7651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7652 }
7653 }
7654 if (obj4) {
7655 {
7656 arg5 = &temp5;
7657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7658 }
7659 }
7660 if (obj5) {
7661 {
7662 arg6 = static_cast<int >(SWIG_As_int(obj5));
7663 if (SWIG_arg_fail(6)) SWIG_fail;
7664 }
7665 }
7666 if (obj6) {
7667 {
7668 arg7 = wxString_in_helper(obj6);
7669 if (arg7 == NULL) SWIG_fail;
7670 temp7 = true;
7671 }
7672 }
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7682 }
7683 {
7684 if (temp7)
7685 delete arg7;
7686 }
7687 return resultobj;
7688 fail:
7689 {
7690 if (temp7)
7691 delete arg7;
7692 }
7693 return NULL;
7694}
7695
7696
7697static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj = NULL;
7699 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7700 PyObject *arg2 = (PyObject *) 0 ;
7701 PyObject *arg3 = (PyObject *) 0 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 PyObject * obj2 = 0 ;
7705 char *kwnames[] = {
7706 (char *) "self",(char *) "self",(char *) "_class", NULL
7707 };
7708
7709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7711 if (SWIG_arg_fail(1)) SWIG_fail;
7712 arg2 = obj1;
7713 arg3 = obj2;
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 (arg1)->_setCallbackInfo(arg2,arg3);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 Py_INCREF(Py_None); resultobj = Py_None;
7722 return resultobj;
7723 fail:
7724 return NULL;
7725}
7726
7727
7728static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj = NULL;
7730 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7731 wxString *arg2 = 0 ;
7732 bool result;
7733 bool temp2 = false ;
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "source", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
7741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail;
7743 {
7744 arg2 = wxString_in_helper(obj1);
7745 if (arg2 == NULL) SWIG_fail;
7746 temp2 = true;
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 {
7756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7757 }
7758 {
7759 if (temp2)
7760 delete arg2;
7761 }
7762 return resultobj;
7763 fail:
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj = NULL;
7774 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7775 wxString *arg2 = 0 ;
7776 bool result;
7777 bool temp2 = false ;
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self",(char *) "location", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
7785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail;
7787 {
7788 arg2 = wxString_in_helper(obj1);
7789 if (arg2 == NULL) SWIG_fail;
7790 temp2 = true;
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 {
7800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7801 }
7802 {
7803 if (temp2)
7804 delete arg2;
7805 }
7806 return resultobj;
7807 fail:
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return NULL;
7813}
7814
7815
7816static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj = NULL;
7818 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7819 wxString *arg2 = 0 ;
7820 bool result;
7821 bool temp2 = false ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "filename", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
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 = wxString_in_helper(obj1);
7833 if (arg2 == NULL) SWIG_fail;
7834 temp2 = true;
7835 }
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 {
7844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7845 }
7846 {
7847 if (temp2)
7848 delete arg2;
7849 }
7850 return resultobj;
7851 fail:
7852 {
7853 if (temp2)
7854 delete arg2;
7855 }
7856 return NULL;
7857}
7858
7859
7860static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj = NULL;
7862 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7863 wxString *arg2 = 0 ;
7864 bool result;
7865 bool temp2 = false ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "source", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
7873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail;
7875 {
7876 arg2 = wxString_in_helper(obj1);
7877 if (arg2 == NULL) SWIG_fail;
7878 temp2 = true;
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 {
7888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7889 }
7890 {
7891 if (temp2)
7892 delete arg2;
7893 }
7894 return resultobj;
7895 fail:
7896 {
7897 if (temp2)
7898 delete arg2;
7899 }
7900 return NULL;
7901}
7902
7903
7904static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj = NULL;
7906 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7907 wxString result;
7908 PyObject * obj0 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
7914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail;
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (arg1)->GetOpenedPage();
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 {
7924#if wxUSE_UNICODE
7925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7926#else
7927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7928#endif
7929 }
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
7936static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj = NULL;
7938 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7939 wxString result;
7940 PyObject * obj0 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
7946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail;
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (arg1)->GetOpenedAnchor();
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956#if wxUSE_UNICODE
7957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7958#else
7959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7960#endif
7961 }
7962 return resultobj;
7963 fail:
7964 return NULL;
7965}
7966
7967
7968static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7969 PyObject *resultobj = NULL;
7970 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7971 wxString result;
7972 PyObject * obj0 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self", NULL
7975 };
7976
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (arg1)->GetOpenedPageTitle();
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 {
7988#if wxUSE_UNICODE
7989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7990#else
7991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7992#endif
7993 }
7994 return resultobj;
7995 fail:
7996 return NULL;
7997}
7998
7999
8000static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj = NULL;
8002 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8003 wxFrame *arg2 = (wxFrame *) 0 ;
8004 wxString *arg3 = 0 ;
8005 bool temp3 = false ;
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 PyObject * obj2 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self",(char *) "frame",(char *) "format", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail;
8016 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
8017 if (SWIG_arg_fail(2)) SWIG_fail;
8018 {
8019 arg3 = wxString_in_helper(obj2);
8020 if (arg3 == NULL) SWIG_fail;
8021 temp3 = true;
8022 }
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 Py_INCREF(Py_None); resultobj = Py_None;
8031 {
8032 if (temp3)
8033 delete arg3;
8034 }
8035 return resultobj;
8036 fail:
8037 {
8038 if (temp3)
8039 delete arg3;
8040 }
8041 return NULL;
8042}
8043
8044
8045static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj = NULL;
8047 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8048 wxFrame *result;
8049 PyObject * obj0 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
8055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (wxFrame *)(arg1)->GetRelatedFrame();
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 {
8065 resultobj = wxPyMake_wxObject(result, 0);
8066 }
8067 return resultobj;
8068 fail:
8069 return NULL;
8070}
8071
8072
8073static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj = NULL;
8075 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8076 int arg2 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self",(char *) "bar", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
8084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail;
8086 {
8087 arg2 = static_cast<int >(SWIG_As_int(obj1));
8088 if (SWIG_arg_fail(2)) SWIG_fail;
8089 }
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 (arg1)->SetRelatedStatusBar(arg2);
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
8104static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj = NULL;
8106 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8107 wxString arg2 ;
8108 wxString arg3 ;
8109 PyObject *arg4 = (PyObject *) NULL ;
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 PyObject * obj2 = 0 ;
8113 PyObject * obj3 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail;
8121 {
8122 wxString* sptr = wxString_in_helper(obj1);
8123 if (sptr == NULL) SWIG_fail;
8124 arg2 = *sptr;
8125 delete sptr;
8126 }
8127 {
8128 wxString* sptr = wxString_in_helper(obj2);
8129 if (sptr == NULL) SWIG_fail;
8130 arg3 = *sptr;
8131 delete sptr;
8132 }
8133 if (obj3) {
8134 arg4 = obj3;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
8150static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj = NULL;
8152 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8153 int arg2 = (int) -1 ;
8154 wxString const &arg3_defvalue = wxPyEmptyString ;
8155 wxString *arg3 = (wxString *) &arg3_defvalue ;
8156 wxString const &arg4_defvalue = wxPyEmptyString ;
8157 wxString *arg4 = (wxString *) &arg4_defvalue ;
8158 bool temp3 = false ;
8159 bool temp4 = false ;
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj1 = 0 ;
8162 PyObject * obj2 = 0 ;
8163 PyObject * obj3 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
8171 if (obj1) {
8172 {
8173 arg2 = static_cast<int >(SWIG_As_int(obj1));
8174 if (SWIG_arg_fail(2)) SWIG_fail;
8175 }
8176 }
8177 if (obj2) {
8178 {
8179 arg3 = wxString_in_helper(obj2);
8180 if (arg3 == NULL) SWIG_fail;
8181 temp3 = true;
8182 }
8183 }
8184 if (obj3) {
8185 {
8186 arg4 = wxString_in_helper(obj3);
8187 if (arg4 == NULL) SWIG_fail;
8188 temp4 = true;
8189 }
8190 }
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 Py_INCREF(Py_None); resultobj = Py_None;
8199 {
8200 if (temp3)
8201 delete arg3;
8202 }
8203 {
8204 if (temp4)
8205 delete arg4;
8206 }
8207 return resultobj;
8208 fail:
8209 {
8210 if (temp3)
8211 delete arg3;
8212 }
8213 {
8214 if (temp4)
8215 delete arg4;
8216 }
8217 return NULL;
8218}
8219
8220
8221static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj = NULL;
8223 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8224 wxString *arg2 = 0 ;
8225 bool temp2 = false ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "title", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail;
8233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail;
8235 {
8236 arg2 = wxString_in_helper(obj1);
8237 if (arg2 == NULL) SWIG_fail;
8238 temp2 = true;
8239 }
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 (arg1)->SetLabel((wxString const &)*arg2);
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 Py_INCREF(Py_None); resultobj = Py_None;
8248 {
8249 if (temp2)
8250 delete arg2;
8251 }
8252 return resultobj;
8253 fail:
8254 {
8255 if (temp2)
8256 delete arg2;
8257 }
8258 return NULL;
8259}
8260
8261
8262static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj = NULL;
8264 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8265 int arg2 ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 char *kwnames[] = {
8269 (char *) "self",(char *) "b", NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
8273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8274 if (SWIG_arg_fail(1)) SWIG_fail;
8275 {
8276 arg2 = static_cast<int >(SWIG_As_int(obj1));
8277 if (SWIG_arg_fail(2)) SWIG_fail;
8278 }
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->SetBorders(arg2);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
8293static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj = NULL;
8295 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8296 wxBitmap *arg2 = 0 ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "bmpBg", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
8306 {
8307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8308 if (SWIG_arg_fail(2)) SWIG_fail;
8309 if (arg2 == NULL) {
8310 SWIG_null_ref("wxBitmap");
8311 }
8312 if (SWIG_arg_fail(2)) SWIG_fail;
8313 }
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 Py_INCREF(Py_None); resultobj = Py_None;
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
8328static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj = NULL;
8330 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8331 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8332 wxString arg3 = (wxString) wxPyEmptyString ;
8333 PyObject * obj0 = 0 ;
8334 PyObject * obj1 = 0 ;
8335 PyObject * obj2 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "cfg",(char *) "path", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail;
8345 if (obj2) {
8346 {
8347 wxString* sptr = wxString_in_helper(obj2);
8348 if (sptr == NULL) SWIG_fail;
8349 arg3 = *sptr;
8350 delete sptr;
8351 }
8352 }
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 (arg1)->ReadCustomization(arg2,arg3);
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 Py_INCREF(Py_None); resultobj = Py_None;
8361 return resultobj;
8362 fail:
8363 return NULL;
8364}
8365
8366
8367static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj = NULL;
8369 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8370 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8371 wxString arg3 = (wxString) wxPyEmptyString ;
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj1 = 0 ;
8374 PyObject * obj2 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "cfg",(char *) "path", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail;
8382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8383 if (SWIG_arg_fail(2)) SWIG_fail;
8384 if (obj2) {
8385 {
8386 wxString* sptr = wxString_in_helper(obj2);
8387 if (sptr == NULL) SWIG_fail;
8388 arg3 = *sptr;
8389 delete sptr;
8390 }
8391 }
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 (arg1)->WriteCustomization(arg2,arg3);
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 Py_INCREF(Py_None); resultobj = Py_None;
8400 return resultobj;
8401 fail:
8402 return NULL;
8403}
8404
8405
8406static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj = NULL;
8408 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8409 bool result;
8410 PyObject * obj0 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
8416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail;
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 result = (bool)(arg1)->HistoryBack();
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 {
8426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8427 }
8428 return resultobj;
8429 fail:
8430 return NULL;
8431}
8432
8433
8434static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj = NULL;
8436 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8437 bool result;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
8444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail;
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (bool)(arg1)->HistoryForward();
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 {
8454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8455 }
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
8462static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj = NULL;
8464 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8465 bool result;
8466 PyObject * obj0 = 0 ;
8467 char *kwnames[] = {
8468 (char *) "self", NULL
8469 };
8470
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
8472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (bool)(arg1)->HistoryCanBack();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8483 }
8484 return resultobj;
8485 fail:
8486 return NULL;
8487}
8488
8489
8490static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj = NULL;
8492 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8493 bool result;
8494 PyObject * obj0 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
8500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail;
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 result = (bool)(arg1)->HistoryCanForward();
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 {
8510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8511 }
8512 return resultobj;
8513 fail:
8514 return NULL;
8515}
8516
8517
8518static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj = NULL;
8520 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8521 PyObject * obj0 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
8527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8528 if (SWIG_arg_fail(1)) SWIG_fail;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 (arg1)->HistoryClear();
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 Py_INCREF(Py_None); resultobj = Py_None;
8537 return resultobj;
8538 fail:
8539 return NULL;
8540}
8541
8542
8543static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
8544 PyObject *resultobj = NULL;
8545 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8546 wxHtmlContainerCell *result;
8547 PyObject * obj0 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
8563 return resultobj;
8564 fail:
8565 return NULL;
8566}
8567
8568
8569static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj = NULL;
8571 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8572 wxHtmlWinParser *result;
8573 PyObject * obj0 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
8579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail;
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (wxHtmlWinParser *)(arg1)->GetParser();
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
8589 return resultobj;
8590 fail:
8591 return NULL;
8592}
8593
8594
8595static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj = NULL;
8597 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8598 wxString *arg2 = 0 ;
8599 bool result;
8600 bool temp2 = false ;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 char *kwnames[] = {
8604 (char *) "self",(char *) "anchor", NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
8608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail;
8610 {
8611 arg2 = wxString_in_helper(obj1);
8612 if (arg2 == NULL) SWIG_fail;
8613 temp2 = true;
8614 }
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 {
8623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8624 }
8625 {
8626 if (temp2)
8627 delete arg2;
8628 }
8629 return resultobj;
8630 fail:
8631 {
8632 if (temp2)
8633 delete arg2;
8634 }
8635 return NULL;
8636}
8637
8638
8639static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj = NULL;
8641 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8642 wxString *arg2 = 0 ;
8643 bool result;
8644 bool temp2 = false ;
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 char *kwnames[] = {
8648 (char *) "self",(char *) "anchor", NULL
8649 };
8650
8651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
8652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8653 if (SWIG_arg_fail(1)) SWIG_fail;
8654 {
8655 arg2 = wxString_in_helper(obj1);
8656 if (arg2 == NULL) SWIG_fail;
8657 temp2 = true;
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 {
8667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8668 }
8669 {
8670 if (temp2)
8671 delete arg2;
8672 }
8673 return resultobj;
8674 fail:
8675 {
8676 if (temp2)
8677 delete arg2;
8678 }
8679 return NULL;
8680}
8681
8682
8683static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj = NULL;
8685 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "filter", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
8692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8693 if (SWIG_arg_fail(1)) SWIG_fail;
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 wxPyHtmlWindow::AddFilter(arg1);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 Py_INCREF(Py_None); resultobj = Py_None;
8702 return resultobj;
8703 fail:
8704 return NULL;
8705}
8706
8707
8708static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj = NULL;
8710 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8711 wxPoint *arg2 = 0 ;
8712 wxPoint temp2 ;
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj1 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "pos", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
8720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8721 if (SWIG_arg_fail(1)) SWIG_fail;
8722 {
8723 arg2 = &temp2;
8724 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8725 }
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 (arg1)->SelectWord((wxPoint const &)*arg2);
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 Py_INCREF(Py_None); resultobj = Py_None;
8734 return resultobj;
8735 fail:
8736 return NULL;
8737}
8738
8739
8740static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj = NULL;
8742 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8743 wxPoint *arg2 = 0 ;
8744 wxPoint temp2 ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self",(char *) "pos", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
8752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8753 if (SWIG_arg_fail(1)) SWIG_fail;
8754 {
8755 arg2 = &temp2;
8756 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 (arg1)->SelectLine((wxPoint const &)*arg2);
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 Py_INCREF(Py_None); resultobj = Py_None;
8766 return resultobj;
8767 fail:
8768 return NULL;
8769}
8770
8771
8772static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj = NULL;
8774 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8775 PyObject * obj0 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
8781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail;
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 (arg1)->SelectAll();
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 Py_INCREF(Py_None); resultobj = Py_None;
8791 return resultobj;
8792 fail:
8793 return NULL;
8794}
8795
8796
8797static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj = NULL;
8799 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8800 wxString result;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
8807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail;
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 result = (arg1)->SelectionToText();
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 {
8817#if wxUSE_UNICODE
8818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8819#else
8820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8821#endif
8822 }
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj = NULL;
8831 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8832 wxString result;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (arg1)->ToText();
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 {
8849#if wxUSE_UNICODE
8850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8851#else
8852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8853#endif
8854 }
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
8861static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj = NULL;
8863 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8864 wxHtmlLinkInfo *arg2 = 0 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "link", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
8872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail;
8874 {
8875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8876 if (SWIG_arg_fail(2)) SWIG_fail;
8877 if (arg2 == NULL) {
8878 SWIG_null_ref("wxHtmlLinkInfo");
8879 }
8880 if (SWIG_arg_fail(2)) SWIG_fail;
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 Py_INCREF(Py_None); resultobj = Py_None;
8890 return resultobj;
8891 fail:
8892 return NULL;
8893}
8894
8895
8896static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj = NULL;
8898 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8899 wxString *arg2 = 0 ;
8900 bool temp2 = false ;
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "title", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
8908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8909 if (SWIG_arg_fail(1)) SWIG_fail;
8910 {
8911 arg2 = wxString_in_helper(obj1);
8912 if (arg2 == NULL) SWIG_fail;
8913 temp2 = true;
8914 }
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 Py_INCREF(Py_None); resultobj = Py_None;
8923 {
8924 if (temp2)
8925 delete arg2;
8926 }
8927 return resultobj;
8928 fail:
8929 {
8930 if (temp2)
8931 delete arg2;
8932 }
8933 return NULL;
8934}
8935
8936
8937static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj = NULL;
8939 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8940 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8941 int arg3 ;
8942 int arg4 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 PyObject * obj2 = 0 ;
8946 PyObject * obj3 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail;
8954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8955 if (SWIG_arg_fail(2)) SWIG_fail;
8956 {
8957 arg3 = static_cast<int >(SWIG_As_int(obj2));
8958 if (SWIG_arg_fail(3)) SWIG_fail;
8959 }
8960 {
8961 arg4 = static_cast<int >(SWIG_As_int(obj3));
8962 if (SWIG_arg_fail(4)) SWIG_fail;
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975}
8976
8977
8978static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj = NULL;
8980 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8981 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8982 int arg3 ;
8983 int arg4 ;
8984 wxMouseEvent *arg5 = 0 ;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 PyObject * obj2 = 0 ;
8988 PyObject * obj3 = 0 ;
8989 PyObject * obj4 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8996 if (SWIG_arg_fail(1)) SWIG_fail;
8997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8998 if (SWIG_arg_fail(2)) SWIG_fail;
8999 {
9000 arg3 = static_cast<int >(SWIG_As_int(obj2));
9001 if (SWIG_arg_fail(3)) SWIG_fail;
9002 }
9003 {
9004 arg4 = static_cast<int >(SWIG_As_int(obj3));
9005 if (SWIG_arg_fail(4)) SWIG_fail;
9006 }
9007 {
9008 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
9009 if (SWIG_arg_fail(5)) SWIG_fail;
9010 if (arg5 == NULL) {
9011 SWIG_null_ref("wxMouseEvent");
9012 }
9013 if (SWIG_arg_fail(5)) SWIG_fail;
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026}
9027
9028
9029static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj = NULL;
9031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9032 wxVisualAttributes result;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "variant", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9039 if (obj0) {
9040 {
9041 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
9042 if (SWIG_arg_fail(1)) SWIG_fail;
9043 }
9044 }
9045 {
9046 if (!wxPyCheckForApp()) SWIG_fail;
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 {
9054 wxVisualAttributes * resultptr;
9055 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
9056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
9064static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
9065 PyObject *obj;
9066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9067 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
9068 Py_INCREF(obj);
9069 return Py_BuildValue((char *)"");
9070}
9071static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
9072 PyObject *resultobj = NULL;
9073 wxHtmlDCRenderer *result;
9074 char *kwnames[] = {
9075 NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
9079 {
9080 if (!wxPyCheckForApp()) SWIG_fail;
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
9088 return resultobj;
9089 fail:
9090 return NULL;
9091}
9092
9093
9094static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj = NULL;
9096 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9097 PyObject * obj0 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
9103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9104 if (SWIG_arg_fail(1)) SWIG_fail;
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 delete arg1;
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 Py_INCREF(Py_None); resultobj = Py_None;
9113 return resultobj;
9114 fail:
9115 return NULL;
9116}
9117
9118
9119static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj = NULL;
9121 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9122 wxDC *arg2 = (wxDC *) 0 ;
9123 int arg3 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 PyObject * obj2 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
9132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail;
9134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9135 if (SWIG_arg_fail(2)) SWIG_fail;
9136 {
9137 arg3 = static_cast<int >(SWIG_As_int(obj2));
9138 if (SWIG_arg_fail(3)) SWIG_fail;
9139 }
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 (arg1)->SetDC(arg2,arg3);
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 Py_INCREF(Py_None); resultobj = Py_None;
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
9154static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj = NULL;
9156 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9157 int arg2 ;
9158 int arg3 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self",(char *) "width",(char *) "height", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail;
9169 {
9170 arg2 = static_cast<int >(SWIG_As_int(obj1));
9171 if (SWIG_arg_fail(2)) SWIG_fail;
9172 }
9173 {
9174 arg3 = static_cast<int >(SWIG_As_int(obj2));
9175 if (SWIG_arg_fail(3)) SWIG_fail;
9176 }
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 (arg1)->SetSize(arg2,arg3);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 Py_INCREF(Py_None); resultobj = Py_None;
9185 return resultobj;
9186 fail:
9187 return NULL;
9188}
9189
9190
9191static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj = NULL;
9193 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9194 wxString *arg2 = 0 ;
9195 wxString const &arg3_defvalue = wxPyEmptyString ;
9196 wxString *arg3 = (wxString *) &arg3_defvalue ;
9197 bool arg4 = (bool) true ;
9198 bool temp2 = false ;
9199 bool temp3 = false ;
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 PyObject * obj2 = 0 ;
9203 PyObject * obj3 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail;
9211 {
9212 arg2 = wxString_in_helper(obj1);
9213 if (arg2 == NULL) SWIG_fail;
9214 temp2 = true;
9215 }
9216 if (obj2) {
9217 {
9218 arg3 = wxString_in_helper(obj2);
9219 if (arg3 == NULL) SWIG_fail;
9220 temp3 = true;
9221 }
9222 }
9223 if (obj3) {
9224 {
9225 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
9226 if (SWIG_arg_fail(4)) SWIG_fail;
9227 }
9228 }
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 Py_INCREF(Py_None); resultobj = Py_None;
9237 {
9238 if (temp2)
9239 delete arg2;
9240 }
9241 {
9242 if (temp3)
9243 delete arg3;
9244 }
9245 return resultobj;
9246 fail:
9247 {
9248 if (temp2)
9249 delete arg2;
9250 }
9251 {
9252 if (temp3)
9253 delete arg3;
9254 }
9255 return NULL;
9256}
9257
9258
9259static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj = NULL;
9261 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9262 wxString arg2 ;
9263 wxString arg3 ;
9264 PyObject *arg4 = (PyObject *) NULL ;
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 PyObject * obj2 = 0 ;
9268 PyObject * obj3 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail;
9276 {
9277 wxString* sptr = wxString_in_helper(obj1);
9278 if (sptr == NULL) SWIG_fail;
9279 arg2 = *sptr;
9280 delete sptr;
9281 }
9282 {
9283 wxString* sptr = wxString_in_helper(obj2);
9284 if (sptr == NULL) SWIG_fail;
9285 arg3 = *sptr;
9286 delete sptr;
9287 }
9288 if (obj3) {
9289 arg4 = obj3;
9290 }
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 Py_INCREF(Py_None); resultobj = Py_None;
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
9305static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj = NULL;
9307 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9308 int arg2 = (int) -1 ;
9309 wxString const &arg3_defvalue = wxPyEmptyString ;
9310 wxString *arg3 = (wxString *) &arg3_defvalue ;
9311 wxString const &arg4_defvalue = wxPyEmptyString ;
9312 wxString *arg4 = (wxString *) &arg4_defvalue ;
9313 bool temp3 = false ;
9314 bool temp4 = false ;
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
9317 PyObject * obj2 = 0 ;
9318 PyObject * obj3 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9325 if (SWIG_arg_fail(1)) SWIG_fail;
9326 if (obj1) {
9327 {
9328 arg2 = static_cast<int >(SWIG_As_int(obj1));
9329 if (SWIG_arg_fail(2)) SWIG_fail;
9330 }
9331 }
9332 if (obj2) {
9333 {
9334 arg3 = wxString_in_helper(obj2);
9335 if (arg3 == NULL) SWIG_fail;
9336 temp3 = true;
9337 }
9338 }
9339 if (obj3) {
9340 {
9341 arg4 = wxString_in_helper(obj3);
9342 if (arg4 == NULL) SWIG_fail;
9343 temp4 = true;
9344 }
9345 }
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 Py_INCREF(Py_None); resultobj = Py_None;
9354 {
9355 if (temp3)
9356 delete arg3;
9357 }
9358 {
9359 if (temp4)
9360 delete arg4;
9361 }
9362 return resultobj;
9363 fail:
9364 {
9365 if (temp3)
9366 delete arg3;
9367 }
9368 {
9369 if (temp4)
9370 delete arg4;
9371 }
9372 return NULL;
9373}
9374
9375
9376static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj = NULL;
9378 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9379 int arg2 ;
9380 int arg3 ;
9381 int arg4 = (int) 0 ;
9382 int arg5 = (int) false ;
9383 int arg6 = (int) INT_MAX ;
9384 int *arg7 = (int *) NULL ;
9385 int arg8 = (int) 0 ;
9386 int result;
9387 PyObject * obj0 = 0 ;
9388 PyObject * obj1 = 0 ;
9389 PyObject * obj2 = 0 ;
9390 PyObject * obj3 = 0 ;
9391 PyObject * obj4 = 0 ;
9392 PyObject * obj5 = 0 ;
9393 PyObject * obj6 = 0 ;
9394 PyObject * obj7 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
9403 arg2 = static_cast<int >(SWIG_As_int(obj1));
9404 if (SWIG_arg_fail(2)) SWIG_fail;
9405 }
9406 {
9407 arg3 = static_cast<int >(SWIG_As_int(obj2));
9408 if (SWIG_arg_fail(3)) SWIG_fail;
9409 }
9410 if (obj3) {
9411 {
9412 arg4 = static_cast<int >(SWIG_As_int(obj3));
9413 if (SWIG_arg_fail(4)) SWIG_fail;
9414 }
9415 }
9416 if (obj4) {
9417 {
9418 arg5 = static_cast<int >(SWIG_As_int(obj4));
9419 if (SWIG_arg_fail(5)) SWIG_fail;
9420 }
9421 }
9422 if (obj5) {
9423 {
9424 arg6 = static_cast<int >(SWIG_As_int(obj5));
9425 if (SWIG_arg_fail(6)) SWIG_fail;
9426 }
9427 }
9428 if (obj6) {
9429 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9430 if (SWIG_arg_fail(7)) SWIG_fail;
9431 }
9432 if (obj7) {
9433 {
9434 arg8 = static_cast<int >(SWIG_As_int(obj7));
9435 if (SWIG_arg_fail(8)) SWIG_fail;
9436 }
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 {
9446 resultobj = SWIG_From_int(static_cast<int >(result));
9447 }
9448 return resultobj;
9449 fail:
9450 return NULL;
9451}
9452
9453
9454static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9455 PyObject *resultobj = NULL;
9456 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9457 int result;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
9464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9465 if (SWIG_arg_fail(1)) SWIG_fail;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (int)(arg1)->GetTotalHeight();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 {
9474 resultobj = SWIG_From_int(static_cast<int >(result));
9475 }
9476 return resultobj;
9477 fail:
9478 return NULL;
9479}
9480
9481
9482static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
9483 PyObject *obj;
9484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9486 Py_INCREF(obj);
9487 return Py_BuildValue((char *)"");
9488}
9489static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj = NULL;
9491 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9492 wxString *arg1 = (wxString *) &arg1_defvalue ;
9493 wxHtmlPrintout *result;
9494 bool temp1 = false ;
9495 PyObject * obj0 = 0 ;
9496 char *kwnames[] = {
9497 (char *) "title", NULL
9498 };
9499
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9501 if (obj0) {
9502 {
9503 arg1 = wxString_in_helper(obj0);
9504 if (arg1 == NULL) SWIG_fail;
9505 temp1 = true;
9506 }
9507 }
9508 {
9509 if (!wxPyCheckForApp()) SWIG_fail;
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
9517 {
9518 if (temp1)
9519 delete arg1;
9520 }
9521 return resultobj;
9522 fail:
9523 {
9524 if (temp1)
9525 delete arg1;
9526 }
9527 return NULL;
9528}
9529
9530
9531static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj = NULL;
9533 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9534 wxString *arg2 = 0 ;
9535 wxString const &arg3_defvalue = wxPyEmptyString ;
9536 wxString *arg3 = (wxString *) &arg3_defvalue ;
9537 bool arg4 = (bool) true ;
9538 bool temp2 = false ;
9539 bool temp3 = false ;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 PyObject * obj2 = 0 ;
9543 PyObject * obj3 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail;
9551 {
9552 arg2 = wxString_in_helper(obj1);
9553 if (arg2 == NULL) SWIG_fail;
9554 temp2 = true;
9555 }
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 = static_cast<bool >(SWIG_As_bool(obj3));
9566 if (SWIG_arg_fail(4)) SWIG_fail;
9567 }
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 Py_INCREF(Py_None); resultobj = Py_None;
9577 {
9578 if (temp2)
9579 delete arg2;
9580 }
9581 {
9582 if (temp3)
9583 delete arg3;
9584 }
9585 return resultobj;
9586 fail:
9587 {
9588 if (temp2)
9589 delete arg2;
9590 }
9591 {
9592 if (temp3)
9593 delete arg3;
9594 }
9595 return NULL;
9596}
9597
9598
9599static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj = NULL;
9601 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9602 wxString *arg2 = 0 ;
9603 bool temp2 = false ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self",(char *) "htmlfile", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
9611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9612 if (SWIG_arg_fail(1)) SWIG_fail;
9613 {
9614 arg2 = wxString_in_helper(obj1);
9615 if (arg2 == NULL) SWIG_fail;
9616 temp2 = true;
9617 }
9618 {
9619 PyThreadState* __tstate = wxPyBeginAllowThreads();
9620 (arg1)->SetHtmlFile((wxString const &)*arg2);
9621
9622 wxPyEndAllowThreads(__tstate);
9623 if (PyErr_Occurred()) SWIG_fail;
9624 }
9625 Py_INCREF(Py_None); resultobj = Py_None;
9626 {
9627 if (temp2)
9628 delete arg2;
9629 }
9630 return resultobj;
9631 fail:
9632 {
9633 if (temp2)
9634 delete arg2;
9635 }
9636 return NULL;
9637}
9638
9639
9640static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj = NULL;
9642 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9643 wxString *arg2 = 0 ;
9644 int arg3 = (int) wxPAGE_ALL ;
9645 bool temp2 = false ;
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self",(char *) "header",(char *) "pg", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
9654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail;
9656 {
9657 arg2 = wxString_in_helper(obj1);
9658 if (arg2 == NULL) SWIG_fail;
9659 temp2 = true;
9660 }
9661 if (obj2) {
9662 {
9663 arg3 = static_cast<int >(SWIG_As_int(obj2));
9664 if (SWIG_arg_fail(3)) SWIG_fail;
9665 }
9666 }
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 Py_INCREF(Py_None); resultobj = Py_None;
9675 {
9676 if (temp2)
9677 delete arg2;
9678 }
9679 return resultobj;
9680 fail:
9681 {
9682 if (temp2)
9683 delete arg2;
9684 }
9685 return NULL;
9686}
9687
9688
9689static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj = NULL;
9691 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9692 wxString *arg2 = 0 ;
9693 int arg3 = (int) wxPAGE_ALL ;
9694 bool temp2 = false ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 PyObject * obj2 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self",(char *) "footer",(char *) "pg", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
9703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail;
9705 {
9706 arg2 = wxString_in_helper(obj1);
9707 if (arg2 == NULL) SWIG_fail;
9708 temp2 = true;
9709 }
9710 if (obj2) {
9711 {
9712 arg3 = static_cast<int >(SWIG_As_int(obj2));
9713 if (SWIG_arg_fail(3)) SWIG_fail;
9714 }
9715 }
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 Py_INCREF(Py_None); resultobj = Py_None;
9724 {
9725 if (temp2)
9726 delete arg2;
9727 }
9728 return resultobj;
9729 fail:
9730 {
9731 if (temp2)
9732 delete arg2;
9733 }
9734 return NULL;
9735}
9736
9737
9738static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj = NULL;
9740 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9741 wxString arg2 ;
9742 wxString arg3 ;
9743 PyObject *arg4 = (PyObject *) NULL ;
9744 PyObject * obj0 = 0 ;
9745 PyObject * obj1 = 0 ;
9746 PyObject * obj2 = 0 ;
9747 PyObject * obj3 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9754 if (SWIG_arg_fail(1)) SWIG_fail;
9755 {
9756 wxString* sptr = wxString_in_helper(obj1);
9757 if (sptr == NULL) SWIG_fail;
9758 arg2 = *sptr;
9759 delete sptr;
9760 }
9761 {
9762 wxString* sptr = wxString_in_helper(obj2);
9763 if (sptr == NULL) SWIG_fail;
9764 arg3 = *sptr;
9765 delete sptr;
9766 }
9767 if (obj3) {
9768 arg4 = obj3;
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 Py_INCREF(Py_None); resultobj = Py_None;
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
9784static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9785 PyObject *resultobj = NULL;
9786 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9787 int arg2 = (int) -1 ;
9788 wxString const &arg3_defvalue = wxPyEmptyString ;
9789 wxString *arg3 = (wxString *) &arg3_defvalue ;
9790 wxString const &arg4_defvalue = wxPyEmptyString ;
9791 wxString *arg4 = (wxString *) &arg4_defvalue ;
9792 bool temp3 = false ;
9793 bool temp4 = false ;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 PyObject * obj3 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail;
9805 if (obj1) {
9806 {
9807 arg2 = static_cast<int >(SWIG_As_int(obj1));
9808 if (SWIG_arg_fail(2)) SWIG_fail;
9809 }
9810 }
9811 if (obj2) {
9812 {
9813 arg3 = wxString_in_helper(obj2);
9814 if (arg3 == NULL) SWIG_fail;
9815 temp3 = true;
9816 }
9817 }
9818 if (obj3) {
9819 {
9820 arg4 = wxString_in_helper(obj3);
9821 if (arg4 == NULL) SWIG_fail;
9822 temp4 = true;
9823 }
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 {
9834 if (temp3)
9835 delete arg3;
9836 }
9837 {
9838 if (temp4)
9839 delete arg4;
9840 }
9841 return resultobj;
9842 fail:
9843 {
9844 if (temp3)
9845 delete arg3;
9846 }
9847 {
9848 if (temp4)
9849 delete arg4;
9850 }
9851 return NULL;
9852}
9853
9854
9855static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj = NULL;
9857 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9858 float arg2 = (float) 25.2 ;
9859 float arg3 = (float) 25.2 ;
9860 float arg4 = (float) 25.2 ;
9861 float arg5 = (float) 25.2 ;
9862 float arg6 = (float) 5 ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 PyObject * obj2 = 0 ;
9866 PyObject * obj3 = 0 ;
9867 PyObject * obj4 = 0 ;
9868 PyObject * obj5 = 0 ;
9869 char *kwnames[] = {
9870 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9871 };
9872
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9875 if (SWIG_arg_fail(1)) SWIG_fail;
9876 if (obj1) {
9877 {
9878 arg2 = static_cast<float >(SWIG_As_float(obj1));
9879 if (SWIG_arg_fail(2)) SWIG_fail;
9880 }
9881 }
9882 if (obj2) {
9883 {
9884 arg3 = static_cast<float >(SWIG_As_float(obj2));
9885 if (SWIG_arg_fail(3)) SWIG_fail;
9886 }
9887 }
9888 if (obj3) {
9889 {
9890 arg4 = static_cast<float >(SWIG_As_float(obj3));
9891 if (SWIG_arg_fail(4)) SWIG_fail;
9892 }
9893 }
9894 if (obj4) {
9895 {
9896 arg5 = static_cast<float >(SWIG_As_float(obj4));
9897 if (SWIG_arg_fail(5)) SWIG_fail;
9898 }
9899 }
9900 if (obj5) {
9901 {
9902 arg6 = static_cast<float >(SWIG_As_float(obj5));
9903 if (SWIG_arg_fail(6)) SWIG_fail;
9904 }
9905 }
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 Py_INCREF(Py_None); resultobj = Py_None;
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
9920static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj = NULL;
9922 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "filter", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
9929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 wxHtmlPrintout::AddFilter(arg1);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 return resultobj;
9940 fail:
9941 return NULL;
9942}
9943
9944
9945static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj = NULL;
9947 char *kwnames[] = {
9948 NULL
9949 };
9950
9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 wxHtmlPrintout::CleanUpStatics();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 Py_INCREF(Py_None); resultobj = Py_None;
9960 return resultobj;
9961 fail:
9962 return NULL;
9963}
9964
9965
9966static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
9967 PyObject *obj;
9968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9970 Py_INCREF(obj);
9971 return Py_BuildValue((char *)"");
9972}
9973static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj = NULL;
9975 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9976 wxString *arg1 = (wxString *) &arg1_defvalue ;
9977 wxWindow *arg2 = (wxWindow *) NULL ;
9978 wxHtmlEasyPrinting *result;
9979 bool temp1 = false ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "name",(char *) "parentWindow", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9987 if (obj0) {
9988 {
9989 arg1 = wxString_in_helper(obj0);
9990 if (arg1 == NULL) SWIG_fail;
9991 temp1 = true;
9992 }
9993 }
9994 if (obj1) {
9995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9996 if (SWIG_arg_fail(2)) SWIG_fail;
9997 }
9998 {
9999 if (!wxPyCheckForApp()) SWIG_fail;
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
10007 {
10008 if (temp1)
10009 delete arg1;
10010 }
10011 return resultobj;
10012 fail:
10013 {
10014 if (temp1)
10015 delete arg1;
10016 }
10017 return NULL;
10018}
10019
10020
10021static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj = NULL;
10023 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10024 PyObject * obj0 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
10030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail;
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 delete arg1;
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 Py_INCREF(Py_None); resultobj = Py_None;
10040 return resultobj;
10041 fail:
10042 return NULL;
10043}
10044
10045
10046static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj = NULL;
10048 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10049 wxString *arg2 = 0 ;
10050 bool temp2 = false ;
10051 PyObject * obj0 = 0 ;
10052 PyObject * obj1 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self",(char *) "htmlfile", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
10058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10059 if (SWIG_arg_fail(1)) SWIG_fail;
10060 {
10061 arg2 = wxString_in_helper(obj1);
10062 if (arg2 == NULL) SWIG_fail;
10063 temp2 = true;
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->PreviewFile((wxString const &)*arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 {
10074 if (temp2)
10075 delete arg2;
10076 }
10077 return resultobj;
10078 fail:
10079 {
10080 if (temp2)
10081 delete arg2;
10082 }
10083 return NULL;
10084}
10085
10086
10087static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
10088 PyObject *resultobj = NULL;
10089 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10090 wxString *arg2 = 0 ;
10091 wxString const &arg3_defvalue = wxPyEmptyString ;
10092 wxString *arg3 = (wxString *) &arg3_defvalue ;
10093 bool temp2 = false ;
10094 bool temp3 = false ;
10095 PyObject * obj0 = 0 ;
10096 PyObject * obj1 = 0 ;
10097 PyObject * obj2 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail;
10105 {
10106 arg2 = wxString_in_helper(obj1);
10107 if (arg2 == NULL) SWIG_fail;
10108 temp2 = true;
10109 }
10110 if (obj2) {
10111 {
10112 arg3 = wxString_in_helper(obj2);
10113 if (arg3 == NULL) SWIG_fail;
10114 temp3 = true;
10115 }
10116 }
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 Py_INCREF(Py_None); resultobj = Py_None;
10125 {
10126 if (temp2)
10127 delete arg2;
10128 }
10129 {
10130 if (temp3)
10131 delete arg3;
10132 }
10133 return resultobj;
10134 fail:
10135 {
10136 if (temp2)
10137 delete arg2;
10138 }
10139 {
10140 if (temp3)
10141 delete arg3;
10142 }
10143 return NULL;
10144}
10145
10146
10147static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj = NULL;
10149 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10150 wxString *arg2 = 0 ;
10151 bool temp2 = false ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self",(char *) "htmlfile", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
10159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10160 if (SWIG_arg_fail(1)) SWIG_fail;
10161 {
10162 arg2 = wxString_in_helper(obj1);
10163 if (arg2 == NULL) SWIG_fail;
10164 temp2 = true;
10165 }
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->PrintFile((wxString const &)*arg2);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 Py_INCREF(Py_None); resultobj = Py_None;
10174 {
10175 if (temp2)
10176 delete arg2;
10177 }
10178 return resultobj;
10179 fail:
10180 {
10181 if (temp2)
10182 delete arg2;
10183 }
10184 return NULL;
10185}
10186
10187
10188static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj = NULL;
10190 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10191 wxString *arg2 = 0 ;
10192 wxString const &arg3_defvalue = wxPyEmptyString ;
10193 wxString *arg3 = (wxString *) &arg3_defvalue ;
10194 bool temp2 = false ;
10195 bool temp3 = false ;
10196 PyObject * obj0 = 0 ;
10197 PyObject * obj1 = 0 ;
10198 PyObject * obj2 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10205 if (SWIG_arg_fail(1)) SWIG_fail;
10206 {
10207 arg2 = wxString_in_helper(obj1);
10208 if (arg2 == NULL) SWIG_fail;
10209 temp2 = true;
10210 }
10211 if (obj2) {
10212 {
10213 arg3 = wxString_in_helper(obj2);
10214 if (arg3 == NULL) SWIG_fail;
10215 temp3 = true;
10216 }
10217 }
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
10221
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 Py_INCREF(Py_None); resultobj = Py_None;
10226 {
10227 if (temp2)
10228 delete arg2;
10229 }
10230 {
10231 if (temp3)
10232 delete arg3;
10233 }
10234 return resultobj;
10235 fail:
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 {
10241 if (temp3)
10242 delete arg3;
10243 }
10244 return NULL;
10245}
10246
10247
10248static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
10249 PyObject *resultobj = NULL;
10250 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
10257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail;
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->PageSetup();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 Py_INCREF(Py_None); resultobj = Py_None;
10267 return resultobj;
10268 fail:
10269 return NULL;
10270}
10271
10272
10273static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj = NULL;
10275 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10276 wxString *arg2 = 0 ;
10277 int arg3 = (int) wxPAGE_ALL ;
10278 bool temp2 = false ;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 PyObject * obj2 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self",(char *) "header",(char *) "pg", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
10287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail;
10289 {
10290 arg2 = wxString_in_helper(obj1);
10291 if (arg2 == NULL) SWIG_fail;
10292 temp2 = true;
10293 }
10294 if (obj2) {
10295 {
10296 arg3 = static_cast<int >(SWIG_As_int(obj2));
10297 if (SWIG_arg_fail(3)) SWIG_fail;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 Py_INCREF(Py_None); resultobj = Py_None;
10308 {
10309 if (temp2)
10310 delete arg2;
10311 }
10312 return resultobj;
10313 fail:
10314 {
10315 if (temp2)
10316 delete arg2;
10317 }
10318 return NULL;
10319}
10320
10321
10322static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj = NULL;
10324 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10325 wxString *arg2 = 0 ;
10326 int arg3 = (int) wxPAGE_ALL ;
10327 bool temp2 = false ;
10328 PyObject * obj0 = 0 ;
10329 PyObject * obj1 = 0 ;
10330 PyObject * obj2 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "footer",(char *) "pg", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
10336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail;
10338 {
10339 arg2 = wxString_in_helper(obj1);
10340 if (arg2 == NULL) SWIG_fail;
10341 temp2 = true;
10342 }
10343 if (obj2) {
10344 {
10345 arg3 = static_cast<int >(SWIG_As_int(obj2));
10346 if (SWIG_arg_fail(3)) SWIG_fail;
10347 }
10348 }
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 {
10358 if (temp2)
10359 delete arg2;
10360 }
10361 return resultobj;
10362 fail:
10363 {
10364 if (temp2)
10365 delete arg2;
10366 }
10367 return NULL;
10368}
10369
10370
10371static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj = NULL;
10373 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10374 wxString arg2 ;
10375 wxString arg3 ;
10376 PyObject *arg4 = (PyObject *) NULL ;
10377 PyObject * obj0 = 0 ;
10378 PyObject * obj1 = 0 ;
10379 PyObject * obj2 = 0 ;
10380 PyObject * obj3 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10387 if (SWIG_arg_fail(1)) SWIG_fail;
10388 {
10389 wxString* sptr = wxString_in_helper(obj1);
10390 if (sptr == NULL) SWIG_fail;
10391 arg2 = *sptr;
10392 delete sptr;
10393 }
10394 {
10395 wxString* sptr = wxString_in_helper(obj2);
10396 if (sptr == NULL) SWIG_fail;
10397 arg3 = *sptr;
10398 delete sptr;
10399 }
10400 if (obj3) {
10401 arg4 = obj3;
10402 }
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 Py_INCREF(Py_None); resultobj = Py_None;
10411 return resultobj;
10412 fail:
10413 return NULL;
10414}
10415
10416
10417static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj = NULL;
10419 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10420 int arg2 = (int) -1 ;
10421 wxString const &arg3_defvalue = wxPyEmptyString ;
10422 wxString *arg3 = (wxString *) &arg3_defvalue ;
10423 wxString const &arg4_defvalue = wxPyEmptyString ;
10424 wxString *arg4 = (wxString *) &arg4_defvalue ;
10425 bool temp3 = false ;
10426 bool temp4 = false ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 PyObject * obj2 = 0 ;
10430 PyObject * obj3 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail;
10438 if (obj1) {
10439 {
10440 arg2 = static_cast<int >(SWIG_As_int(obj1));
10441 if (SWIG_arg_fail(2)) SWIG_fail;
10442 }
10443 }
10444 if (obj2) {
10445 {
10446 arg3 = wxString_in_helper(obj2);
10447 if (arg3 == NULL) SWIG_fail;
10448 temp3 = true;
10449 }
10450 }
10451 if (obj3) {
10452 {
10453 arg4 = wxString_in_helper(obj3);
10454 if (arg4 == NULL) SWIG_fail;
10455 temp4 = true;
10456 }
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 {
10467 if (temp3)
10468 delete arg3;
10469 }
10470 {
10471 if (temp4)
10472 delete arg4;
10473 }
10474 return resultobj;
10475 fail:
10476 {
10477 if (temp3)
10478 delete arg3;
10479 }
10480 {
10481 if (temp4)
10482 delete arg4;
10483 }
10484 return NULL;
10485}
10486
10487
10488static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj = NULL;
10490 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10491 wxPrintData *result;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
10498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10499 if (SWIG_arg_fail(1)) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (wxPrintData *)(arg1)->GetPrintData();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511}
10512
10513
10514static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj = NULL;
10516 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10517 wxPageSetupDialogData *result;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
10524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10525 if (SWIG_arg_fail(1)) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
10540static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
10541 PyObject *obj;
10542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10543 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10544 Py_INCREF(obj);
10545 return Py_BuildValue((char *)"");
10546}
10547static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj = NULL;
10549 wxString *arg1 = 0 ;
10550 wxString *arg2 = 0 ;
10551 wxString *arg3 = 0 ;
10552 wxString *arg4 = 0 ;
10553 wxHtmlBookRecord *result;
10554 bool temp1 = false ;
10555 bool temp2 = false ;
10556 bool temp3 = false ;
10557 bool temp4 = false ;
10558 PyObject * obj0 = 0 ;
10559 PyObject * obj1 = 0 ;
10560 PyObject * obj2 = 0 ;
10561 PyObject * obj3 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10567 {
10568 arg1 = wxString_in_helper(obj0);
10569 if (arg1 == NULL) SWIG_fail;
10570 temp1 = true;
10571 }
10572 {
10573 arg2 = wxString_in_helper(obj1);
10574 if (arg2 == NULL) SWIG_fail;
10575 temp2 = true;
10576 }
10577 {
10578 arg3 = wxString_in_helper(obj2);
10579 if (arg3 == NULL) SWIG_fail;
10580 temp3 = true;
10581 }
10582 {
10583 arg4 = wxString_in_helper(obj3);
10584 if (arg4 == NULL) SWIG_fail;
10585 temp4 = true;
10586 }
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
10595 {
10596 if (temp1)
10597 delete arg1;
10598 }
10599 {
10600 if (temp2)
10601 delete arg2;
10602 }
10603 {
10604 if (temp3)
10605 delete arg3;
10606 }
10607 {
10608 if (temp4)
10609 delete arg4;
10610 }
10611 return resultobj;
10612 fail:
10613 {
10614 if (temp1)
10615 delete arg1;
10616 }
10617 {
10618 if (temp2)
10619 delete arg2;
10620 }
10621 {
10622 if (temp3)
10623 delete arg3;
10624 }
10625 {
10626 if (temp4)
10627 delete arg4;
10628 }
10629 return NULL;
10630}
10631
10632
10633static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj = NULL;
10635 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10636 wxString result;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
10643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (arg1)->GetBookFile();
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 {
10653#if wxUSE_UNICODE
10654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10655#else
10656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10657#endif
10658 }
10659 return resultobj;
10660 fail:
10661 return NULL;
10662}
10663
10664
10665static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10666 PyObject *resultobj = NULL;
10667 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10668 wxString result;
10669 PyObject * obj0 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
10675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10676 if (SWIG_arg_fail(1)) SWIG_fail;
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (arg1)->GetTitle();
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685#if wxUSE_UNICODE
10686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10687#else
10688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10689#endif
10690 }
10691 return resultobj;
10692 fail:
10693 return NULL;
10694}
10695
10696
10697static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10698 PyObject *resultobj = NULL;
10699 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10700 wxString result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
10707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10708 if (SWIG_arg_fail(1)) SWIG_fail;
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (arg1)->GetStart();
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 {
10717#if wxUSE_UNICODE
10718 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10719#else
10720 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10721#endif
10722 }
10723 return resultobj;
10724 fail:
10725 return NULL;
10726}
10727
10728
10729static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10730 PyObject *resultobj = NULL;
10731 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10732 wxString result;
10733 PyObject * obj0 = 0 ;
10734 char *kwnames[] = {
10735 (char *) "self", NULL
10736 };
10737
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
10739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10740 if (SWIG_arg_fail(1)) SWIG_fail;
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (arg1)->GetBasePath();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 {
10749#if wxUSE_UNICODE
10750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10751#else
10752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10753#endif
10754 }
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
10761static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj = NULL;
10763 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10764 int arg2 ;
10765 int arg3 ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 PyObject * obj2 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "start",(char *) "end", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10775 if (SWIG_arg_fail(1)) SWIG_fail;
10776 {
10777 arg2 = static_cast<int >(SWIG_As_int(obj1));
10778 if (SWIG_arg_fail(2)) SWIG_fail;
10779 }
10780 {
10781 arg3 = static_cast<int >(SWIG_As_int(obj2));
10782 if (SWIG_arg_fail(3)) SWIG_fail;
10783 }
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 (arg1)->SetContentsRange(arg2,arg3);
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
10798static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj = NULL;
10800 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10801 int result;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
10808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail;
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 result = (int)(arg1)->GetContentsStart();
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 {
10818 resultobj = SWIG_From_int(static_cast<int >(result));
10819 }
10820 return resultobj;
10821 fail:
10822 return NULL;
10823}
10824
10825
10826static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj = NULL;
10828 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10829 int result;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
10836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (int)(arg1)->GetContentsEnd();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 {
10846 resultobj = SWIG_From_int(static_cast<int >(result));
10847 }
10848 return resultobj;
10849 fail:
10850 return NULL;
10851}
10852
10853
10854static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj = NULL;
10856 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10857 wxString *arg2 = 0 ;
10858 bool temp2 = false ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "title", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
10866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail;
10868 {
10869 arg2 = wxString_in_helper(obj1);
10870 if (arg2 == NULL) SWIG_fail;
10871 temp2 = true;
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->SetTitle((wxString const &)*arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 {
10882 if (temp2)
10883 delete arg2;
10884 }
10885 return resultobj;
10886 fail:
10887 {
10888 if (temp2)
10889 delete arg2;
10890 }
10891 return NULL;
10892}
10893
10894
10895static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj = NULL;
10897 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10898 wxString *arg2 = 0 ;
10899 bool temp2 = false ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "path", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
10907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail;
10909 {
10910 arg2 = wxString_in_helper(obj1);
10911 if (arg2 == NULL) SWIG_fail;
10912 temp2 = true;
10913 }
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 (arg1)->SetBasePath((wxString const &)*arg2);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 Py_INCREF(Py_None); resultobj = Py_None;
10922 {
10923 if (temp2)
10924 delete arg2;
10925 }
10926 return resultobj;
10927 fail:
10928 {
10929 if (temp2)
10930 delete arg2;
10931 }
10932 return NULL;
10933}
10934
10935
10936static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj = NULL;
10938 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10939 wxString *arg2 = 0 ;
10940 bool temp2 = false ;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "start", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
10948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail;
10950 {
10951 arg2 = wxString_in_helper(obj1);
10952 if (arg2 == NULL) SWIG_fail;
10953 temp2 = true;
10954 }
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 (arg1)->SetStart((wxString const &)*arg2);
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 Py_INCREF(Py_None); resultobj = Py_None;
10963 {
10964 if (temp2)
10965 delete arg2;
10966 }
10967 return resultobj;
10968 fail:
10969 {
10970 if (temp2)
10971 delete arg2;
10972 }
10973 return NULL;
10974}
10975
10976
10977static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj = NULL;
10979 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10980 wxString *arg2 = 0 ;
10981 wxString result;
10982 bool temp2 = false ;
10983 PyObject * obj0 = 0 ;
10984 PyObject * obj1 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "page", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
10992 {
10993 arg2 = wxString_in_helper(obj1);
10994 if (arg2 == NULL) SWIG_fail;
10995 temp2 = true;
10996 }
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 {
11005#if wxUSE_UNICODE
11006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11007#else
11008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11009#endif
11010 }
11011 {
11012 if (temp2)
11013 delete arg2;
11014 }
11015 return resultobj;
11016 fail:
11017 {
11018 if (temp2)
11019 delete arg2;
11020 }
11021 return NULL;
11022}
11023
11024
11025static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
11026 PyObject *obj;
11027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11028 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
11029 Py_INCREF(obj);
11030 return Py_BuildValue((char *)"");
11031}
11032static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj = NULL;
11034 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11035 bool result;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
11042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail;
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 result = (bool)(arg1)->Search();
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 {
11052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11053 }
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
11060static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj = NULL;
11062 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11063 bool result;
11064 PyObject * obj0 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
11070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (bool)(arg1)->IsActive();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 {
11080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11081 }
11082 return resultobj;
11083 fail:
11084 return NULL;
11085}
11086
11087
11088static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj = NULL;
11090 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11091 int result;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
11098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11099 if (SWIG_arg_fail(1)) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = (int)(arg1)->GetCurIndex();
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 resultobj = SWIG_From_int(static_cast<int >(result));
11109 }
11110 return resultobj;
11111 fail:
11112 return NULL;
11113}
11114
11115
11116static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11117 PyObject *resultobj = NULL;
11118 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11119 int result;
11120 PyObject * obj0 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
11126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail;
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (int)(arg1)->GetMaxIndex();
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 {
11136 resultobj = SWIG_From_int(static_cast<int >(result));
11137 }
11138 return resultobj;
11139 fail:
11140 return NULL;
11141}
11142
11143
11144static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj = NULL;
11146 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11147 wxString *result;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
11154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail;
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 {
11159 wxString const &_result_ref = (arg1)->GetName();
11160 result = (wxString *) &_result_ref;
11161 }
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167#if wxUSE_UNICODE
11168 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11169#else
11170 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11171#endif
11172 }
11173 return resultobj;
11174 fail:
11175 return NULL;
11176}
11177
11178
11179static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
11180 PyObject *obj;
11181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11182 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11183 Py_INCREF(obj);
11184 return Py_BuildValue((char *)"");
11185}
11186static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj = NULL;
11188 wxHtmlHelpData *result;
11189 char *kwnames[] = {
11190 NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
11202 return resultobj;
11203 fail:
11204 return NULL;
11205}
11206
11207
11208static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj = NULL;
11210 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11211 PyObject * obj0 = 0 ;
11212 char *kwnames[] = {
11213 (char *) "self", NULL
11214 };
11215
11216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
11217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11218 if (SWIG_arg_fail(1)) SWIG_fail;
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 delete arg1;
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 Py_INCREF(Py_None); resultobj = Py_None;
11227 return resultobj;
11228 fail:
11229 return NULL;
11230}
11231
11232
11233static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj = NULL;
11235 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11236 wxString *arg2 = 0 ;
11237 bool temp2 = false ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "path", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
11245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11246 if (SWIG_arg_fail(1)) SWIG_fail;
11247 {
11248 arg2 = wxString_in_helper(obj1);
11249 if (arg2 == NULL) SWIG_fail;
11250 temp2 = true;
11251 }
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 (arg1)->SetTempDir((wxString const &)*arg2);
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 {
11261 if (temp2)
11262 delete arg2;
11263 }
11264 return resultobj;
11265 fail:
11266 {
11267 if (temp2)
11268 delete arg2;
11269 }
11270 return NULL;
11271}
11272
11273
11274static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj = NULL;
11276 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11277 wxString *arg2 = 0 ;
11278 bool result;
11279 bool temp2 = false ;
11280 PyObject * obj0 = 0 ;
11281 PyObject * obj1 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self",(char *) "book", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
11287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail;
11289 {
11290 arg2 = wxString_in_helper(obj1);
11291 if (arg2 == NULL) SWIG_fail;
11292 temp2 = true;
11293 }
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 {
11302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11303 }
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
11318static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj = NULL;
11320 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11321 wxString *arg2 = 0 ;
11322 wxString result;
11323 bool temp2 = false ;
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "self",(char *) "page", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
11331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail;
11333 {
11334 arg2 = wxString_in_helper(obj1);
11335 if (arg2 == NULL) SWIG_fail;
11336 temp2 = true;
11337 }
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (arg1)->FindPageByName((wxString const &)*arg2);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 {
11346#if wxUSE_UNICODE
11347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11348#else
11349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11350#endif
11351 }
11352 {
11353 if (temp2)
11354 delete arg2;
11355 }
11356 return resultobj;
11357 fail:
11358 {
11359 if (temp2)
11360 delete arg2;
11361 }
11362 return NULL;
11363}
11364
11365
11366static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj = NULL;
11368 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11369 int arg2 ;
11370 wxString result;
11371 PyObject * obj0 = 0 ;
11372 PyObject * obj1 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "id", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
11378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11379 if (SWIG_arg_fail(1)) SWIG_fail;
11380 {
11381 arg2 = static_cast<int >(SWIG_As_int(obj1));
11382 if (SWIG_arg_fail(2)) SWIG_fail;
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (arg1)->FindPageById(arg2);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 {
11392#if wxUSE_UNICODE
11393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11394#else
11395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11396#endif
11397 }
11398 return resultobj;
11399 fail:
11400 return NULL;
11401}
11402
11403
11404static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
11405 PyObject *resultobj = NULL;
11406 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11407 wxHtmlBookRecArray *result;
11408 PyObject * obj0 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "self", NULL
11411 };
11412
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
11414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11415 if (SWIG_arg_fail(1)) SWIG_fail;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 {
11419 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11420 result = (wxHtmlBookRecArray *) &_result_ref;
11421 }
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
11433static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
11434 PyObject *obj;
11435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11436 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11437 Py_INCREF(obj);
11438 return Py_BuildValue((char *)"");
11439}
11440static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj = NULL;
11442 wxWindow *arg1 = (wxWindow *) 0 ;
11443 int arg2 ;
11444 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11445 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11446 wxSize const &arg4_defvalue = wxDefaultSize ;
11447 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11448 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11449 int arg6 = (int) wxHF_DEFAULT_STYLE ;
11450 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
11451 wxHtmlHelpWindow *result;
11452 wxPoint temp3 ;
11453 wxSize temp4 ;
11454 PyObject * obj0 = 0 ;
11455 PyObject * obj1 = 0 ;
11456 PyObject * obj2 = 0 ;
11457 PyObject * obj3 = 0 ;
11458 PyObject * obj4 = 0 ;
11459 PyObject * obj5 = 0 ;
11460 PyObject * obj6 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail;
11468 {
11469 arg2 = static_cast<int >(SWIG_As_int(obj1));
11470 if (SWIG_arg_fail(2)) SWIG_fail;
11471 }
11472 if (obj2) {
11473 {
11474 arg3 = &temp3;
11475 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11476 }
11477 }
11478 if (obj3) {
11479 {
11480 arg4 = &temp4;
11481 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11482 }
11483 }
11484 if (obj4) {
11485 {
11486 arg5 = static_cast<int >(SWIG_As_int(obj4));
11487 if (SWIG_arg_fail(5)) SWIG_fail;
11488 }
11489 }
11490 if (obj5) {
11491 {
11492 arg6 = static_cast<int >(SWIG_As_int(obj5));
11493 if (SWIG_arg_fail(6)) SWIG_fail;
11494 }
11495 }
11496 if (obj6) {
11497 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11498 if (SWIG_arg_fail(7)) SWIG_fail;
11499 }
11500 {
11501 if (!wxPyCheckForApp()) SWIG_fail;
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
11515static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj = NULL;
11517 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
11518 wxHtmlHelpWindow *result;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "data", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail;
11525 if (obj0) {
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 }
11529 {
11530 if (!wxPyCheckForApp()) SWIG_fail;
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11538 return resultobj;
11539 fail:
11540 return NULL;
11541}
11542
11543
11544static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj = NULL;
11546 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11547 wxWindow *arg2 = (wxWindow *) 0 ;
11548 int arg3 ;
11549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11551 wxSize const &arg5_defvalue = wxDefaultSize ;
11552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11553 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11554 int arg7 = (int) wxHF_DEFAULT_STYLE ;
11555 bool result;
11556 wxPoint temp4 ;
11557 wxSize temp5 ;
11558 PyObject * obj0 = 0 ;
11559 PyObject * obj1 = 0 ;
11560 PyObject * obj2 = 0 ;
11561 PyObject * obj3 = 0 ;
11562 PyObject * obj4 = 0 ;
11563 PyObject * obj5 = 0 ;
11564 PyObject * obj6 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail;
11572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11573 if (SWIG_arg_fail(2)) SWIG_fail;
11574 {
11575 arg3 = static_cast<int >(SWIG_As_int(obj2));
11576 if (SWIG_arg_fail(3)) SWIG_fail;
11577 }
11578 if (obj3) {
11579 {
11580 arg4 = &temp4;
11581 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11582 }
11583 }
11584 if (obj4) {
11585 {
11586 arg5 = &temp5;
11587 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11588 }
11589 }
11590 if (obj5) {
11591 {
11592 arg6 = static_cast<int >(SWIG_As_int(obj5));
11593 if (SWIG_arg_fail(6)) SWIG_fail;
11594 }
11595 }
11596 if (obj6) {
11597 {
11598 arg7 = static_cast<int >(SWIG_As_int(obj6));
11599 if (SWIG_arg_fail(7)) SWIG_fail;
11600 }
11601 }
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 {
11610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11611 }
11612 return resultobj;
11613 fail:
11614 return NULL;
11615}
11616
11617
11618static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj = NULL;
11620 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11621 wxHtmlHelpData *result;
11622 PyObject * obj0 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail;
11628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11629 if (SWIG_arg_fail(1)) SWIG_fail;
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 result = (wxHtmlHelpData *)(arg1)->GetData();
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
11644static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj = NULL;
11646 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11647 wxHtmlHelpController *result;
11648 PyObject * obj0 = 0 ;
11649 char *kwnames[] = {
11650 (char *) "self", NULL
11651 };
11652
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail;
11654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11655 if (SWIG_arg_fail(1)) SWIG_fail;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
11670static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj = NULL;
11672 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11673 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "controller", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail;
11681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11682 if (SWIG_arg_fail(1)) SWIG_fail;
11683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11684 if (SWIG_arg_fail(2)) SWIG_fail;
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 (arg1)->SetController(arg2);
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 Py_INCREF(Py_None); resultobj = Py_None;
11693 return resultobj;
11694 fail:
11695 return NULL;
11696}
11697
11698
11699static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj = NULL;
11701 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11702 wxString *arg2 = 0 ;
11703 bool result;
11704 bool temp2 = false ;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "x", NULL
11709 };
11710
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail;
11712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11713 if (SWIG_arg_fail(1)) SWIG_fail;
11714 {
11715 arg2 = wxString_in_helper(obj1);
11716 if (arg2 == NULL) SWIG_fail;
11717 temp2 = true;
11718 }
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (bool)(arg1)->Display((wxString const &)*arg2);
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 {
11727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11728 }
11729 {
11730 if (temp2)
11731 delete arg2;
11732 }
11733 return resultobj;
11734 fail:
11735 {
11736 if (temp2)
11737 delete arg2;
11738 }
11739 return NULL;
11740}
11741
11742
11743static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj = NULL;
11745 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11746 int arg2 ;
11747 bool result;
11748 PyObject * obj0 = 0 ;
11749 PyObject * obj1 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "id", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail;
11755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11756 if (SWIG_arg_fail(1)) SWIG_fail;
11757 {
11758 arg2 = static_cast<int >(SWIG_As_int(obj1));
11759 if (SWIG_arg_fail(2)) SWIG_fail;
11760 }
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
11763 result = (bool)(arg1)->Display(arg2);
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 {
11769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11770 }
11771 return resultobj;
11772 fail:
11773 return NULL;
11774}
11775
11776
11777static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj = NULL;
11779 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11780 bool result;
11781 PyObject * obj0 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail;
11787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11788 if (SWIG_arg_fail(1)) SWIG_fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (bool)(arg1)->DisplayContents();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 {
11797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11798 }
11799 return resultobj;
11800 fail:
11801 return NULL;
11802}
11803
11804
11805static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj = NULL;
11807 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11808 bool result;
11809 PyObject * obj0 = 0 ;
11810 char *kwnames[] = {
11811 (char *) "self", NULL
11812 };
11813
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail;
11815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11816 if (SWIG_arg_fail(1)) SWIG_fail;
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (bool)(arg1)->DisplayIndex();
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 {
11825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11826 }
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
11833static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj = NULL;
11835 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11836 wxString *arg2 = 0 ;
11837 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
11838 bool result;
11839 bool temp2 = false ;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 PyObject * obj2 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "self",(char *) "keyword",(char *) "mode", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
11848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11849 if (SWIG_arg_fail(1)) SWIG_fail;
11850 {
11851 arg2 = wxString_in_helper(obj1);
11852 if (arg2 == NULL) SWIG_fail;
11853 temp2 = true;
11854 }
11855 if (obj2) {
11856 {
11857 wxHelpSearchMode * argp;
11858 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
11859 if (SWIG_arg_fail(3)) SWIG_fail;
11860 if (argp == NULL) {
11861 SWIG_null_ref("wxHelpSearchMode");
11862 }
11863 if (SWIG_arg_fail(3)) SWIG_fail;
11864 arg3 = *argp;
11865 }
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 {
11875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11876 }
11877 {
11878 if (temp2)
11879 delete arg2;
11880 }
11881 return resultobj;
11882 fail:
11883 {
11884 if (temp2)
11885 delete arg2;
11886 }
11887 return NULL;
11888}
11889
11890
11891static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj = NULL;
11893 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11894 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11895 wxString const &arg3_defvalue = wxEmptyString ;
11896 wxString *arg3 = (wxString *) &arg3_defvalue ;
11897 bool temp3 = false ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 PyObject * obj2 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
11906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail;
11908 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11909 if (SWIG_arg_fail(2)) SWIG_fail;
11910 if (obj2) {
11911 {
11912 arg3 = wxString_in_helper(obj2);
11913 if (arg3 == NULL) SWIG_fail;
11914 temp3 = true;
11915 }
11916 }
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 Py_INCREF(Py_None); resultobj = Py_None;
11925 {
11926 if (temp3)
11927 delete arg3;
11928 }
11929 return resultobj;
11930 fail:
11931 {
11932 if (temp3)
11933 delete arg3;
11934 }
11935 return NULL;
11936}
11937
11938
11939static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = NULL;
11941 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11942 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11943 wxString const &arg3_defvalue = wxEmptyString ;
11944 wxString *arg3 = (wxString *) &arg3_defvalue ;
11945 bool temp3 = false ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 PyObject * obj2 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "self",(char *) "cfg",(char *) "path", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11955 if (SWIG_arg_fail(1)) SWIG_fail;
11956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11957 if (SWIG_arg_fail(2)) SWIG_fail;
11958 if (obj2) {
11959 {
11960 arg3 = wxString_in_helper(obj2);
11961 if (arg3 == NULL) SWIG_fail;
11962 temp3 = true;
11963 }
11964 }
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 Py_INCREF(Py_None); resultobj = Py_None;
11973 {
11974 if (temp3)
11975 delete arg3;
11976 }
11977 return resultobj;
11978 fail:
11979 {
11980 if (temp3)
11981 delete arg3;
11982 }
11983 return NULL;
11984}
11985
11986
11987static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = NULL;
11989 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11990 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11991 wxString const &arg3_defvalue = wxEmptyString ;
11992 wxString *arg3 = (wxString *) &arg3_defvalue ;
11993 bool temp3 = false ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 PyObject * obj2 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "self",(char *) "cfg",(char *) "path", NULL
11999 };
12000
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail;
12004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12005 if (SWIG_arg_fail(2)) SWIG_fail;
12006 if (obj2) {
12007 {
12008 arg3 = wxString_in_helper(obj2);
12009 if (arg3 == NULL) SWIG_fail;
12010 temp3 = true;
12011 }
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 Py_INCREF(Py_None); resultobj = Py_None;
12021 {
12022 if (temp3)
12023 delete arg3;
12024 }
12025 return resultobj;
12026 fail:
12027 {
12028 if (temp3)
12029 delete arg3;
12030 }
12031 return NULL;
12032}
12033
12034
12035static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj = NULL;
12037 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail;
12044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail;
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 (arg1)->NotifyPageChanged();
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
12060static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj = NULL;
12062 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12063 PyObject * obj0 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self", NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail;
12069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12070 if (SWIG_arg_fail(1)) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->RefreshLists();
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082}
12083
12084
12085static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj = NULL;
12087 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12088 wxHtmlWindow *result;
12089 PyObject * obj0 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail;
12095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12096 if (SWIG_arg_fail(1)) SWIG_fail;
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
12100
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0);
12105 return resultobj;
12106 fail:
12107 return NULL;
12108}
12109
12110
12111static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj = NULL;
12113 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12114 wxSplitterWindow *result;
12115 PyObject * obj0 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0);
12131 return resultobj;
12132 fail:
12133 return NULL;
12134}
12135
12136
12137static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj = NULL;
12139 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12140 wxToolBar *result;
12141 PyObject * obj0 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail;
12147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 resultobj = wxPyMake_wxObject(result, 0);
12158 }
12159 return resultobj;
12160 fail:
12161 return NULL;
12162}
12163
12164
12165static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj = NULL;
12167 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12168 wxHtmlHelpFrameCfg *result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 {
12180 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
12181 result = (wxHtmlHelpFrameCfg *) &_result_ref;
12182 }
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0);
12188 return resultobj;
12189 fail:
12190 return NULL;
12191}
12192
12193
12194static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = NULL;
12196 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12197 wxTreeCtrl *result;
12198 PyObject * obj0 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
12204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12205 if (SWIG_arg_fail(1)) SWIG_fail;
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
12208 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
12214 return resultobj;
12215 fail:
12216 return NULL;
12217}
12218
12219
12220static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) {
12221 PyObject *obj;
12222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12223 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj);
12224 Py_INCREF(obj);
12225 return Py_BuildValue((char *)"");
12226}
12227static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = NULL;
12229 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12230 int arg2 = (int) 0 ;
12231 wxHtmlWindowEvent *result;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj1 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "commandType",(char *) "id", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail;
12239 if (obj0) {
12240 {
12241 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 }
12244 }
12245 if (obj1) {
12246 {
12247 arg2 = static_cast<int >(SWIG_As_int(obj1));
12248 if (SWIG_arg_fail(2)) SWIG_fail;
12249 }
12250 }
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1);
12259 return resultobj;
12260 fail:
12261 return NULL;
12262}
12263
12264
12265static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj = NULL;
12267 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12268 wxString *arg2 = 0 ;
12269 bool temp2 = false ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self",(char *) "url", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
12277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
12278 if (SWIG_arg_fail(1)) SWIG_fail;
12279 {
12280 arg2 = wxString_in_helper(obj1);
12281 if (arg2 == NULL) SWIG_fail;
12282 temp2 = true;
12283 }
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 (arg1)->SetURL((wxString const &)*arg2);
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 Py_INCREF(Py_None); resultobj = Py_None;
12292 {
12293 if (temp2)
12294 delete arg2;
12295 }
12296 return resultobj;
12297 fail:
12298 {
12299 if (temp2)
12300 delete arg2;
12301 }
12302 return NULL;
12303}
12304
12305
12306static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj = NULL;
12308 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12309 wxString *result;
12310 PyObject * obj0 = 0 ;
12311 char *kwnames[] = {
12312 (char *) "self", NULL
12313 };
12314
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail;
12316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
12317 if (SWIG_arg_fail(1)) SWIG_fail;
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 {
12321 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
12322 result = (wxString *) &_result_ref;
12323 }
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 {
12329#if wxUSE_UNICODE
12330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12331#else
12332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12333#endif
12334 }
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
12341static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) {
12342 PyObject *obj;
12343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12344 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj);
12345 Py_INCREF(obj);
12346 return Py_BuildValue((char *)"");
12347}
12348static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj = NULL;
12350 wxWindow *arg1 = (wxWindow *) 0 ;
12351 int arg2 ;
12352 wxString const &arg3_defvalue = wxPyEmptyString ;
12353 wxString *arg3 = (wxString *) &arg3_defvalue ;
12354 int arg4 = (int) wxHF_DEFAULTSTYLE ;
12355 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12356 wxHtmlHelpFrame *result;
12357 bool temp3 = false ;
12358 PyObject * obj0 = 0 ;
12359 PyObject * obj1 = 0 ;
12360 PyObject * obj2 = 0 ;
12361 PyObject * obj3 = 0 ;
12362 PyObject * obj4 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail;
12370 {
12371 arg2 = static_cast<int >(SWIG_As_int(obj1));
12372 if (SWIG_arg_fail(2)) SWIG_fail;
12373 }
12374 if (obj2) {
12375 {
12376 arg3 = wxString_in_helper(obj2);
12377 if (arg3 == NULL) SWIG_fail;
12378 temp3 = true;
12379 }
12380 }
12381 if (obj3) {
12382 {
12383 arg4 = static_cast<int >(SWIG_As_int(obj3));
12384 if (SWIG_arg_fail(4)) SWIG_fail;
12385 }
12386 }
12387 if (obj4) {
12388 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(5)) SWIG_fail;
12390 }
12391 {
12392 if (!wxPyCheckForApp()) SWIG_fail;
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
12400 {
12401 if (temp3)
12402 delete arg3;
12403 }
12404 return resultobj;
12405 fail:
12406 {
12407 if (temp3)
12408 delete arg3;
12409 }
12410 return NULL;
12411}
12412
12413
12414static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj = NULL;
12416 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12417 wxHtmlHelpFrame *result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "data", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail;
12424 if (obj0) {
12425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail;
12427 }
12428 {
12429 if (!wxPyCheckForApp()) SWIG_fail;
12430 PyThreadState* __tstate = wxPyBeginAllowThreads();
12431 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
12432
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
12437 return resultobj;
12438 fail:
12439 return NULL;
12440}
12441
12442
12443static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = NULL;
12445 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12446 wxWindow *arg2 = (wxWindow *) 0 ;
12447 int arg3 ;
12448 wxString const &arg4_defvalue = wxPyEmptyString ;
12449 wxString *arg4 = (wxString *) &arg4_defvalue ;
12450 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12451 bool result;
12452 bool temp4 = false ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 PyObject * obj2 = 0 ;
12456 PyObject * obj3 = 0 ;
12457 PyObject * obj4 = 0 ;
12458 char *kwnames[] = {
12459 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12460 };
12461
12462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12464 if (SWIG_arg_fail(1)) SWIG_fail;
12465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(2)) SWIG_fail;
12467 {
12468 arg3 = static_cast<int >(SWIG_As_int(obj2));
12469 if (SWIG_arg_fail(3)) SWIG_fail;
12470 }
12471 if (obj3) {
12472 {
12473 arg4 = wxString_in_helper(obj3);
12474 if (arg4 == NULL) SWIG_fail;
12475 temp4 = true;
12476 }
12477 }
12478 if (obj4) {
12479 {
12480 arg5 = static_cast<int >(SWIG_As_int(obj4));
12481 if (SWIG_arg_fail(5)) SWIG_fail;
12482 }
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 {
12492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12493 }
12494 {
12495 if (temp4)
12496 delete arg4;
12497 }
12498 return resultobj;
12499 fail:
12500 {
12501 if (temp4)
12502 delete arg4;
12503 }
12504 return NULL;
12505}
12506
12507
12508static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj = NULL;
12510 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12511 wxHtmlHelpData *result;
12512 PyObject * obj0 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
12518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = (wxHtmlHelpData *)(arg1)->GetData();
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12528 return resultobj;
12529 fail:
12530 return NULL;
12531}
12532
12533
12534static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj = NULL;
12536 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12537 wxString *arg2 = 0 ;
12538 bool temp2 = false ;
12539 PyObject * obj0 = 0 ;
12540 PyObject * obj1 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self",(char *) "format", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12547 if (SWIG_arg_fail(1)) SWIG_fail;
12548 {
12549 arg2 = wxString_in_helper(obj1);
12550 if (arg2 == NULL) SWIG_fail;
12551 temp2 = true;
12552 }
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->SetTitleFormat((wxString const &)*arg2);
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 {
12562 if (temp2)
12563 delete arg2;
12564 }
12565 return resultobj;
12566 fail:
12567 {
12568 if (temp2)
12569 delete arg2;
12570 }
12571 return NULL;
12572}
12573
12574
12575static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj = NULL;
12577 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12578 PyObject * obj0 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail;
12584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12585 if (SWIG_arg_fail(1)) SWIG_fail;
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 (arg1)->AddGrabIfNeeded();
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 Py_INCREF(Py_None); resultobj = Py_None;
12594 return resultobj;
12595 fail:
12596 return NULL;
12597}
12598
12599
12600static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj = NULL;
12602 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12603 wxHtmlHelpController *result;
12604 PyObject * obj0 = 0 ;
12605 char *kwnames[] = {
12606 (char *) "self", NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail;
12610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail;
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12620 return resultobj;
12621 fail:
12622 return NULL;
12623}
12624
12625
12626static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12627 PyObject *resultobj = NULL;
12628 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12629 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12630 PyObject * obj0 = 0 ;
12631 PyObject * obj1 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self",(char *) "controller", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail;
12637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12638 if (SWIG_arg_fail(1)) SWIG_fail;
12639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12640 if (SWIG_arg_fail(2)) SWIG_fail;
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 (arg1)->SetController(arg2);
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652}
12653
12654
12655static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj = NULL;
12657 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12658 wxHtmlHelpWindow *result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail;
12665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12666 if (SWIG_arg_fail(1)) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 {
12675 resultobj = wxPyMake_wxObject(result, 0);
12676 }
12677 return resultobj;
12678 fail:
12679 return NULL;
12680}
12681
12682
12683static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
12684 PyObject *obj;
12685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12686 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
12687 Py_INCREF(obj);
12688 return Py_BuildValue((char *)"");
12689}
12690static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj = NULL;
12692 wxWindow *arg1 = (wxWindow *) 0 ;
12693 int arg2 ;
12694 wxString const &arg3_defvalue = wxPyEmptyString ;
12695 wxString *arg3 = (wxString *) &arg3_defvalue ;
12696 int arg4 = (int) wxHF_DEFAULT_STYLE ;
12697 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12698 wxHtmlHelpDialog *result;
12699 bool temp3 = false ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 PyObject * obj2 = 0 ;
12703 PyObject * obj3 = 0 ;
12704 PyObject * obj4 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail;
12712 {
12713 arg2 = static_cast<int >(SWIG_As_int(obj1));
12714 if (SWIG_arg_fail(2)) SWIG_fail;
12715 }
12716 if (obj2) {
12717 {
12718 arg3 = wxString_in_helper(obj2);
12719 if (arg3 == NULL) SWIG_fail;
12720 temp3 = true;
12721 }
12722 }
12723 if (obj3) {
12724 {
12725 arg4 = static_cast<int >(SWIG_As_int(obj3));
12726 if (SWIG_arg_fail(4)) SWIG_fail;
12727 }
12728 }
12729 if (obj4) {
12730 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12731 if (SWIG_arg_fail(5)) SWIG_fail;
12732 }
12733 {
12734 if (!wxPyCheckForApp()) SWIG_fail;
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12742 {
12743 if (temp3)
12744 delete arg3;
12745 }
12746 return resultobj;
12747 fail:
12748 {
12749 if (temp3)
12750 delete arg3;
12751 }
12752 return NULL;
12753}
12754
12755
12756static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj = NULL;
12758 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12759 wxHtmlHelpDialog *result;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "data", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail;
12766 if (obj0) {
12767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail;
12769 }
12770 {
12771 if (!wxPyCheckForApp()) SWIG_fail;
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
12785static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj = NULL;
12787 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12788 wxWindow *arg2 = (wxWindow *) 0 ;
12789 int arg3 ;
12790 wxString const &arg4_defvalue = wxPyEmptyString ;
12791 wxString *arg4 = (wxString *) &arg4_defvalue ;
12792 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12793 bool result;
12794 bool temp4 = false ;
12795 PyObject * obj0 = 0 ;
12796 PyObject * obj1 = 0 ;
12797 PyObject * obj2 = 0 ;
12798 PyObject * obj3 = 0 ;
12799 PyObject * obj4 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail;
12807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12808 if (SWIG_arg_fail(2)) SWIG_fail;
12809 {
12810 arg3 = static_cast<int >(SWIG_As_int(obj2));
12811 if (SWIG_arg_fail(3)) SWIG_fail;
12812 }
12813 if (obj3) {
12814 {
12815 arg4 = wxString_in_helper(obj3);
12816 if (arg4 == NULL) SWIG_fail;
12817 temp4 = true;
12818 }
12819 }
12820 if (obj4) {
12821 {
12822 arg5 = static_cast<int >(SWIG_As_int(obj4));
12823 if (SWIG_arg_fail(5)) SWIG_fail;
12824 }
12825 }
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 {
12834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12835 }
12836 {
12837 if (temp4)
12838 delete arg4;
12839 }
12840 return resultobj;
12841 fail:
12842 {
12843 if (temp4)
12844 delete arg4;
12845 }
12846 return NULL;
12847}
12848
12849
12850static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj = NULL;
12852 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12853 wxHtmlHelpData *result;
12854 PyObject * obj0 = 0 ;
12855 char *kwnames[] = {
12856 (char *) "self", NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail;
12860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12861 if (SWIG_arg_fail(1)) SWIG_fail;
12862 {
12863 PyThreadState* __tstate = wxPyBeginAllowThreads();
12864 result = (wxHtmlHelpData *)(arg1)->GetData();
12865
12866 wxPyEndAllowThreads(__tstate);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 }
12869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12870 return resultobj;
12871 fail:
12872 return NULL;
12873}
12874
12875
12876static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj = NULL;
12878 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12879 wxHtmlHelpController *result;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail;
12886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12887 if (SWIG_arg_fail(1)) SWIG_fail;
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12896 return resultobj;
12897 fail:
12898 return NULL;
12899}
12900
12901
12902static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = NULL;
12904 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12905 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12906 PyObject * obj0 = 0 ;
12907 PyObject * obj1 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self",(char *) "controller", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail;
12913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail;
12915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12916 if (SWIG_arg_fail(2)) SWIG_fail;
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 (arg1)->SetController(arg2);
12920
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 Py_INCREF(Py_None); resultobj = Py_None;
12925 return resultobj;
12926 fail:
12927 return NULL;
12928}
12929
12930
12931static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj = NULL;
12933 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12934 wxHtmlHelpWindow *result;
12935 PyObject * obj0 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail;
12941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 resultobj = wxPyMake_wxObject(result, 0);
12952 }
12953 return resultobj;
12954 fail:
12955 return NULL;
12956}
12957
12958
12959static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj = NULL;
12961 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12962 wxString *arg2 = 0 ;
12963 bool temp2 = false ;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self",(char *) "format", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail;
12973 {
12974 arg2 = wxString_in_helper(obj1);
12975 if (arg2 == NULL) SWIG_fail;
12976 temp2 = true;
12977 }
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 (arg1)->SetTitleFormat((wxString const &)*arg2);
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 Py_INCREF(Py_None); resultobj = Py_None;
12986 {
12987 if (temp2)
12988 delete arg2;
12989 }
12990 return resultobj;
12991 fail:
12992 {
12993 if (temp2)
12994 delete arg2;
12995 }
12996 return NULL;
12997}
12998
12999
13000static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) {
13001 PyObject *obj;
13002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13003 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj);
13004 Py_INCREF(obj);
13005 return Py_BuildValue((char *)"");
13006}
13007static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) {
13008 PyObject *resultobj = NULL;
13009 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13010 wxString *arg2 = 0 ;
13011 int arg3 ;
13012 bool result;
13013 bool temp2 = false ;
13014 PyObject * obj0 = 0 ;
13015 PyObject * obj1 = 0 ;
13016 PyObject * obj2 = 0 ;
13017
13018 if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail;
13019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail;
13021 {
13022 arg2 = wxString_in_helper(obj1);
13023 if (arg2 == NULL) SWIG_fail;
13024 temp2 = true;
13025 }
13026 {
13027 arg3 = static_cast<int >(SWIG_As_int(obj2));
13028 if (SWIG_arg_fail(3)) SWIG_fail;
13029 }
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 {
13038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13039 }
13040 {
13041 if (temp2)
13042 delete arg2;
13043 }
13044 return resultobj;
13045 fail:
13046 {
13047 if (temp2)
13048 delete arg2;
13049 }
13050 return NULL;
13051}
13052
13053
13054static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) {
13055 PyObject *resultobj = NULL;
13056 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13057 wxString *arg2 = 0 ;
13058 bool result;
13059 bool temp2 = false ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062
13063 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail;
13064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail;
13066 {
13067 arg2 = wxString_in_helper(obj1);
13068 if (arg2 == NULL) SWIG_fail;
13069 temp2 = true;
13070 }
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 {
13079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13080 }
13081 {
13082 if (temp2)
13083 delete arg2;
13084 }
13085 return resultobj;
13086 fail:
13087 {
13088 if (temp2)
13089 delete arg2;
13090 }
13091 return NULL;
13092}
13093
13094
13095static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
13096 int argc;
13097 PyObject *argv[4];
13098 int ii;
13099
13100 argc = PyObject_Length(args);
13101 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
13102 argv[ii] = PyTuple_GetItem(args,ii);
13103 }
13104 if (argc == 2) {
13105 int _v;
13106 {
13107 void *ptr;
13108 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13109 _v = 0;
13110 PyErr_Clear();
13111 } else {
13112 _v = 1;
13113 }
13114 }
13115 if (_v) {
13116 {
13117 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13118 }
13119 if (_v) {
13120 return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args);
13121 }
13122 }
13123 }
13124 if (argc == 3) {
13125 int _v;
13126 {
13127 void *ptr;
13128 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13129 _v = 0;
13130 PyErr_Clear();
13131 } else {
13132 _v = 1;
13133 }
13134 }
13135 if (_v) {
13136 {
13137 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13138 }
13139 if (_v) {
13140 _v = SWIG_Check_int(argv[2]);
13141 if (_v) {
13142 return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args);
13143 }
13144 }
13145 }
13146 }
13147
13148 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
13149 return NULL;
13150}
13151
13152
13153static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj = NULL;
13155 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13156 wxString *arg2 = 0 ;
13157 long arg3 = (long) 0 ;
13158 bool temp2 = false ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 PyObject * obj2 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "viewer",(char *) "flags", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail;
13169 {
13170 arg2 = wxString_in_helper(obj1);
13171 if (arg2 == NULL) SWIG_fail;
13172 temp2 = true;
13173 }
13174 if (obj2) {
13175 {
13176 arg3 = static_cast<long >(SWIG_As_long(obj2));
13177 if (SWIG_arg_fail(3)) SWIG_fail;
13178 }
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 (arg1)->SetViewer((wxString const &)*arg2,arg3);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 Py_INCREF(Py_None); resultobj = Py_None;
13188 {
13189 if (temp2)
13190 delete arg2;
13191 }
13192 return resultobj;
13193 fail:
13194 {
13195 if (temp2)
13196 delete arg2;
13197 }
13198 return NULL;
13199}
13200
13201
13202static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj = NULL;
13204 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13205 wxString const &arg2_defvalue = wxEmptyString ;
13206 wxString *arg2 = (wxString *) &arg2_defvalue ;
13207 bool result;
13208 bool temp2 = false ;
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "self",(char *) "file", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail;
13216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail;
13218 if (obj1) {
13219 {
13220 arg2 = wxString_in_helper(obj1);
13221 if (arg2 == NULL) SWIG_fail;
13222 temp2 = true;
13223 }
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 {
13233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13234 }
13235 {
13236 if (temp2)
13237 delete arg2;
13238 }
13239 return resultobj;
13240 fail:
13241 {
13242 if (temp2)
13243 delete arg2;
13244 }
13245 return NULL;
13246}
13247
13248
13249static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj = NULL;
13251 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13252 bool result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail;
13259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail;
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (bool)(arg1)->DisplayContents();
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 {
13269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13270 }
13271 return resultobj;
13272 fail:
13273 return NULL;
13274}
13275
13276
13277static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) {
13278 PyObject *resultobj = NULL;
13279 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13280 int arg2 ;
13281 bool result;
13282 PyObject * obj0 = 0 ;
13283 PyObject * obj1 = 0 ;
13284
13285 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13287 if (SWIG_arg_fail(1)) SWIG_fail;
13288 {
13289 arg2 = static_cast<int >(SWIG_As_int(obj1));
13290 if (SWIG_arg_fail(2)) SWIG_fail;
13291 }
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (bool)(arg1)->DisplaySection(arg2);
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 {
13300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13301 }
13302 return resultobj;
13303 fail:
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj = NULL;
13310 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13311 int arg2 ;
13312 bool result;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "contextId", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail;
13320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13321 if (SWIG_arg_fail(1)) SWIG_fail;
13322 {
13323 arg2 = static_cast<int >(SWIG_As_int(obj1));
13324 if (SWIG_arg_fail(2)) SWIG_fail;
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (bool)(arg1)->DisplayContextPopup(arg2);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339}
13340
13341
13342static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj = NULL;
13344 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13345 wxString *arg2 = 0 ;
13346 wxPoint *arg3 = 0 ;
13347 bool result;
13348 bool temp2 = false ;
13349 wxPoint temp3 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 PyObject * obj2 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "text",(char *) "pos", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail;
13358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13359 if (SWIG_arg_fail(1)) SWIG_fail;
13360 {
13361 arg2 = wxString_in_helper(obj1);
13362 if (arg2 == NULL) SWIG_fail;
13363 temp2 = true;
13364 }
13365 {
13366 arg3 = &temp3;
13367 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13368 }
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 {
13377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13378 }
13379 {
13380 if (temp2)
13381 delete arg2;
13382 }
13383 return resultobj;
13384 fail:
13385 {
13386 if (temp2)
13387 delete arg2;
13388 }
13389 return NULL;
13390}
13391
13392
13393static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) {
13394 PyObject *resultobj = NULL;
13395 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13396 wxString *arg2 = 0 ;
13397 bool result;
13398 bool temp2 = false ;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401
13402 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail;
13405 {
13406 arg2 = wxString_in_helper(obj1);
13407 if (arg2 == NULL) SWIG_fail;
13408 temp2 = true;
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
13420 {
13421 if (temp2)
13422 delete arg2;
13423 }
13424 return resultobj;
13425 fail:
13426 {
13427 if (temp2)
13428 delete arg2;
13429 }
13430 return NULL;
13431}
13432
13433
13434static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
13435 int argc;
13436 PyObject *argv[3];
13437 int ii;
13438
13439 argc = PyObject_Length(args);
13440 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
13441 argv[ii] = PyTuple_GetItem(args,ii);
13442 }
13443 if (argc == 2) {
13444 int _v;
13445 {
13446 void *ptr;
13447 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13448 _v = 0;
13449 PyErr_Clear();
13450 } else {
13451 _v = 1;
13452 }
13453 }
13454 if (_v) {
13455 {
13456 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13457 }
13458 if (_v) {
13459 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args);
13460 }
13461 }
13462 }
13463 if (argc == 2) {
13464 int _v;
13465 {
13466 void *ptr;
13467 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13468 _v = 0;
13469 PyErr_Clear();
13470 } else {
13471 _v = 1;
13472 }
13473 }
13474 if (_v) {
13475 _v = SWIG_Check_int(argv[1]);
13476 if (_v) {
13477 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args);
13478 }
13479 }
13480 }
13481
13482 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj = NULL;
13489 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13490 long arg2 ;
13491 bool result;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "blockNo", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail;
13499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail;
13501 {
13502 arg2 = static_cast<long >(SWIG_As_long(obj1));
13503 if (SWIG_arg_fail(2)) SWIG_fail;
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->DisplayBlock(arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 {
13513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13514 }
13515 return resultobj;
13516 fail:
13517 return NULL;
13518}
13519
13520
13521static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj = NULL;
13523 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13524 wxString *arg2 = 0 ;
13525 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
13526 bool result;
13527 bool temp2 = false ;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 PyObject * obj2 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self",(char *) "k",(char *) "mode", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
13536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail;
13538 {
13539 arg2 = wxString_in_helper(obj1);
13540 if (arg2 == NULL) SWIG_fail;
13541 temp2 = true;
13542 }
13543 if (obj2) {
13544 {
13545 wxHelpSearchMode * argp;
13546 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
13547 if (SWIG_arg_fail(3)) SWIG_fail;
13548 if (argp == NULL) {
13549 SWIG_null_ref("wxHelpSearchMode");
13550 }
13551 if (SWIG_arg_fail(3)) SWIG_fail;
13552 arg3 = *argp;
13553 }
13554 }
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13564 }
13565 {
13566 if (temp2)
13567 delete arg2;
13568 }
13569 return resultobj;
13570 fail:
13571 {
13572 if (temp2)
13573 delete arg2;
13574 }
13575 return NULL;
13576}
13577
13578
13579static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13580 PyObject *resultobj = NULL;
13581 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13582 wxString *arg2 = 0 ;
13583 wxSize *arg3 = 0 ;
13584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13586 bool arg5 = (bool) false ;
13587 bool temp2 = false ;
13588 wxSize temp3 ;
13589 wxPoint temp4 ;
13590 PyObject * obj0 = 0 ;
13591 PyObject * obj1 = 0 ;
13592 PyObject * obj2 = 0 ;
13593 PyObject * obj3 = 0 ;
13594 PyObject * obj4 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail;
13602 {
13603 arg2 = wxString_in_helper(obj1);
13604 if (arg2 == NULL) SWIG_fail;
13605 temp2 = true;
13606 }
13607 {
13608 arg3 = &temp3;
13609 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13610 }
13611 if (obj3) {
13612 {
13613 arg4 = &temp4;
13614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13615 }
13616 }
13617 if (obj4) {
13618 {
13619 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
13620 if (SWIG_arg_fail(5)) SWIG_fail;
13621 }
13622 }
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 Py_INCREF(Py_None); resultobj = Py_None;
13631 {
13632 if (temp2)
13633 delete arg2;
13634 }
13635 return resultobj;
13636 fail:
13637 {
13638 if (temp2)
13639 delete arg2;
13640 }
13641 return NULL;
13642}
13643
13644
13645static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj = NULL;
13647 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13648 wxSize *arg2 = (wxSize *) NULL ;
13649 wxPoint *arg3 = (wxPoint *) NULL ;
13650 bool *arg4 = (bool *) NULL ;
13651 wxFrame *result;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 PyObject * obj2 = 0 ;
13655 PyObject * obj3 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail;
13663 if (obj1) {
13664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
13665 if (SWIG_arg_fail(2)) SWIG_fail;
13666 }
13667 if (obj2) {
13668 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13669 if (SWIG_arg_fail(3)) SWIG_fail;
13670 }
13671 if (obj3) {
13672 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0);
13673 if (SWIG_arg_fail(4)) SWIG_fail;
13674 }
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 {
13683 resultobj = wxPyMake_wxObject(result, 0);
13684 }
13685 return resultobj;
13686 fail:
13687 return NULL;
13688}
13689
13690
13691static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj = NULL;
13693 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13694 bool result;
13695 PyObject * obj0 = 0 ;
13696 char *kwnames[] = {
13697 (char *) "self", NULL
13698 };
13699
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail;
13701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13702 if (SWIG_arg_fail(1)) SWIG_fail;
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (bool)(arg1)->Quit();
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13712 }
13713 return resultobj;
13714 fail:
13715 return NULL;
13716}
13717
13718
13719static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj = NULL;
13721 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13722 PyObject * obj0 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail;
13728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13729 if (SWIG_arg_fail(1)) SWIG_fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 (arg1)->OnQuit();
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 Py_INCREF(Py_None); resultobj = Py_None;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741}
13742
13743
13744static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj = NULL;
13746 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13747 wxWindow *arg2 = (wxWindow *) 0 ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "win", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail;
13755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13756 if (SWIG_arg_fail(1)) SWIG_fail;
13757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13758 if (SWIG_arg_fail(2)) SWIG_fail;
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 (arg1)->SetParentWindow(arg2);
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 Py_INCREF(Py_None); resultobj = Py_None;
13767 return resultobj;
13768 fail:
13769 return NULL;
13770}
13771
13772
13773static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj = NULL;
13775 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13776 wxWindow *result;
13777 PyObject * obj0 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail;
13783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail;
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 {
13793 resultobj = wxPyMake_wxObject(result, 0);
13794 }
13795 return resultobj;
13796 fail:
13797 return NULL;
13798}
13799
13800
13801static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) {
13802 PyObject *obj;
13803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13804 SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj);
13805 Py_INCREF(obj);
13806 return Py_BuildValue((char *)"");
13807}
13808static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj = NULL;
13810 int arg1 = (int) wxHF_DEFAULT_STYLE ;
13811 wxWindow *arg2 = (wxWindow *) NULL ;
13812 wxHtmlHelpController *result;
13813 PyObject * obj0 = 0 ;
13814 PyObject * obj1 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "style",(char *) "parentWindow", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail;
13820 if (obj0) {
13821 {
13822 arg1 = static_cast<int >(SWIG_As_int(obj0));
13823 if (SWIG_arg_fail(1)) SWIG_fail;
13824 }
13825 }
13826 if (obj1) {
13827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(2)) SWIG_fail;
13829 }
13830 {
13831 if (!wxPyCheckForApp()) SWIG_fail;
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
13839 return resultobj;
13840 fail:
13841 return NULL;
13842}
13843
13844
13845static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj = NULL;
13847 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13848 PyObject * obj0 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
13854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail;
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 delete arg1;
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 return resultobj;
13865 fail:
13866 return NULL;
13867}
13868
13869
13870static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj = NULL;
13872 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13873 wxHtmlHelpWindow *result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail;
13880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13881 if (SWIG_arg_fail(1)) SWIG_fail;
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 {
13890 resultobj = wxPyMake_wxObject(result, 0);
13891 }
13892 return resultobj;
13893 fail:
13894 return NULL;
13895}
13896
13897
13898static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj = NULL;
13900 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13901 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
13902 PyObject * obj0 = 0 ;
13903 PyObject * obj1 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self",(char *) "helpWindow", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail;
13909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13910 if (SWIG_arg_fail(1)) SWIG_fail;
13911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
13912 if (SWIG_arg_fail(2)) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->SetHelpWindow(arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 return resultobj;
13922 fail:
13923 return NULL;
13924}
13925
13926
13927static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj = NULL;
13929 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13930 wxHtmlHelpFrame *result;
13931 PyObject * obj0 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self", NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
13937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13938 if (SWIG_arg_fail(1)) SWIG_fail;
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947 resultobj = wxPyMake_wxObject(result, 0);
13948 }
13949 return resultobj;
13950 fail:
13951 return NULL;
13952}
13953
13954
13955static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13956 PyObject *resultobj = NULL;
13957 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13958 wxHtmlHelpDialog *result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail;
13965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13966 if (SWIG_arg_fail(1)) SWIG_fail;
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 {
13975 resultobj = wxPyMake_wxObject(result, 0);
13976 }
13977 return resultobj;
13978 fail:
13979 return NULL;
13980}
13981
13982
13983static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj = NULL;
13985 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13986 wxString *arg2 = 0 ;
13987 bool temp2 = false ;
13988 PyObject * obj0 = 0 ;
13989 PyObject * obj1 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "format", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
13995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13996 if (SWIG_arg_fail(1)) SWIG_fail;
13997 {
13998 arg2 = wxString_in_helper(obj1);
13999 if (arg2 == NULL) SWIG_fail;
14000 temp2 = true;
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->SetTitleFormat((wxString const &)*arg2);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 Py_INCREF(Py_None); resultobj = Py_None;
14010 {
14011 if (temp2)
14012 delete arg2;
14013 }
14014 return resultobj;
14015 fail:
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 return NULL;
14021}
14022
14023
14024static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj = NULL;
14026 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14027 wxString *arg2 = 0 ;
14028 bool temp2 = false ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "path", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
14036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14037 if (SWIG_arg_fail(1)) SWIG_fail;
14038 {
14039 arg2 = wxString_in_helper(obj1);
14040 if (arg2 == NULL) SWIG_fail;
14041 temp2 = true;
14042 }
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->SetTempDir((wxString const &)*arg2);
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 Py_INCREF(Py_None); resultobj = Py_None;
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
14055 return resultobj;
14056 fail:
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 return NULL;
14062}
14063
14064
14065static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
14066 PyObject *resultobj = NULL;
14067 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14068 wxString *arg2 = 0 ;
14069 int arg3 = (int) false ;
14070 bool result;
14071 bool temp2 = false ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 PyObject * obj2 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
14080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail;
14082 {
14083 arg2 = wxString_in_helper(obj1);
14084 if (arg2 == NULL) SWIG_fail;
14085 temp2 = true;
14086 }
14087 if (obj2) {
14088 {
14089 arg3 = static_cast<int >(SWIG_As_int(obj2));
14090 if (SWIG_arg_fail(3)) SWIG_fail;
14091 }
14092 }
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
14103 {
14104 if (temp2)
14105 delete arg2;
14106 }
14107 return resultobj;
14108 fail:
14109 {
14110 if (temp2)
14111 delete arg2;
14112 }
14113 return NULL;
14114}
14115
14116
14117static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj = NULL;
14119 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14120 wxString *arg2 = 0 ;
14121 bool temp2 = false ;
14122 PyObject * obj0 = 0 ;
14123 PyObject * obj1 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self",(char *) "x", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
14129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail;
14131 {
14132 arg2 = wxString_in_helper(obj1);
14133 if (arg2 == NULL) SWIG_fail;
14134 temp2 = true;
14135 }
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->Display((wxString const &)*arg2);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 {
14145 if (temp2)
14146 delete arg2;
14147 }
14148 return resultobj;
14149 fail:
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return NULL;
14155}
14156
14157
14158static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj = NULL;
14160 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14161 int arg2 ;
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "id", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
14169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail;
14171 {
14172 arg2 = static_cast<int >(SWIG_As_int(obj1));
14173 if (SWIG_arg_fail(2)) SWIG_fail;
14174 }
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 (arg1)->Display(arg2);
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 Py_INCREF(Py_None); resultobj = Py_None;
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
14189static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj = NULL;
14191 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14192 PyObject * obj0 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
14198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 (arg1)->DisplayContents();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 Py_INCREF(Py_None); resultobj = Py_None;
14208 return resultobj;
14209 fail:
14210 return NULL;
14211}
14212
14213
14214static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj = NULL;
14216 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14217 PyObject * obj0 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
14223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14224 if (SWIG_arg_fail(1)) SWIG_fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 (arg1)->DisplayIndex();
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 Py_INCREF(Py_None); resultobj = Py_None;
14233 return resultobj;
14234 fail:
14235 return NULL;
14236}
14237
14238
14239static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj = NULL;
14241 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14242 wxString *arg2 = 0 ;
14243 bool result;
14244 bool temp2 = false ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self",(char *) "keyword", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
14252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail;
14254 {
14255 arg2 = wxString_in_helper(obj1);
14256 if (arg2 == NULL) SWIG_fail;
14257 temp2 = true;
14258 }
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 {
14267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14268 }
14269 {
14270 if (temp2)
14271 delete arg2;
14272 }
14273 return resultobj;
14274 fail:
14275 {
14276 if (temp2)
14277 delete arg2;
14278 }
14279 return NULL;
14280}
14281
14282
14283static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = NULL;
14285 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14286 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14287 wxString const &arg3_defvalue = wxPyEmptyString ;
14288 wxString *arg3 = (wxString *) &arg3_defvalue ;
14289 bool temp3 = false ;
14290 PyObject * obj0 = 0 ;
14291 PyObject * obj1 = 0 ;
14292 PyObject * obj2 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
14298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail;
14300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14301 if (SWIG_arg_fail(2)) SWIG_fail;
14302 if (obj2) {
14303 {
14304 arg3 = wxString_in_helper(obj2);
14305 if (arg3 == NULL) SWIG_fail;
14306 temp3 = true;
14307 }
14308 }
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 Py_INCREF(Py_None); resultobj = Py_None;
14317 {
14318 if (temp3)
14319 delete arg3;
14320 }
14321 return resultobj;
14322 fail:
14323 {
14324 if (temp3)
14325 delete arg3;
14326 }
14327 return NULL;
14328}
14329
14330
14331static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj = NULL;
14333 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14334 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14335 wxString arg3 = (wxString) wxPyEmptyString ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self",(char *) "cfg",(char *) "path", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail;
14346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14347 if (SWIG_arg_fail(2)) SWIG_fail;
14348 if (obj2) {
14349 {
14350 wxString* sptr = wxString_in_helper(obj2);
14351 if (sptr == NULL) SWIG_fail;
14352 arg3 = *sptr;
14353 delete sptr;
14354 }
14355 }
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 (arg1)->ReadCustomization(arg2,arg3);
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 Py_INCREF(Py_None); resultobj = Py_None;
14364 return resultobj;
14365 fail:
14366 return NULL;
14367}
14368
14369
14370static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj = NULL;
14372 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14373 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14374 wxString arg3 = (wxString) wxPyEmptyString ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 PyObject * obj2 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "cfg",(char *) "path", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14384 if (SWIG_arg_fail(1)) SWIG_fail;
14385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14386 if (SWIG_arg_fail(2)) SWIG_fail;
14387 if (obj2) {
14388 {
14389 wxString* sptr = wxString_in_helper(obj2);
14390 if (sptr == NULL) SWIG_fail;
14391 arg3 = *sptr;
14392 delete sptr;
14393 }
14394 }
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 (arg1)->WriteCustomization(arg2,arg3);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 return resultobj;
14404 fail:
14405 return NULL;
14406}
14407
14408
14409static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj = NULL;
14411 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14412 PyObject * obj0 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail;
14418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail;
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 (arg1)->MakeModalIfNeeded();
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 Py_INCREF(Py_None); resultobj = Py_None;
14428 return resultobj;
14429 fail:
14430 return NULL;
14431}
14432
14433
14434static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj = NULL;
14436 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14437 wxWindow *result;
14438 PyObject * obj0 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail;
14444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14445 if (SWIG_arg_fail(1)) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (wxWindow *)(arg1)->FindTopLevelWindow();
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 {
14454 resultobj = wxPyMake_wxObject(result, 0);
14455 }
14456 return resultobj;
14457 fail:
14458 return NULL;
14459}
14460
14461
14462static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
14463 PyObject *obj;
14464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14465 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
14466 Py_INCREF(obj);
14467 return Py_BuildValue((char *)"");
14468}
14469static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj = NULL;
14471 wxWindow *arg1 = (wxWindow *) 0 ;
14472 wxString *arg2 = 0 ;
14473 wxString const &arg3_defvalue = wxEmptyString ;
14474 wxString *arg3 = (wxString *) &arg3_defvalue ;
14475 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
14476 wxHtmlModalHelp *result;
14477 bool temp2 = false ;
14478 bool temp3 = false ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 PyObject * obj2 = 0 ;
14482 PyObject * obj3 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail;
14490 {
14491 arg2 = wxString_in_helper(obj1);
14492 if (arg2 == NULL) SWIG_fail;
14493 temp2 = true;
14494 }
14495 if (obj2) {
14496 {
14497 arg3 = wxString_in_helper(obj2);
14498 if (arg3 == NULL) SWIG_fail;
14499 temp3 = true;
14500 }
14501 }
14502 if (obj3) {
14503 {
14504 arg4 = static_cast<int >(SWIG_As_int(obj3));
14505 if (SWIG_arg_fail(4)) SWIG_fail;
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1);
14516 {
14517 if (temp2)
14518 delete arg2;
14519 }
14520 {
14521 if (temp3)
14522 delete arg3;
14523 }
14524 return resultobj;
14525 fail:
14526 {
14527 if (temp2)
14528 delete arg2;
14529 }
14530 {
14531 if (temp3)
14532 delete arg3;
14533 }
14534 return NULL;
14535}
14536
14537
14538static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) {
14539 PyObject *obj;
14540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14541 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj);
14542 Py_INCREF(obj);
14543 return Py_BuildValue((char *)"");
14544}
14545static PyMethodDef SwigMethods[] = {
14546 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14547 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
14548 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
14549 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14550 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14551 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14552 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14553 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
14554 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14555 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
14556 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
14557 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
14558 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
14559 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
14560 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
14561 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
14562 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
14563 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14564 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14565 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
14566 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
14567 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
14568 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14569 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14570 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14571 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
14572 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14573 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14574 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
14575 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
14576 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14577 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14578 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14579 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14580 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14581 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14582 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14583 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14584 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14585 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14586 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14587 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14588 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14589 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14590 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14591 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14592 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14593 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14594 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14595 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14596 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14597 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14598 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14599 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14600 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14601 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14602 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14603 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14604 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
14605 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14606 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
14607 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14608 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14609 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14610 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14611 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14612 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
14613 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14614 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14615 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14616 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14617 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14618 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
14619 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14620 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14621 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14622 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
14623 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
14624 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
14625 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
14626 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
14627 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
14628 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14629 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14630 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14631 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14632 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14633 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
14634 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
14635 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14636 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14637 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14638 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14639 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14640 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14641 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14642 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14643 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
14644 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14645 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14646 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14647 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14648 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14649 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14650 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14651 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14652 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14653 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14654 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14655 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14656 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
14657 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
14658 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14659 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
14660 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
14661 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14662 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14663 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
14664 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14665 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
14666 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
14667 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14668 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14669 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14670 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14671 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
14672 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
14673 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14674 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14675 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14676 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
14677 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
14678 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
14679 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
14680 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
14681 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14682 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14683 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14684 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
14685 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
14686 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
14687 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14688 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14689 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
14690 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
14691 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14692 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
14693 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
14694 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
14695 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
14696 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
14697 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14698 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14699 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14700 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14701 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14702 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14703 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
14704 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14705 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
14706 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
14707 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14708 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14709 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14710 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14711 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14712 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
14713 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
14714 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
14715 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
14716 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
14717 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
14718 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
14719 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14720 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14721 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
14722 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14723 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14724 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14725 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14726 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14727 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
14728 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14729 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
14730 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
14731 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14732 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14733 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14734 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14735 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
14736 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14737 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14738 { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
14739 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
14740 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
14741 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14742 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14743 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
14744 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
14745 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
14746 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
14747 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
14748 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
14749 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14750 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14751 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14752 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14753 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
14754 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
14755 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
14756 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
14757 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
14758 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14759 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14760 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
14761 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14762 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
14763 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
14764 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14765 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14766 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14767 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
14768 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14769 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14770 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14771 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
14772 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14773 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
14774 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
14775 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14776 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
14777 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14778 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14779 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14780 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14781 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
14782 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14783 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
14784 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
14785 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14786 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14787 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
14788 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
14789 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
14790 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
14791 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
14792 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14793 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14794 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14795 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14796 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
14797 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
14798 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
14799 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
14800 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
14801 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14802 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14803 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14804 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
14805 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
14806 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
14807 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14808 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14809 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14810 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
14811 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
14812 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
14813 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
14814 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14815 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14816 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14817 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
14818 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14819 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14820 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14821 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14822 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
14823 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
14824 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
14825 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
14826 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14827 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14828 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14829 { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14830 { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14831 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14832 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14833 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14834 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14835 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14836 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14837 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14838 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14839 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14840 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL},
14841 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL},
14842 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14843 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14844 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
14845 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL},
14846 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
14847 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
14848 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14849 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14850 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14851 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
14852 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14853 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14854 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14855 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14856 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14857 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14858 { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14859 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14860 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14861 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
14862 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14863 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14864 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14865 { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14866 { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14867 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14868 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14869 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14870 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
14871 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
14872 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
14873 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14874 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14875 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14876 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14877 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
14878 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
14879 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14880 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14881 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14882 { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL},
14883 { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL},
14884 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14885 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14886 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
14887 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14888 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14889 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14890 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14891 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14892 { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14893 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14894 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14895 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14896 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14897 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14898 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14899 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14900 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14901 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14902 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14903 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14904 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14905 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14906 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
14907 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
14908 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
14909 { NULL, NULL, 0, NULL }
14910};
14911
14912
14913/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14914
14915static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
14916 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
14917}
14918static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
14919 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
14920}
14921static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
14922 return (void *)((wxEvent *) ((wxMenuEvent *) x));
14923}
14924static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
14925 return (void *)((wxEvent *) ((wxCloseEvent *) x));
14926}
14927static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
14928 return (void *)((wxEvent *) ((wxMouseEvent *) x));
14929}
14930static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
14931 return (void *)((wxEvent *) ((wxEraseEvent *) x));
14932}
14933static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
14934 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
14935}
14936static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
14937 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14938}
14939static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
14940 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
14941}
14942static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
14943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
14944}
14945static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
14946 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
14947}
14948static void *_p_wxPyEventTo_p_wxEvent(void *x) {
14949 return (void *)((wxEvent *) ((wxPyEvent *) x));
14950}
14951static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
14952 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
14953}
14954static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
14955 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
14956}
14957static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
14958 return (void *)((wxEvent *) ((wxIdleEvent *) x));
14959}
14960static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
14961 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
14962}
14963static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
14964 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
14965}
14966static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
14967 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
14968}
14969static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
14970 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
14971}
14972static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
14973 return (void *)((wxEvent *) ((wxActivateEvent *) x));
14974}
14975static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
14976 return (void *)((wxEvent *) ((wxSizeEvent *) x));
14977}
14978static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
14979 return (void *)((wxEvent *) ((wxMoveEvent *) x));
14980}
14981static void *_p_wxDateEventTo_p_wxEvent(void *x) {
14982 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
14983}
14984static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
14985 return (void *)((wxEvent *) ((wxPaintEvent *) x));
14986}
14987static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
14988 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
14989}
14990static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
14991 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
14992}
14993static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
14994 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
14995}
14996static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
14997 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
14998}
14999static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15000 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15001}
15002static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15003 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15004}
15005static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15006 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15007}
15008static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15009 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15010}
15011static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15012 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15013}
15014static void *_p_wxSashEventTo_p_wxEvent(void *x) {
15015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
15016}
15017static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
15018 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15019}
15020static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15021 return (void *)((wxEvent *) ((wxShowEvent *) x));
15022}
15023static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
15024 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15025}
15026static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15027 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15028}
15029static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15030 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15031}
15032static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15034}
15035static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15036 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15037}
15038static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15039 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15040}
15041static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15042 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15043}
15044static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
15045 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
15046}
15047static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
15048 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
15049}
15050static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
15051 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15052}
15053static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
15054 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
15055}
15056static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
15057 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
15058}
15059static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
15060 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
15061}
15062static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
15063 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15064}
15065static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15066 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15067}
15068static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
15069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15070}
15071static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
15072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15073}
15074static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
15075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15076}
15077static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15078 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15079}
15080static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15081 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15082}
15083static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15084 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15085}
15086static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15087 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15088}
15089static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
15090 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15091}
15092static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
15093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15094}
15095static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
15096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15097}
15098static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
15099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15100}
15101static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
15102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15103}
15104static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
15105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15106}
15107static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
15108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15109}
15110static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
15111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15112}
15113static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
15114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
15115}
15116static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
15117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
15118}
15119static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
15120 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15121}
15122static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
15123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15124}
15125static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
15126 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15127}
15128static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
15129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
15130}
15131static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
15132 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15133}
15134static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15135 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15136}
15137static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
15139}
15140static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15141 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
15142}
15143static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15144 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15145}
15146static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15147 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15148}
15149static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15150 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
15151}
15152static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
15154}
15155static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
15156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15157}
15158static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
15159 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15160}
15161static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
15162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
15163}
15164static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15166}
15167static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15169}
15170static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15172}
15173static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15175}
15176static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15177 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15178}
15179static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15181}
15182static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
15184}
15185static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15187}
15188static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15190}
15191static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15193}
15194static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15196}
15197static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15199}
15200static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
15201 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15202}
15203static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
15204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15205}
15206static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15208}
15209static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15211}
15212static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15214}
15215static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15217}
15218static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15220}
15221static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
15222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15223}
15224static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15225 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15226}
15227static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
15228 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
15229}
15230static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
15231 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
15232}
15233static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
15234 return (void *)((wxFrame *) ((wxProgressDialog *) x));
15235}
15236static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
15237 return (void *)((wxFrame *) ((wxTipWindow *) x));
15238}
15239static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
15240 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
15241}
15242static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
15243 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15244}
15245static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
15246 return (void *)((wxFrame *) ((wxMiniFrame *) x));
15247}
15248static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
15249 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
15250}
15251static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
15252 return (void *)((wxFrame *) ((wxSplashScreen *) x));
15253}
15254static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
15255 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
15256}
15257static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
15258 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
15259}
15260static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
15262}
15263static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
15264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15265}
15266static void *_p_wxEventTo_p_wxObject(void *x) {
15267 return (void *)((wxObject *) ((wxEvent *) x));
15268}
15269static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
15270 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
15271}
15272static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15273 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15274}
15275static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15276 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
15277}
15278static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
15279 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
15280}
15281static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
15282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15283}
15284static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
15285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15286}
15287static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
15288 return (void *)((wxObject *) ((wxHtmlTag *) x));
15289}
15290static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15291 return (void *)((wxObject *) ((wxMenuItem *) x));
15292}
15293static void *_p_wxImageTo_p_wxObject(void *x) {
15294 return (void *)((wxObject *) ((wxImage *) x));
15295}
15296static void *_p_wxPySizerTo_p_wxObject(void *x) {
15297 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15298}
15299static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
15300 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
15301}
15302static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
15303 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15304}
15305static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
15306 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
15307}
15308static void *_p_wxPyAppTo_p_wxObject(void *x) {
15309 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15310}
15311static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
15312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15313}
15314static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
15315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15316}
15317static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
15318 return (void *)((wxObject *) ((wxFindReplaceData *) x));
15319}
15320static void *_p_wxValidatorTo_p_wxObject(void *x) {
15321 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15322}
15323static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15324 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15325}
15326static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15327 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15328}
15329static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15330 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15331}
15332static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15333 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15334}
15335static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
15336 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
15337}
15338static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15339 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
15340}
15341static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
15342 return (void *)((wxObject *) ((wxPrintDialogData *) x));
15343}
15344static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
15345 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
15346}
15347static void *_p_wxPrinterTo_p_wxObject(void *x) {
15348 return (void *)((wxObject *) ((wxPrinter *) x));
15349}
15350static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15352}
15353static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
15354 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
15355}
15356static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
15357 return (void *)((wxObject *) ((wxHtmlParser *) x));
15358}
15359static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15360 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15361}
15362static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15363 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15364}
15365static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15366 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15367}
15368static void *_p_wxControlTo_p_wxObject(void *x) {
15369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15370}
15371static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
15372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15373}
15374static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
15375 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15376}
15377static void *_p_wxColourDataTo_p_wxObject(void *x) {
15378 return (void *)((wxObject *) ((wxColourData *) x));
15379}
15380static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15381 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15382}
15383static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15384 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15385}
15386static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15387 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15388}
15389static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15390 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15391}
15392static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15393 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15394}
15395static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15396 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15397}
15398static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15399 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15400}
15401static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15402 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15403}
15404static void *_p_wxDateEventTo_p_wxObject(void *x) {
15405 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
15406}
15407static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
15408 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
15409}
15410static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
15411 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
15412}
15413static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
15414 return (void *)((wxObject *) ((wxPyPrintout *) x));
15415}
15416static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
15417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15418}
15419static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
15420 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
15421}
15422static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15423 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15424}
15425static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15426 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15427}
15428static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15430}
15431static void *_p_wxSashEventTo_p_wxObject(void *x) {
15432 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
15433}
15434static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
15435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15436}
15437static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
15438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15439}
15440static void *_p_wxPrintDataTo_p_wxObject(void *x) {
15441 return (void *)((wxObject *) ((wxPrintData *) x));
15442}
15443static void *_p_wxFontDataTo_p_wxObject(void *x) {
15444 return (void *)((wxObject *) ((wxFontData *) x));
15445}
15446static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
15447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15448}
15449static void *_p_wxFrameTo_p_wxObject(void *x) {
15450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15451}
15452static void *_p_wxPyPanelTo_p_wxObject(void *x) {
15453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15454}
15455static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
15456 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15457}
15458static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
15459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15460}
15461static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15462 return (void *)((wxObject *) ((wxFileSystem *) x));
15463}
15464static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
15465 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
15466}
15467static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
15468 return (void *)((wxObject *) ((wxPrintPreview *) x));
15469}
15470static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15471 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
15472}
15473static void *_p_wxSizerTo_p_wxObject(void *x) {
15474 return (void *)((wxObject *) ((wxSizer *) x));
15475}
15476static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15477 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
15478}
15479static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15480 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
15481}
15482static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15483 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
15484}
15485static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
15486 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
15487}
15488static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15489 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15490}
15491static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15492 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15493}
15494static void *_p_wxFSFileTo_p_wxObject(void *x) {
15495 return (void *)((wxObject *) ((wxFSFile *) x));
15496}
15497static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
15498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15499}
15500static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15501 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15502}
15503static void *_p_wxMenuTo_p_wxObject(void *x) {
15504 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15505}
15506static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15507 return (void *)((wxObject *) ((wxSizerItem *) x));
15508}
15509static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15510 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
15511}
15512static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
15513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15514}
15515static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
15516 return (void *)((wxObject *) ((wxPrintDialog *) x));
15517}
15518static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
15519 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
15520}
15521static void *_p_wxFontDialogTo_p_wxObject(void *x) {
15522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15523}
15524static void *_p_wxDirDialogTo_p_wxObject(void *x) {
15525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15526}
15527static void *_p_wxColourDialogTo_p_wxObject(void *x) {
15528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15529}
15530static void *_p_wxDialogTo_p_wxObject(void *x) {
15531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15532}
15533static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15534 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15535}
15536static void *_p_wxPyEventTo_p_wxObject(void *x) {
15537 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15538}
15539static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
15540 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
15541}
15542static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
15543 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
15544}
15545static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15546 return (void *)((wxObject *) ((wxEvtHandler *) x));
15547}
15548static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15549 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15550}
15551static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15552 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15553}
15554static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15555 return (void *)((wxObject *) ((wxImageHandler *) x));
15556}
15557static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
15558 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
15559}
15560static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15561 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15562}
15563static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15564 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15565}
15566static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15567 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15568}
15569static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15570 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15571}
15572static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15573 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15574}
15575static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15576 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15577}
15578static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15579 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15580}
15581static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15582 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15583}
15584static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15585 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15586}
15587static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
15588 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15589}
15590static void *_p_wxShowEventTo_p_wxObject(void *x) {
15591 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15592}
15593static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
15594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
15595}
15596static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
15597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15598}
15599static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
15600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15601}
15602static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
15603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
15604}
15605static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
15606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15607}
15608static void *_p_wxTipWindowTo_p_wxObject(void *x) {
15609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15610}
15611static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
15612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15613}
15614static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
15615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
15616}
15617static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
15618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15619}
15620static void *_p_wxSashWindowTo_p_wxObject(void *x) {
15621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
15622}
15623static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
15624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
15625}
15626static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
15627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
15628}
15629static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
15630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
15631}
15632static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
15633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15634}
15635static void *_p_wxWindowTo_p_wxObject(void *x) {
15636 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15637}
15638static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
15639 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
15640}
15641static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
15642 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
15643}
15644static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
15645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15646}
15647static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
15648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15649}
15650static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
15651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15652}
15653static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
15654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15655}
15656static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
15657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15658}
15659static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
15660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15661}
15662static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
15663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15664}
15665static void *_p_wxFileDialogTo_p_wxObject(void *x) {
15666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15667}
15668static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
15669 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
15670}
15671static void *_p_wxPyWindowTo_p_wxObject(void *x) {
15672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
15673}
15674static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15675 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15676}
15677static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15678 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15679}
15680static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15681 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15682}
15683static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15684 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15685}
15686static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
15687 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
15688}
15689static void *_p_wxPanelTo_p_wxObject(void *x) {
15690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
15691}
15692static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
15693 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
15694}
15695static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15696 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15697}
15698static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
15699 return (void *)((wxObject *) ((wxHtmlCell *) x));
15700}
15701static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15702 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15703}
15704static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15706}
15707static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15708 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15709}
15710static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15712}
15713static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
15714 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
15715}
15716static void *_p_wxStatusBarTo_p_wxObject(void *x) {
15717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
15718}
15719static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15721}
15722static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15723 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15724}
15725static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15726 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15727}
15728static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
15729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15730}
15731static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
15732 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
15733}
15734static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15736}
15737static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15738 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15739}
15740static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15742}
15743static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15744 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15745}
15746static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15747 return (void *)((wxWindow *) ((wxMenuBar *) x));
15748}
15749static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15751}
15752static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15754}
15755static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15756 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15757}
15758static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
15759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15760}
15761static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15763}
15764static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15766}
15767static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15769}
15770static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15772}
15773static void *_p_wxPanelTo_p_wxWindow(void *x) {
15774 return (void *)((wxWindow *) ((wxPanel *) x));
15775}
15776static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15777 return (void *)((wxWindow *) ((wxStatusBar *) x));
15778}
15779static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15780 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
15781}
15782static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15783 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15784}
15785static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15786 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15787}
15788static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15789 return (void *)((wxWindow *) ((wxPopupWindow *) x));
15790}
15791static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15792 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
15793}
15794static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15795 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
15796}
15797static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15798 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
15799}
15800static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15801 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
15802}
15803static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15804 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
15805}
15806static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15807 return (void *)((wxWindow *) ((wxSashWindow *) x));
15808}
15809static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15810 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
15811}
15812static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
15813 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15814}
15815static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
15816 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15817}
15818static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
15819 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
15820}
15821static void *_p_wxControlTo_p_wxWindow(void *x) {
15822 return (void *)((wxWindow *) ((wxControl *) x));
15823}
15824static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15826}
15827static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15829}
15830static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15832}
15833static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15834 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15835}
15836static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15837 return (void *)((wxWindow *) ((wxPyWindow *) x));
15838}
15839static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15840 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15841}
15842static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
15843 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15844}
15845static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
15846 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15847}
15848static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
15849 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
15850}
15851static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
15852 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15853}
15854static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
15855 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15856}
15857static void *_p_wxFrameTo_p_wxWindow(void *x) {
15858 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
15859}
15860static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
15861 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15862}
15863static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
15864 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15865}
15866static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
15867 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15868}
15869static void *_p_wxDialogTo_p_wxWindow(void *x) {
15870 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
15871}
15872static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
15873 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15874}
15875static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
15876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15877}
15878static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15879 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15880}
15881static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
15882 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15883}
15884static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15885 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15886}
15887static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
15888 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
15889}
15890static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
15891 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
15892}
15893static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
15894 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
15895}
15896static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
15897 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
15898}
15899static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
15900 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
15901}
15902static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
15903 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
15904}
15905static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
15906 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
15907}
15908static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
15909 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
15910}
15911static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
15912 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
15913}
15914static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
15915 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
15916}
15917static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
15918 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
15919}
15920static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
15921 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
15922}
15923static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
15924 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15925}
15926static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
15927 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
15928}
15929static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
15930 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
15931}
15932static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
15933 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
15934}
15935static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
15936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
15937}
15938static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
15939 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
15940}
15941static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
15942 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
15943}
15944static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
15945 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
15946}
15947static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
15948 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
15949}
15950static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
15951 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15952}
15953static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
15954 return (void *)((wxDialog *) ((wxColourDialog *) x));
15955}
15956static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
15957 return (void *)((wxDialog *) ((wxDirDialog *) x));
15958}
15959static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
15960 return (void *)((wxDialog *) ((wxFontDialog *) x));
15961}
15962static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
15963 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
15964}
15965static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
15966 return (void *)((wxDialog *) ((wxFileDialog *) x));
15967}
15968static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
15969 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
15970}
15971static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
15972 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
15973}
15974static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
15975 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
15976}
15977static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
15978 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15979}
15980static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
15981 return (void *)((wxDialog *) ((wxMessageDialog *) x));
15982}
15983static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
15984 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
15985}
15986static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15987 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15988}
15989static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15990 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15991}
15992static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
15993 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15994}
15995static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
15996 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15997}
15998static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15999 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16000}
16001static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16002 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16003}
16004static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16005 return (void *)((wxPanel *) ((wxPyPanel *) x));
16006}
16007static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16008 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16009}
16010static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16011 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16012}
16013static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16014 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16015}
16016static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
16017 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
16018}
16019static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
16020 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
16021}
16022static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16023 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16024}
16025static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16026 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16027}
16028static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16029 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16030}
16031static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
16032 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
16033}
16034static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
16035 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
16036}
16037static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16038 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16039}
16040static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16041 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16042}
16043static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16044 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16045}
16046static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16047 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16048}
16049static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16050 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16051}
16052static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16053 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16054}
16055static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16056 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16057}
16058static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16059 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16060}
16061static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
16062static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
16063static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
16064static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
16065static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
16066static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
16067static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
16068static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
16069static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
16070static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
16071static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
16072static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
16073static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
16074static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
16075static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
16076static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
16077static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
16078static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
16079static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
16080static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
16081static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
16082static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
16083static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
16084static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
16085static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0};
16086static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
16087static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
16088static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
16089static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
16090static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
16091static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
16092static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
16093static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
16094static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
16095static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
16096static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
16097static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
16098static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
16099static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
16100static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
16101static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
16102static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
16103static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
16104static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
16105static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
16106static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
16107static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
16108static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
16109static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
16110static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
16111static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
16112static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
16113static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
16114static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
16115static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
16116static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
16117static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
16118static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
16119static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
16120static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
16121static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
16122static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
16123static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
16124static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
16125static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
16126static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
16127static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
16128static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
16129static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
16130static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
16131static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
16132static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
16133static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
16134static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
16135static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
16136static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
16137static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
16138static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
16139static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
16140static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
16141static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
16142static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
16143static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
16144static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
16145static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
16146static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
16147static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
16148static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
16149static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
16150static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
16151static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
16152static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
16153static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
16154static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
16155static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
16156static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
16157static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
16158static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
16159static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
16160static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
16161static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
16162static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
16163static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0};
16164static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0};
16165static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0};
16166static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0};
16167static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0};
16168static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0};
16169static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0};
16170static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0};
16171static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0};
16172static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0};
16173static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0};
16174static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0};
16175static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0};
16176static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0};
16177static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0};
16178static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0};
16179static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0};
16180static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0};
16181static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0};
16182static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0};
16183static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0};
16184static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0};
16185static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0};
16186static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0};
16187static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0};
16188static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0};
16189static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0};
16190static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0};
16191static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0};
16192static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0};
16193static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0};
16194static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0};
16195static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0};
16196static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
16197static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
16198static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
16199static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
16200static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
16201static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
16202static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
16203static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
16204static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
16205static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
16206static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
16207static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
16208static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
16209static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
16210static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
16211static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
16212static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
16213static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
16214static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
16215static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
16216static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
16217static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
16218static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
16219static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
16220static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
16221static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
16222static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
16223static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
16224static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
16225static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
16226static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
16227static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
16228static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
16229static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
16230static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
16231static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
16232static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
16233static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
16234static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
16235static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
16236static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
16237static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
16238static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
16239static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
16240static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
16241static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
16242static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
16243static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0};
16244static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0};
16245static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0};
16246static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0};
16247static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
16248static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
16249static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
16250static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
16251static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
16252static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
16253static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
16254static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
16255static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
16256static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
16257static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
16258static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
16259
16260static swig_type_info *swig_type_initial[] = {
16261 &_swigt__p_bool,
16262 &_swigt__p_char,
16263 &_swigt__p_form_ops_t,
16264 &_swigt__p_int,
16265 &_swigt__p_unsigned_char,
16266 &_swigt__p_unsigned_int,
16267 &_swigt__p_unsigned_long,
16268 &_swigt__p_wxANIHandler,
16269 &_swigt__p_wxAcceleratorTable,
16270 &_swigt__p_wxActivateEvent,
16271 &_swigt__p_wxBMPHandler,
16272 &_swigt__p_wxBitmap,
16273 &_swigt__p_wxBoxSizer,
16274 &_swigt__p_wxCURHandler,
16275 &_swigt__p_wxCalculateLayoutEvent,
16276 &_swigt__p_wxChildFocusEvent,
16277 &_swigt__p_wxCloseEvent,
16278 &_swigt__p_wxColour,
16279 &_swigt__p_wxColourData,
16280 &_swigt__p_wxColourDialog,
16281 &_swigt__p_wxCommandEvent,
16282 &_swigt__p_wxConfigBase,
16283 &_swigt__p_wxContextMenuEvent,
16284 &_swigt__p_wxControl,
16285 &_swigt__p_wxControlWithItems,
16286 &_swigt__p_wxCursor,
16287 &_swigt__p_wxDC,
16288 &_swigt__p_wxDateEvent,
16289 &_swigt__p_wxDefaultHtmlRenderingStyle,
16290 &_swigt__p_wxDialog,
16291 &_swigt__p_wxDirDialog,
16292 &_swigt__p_wxDisplayChangedEvent,
16293 &_swigt__p_wxDropFilesEvent,
16294 &_swigt__p_wxDuplexMode,
16295 &_swigt__p_wxEraseEvent,
16296 &_swigt__p_wxEvent,
16297 &_swigt__p_wxEvtHandler,
16298 &_swigt__p_wxFSFile,
16299 &_swigt__p_wxFileDialog,
16300 &_swigt__p_wxFileSystem,
16301 &_swigt__p_wxFindDialogEvent,
16302 &_swigt__p_wxFindReplaceData,
16303 &_swigt__p_wxFindReplaceDialog,
16304 &_swigt__p_wxFlexGridSizer,
16305 &_swigt__p_wxFocusEvent,
16306 &_swigt__p_wxFont,
16307 &_swigt__p_wxFontData,
16308 &_swigt__p_wxFontDialog,
16309 &_swigt__p_wxFrame,
16310 &_swigt__p_wxGBSizerItem,
16311 &_swigt__p_wxGIFHandler,
16312 &_swigt__p_wxGridBagSizer,
16313 &_swigt__p_wxGridSizer,
16314 &_swigt__p_wxHelpControllerBase,
16315 &_swigt__p_wxHelpSearchMode,
16316 &_swigt__p_wxHtmlBookRecArray,
16317 &_swigt__p_wxHtmlBookRecord,
16318 &_swigt__p_wxHtmlCell,
16319 &_swigt__p_wxHtmlColourCell,
16320 &_swigt__p_wxHtmlContainerCell,
16321 &_swigt__p_wxHtmlDCRenderer,
16322 &_swigt__p_wxHtmlEasyPrinting,
16323 &_swigt__p_wxHtmlFilter,
16324 &_swigt__p_wxHtmlFontCell,
16325 &_swigt__p_wxHtmlHelpController,
16326 &_swigt__p_wxHtmlHelpData,
16327 &_swigt__p_wxHtmlHelpDialog,
16328 &_swigt__p_wxHtmlHelpFrame,
16329 &_swigt__p_wxHtmlHelpFrameCfg,
16330 &_swigt__p_wxHtmlHelpWindow,
16331 &_swigt__p_wxHtmlLinkInfo,
16332 &_swigt__p_wxHtmlModalHelp,
16333 &_swigt__p_wxHtmlParser,
16334 &_swigt__p_wxHtmlPrintout,
16335 &_swigt__p_wxHtmlRenderingInfo,
16336 &_swigt__p_wxHtmlRenderingState,
16337 &_swigt__p_wxHtmlRenderingStyle,
16338 &_swigt__p_wxHtmlSearchStatus,
16339 &_swigt__p_wxHtmlSelection,
16340 &_swigt__p_wxHtmlTag,
16341 &_swigt__p_wxHtmlTagHandler,
16342 &_swigt__p_wxHtmlWidgetCell,
16343 &_swigt__p_wxHtmlWinParser,
16344 &_swigt__p_wxHtmlWindow,
16345 &_swigt__p_wxHtmlWindowEvent,
16346 &_swigt__p_wxHtmlWordCell,
16347 &_swigt__p_wxICOHandler,
16348 &_swigt__p_wxIconizeEvent,
16349 &_swigt__p_wxIdleEvent,
16350 &_swigt__p_wxImage,
16351 &_swigt__p_wxImageHandler,
16352 &_swigt__p_wxIndividualLayoutConstraint,
16353 &_swigt__p_wxInitDialogEvent,
16354 &_swigt__p_wxJPEGHandler,
16355 &_swigt__p_wxKeyEvent,
16356 &_swigt__p_wxLayoutAlgorithm,
16357 &_swigt__p_wxLayoutConstraints,
16358 &_swigt__p_wxMDIChildFrame,
16359 &_swigt__p_wxMDIClientWindow,
16360 &_swigt__p_wxMDIParentFrame,
16361 &_swigt__p_wxMaximizeEvent,
16362 &_swigt__p_wxMenu,
16363 &_swigt__p_wxMenuBar,
16364 &_swigt__p_wxMenuEvent,
16365 &_swigt__p_wxMenuItem,
16366 &_swigt__p_wxMessageDialog,
16367 &_swigt__p_wxMiniFrame,
16368 &_swigt__p_wxMouseCaptureChangedEvent,
16369 &_swigt__p_wxMouseEvent,
16370 &_swigt__p_wxMoveEvent,
16371 &_swigt__p_wxMultiChoiceDialog,
16372 &_swigt__p_wxNavigationKeyEvent,
16373 &_swigt__p_wxNcPaintEvent,
16374 &_swigt__p_wxNotifyEvent,
16375 &_swigt__p_wxObject,
16376 &_swigt__p_wxPCXHandler,
16377 &_swigt__p_wxPNGHandler,
16378 &_swigt__p_wxPNMHandler,
16379 &_swigt__p_wxPageSetupDialog,
16380 &_swigt__p_wxPageSetupDialogData,
16381 &_swigt__p_wxPaintEvent,
16382 &_swigt__p_wxPaletteChangedEvent,
16383 &_swigt__p_wxPanel,
16384 &_swigt__p_wxPaperSize,
16385 &_swigt__p_wxPasswordEntryDialog,
16386 &_swigt__p_wxPoint,
16387 &_swigt__p_wxPopupWindow,
16388 &_swigt__p_wxPreviewCanvas,
16389 &_swigt__p_wxPreviewControlBar,
16390 &_swigt__p_wxPreviewFrame,
16391 &_swigt__p_wxPrintData,
16392 &_swigt__p_wxPrintDialog,
16393 &_swigt__p_wxPrintDialogData,
16394 &_swigt__p_wxPrintPreview,
16395 &_swigt__p_wxPrinter,
16396 &_swigt__p_wxProgressDialog,
16397 &_swigt__p_wxPyApp,
16398 &_swigt__p_wxPyCommandEvent,
16399 &_swigt__p_wxPyEvent,
16400 &_swigt__p_wxPyHtmlFilter,
16401 &_swigt__p_wxPyHtmlListBox,
16402 &_swigt__p_wxPyHtmlTagHandler,
16403 &_swigt__p_wxPyHtmlWinTagHandler,
16404 &_swigt__p_wxPyHtmlWindow,
16405 &_swigt__p_wxPyImageHandler,
16406 &_swigt__p_wxPyPanel,
16407 &_swigt__p_wxPyPopupTransientWindow,
16408 &_swigt__p_wxPyPreviewControlBar,
16409 &_swigt__p_wxPyPreviewFrame,
16410 &_swigt__p_wxPyPrintPreview,
16411 &_swigt__p_wxPyPrintout,
16412 &_swigt__p_wxPyScrolledWindow,
16413 &_swigt__p_wxPySizer,
16414 &_swigt__p_wxPyTaskBarIcon,
16415 &_swigt__p_wxPyVListBox,
16416 &_swigt__p_wxPyVScrolledWindow,
16417 &_swigt__p_wxPyValidator,
16418 &_swigt__p_wxPyWindow,
16419 &_swigt__p_wxQueryLayoutInfoEvent,
16420 &_swigt__p_wxQueryNewPaletteEvent,
16421 &_swigt__p_wxSashEvent,
16422 &_swigt__p_wxSashLayoutWindow,
16423 &_swigt__p_wxSashWindow,
16424 &_swigt__p_wxScrollEvent,
16425 &_swigt__p_wxScrollWinEvent,
16426 &_swigt__p_wxScrolledWindow,
16427 &_swigt__p_wxSetCursorEvent,
16428 &_swigt__p_wxShowEvent,
16429 &_swigt__p_wxSingleChoiceDialog,
16430 &_swigt__p_wxSize,
16431 &_swigt__p_wxSizeEvent,
16432 &_swigt__p_wxSizer,
16433 &_swigt__p_wxSizerItem,
16434 &_swigt__p_wxSplashScreen,
16435 &_swigt__p_wxSplashScreenWindow,
16436 &_swigt__p_wxSplitterEvent,
16437 &_swigt__p_wxSplitterWindow,
16438 &_swigt__p_wxStaticBoxSizer,
16439 &_swigt__p_wxStatusBar,
16440 &_swigt__p_wxStdDialogButtonSizer,
16441 &_swigt__p_wxString,
16442 &_swigt__p_wxSysColourChangedEvent,
16443 &_swigt__p_wxTIFFHandler,
16444 &_swigt__p_wxTaskBarIconEvent,
16445 &_swigt__p_wxTextEntryDialog,
16446 &_swigt__p_wxTipWindow,
16447 &_swigt__p_wxTopLevelWindow,
16448 &_swigt__p_wxTreeCtrl,
16449 &_swigt__p_wxUpdateUIEvent,
16450 &_swigt__p_wxValidator,
16451 &_swigt__p_wxVisualAttributes,
16452 &_swigt__p_wxWindow,
16453 &_swigt__p_wxWindowCreateEvent,
16454 &_swigt__p_wxWindowDestroyEvent,
16455 &_swigt__p_wxXPMHandler,
16456 &_swigt__ptrdiff_t,
16457 &_swigt__std__ptrdiff_t,
16458 &_swigt__unsigned_int,
16459};
16460
16461static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
16462static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16463static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
16464static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16465static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16466static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16467static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16468static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
16469static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
16470static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
16471static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
16472static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
16473static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
16474static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
16475static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16476static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16477static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
16478static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
16479static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16480static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
16481static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
16482static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
16483static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
16484static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
16485static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
16486static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16487static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16488static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16489static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16490static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16491static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16492static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16493static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16494static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16495static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16496static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
16497static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
16498static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16499static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
16500static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
16501static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
16502static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16503static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
16504static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
16505static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
16506static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
16507static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16508static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16509static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
16510static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16511static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
16512static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16513static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16514static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16515static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16516static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16517static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16518static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
16519static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16520static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
16521static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
16522static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16523static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16524static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
16525static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
16526static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
16527static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16528static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16529static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16530static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16531static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
16532static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
16533static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16534static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16535static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16536static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16537static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16538static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16539static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16540static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16541static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16542static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16543static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16544static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16545static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16546static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
16547static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16548static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
16549static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16550static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16551static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16552static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16553static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16554static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16555static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16556static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
16557static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
16558static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16559static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
16560static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
16561static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
16562static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
16563static swig_cast_info _swigc__p_wxHelpControllerBase[] = { {&_swigt__p_wxHelpControllerBase, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}};
16564static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
16565static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
16566static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
16567static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}};
16568static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
16569static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
16570static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
16571static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
16572static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16573static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
16574static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
16575static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
16576static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
16577static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
16578static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
16579static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
16580static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
16581static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
16582static swig_cast_info _swigc__p_wxHtmlParser[] = { {&_swigt__p_wxHtmlParser, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}};
16583static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
16584static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
16585static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
16586static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = { {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}};
16587static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
16588static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
16589static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
16590static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16591static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
16592static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
16593static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16594static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
16595static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
16596static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
16597static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
16598static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
16599static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
16600static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
16601static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
16602static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
16603static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
16604static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
16605static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
16606static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16607static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16608static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
16609static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
16610static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
16611static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
16612static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16613static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16614static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
16615static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16616static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
16617static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16618static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
16619static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
16620static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16621static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16622static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
16623static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
16624static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
16625static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
16626static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16627static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16628static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
16629static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
16630static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
16631static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
16632static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
16633static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
16634static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
16635static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
16636static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
16637static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
16638static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
16639static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
16640static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
16641static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
16642static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
16643static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16644static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = { {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}};
16645static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16646static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16647static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0},{0, 0, 0, 0}};
16648static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
16649static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
16650static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16651static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
16652static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
16653static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
16654static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
16655static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
16656static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16657static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16658static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16659
16660static swig_cast_info *swig_cast_initial[] = {
16661 _swigc__p_bool,
16662 _swigc__p_char,
16663 _swigc__p_form_ops_t,
16664 _swigc__p_int,
16665 _swigc__p_unsigned_char,
16666 _swigc__p_unsigned_int,
16667 _swigc__p_unsigned_long,
16668 _swigc__p_wxANIHandler,
16669 _swigc__p_wxAcceleratorTable,
16670 _swigc__p_wxActivateEvent,
16671 _swigc__p_wxBMPHandler,
16672 _swigc__p_wxBitmap,
16673 _swigc__p_wxBoxSizer,
16674 _swigc__p_wxCURHandler,
16675 _swigc__p_wxCalculateLayoutEvent,
16676 _swigc__p_wxChildFocusEvent,
16677 _swigc__p_wxCloseEvent,
16678 _swigc__p_wxColour,
16679 _swigc__p_wxColourData,
16680 _swigc__p_wxColourDialog,
16681 _swigc__p_wxCommandEvent,
16682 _swigc__p_wxConfigBase,
16683 _swigc__p_wxContextMenuEvent,
16684 _swigc__p_wxControl,
16685 _swigc__p_wxControlWithItems,
16686 _swigc__p_wxCursor,
16687 _swigc__p_wxDC,
16688 _swigc__p_wxDateEvent,
16689 _swigc__p_wxDefaultHtmlRenderingStyle,
16690 _swigc__p_wxDialog,
16691 _swigc__p_wxDirDialog,
16692 _swigc__p_wxDisplayChangedEvent,
16693 _swigc__p_wxDropFilesEvent,
16694 _swigc__p_wxDuplexMode,
16695 _swigc__p_wxEraseEvent,
16696 _swigc__p_wxEvent,
16697 _swigc__p_wxEvtHandler,
16698 _swigc__p_wxFSFile,
16699 _swigc__p_wxFileDialog,
16700 _swigc__p_wxFileSystem,
16701 _swigc__p_wxFindDialogEvent,
16702 _swigc__p_wxFindReplaceData,
16703 _swigc__p_wxFindReplaceDialog,
16704 _swigc__p_wxFlexGridSizer,
16705 _swigc__p_wxFocusEvent,
16706 _swigc__p_wxFont,
16707 _swigc__p_wxFontData,
16708 _swigc__p_wxFontDialog,
16709 _swigc__p_wxFrame,
16710 _swigc__p_wxGBSizerItem,
16711 _swigc__p_wxGIFHandler,
16712 _swigc__p_wxGridBagSizer,
16713 _swigc__p_wxGridSizer,
16714 _swigc__p_wxHelpControllerBase,
16715 _swigc__p_wxHelpSearchMode,
16716 _swigc__p_wxHtmlBookRecArray,
16717 _swigc__p_wxHtmlBookRecord,
16718 _swigc__p_wxHtmlCell,
16719 _swigc__p_wxHtmlColourCell,
16720 _swigc__p_wxHtmlContainerCell,
16721 _swigc__p_wxHtmlDCRenderer,
16722 _swigc__p_wxHtmlEasyPrinting,
16723 _swigc__p_wxHtmlFilter,
16724 _swigc__p_wxHtmlFontCell,
16725 _swigc__p_wxHtmlHelpController,
16726 _swigc__p_wxHtmlHelpData,
16727 _swigc__p_wxHtmlHelpDialog,
16728 _swigc__p_wxHtmlHelpFrame,
16729 _swigc__p_wxHtmlHelpFrameCfg,
16730 _swigc__p_wxHtmlHelpWindow,
16731 _swigc__p_wxHtmlLinkInfo,
16732 _swigc__p_wxHtmlModalHelp,
16733 _swigc__p_wxHtmlParser,
16734 _swigc__p_wxHtmlPrintout,
16735 _swigc__p_wxHtmlRenderingInfo,
16736 _swigc__p_wxHtmlRenderingState,
16737 _swigc__p_wxHtmlRenderingStyle,
16738 _swigc__p_wxHtmlSearchStatus,
16739 _swigc__p_wxHtmlSelection,
16740 _swigc__p_wxHtmlTag,
16741 _swigc__p_wxHtmlTagHandler,
16742 _swigc__p_wxHtmlWidgetCell,
16743 _swigc__p_wxHtmlWinParser,
16744 _swigc__p_wxHtmlWindow,
16745 _swigc__p_wxHtmlWindowEvent,
16746 _swigc__p_wxHtmlWordCell,
16747 _swigc__p_wxICOHandler,
16748 _swigc__p_wxIconizeEvent,
16749 _swigc__p_wxIdleEvent,
16750 _swigc__p_wxImage,
16751 _swigc__p_wxImageHandler,
16752 _swigc__p_wxIndividualLayoutConstraint,
16753 _swigc__p_wxInitDialogEvent,
16754 _swigc__p_wxJPEGHandler,
16755 _swigc__p_wxKeyEvent,
16756 _swigc__p_wxLayoutAlgorithm,
16757 _swigc__p_wxLayoutConstraints,
16758 _swigc__p_wxMDIChildFrame,
16759 _swigc__p_wxMDIClientWindow,
16760 _swigc__p_wxMDIParentFrame,
16761 _swigc__p_wxMaximizeEvent,
16762 _swigc__p_wxMenu,
16763 _swigc__p_wxMenuBar,
16764 _swigc__p_wxMenuEvent,
16765 _swigc__p_wxMenuItem,
16766 _swigc__p_wxMessageDialog,
16767 _swigc__p_wxMiniFrame,
16768 _swigc__p_wxMouseCaptureChangedEvent,
16769 _swigc__p_wxMouseEvent,
16770 _swigc__p_wxMoveEvent,
16771 _swigc__p_wxMultiChoiceDialog,
16772 _swigc__p_wxNavigationKeyEvent,
16773 _swigc__p_wxNcPaintEvent,
16774 _swigc__p_wxNotifyEvent,
16775 _swigc__p_wxObject,
16776 _swigc__p_wxPCXHandler,
16777 _swigc__p_wxPNGHandler,
16778 _swigc__p_wxPNMHandler,
16779 _swigc__p_wxPageSetupDialog,
16780 _swigc__p_wxPageSetupDialogData,
16781 _swigc__p_wxPaintEvent,
16782 _swigc__p_wxPaletteChangedEvent,
16783 _swigc__p_wxPanel,
16784 _swigc__p_wxPaperSize,
16785 _swigc__p_wxPasswordEntryDialog,
16786 _swigc__p_wxPoint,
16787 _swigc__p_wxPopupWindow,
16788 _swigc__p_wxPreviewCanvas,
16789 _swigc__p_wxPreviewControlBar,
16790 _swigc__p_wxPreviewFrame,
16791 _swigc__p_wxPrintData,
16792 _swigc__p_wxPrintDialog,
16793 _swigc__p_wxPrintDialogData,
16794 _swigc__p_wxPrintPreview,
16795 _swigc__p_wxPrinter,
16796 _swigc__p_wxProgressDialog,
16797 _swigc__p_wxPyApp,
16798 _swigc__p_wxPyCommandEvent,
16799 _swigc__p_wxPyEvent,
16800 _swigc__p_wxPyHtmlFilter,
16801 _swigc__p_wxPyHtmlListBox,
16802 _swigc__p_wxPyHtmlTagHandler,
16803 _swigc__p_wxPyHtmlWinTagHandler,
16804 _swigc__p_wxPyHtmlWindow,
16805 _swigc__p_wxPyImageHandler,
16806 _swigc__p_wxPyPanel,
16807 _swigc__p_wxPyPopupTransientWindow,
16808 _swigc__p_wxPyPreviewControlBar,
16809 _swigc__p_wxPyPreviewFrame,
16810 _swigc__p_wxPyPrintPreview,
16811 _swigc__p_wxPyPrintout,
16812 _swigc__p_wxPyScrolledWindow,
16813 _swigc__p_wxPySizer,
16814 _swigc__p_wxPyTaskBarIcon,
16815 _swigc__p_wxPyVListBox,
16816 _swigc__p_wxPyVScrolledWindow,
16817 _swigc__p_wxPyValidator,
16818 _swigc__p_wxPyWindow,
16819 _swigc__p_wxQueryLayoutInfoEvent,
16820 _swigc__p_wxQueryNewPaletteEvent,
16821 _swigc__p_wxSashEvent,
16822 _swigc__p_wxSashLayoutWindow,
16823 _swigc__p_wxSashWindow,
16824 _swigc__p_wxScrollEvent,
16825 _swigc__p_wxScrollWinEvent,
16826 _swigc__p_wxScrolledWindow,
16827 _swigc__p_wxSetCursorEvent,
16828 _swigc__p_wxShowEvent,
16829 _swigc__p_wxSingleChoiceDialog,
16830 _swigc__p_wxSize,
16831 _swigc__p_wxSizeEvent,
16832 _swigc__p_wxSizer,
16833 _swigc__p_wxSizerItem,
16834 _swigc__p_wxSplashScreen,
16835 _swigc__p_wxSplashScreenWindow,
16836 _swigc__p_wxSplitterEvent,
16837 _swigc__p_wxSplitterWindow,
16838 _swigc__p_wxStaticBoxSizer,
16839 _swigc__p_wxStatusBar,
16840 _swigc__p_wxStdDialogButtonSizer,
16841 _swigc__p_wxString,
16842 _swigc__p_wxSysColourChangedEvent,
16843 _swigc__p_wxTIFFHandler,
16844 _swigc__p_wxTaskBarIconEvent,
16845 _swigc__p_wxTextEntryDialog,
16846 _swigc__p_wxTipWindow,
16847 _swigc__p_wxTopLevelWindow,
16848 _swigc__p_wxTreeCtrl,
16849 _swigc__p_wxUpdateUIEvent,
16850 _swigc__p_wxValidator,
16851 _swigc__p_wxVisualAttributes,
16852 _swigc__p_wxWindow,
16853 _swigc__p_wxWindowCreateEvent,
16854 _swigc__p_wxWindowDestroyEvent,
16855 _swigc__p_wxXPMHandler,
16856 _swigc__ptrdiff_t,
16857 _swigc__std__ptrdiff_t,
16858 _swigc__unsigned_int,
16859};
16860
16861
16862/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16863
16864static swig_const_info swig_const_table[] = {
16865{0, 0, 0, 0.0, 0, 0}};
16866
16867#ifdef __cplusplus
16868}
16869#endif
16870/*************************************************************************
16871 * Type initialization:
16872 * This problem is tough by the requirement that no dynamic
16873 * memory is used. Also, since swig_type_info structures store pointers to
16874 * swig_cast_info structures and swig_cast_info structures store pointers back
16875 * to swig_type_info structures, we need some lookup code at initialization.
16876 * The idea is that swig generates all the structures that are needed.
16877 * The runtime then collects these partially filled structures.
16878 * The SWIG_InitializeModule function takes these initial arrays out of
16879 * swig_module, and does all the lookup, filling in the swig_module.types
16880 * array with the correct data and linking the correct swig_cast_info
16881 * structures together.
16882
16883 * The generated swig_type_info structures are assigned staticly to an initial
16884 * array. We just loop though that array, and handle each type individually.
16885 * First we lookup if this type has been already loaded, and if so, use the
16886 * loaded structure instead of the generated one. Then we have to fill in the
16887 * cast linked list. The cast data is initially stored in something like a
16888 * two-dimensional array. Each row corresponds to a type (there are the same
16889 * number of rows as there are in the swig_type_initial array). Each entry in
16890 * a column is one of the swig_cast_info structures for that type.
16891 * The cast_initial array is actually an array of arrays, because each row has
16892 * a variable number of columns. So to actually build the cast linked list,
16893 * we find the array of casts associated with the type, and loop through it
16894 * adding the casts to the list. The one last trick we need to do is making
16895 * sure the type pointer in the swig_cast_info struct is correct.
16896
16897 * First off, we lookup the cast->type name to see if it is already loaded.
16898 * There are three cases to handle:
16899 * 1) If the cast->type has already been loaded AND the type we are adding
16900 * casting info to has not been loaded (it is in this module), THEN we
16901 * replace the cast->type pointer with the type pointer that has already
16902 * been loaded.
16903 * 2) If BOTH types (the one we are adding casting info to, and the
16904 * cast->type) are loaded, THEN the cast info has already been loaded by
16905 * the previous module so we just ignore it.
16906 * 3) Finally, if cast->type has not already been loaded, then we add that
16907 * swig_cast_info to the linked list (because the cast->type) pointer will
16908 * be correct.
16909**/
16910
16911#ifdef __cplusplus
16912extern "C" {
16913#if 0
16914} /* c-mode */
16915#endif
16916#endif
16917
16918#if 0
16919#define SWIGRUNTIME_DEBUG
16920#endif
16921
16922SWIGRUNTIME void
16923SWIG_InitializeModule(void *clientdata) {
16924 size_t i;
16925 swig_module_info *module_head;
16926 static int init_run = 0;
16927
16928 clientdata = clientdata;
16929
16930 if (init_run) return;
16931 init_run = 1;
16932
16933 /* Initialize the swig_module */
16934 swig_module.type_initial = swig_type_initial;
16935 swig_module.cast_initial = swig_cast_initial;
16936
16937 /* Try and load any already created modules */
16938 module_head = SWIG_GetModule(clientdata);
16939 if (module_head) {
16940 swig_module.next = module_head->next;
16941 module_head->next = &swig_module;
16942 } else {
16943 /* This is the first module loaded */
16944 swig_module.next = &swig_module;
16945 SWIG_SetModule(clientdata, &swig_module);
16946 }
16947
16948 /* Now work on filling in swig_module.types */
16949#ifdef SWIGRUNTIME_DEBUG
16950 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
16951#endif
16952 for (i = 0; i < swig_module.size; ++i) {
16953 swig_type_info *type = 0;
16954 swig_type_info *ret;
16955 swig_cast_info *cast;
16956
16957#ifdef SWIGRUNTIME_DEBUG
16958 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
16959#endif
16960
16961 /* if there is another module already loaded */
16962 if (swig_module.next != &swig_module) {
16963 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
16964 }
16965 if (type) {
16966 /* Overwrite clientdata field */
16967#ifdef SWIGRUNTIME_DEBUG
16968 printf("SWIG_InitializeModule: found type %s\n", type->name);
16969#endif
16970 if (swig_module.type_initial[i]->clientdata) {
16971 type->clientdata = swig_module.type_initial[i]->clientdata;
16972#ifdef SWIGRUNTIME_DEBUG
16973 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
16974#endif
16975 }
16976 } else {
16977 type = swig_module.type_initial[i];
16978 }
16979
16980 /* Insert casting types */
16981 cast = swig_module.cast_initial[i];
16982 while (cast->type) {
16983 /* Don't need to add information already in the list */
16984 ret = 0;
16985#ifdef SWIGRUNTIME_DEBUG
16986 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
16987#endif
16988 if (swig_module.next != &swig_module) {
16989 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
16990#ifdef SWIGRUNTIME_DEBUG
16991 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
16992#endif
16993 }
16994 if (ret) {
16995 if (type == swig_module.type_initial[i]) {
16996#ifdef SWIGRUNTIME_DEBUG
16997 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
16998#endif
16999 cast->type = ret;
17000 ret = 0;
17001 } else {
17002 /* Check for casting already in the list */
17003 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
17004#ifdef SWIGRUNTIME_DEBUG
17005 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
17006#endif
17007 if (!ocast) ret = 0;
17008 }
17009 }
17010
17011 if (!ret) {
17012#ifdef SWIGRUNTIME_DEBUG
17013 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17014#endif
17015 if (type->cast) {
17016 type->cast->prev = cast;
17017 cast->next = type->cast;
17018 }
17019 type->cast = cast;
17020 }
17021 cast++;
17022 }
17023 /* Set entry in modules->types array equal to the type */
17024 swig_module.types[i] = type;
17025 }
17026 swig_module.types[i] = 0;
17027
17028#ifdef SWIGRUNTIME_DEBUG
17029 printf("**** SWIG_InitializeModule: Cast List ******\n");
17030 for (i = 0; i < swig_module.size; ++i) {
17031 int j = 0;
17032 swig_cast_info *cast = swig_module.cast_initial[i];
17033 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17034 while (cast->type) {
17035 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17036 cast++;
17037 ++j;
17038 }
17039 printf("---- Total casts: %d\n",j);
17040 }
17041 printf("**** SWIG_InitializeModule: Cast List ******\n");
17042#endif
17043}
17044
17045/* This function will propagate the clientdata field of type to
17046* any new swig_type_info structures that have been added into the list
17047* of equivalent types. It is like calling
17048* SWIG_TypeClientData(type, clientdata) a second time.
17049*/
17050SWIGRUNTIME void
17051SWIG_PropagateClientData(void) {
17052 size_t i;
17053 swig_cast_info *equiv;
17054 static int init_run = 0;
17055
17056 if (init_run) return;
17057 init_run = 1;
17058
17059 for (i = 0; i < swig_module.size; i++) {
17060 if (swig_module.types[i]->clientdata) {
17061 equiv = swig_module.types[i]->cast;
17062 while (equiv) {
17063 if (!equiv->converter) {
17064 if (equiv->type && !equiv->type->clientdata)
17065 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17066 }
17067 equiv = equiv->next;
17068 }
17069 }
17070 }
17071}
17072
17073#ifdef __cplusplus
17074#if 0
17075{
17076 /* c-mode */
17077#endif
17078}
17079#endif
17080
17081
17082
17083#ifdef __cplusplus
17084extern "C" {
17085#endif
17086
17087 /* Python-specific SWIG API */
17088#define SWIG_newvarlink() SWIG_Python_newvarlink()
17089#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17090#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17091
17092 /* -----------------------------------------------------------------------------
17093 * global variable support code.
17094 * ----------------------------------------------------------------------------- */
17095
17096 typedef struct swig_globalvar {
17097 char *name; /* Name of global variable */
17098 PyObject *(*get_attr)(void); /* Return the current value */
17099 int (*set_attr)(PyObject *); /* Set the value */
17100 struct swig_globalvar *next;
17101 } swig_globalvar;
17102
17103 typedef struct swig_varlinkobject {
17104 PyObject_HEAD
17105 swig_globalvar *vars;
17106 } swig_varlinkobject;
17107
17108 SWIGINTERN PyObject *
17109 swig_varlink_repr(swig_varlinkobject *v) {
17110 v = v;
17111 return PyString_FromString("<Swig global variables>");
17112 }
17113
17114 SWIGINTERN int
17115 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17116 swig_globalvar *var;
17117 flags = flags;
17118 fprintf(fp,"Swig global variables { ");
17119 for (var = v->vars; var; var=var->next) {
17120 fprintf(fp,"%s", var->name);
17121 if (var->next) fprintf(fp,", ");
17122 }
17123 fprintf(fp," }\n");
17124 return 0;
17125 }
17126
17127 SWIGINTERN PyObject *
17128 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17129 swig_globalvar *var = v->vars;
17130 while (var) {
17131 if (strcmp(var->name,n) == 0) {
17132 return (*var->get_attr)();
17133 }
17134 var = var->next;
17135 }
17136 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17137 return NULL;
17138 }
17139
17140 SWIGINTERN int
17141 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17142 swig_globalvar *var = v->vars;
17143 while (var) {
17144 if (strcmp(var->name,n) == 0) {
17145 return (*var->set_attr)(p);
17146 }
17147 var = var->next;
17148 }
17149 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17150 return 1;
17151 }
17152
17153 SWIGINTERN PyTypeObject*
17154 swig_varlink_type(void) {
17155 static char varlink__doc__[] = "Swig var link object";
17156 static PyTypeObject varlink_type
17157#if !defined(__cplusplus)
17158 ;
17159 static int type_init = 0;
17160 if (!type_init) {
17161 PyTypeObject tmp
17162#endif
17163 = {
17164 PyObject_HEAD_INIT(&PyType_Type)
17165 0, /* Number of items in variable part (ob_size) */
17166 (char *)"swigvarlink", /* Type name (tp_name) */
17167 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17168 0, /* Itemsize (tp_itemsize) */
17169 0, /* Deallocator (tp_dealloc) */
17170 (printfunc) swig_varlink_print, /* Print (tp_print) */
17171 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17172 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17173 0, /* tp_compare */
17174 (reprfunc) swig_varlink_repr, /* tp_repr */
17175 0, /* tp_as_number */
17176 0, /* tp_as_sequence */
17177 0, /* tp_as_mapping */
17178 0, /* tp_hash */
17179 0, /* tp_call */
17180 0, /* tp_str */
17181 0, /* tp_getattro */
17182 0, /* tp_setattro */
17183 0, /* tp_as_buffer */
17184 0, /* tp_flags */
17185 varlink__doc__, /* tp_doc */
17186#if PY_VERSION_HEX >= 0x02000000
17187 0, /* tp_traverse */
17188 0, /* tp_clear */
17189#endif
17190#if PY_VERSION_HEX >= 0x02010000
17191 0, /* tp_richcompare */
17192 0, /* tp_weaklistoffset */
17193#endif
17194#if PY_VERSION_HEX >= 0x02020000
17195 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17196#endif
17197#if PY_VERSION_HEX >= 0x02030000
17198 0, /* tp_del */
17199#endif
17200#ifdef COUNT_ALLOCS
17201 0,0,0,0 /* tp_alloc -> tp_next */
17202#endif
17203 };
17204#if !defined(__cplusplus)
17205 varlink_type = tmp;
17206 type_init = 1;
17207 }
17208#endif
17209 return &varlink_type;
17210 }
17211
17212 /* Create a variable linking object for use later */
17213 SWIGINTERN PyObject *
17214 SWIG_Python_newvarlink(void) {
17215 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
17216 if (result) {
17217 result->vars = 0;
17218 }
17219 return ((PyObject*) result);
17220 }
17221
17222 SWIGINTERN void
17223 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
17224 swig_varlinkobject *v = (swig_varlinkobject *) p;
17225 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17226 if (gv) {
17227 size_t size = strlen(name)+1;
17228 gv->name = (char *)malloc(size);
17229 if (gv->name) {
17230 strncpy(gv->name,name,size);
17231 gv->get_attr = get_attr;
17232 gv->set_attr = set_attr;
17233 gv->next = v->vars;
17234 }
17235 }
17236 v->vars = gv;
17237 }
17238
17239 /* -----------------------------------------------------------------------------
17240 * constants/methods manipulation
17241 * ----------------------------------------------------------------------------- */
17242
17243 /* Install Constants */
17244 SWIGINTERN void
17245 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17246 PyObject *obj = 0;
17247 size_t i;
17248 for (i = 0; constants[i].type; ++i) {
17249 switch(constants[i].type) {
17250 case SWIG_PY_INT:
17251 obj = PyInt_FromLong(constants[i].lvalue);
17252 break;
17253 case SWIG_PY_FLOAT:
17254 obj = PyFloat_FromDouble(constants[i].dvalue);
17255 break;
17256 case SWIG_PY_STRING:
17257 if (constants[i].pvalue) {
17258 obj = PyString_FromString((char *) constants[i].pvalue);
17259 } else {
17260 Py_INCREF(Py_None);
17261 obj = Py_None;
17262 }
17263 break;
17264 case SWIG_PY_POINTER:
17265 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17266 break;
17267 case SWIG_PY_BINARY:
17268 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17269 break;
17270 default:
17271 obj = 0;
17272 break;
17273 }
17274 if (obj) {
17275 PyDict_SetItemString(d,constants[i].name,obj);
17276 Py_DECREF(obj);
17277 }
17278 }
17279 }
17280
17281 /* -----------------------------------------------------------------------------*/
17282 /* Fix SwigMethods to carry the callback ptrs when needed */
17283 /* -----------------------------------------------------------------------------*/
17284
17285 SWIGINTERN void
17286 SWIG_Python_FixMethods(PyMethodDef *methods,
17287 swig_const_info *const_table,
17288 swig_type_info **types,
17289 swig_type_info **types_initial) {
17290 size_t i;
17291 for (i = 0; methods[i].ml_name; ++i) {
17292 char *c = methods[i].ml_doc;
17293 if (c && (c = strstr(c, "swig_ptr: "))) {
17294 int j;
17295 swig_const_info *ci = 0;
17296 char *name = c + 10;
17297 for (j = 0; const_table[j].type; ++j) {
17298 if (strncmp(const_table[j].name, name,
17299 strlen(const_table[j].name)) == 0) {
17300 ci = &(const_table[j]);
17301 break;
17302 }
17303 }
17304 if (ci) {
17305 size_t shift = (ci->ptype) - types;
17306 swig_type_info *ty = types_initial[shift];
17307 size_t ldoc = (c - methods[i].ml_doc);
17308 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17309 char *ndoc = (char*)malloc(ldoc + lptr + 10);
17310 if (ndoc) {
17311 char *buff = ndoc;
17312 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
17313 if (ptr) {
17314 strncpy(buff, methods[i].ml_doc, ldoc);
17315 buff += ldoc;
17316 strncpy(buff, "swig_ptr: ", 10);
17317 buff += 10;
17318 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17319 methods[i].ml_doc = ndoc;
17320 }
17321 }
17322 }
17323 }
17324 }
17325 }
17326
17327 /* -----------------------------------------------------------------------------*
17328 * Initialize type list
17329 * -----------------------------------------------------------------------------*/
17330
17331#ifdef __cplusplus
17332}
17333#endif
17334
17335/* -----------------------------------------------------------------------------*
17336 * Partial Init method
17337 * -----------------------------------------------------------------------------*/
17338
17339#ifdef __cplusplus
17340extern "C"
17341#endif
17342SWIGEXPORT void SWIG_init(void) {
17343 static PyObject *SWIG_globals = 0;
17344 PyObject *m, *d;
17345 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17346
17347 /* Fix SwigMethods to carry the callback ptrs when needed */
17348 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
17349
17350 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17351 d = PyModule_GetDict(m);
17352
17353 SWIG_InitializeModule(0);
17354 SWIG_InstallConstants(d,swig_const_table);
17355
17356 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17357 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
17358 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
17359 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
17360 {
17361 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_LEFT)));
17362 }
17363 {
17364 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_CENTER)));
17365 }
17366 {
17367 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_RIGHT)));
17368 }
17369 {
17370 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_BOTTOM)));
17371 }
17372 {
17373 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_TOP)));
17374 }
17375 {
17376 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_FOREGROUND)));
17377 }
17378 {
17379 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_BACKGROUND)));
17380 }
17381 {
17382 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PIXELS)));
17383 }
17384 {
17385 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PERCENT)));
17386 }
17387 {
17388 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_LEFT)));
17389 }
17390 {
17391 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_RIGHT)));
17392 }
17393 {
17394 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast<int >(wxHTML_INDENT_TOP)));
17395 }
17396 {
17397 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_INDENT_BOTTOM)));
17398 }
17399 {
17400 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_HORIZONTAL)));
17401 }
17402 {
17403 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_VERTICAL)));
17404 }
17405 {
17406 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_ALL)));
17407 }
17408 {
17409 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast<int >(wxHTML_COND_ISANCHOR)));
17410 }
17411 {
17412 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast<int >(wxHTML_COND_ISIMAGEMAP)));
17413 }
17414 {
17415 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast<int >(wxHTML_COND_USER)));
17416 }
17417 {
17418 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_1)));
17419 }
17420 {
17421 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_2)));
17422 }
17423 {
17424 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_3)));
17425 }
17426 {
17427 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_4)));
17428 }
17429 {
17430 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_5)));
17431 }
17432 {
17433 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_6)));
17434 }
17435 {
17436 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_7)));
17437 }
17438 {
17439 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_NEVER)));
17440 }
17441 {
17442 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_AUTO)));
17443 }
17444 {
17445 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast<int >(wxHW_NO_SELECTION)));
17446 }
17447 {
17448 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHW_DEFAULT_STYLE)));
17449 }
17450 {
17451 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast<int >(wxHTML_OPEN)));
17452 }
17453 {
17454 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast<int >(wxHTML_BLOCK)));
17455 }
17456 {
17457 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast<int >(wxHTML_REDIRECT)));
17458 }
17459 {
17460 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_PAGE)));
17461 }
17462 {
17463 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_IMAGE)));
17464 }
17465 {
17466 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast<int >(wxHTML_URL_OTHER)));
17467 }
17468 {
17469 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast<int >(wxHTML_SEL_OUT)));
17470 }
17471 {
17472 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast<int >(wxHTML_SEL_IN)));
17473 }
17474 {
17475 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast<int >(wxHTML_SEL_CHANGING)));
17476 }
17477 {
17478 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast<int >(wxHTML_FIND_EXACT)));
17479 }
17480 {
17481 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_BEFORE)));
17482 }
17483 {
17484 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_AFTER)));
17485 }
17486 {
17487 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast<int >(wxPAGE_ODD)));
17488 }
17489 {
17490 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast<int >(wxPAGE_EVEN)));
17491 }
17492 {
17493 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast<int >(wxPAGE_ALL)));
17494 }
17495 {
17496 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_TOOLBAR)));
17497 }
17498 {
17499 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast<int >(wxHF_CONTENTS)));
17500 }
17501 {
17502 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast<int >(wxHF_INDEX)));
17503 }
17504 {
17505 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast<int >(wxHF_SEARCH)));
17506 }
17507 {
17508 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast<int >(wxHF_BOOKMARKS)));
17509 }
17510 {
17511 PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast<int >(wxHF_OPEN_FILES)));
17512 }
17513 {
17514 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast<int >(wxHF_PRINT)));
17515 }
17516 {
17517 PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_FLAT_TOOLBAR)));
17518 }
17519 {
17520 PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast<int >(wxHF_MERGE_BOOKS)));
17521 }
17522 {
17523 PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK)));
17524 }
17525 {
17526 PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK_CHAPTER)));
17527 }
17528 {
17529 PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast<int >(wxHF_ICONS_FOLDER)));
17530 }
17531 {
17532 PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHF_DEFAULT_STYLE)));
17533 }
17534 {
17535 PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast<int >(wxHF_EMBEDDED)));
17536 }
17537 {
17538 PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast<int >(wxHF_DIALOG)));
17539 }
17540 {
17541 PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast<int >(wxHF_FRAME)));
17542 }
17543 {
17544 PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast<int >(wxHF_MODAL)));
17545 }
17546 {
17547 PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast<int >(wxID_HTML_PANEL)));
17548 }
17549 {
17550 PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast<int >(wxID_HTML_BACK)));
17551 }
17552 {
17553 PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast<int >(wxID_HTML_FORWARD)));
17554 }
17555 {
17556 PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast<int >(wxID_HTML_UPNODE)));
17557 }
17558 {
17559 PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast<int >(wxID_HTML_UP)));
17560 }
17561 {
17562 PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast<int >(wxID_HTML_DOWN)));
17563 }
17564 {
17565 PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast<int >(wxID_HTML_PRINT)));
17566 }
17567 {
17568 PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast<int >(wxID_HTML_OPENFILE)));
17569 }
17570 {
17571 PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast<int >(wxID_HTML_OPTIONS)));
17572 }
17573 {
17574 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSLIST)));
17575 }
17576 {
17577 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSADD)));
17578 }
17579 {
17580 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSREMOVE)));
17581 }
17582 {
17583 PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast<int >(wxID_HTML_TREECTRL)));
17584 }
17585 {
17586 PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXPAGE)));
17587 }
17588 {
17589 PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXLIST)));
17590 }
17591 {
17592 PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXTEXT)));
17593 }
17594 {
17595 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTON)));
17596 }
17597 {
17598 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTONALL)));
17599 }
17600 {
17601 PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast<int >(wxID_HTML_NOTEBOOK)));
17602 }
17603 {
17604 PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHPAGE)));
17605 }
17606 {
17607 PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHTEXT)));
17608 }
17609 {
17610 PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHLIST)));
17611 }
17612 {
17613 PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHBUTTON)));
17614 }
17615 {
17616 PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHCHOICE)));
17617 }
17618 {
17619 PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast<int >(wxID_HTML_COUNTINFO)));
17620 }
17621
17622 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
17623 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
17624 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
17625 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
17626
17627}
17628