]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
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
36ed4f51 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
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
9fd4be55 96
36ed4f51 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
36ed4f51 100 * swigrun.swg
d14a1e28 101 *
36ed4f51
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
36ed4f51
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
36ed4f51
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
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)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
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*/
32fe5131 128
36ed4f51 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
36ed4f51 131#endif
32fe5131 132
36ed4f51 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
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 */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
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
36ed4f51
RD
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;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
36ed4f51
RD
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 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 216*/
32fe5131
RD
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;
36ed4f51 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
36ed4f51 228 }
32fe5131 229 return equiv;
36ed4f51
RD
230}
231
32fe5131
RD
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
36ed4f51
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
36ed4f51 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
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);
36ed4f51
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
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
36ed4f51
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
36ed4f51
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
36ed4f51 334 }
32fe5131
RD
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);
36ed4f51 378 }
32fe5131
RD
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);
36ed4f51 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
36ed4f51 417}
d14a1e28 418
32fe5131 419
36ed4f51
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
36ed4f51 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
36ed4f51
RD
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;
32fe5131 442 register const unsigned char *eu = u + sz;
36ed4f51 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
36ed4f51
RD
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
36ed4f51
RD
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}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
36ed4f51
RD
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
32fe5131 536# define SWIGINTERN static SWIGUNUSED
36ed4f51
RD
537#endif
538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51
RD
541#endif
542
36ed4f51
RD
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 */
d14a1e28
RD
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
d14a1e28
RD
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
36ed4f51
RD
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
d14a1e28 603/* Common SWIG API */
36ed4f51
RD
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)
2dbef272 607
d14a1e28 608
36ed4f51
RD
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)
d14a1e28 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d14a1e28 616
36ed4f51
RD
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
d14a1e28 628
36ed4f51
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28 632
d14a1e28 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
d14a1e28 639#ifdef __cplusplus
36ed4f51
RD
640extern "C" {
641#endif
642
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
36ed4f51
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
649
32fe5131
RD
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
36ed4f51
RD
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];
32fe5131 686 flags = flags;
36ed4f51
RD
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;
d14a1e28 709}
36ed4f51
RD
710
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
713{
32fe5131
RD
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;
36ed4f51
RD
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
32fe5131 736 return PySwigObject_format("%o",v);
36ed4f51
RD
737}
738
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
32fe5131 742 return PySwigObject_format("%x",v);
36ed4f51
RD
743}
744
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
36ed4f51
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
755 }
756}
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
32fe5131 761 PyObject_Del(self);
36ed4f51
RD
762}
763
764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
36ed4f51
RD
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*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
36ed4f51 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
36ed4f51 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
36ed4f51
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
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 */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
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 */
d14a1e28 842#endif
36ed4f51
RD
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
36ed4f51
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
36ed4f51 853}
c370783e 854
36ed4f51
RD
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
36ed4f51
RD
863 return (PyObject *)self;
864}
d14a1e28 865
36ed4f51
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
d14a1e28 871
36ed4f51
RD
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
d14a1e28 877
36ed4f51
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
d14a1e28 883
36ed4f51
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
d14a1e28 887
36ed4f51
RD
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
d14a1e28 894
36ed4f51
RD
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
36ed4f51
RD
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}
c370783e 920
36ed4f51
RD
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 {
32fe5131 928 return PyString_FromString(v->desc);
36ed4f51
RD
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
36ed4f51
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
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);
32fe5131 950 PyObject_Del(self);
36ed4f51
RD
951}
952
953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
36ed4f51 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
36ed4f51 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
36ed4f51
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
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 */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
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 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
36ed4f51
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
36ed4f51
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
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;
36ed4f51
RD
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) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
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)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
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 }
32fe5131 1096 Py_XDECREF(str);
36ed4f51
RD
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];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
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) {
32fe5131 1162 swig_cast_info *tc;
36ed4f51
RD
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 }
32fe5131 1205 c = PyString_AsString(obj);
36ed4f51
RD
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:
36ed4f51
RD
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 }
36ed4f51
RD
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) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
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) {
32fe5131 1267 swig_cast_info *tc;
36ed4f51
RD
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;
32fe5131 1274 c = PyString_AsString(obj);
36ed4f51
RD
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;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
36ed4f51
RD
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
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
36ed4f51
RD
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 }
36ed4f51 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
36ed4f51
RD
1381}
1382
32fe5131
RD
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;
36ed4f51 1412}
32fe5131 1413#endif
36ed4f51 1414
32fe5131
RD
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}
8edf1c75 1426
8edf1c75 1427#ifdef __cplusplus
36ed4f51
RD
1428}
1429#endif
8edf1c75 1430
2f4c0a16 1431
36ed4f51 1432/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1433
32fe5131
RD
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)
8edf1c75 1636
36ed4f51 1637/* -------- TYPES TABLE (END) -------- */
8edf1c75 1638
8edf1c75 1639
36ed4f51
RD
1640/*-----------------------------------------------
1641 @(target):= _html.so
1642 ------------------------------------------------*/
1643#define SWIG_init init_html
1644
1645#define SWIG_name "_html"
8edf1c75 1646
d14a1e28
RD
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>
32fe5131
RD
1655#include <wx/html/helpwnd.h>
1656#include <wx/html/helpfrm.h>
1657#include <wx/html/helpdlg.h>
d14a1e28
RD
1658
1659
cbd72d4f
RD
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"));
8edf1c75 1664
32fe5131 1665 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1666#define SWIG_From_int PyInt_FromLong
1667/*@@*/
1668
1669
2f4c0a16
RD
1670#include <limits.h>
1671
1672
36ed4f51 1673SWIGINTERN int
c370783e
RD
1674 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1675 const char *errmsg)
2f4c0a16 1676{
c370783e
RD
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);
2f4c0a16 1689 }
c370783e 1690 return 0;
2f4c0a16 1691 }
c370783e 1692 return 1;
2f4c0a16
RD
1693}
1694
1695
36ed4f51 1696SWIGINTERN int
c370783e 1697SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1698{
c370783e
RD
1699 if (PyNumber_Check(obj)) {
1700 if (val) *val = PyInt_AsLong(obj);
1701 return 1;
1702 }
69223c70 1703 else {
7e08d4ef 1704 SWIG_Python_TypeError("number", obj);
69223c70 1705 }
c370783e 1706 return 0;
2f4c0a16
RD
1707}
1708
1709
1710#if INT_MAX != LONG_MAX
36ed4f51 1711SWIGINTERN int
c370783e 1712 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1713{
36ed4f51 1714 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1715 long v;
1716 if (SWIG_AsVal_long(obj, &v)) {
1717 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1718 if (val) *val = static_cast<int >(v);
c370783e
RD
1719 return 1;
1720 } else {
1721 return 0;
1722 }
1723 } else {
1724 PyErr_Clear();
1725 }
1726 if (val) {
36ed4f51 1727 SWIG_type_error(errmsg, obj);
c370783e
RD
1728 }
1729 return 0;
2f4c0a16
RD
1730}
1731#else
32fe5131 1732SWIGINTERNINLINE int
c370783e
RD
1733 SWIG_AsVal_int(PyObject *obj, int *val)
1734{
1735 return SWIG_AsVal_long(obj,(long*)val);
1736}
2f4c0a16
RD
1737#endif
1738
1739
32fe5131 1740SWIGINTERNINLINE int
c370783e 1741SWIG_As_int(PyObject* obj)
2f4c0a16 1742{
c370783e
RD
1743 int v;
1744 if (!SWIG_AsVal_int(obj, &v)) {
1745 /*
36ed4f51 1746 this is needed to make valgrind/purify happier.
c370783e
RD
1747 */
1748 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1749 }
c370783e
RD
1750 return v;
1751}
1752
1753
32fe5131 1754SWIGINTERNINLINE int
c370783e
RD
1755SWIG_Check_int(PyObject* obj)
1756{
1757 return SWIG_AsVal_int(obj, (int*)0);
8edf1c75
RD
1758}
1759
36ed4f51 1760static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
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 {
32fe5131 1769 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
d14a1e28
RD
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 {
32fe5131 1789 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
d14a1e28
RD
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() {
5a446332 1820 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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 }
fbc46b20 1827 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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
5a446332 1834 wxPyBlock_t blocked = wxPyBeginBlockThreads();
100c4552
RD
1835 PyObject* arg = PyTuple_New(0);
1836 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1837 Py_DECREF(arg);
32fe5131 1838
d14a1e28
RD
1839 // now figure out where it's C++ object is...
1840 wxPyHtmlWinTagHandler* thPtr;
100c4552 1841 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
fbc46b20 1842 wxPyEndBlockThreads(blocked);
d14a1e28 1843 return;
100c4552 1844 }
fbc46b20 1845 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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
32fe5131 1868SWIGINTERNINLINE PyObject*
36ed4f51
RD
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
7e08d4ef
RD
1877 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1878 {
1879 PyObject* o2;
1880 PyObject* o3;
1881 if (!result) {
1882 result = obj;
1883 } else if (result == Py_None) {
1884 Py_DECREF(result);
1885 result = obj;
1886 } else {
1887 if (!PyTuple_Check(result)) {
1888 o2 = result;
1889 result = PyTuple_New(1);
1890 PyTuple_SET_ITEM(result, 0, o2);
1891 }
1892 o3 = PyTuple_New(1);
1893 PyTuple_SetItem(o3, 0, obj);
1894 o2 = result;
1895 result = PySequence_Concat(o2, o3);
1896 Py_DECREF(o2);
1897 Py_DECREF(o3);
1898 }
1899 return result;
1900 }
d14a1e28 1901
8edf1c75 1902
8edf1c75 1903
36ed4f51 1904SWIGINTERN int
c370783e 1905 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 1906{
c370783e
RD
1907 if (obj == Py_True) {
1908 if (val) *val = true;
1909 return 1;
1910 }
1911 if (obj == Py_False) {
1912 if (val) *val = false;
1913 return 1;
1914 }
1915 int res = 0;
1916 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1917 if (val) *val = res ? true : false;
2f4c0a16 1918 return 1;
36ed4f51
RD
1919 } else {
1920 PyErr_Clear();
1921 }
c370783e 1922 if (val) {
36ed4f51 1923 SWIG_type_error("bool", obj);
c370783e
RD
1924 }
1925 return 0;
2f4c0a16
RD
1926}
1927
1928
32fe5131 1929SWIGINTERNINLINE bool
c370783e 1930SWIG_As_bool(PyObject* obj)
2f4c0a16 1931{
c370783e
RD
1932 bool v;
1933 if (!SWIG_AsVal_bool(obj, &v)) {
1934 /*
36ed4f51 1935 this is needed to make valgrind/purify happier.
c370783e
RD
1936 */
1937 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1938 }
c370783e
RD
1939 return v;
1940}
1941
1942
32fe5131 1943SWIGINTERNINLINE int
c370783e
RD
1944SWIG_Check_bool(PyObject* obj)
1945{
1946 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
1947}
1948
1949
32fe5131 1950SWIGINTERNINLINE int
c370783e
RD
1951 SWIG_CheckUnsignedLongInRange(unsigned long value,
1952 unsigned long max_value,
1953 const char *errmsg)
2f4c0a16 1954{
c370783e
RD
1955 if (value > max_value) {
1956 if (errmsg) {
1957 PyErr_Format(PyExc_OverflowError,
36ed4f51 1958 "value %lu is greater than '%s' minimum %lu",
c370783e 1959 value, errmsg, max_value);
2f4c0a16 1960 }
c370783e 1961 return 0;
2f4c0a16 1962 }
c370783e
RD
1963 return 1;
1964 }
1965
1966
36ed4f51 1967SWIGINTERN int
c370783e
RD
1968SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1969{
1970 long v = 0;
1971 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1972 SWIG_Python_TypeError("unsigned number", obj);
c370783e
RD
1973 }
1974 else if (val)
1975 *val = (unsigned long)v;
1976 return 1;
2f4c0a16
RD
1977}
1978
1979
1980#if UINT_MAX != ULONG_MAX
36ed4f51 1981SWIGINTERN int
c370783e 1982 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1983{
36ed4f51 1984 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
1985 unsigned long v;
1986 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1987 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
32fe5131 1988 if (val) *val = static_cast<unsigned int >(v);
c370783e
RD
1989 return 1;
1990 }
1991 } else {
1992 PyErr_Clear();
1993 }
1994 if (val) {
36ed4f51 1995 SWIG_type_error(errmsg, obj);
c370783e
RD
1996 }
1997 return 0;
8edf1c75 1998}
2f4c0a16 1999#else
32fe5131 2000SWIGINTERNINLINE unsigned int
c370783e
RD
2001 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2002{
2003 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2004}
2f4c0a16 2005#endif
8edf1c75
RD
2006
2007
32fe5131 2008SWIGINTERNINLINE unsigned int
c370783e 2009SWIG_As_unsigned_SS_int(PyObject* obj)
8edf1c75 2010{
c370783e
RD
2011 unsigned int v;
2012 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2013 /*
36ed4f51 2014 this is needed to make valgrind/purify happier.
c370783e
RD
2015 */
2016 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 2017 }
c370783e
RD
2018 return v;
2019}
2020
2021
32fe5131 2022SWIGINTERNINLINE int
c370783e
RD
2023SWIG_Check_unsigned_SS_int(PyObject* obj)
2024{
2025 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2f4c0a16
RD
2026}
2027
2028
32fe5131 2029 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2030#define SWIG_From_long PyInt_FromLong
2031/*@@*/
2032
2033
32fe5131 2034SWIGINTERNINLINE PyObject*
c370783e 2035 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
2036{
2037 return (value > LONG_MAX) ?
2038 PyLong_FromUnsignedLong(value)
32fe5131 2039 : PyInt_FromLong(static_cast<long >(value));
8edf1c75
RD
2040}
2041
2042
2f4c0a16 2043#if UINT_MAX < LONG_MAX
32fe5131 2044/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
c370783e
RD
2045#define SWIG_From_unsigned_SS_int SWIG_From_long
2046/*@@*/
2f4c0a16 2047#else
32fe5131 2048/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
c370783e
RD
2049#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2050/*@@*/
2f4c0a16 2051#endif
8edf1c75 2052
d14a1e28
RD
2053 // here's the C++ version
2054class wxPyHtmlFilter : public wxHtmlFilter {
32fe5131 2055 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
d14a1e28
RD
2056public:
2057 wxPyHtmlFilter() : wxHtmlFilter() {}
2058
423f194a 2059 // returns True if this filter is able to open&read given file
d14a1e28 2060 virtual bool CanRead(const wxFSFile& file) const {
b411df4a 2061 bool rval = false;
d14a1e28 2062 bool found;
5a446332 2063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2064 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 2065 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
2066 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2067 Py_DECREF(obj);
2068 }
fbc46b20 2069 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2070 return rval;
2071 }
2072
2073
2074 // Reads given file and returns HTML document.
2075 // Returns empty string if opening failed
2076 virtual wxString ReadFile(const wxFSFile& file) const {
2077 wxString rval;
2078 bool found;
5a446332 2079 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2080 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 2081 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
2082 PyObject* ro;
2083 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
2084 Py_DECREF(obj);
2085 if (ro) {
2086 rval = Py2wxString(ro);
2087 Py_DECREF(ro);
2088 }
2089 }
fbc46b20 2090 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2091 return rval;
2092 }
2093
2094 PYPRIVATE;
2095};
2096
2097IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
2098
2099
2100class wxPyHtmlWindow : public wxHtmlWindow {
32fe5131 2101 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
d14a1e28
RD
2102public:
2103 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
2104 const wxPoint& pos = wxDefaultPosition,
2105 const wxSize& size = wxDefaultSize,
2106 long style = wxHW_DEFAULT_STYLE,
2107 const wxString& name = wxPyHtmlWindowNameStr)
2108 : wxHtmlWindow(parent, id, pos, size, style, name) {};
2109 wxPyHtmlWindow() : wxHtmlWindow() {};
2110
2111 bool ScrollToAnchor(const wxString& anchor) {
2112 return wxHtmlWindow::ScrollToAnchor(anchor);
2113 }
2114
2115 bool HasAnchor(const wxString& anchor) {
2116 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
2117 return c!=NULL;
2118 }
2119
2120 void OnLinkClicked(const wxHtmlLinkInfo& link);
d14a1e28
RD
2121
2122 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
2123 const wxString& url,
2124 wxString *redirect) const;
2125
2126 DEC_PYCALLBACK__STRING(OnSetTitle);
2127 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
2128 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
2129 PYPRIVATE;
2130};
2131
2132IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
2133IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
2134IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
2135IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
2136
2137
2138void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
2139 bool found;
5a446332 2140 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2141 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
2142 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
2143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2144 Py_DECREF(obj);
2145 }
fbc46b20 2146 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2147 if (! found)
2148 wxHtmlWindow::OnLinkClicked(link);
2149}
d14a1e28
RD
2150
2151
2152wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
2153 const wxString& url,
2154 wxString *redirect) const {
2155 bool found;
2156 wxHtmlOpeningStatus rval;
5a446332 2157 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2158 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
2159 PyObject* ro;
2160 PyObject* s = wx2PyString(url);
2161 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
2162 Py_DECREF(s);
2163 if (PyString_Check(ro)
2164#if PYTHON_API_VERSION >= 1009
2165 || PyUnicode_Check(ro)
2166#endif
2167 ) {
2168 *redirect = Py2wxString(ro);
2169 rval = wxHTML_REDIRECT;
2170 }
2171 else {
2172 PyObject* num = PyNumber_Int(ro);
2173 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
2174 Py_DECREF(num);
2175 }
2176 Py_DECREF(ro);
2177 }
fbc46b20 2178 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2179 if (! found)
2180 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
2181 return rval;
2182}
2183
2184
2185
36ed4f51 2186static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2187 int* temp = NULL;
2188 if (sizes) temp = int_LIST_helper(sizes);
2189 self->SetFonts(normal_face, fixed_face, temp);
2190 if (temp)
2191 delete [] temp;
2192 }
36ed4f51 2193static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2194 int* temp = NULL;
2195 if (sizes) temp = int_LIST_helper(sizes);
2196 self->SetFonts(normal_face, fixed_face, temp);
2197 if (temp)
2198 delete [] temp;
2199 }
36ed4f51 2200static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2201 int* temp = NULL;
2202 if (sizes) temp = int_LIST_helper(sizes);
2203 self->SetFonts(normal_face, fixed_face, temp);
2204 if (temp)
2205 delete [] temp;
2206 }
8edf1c75 2207
2f4c0a16 2208#include <float.h>
36ed4f51 2209SWIGINTERN int
c370783e
RD
2210 SWIG_CheckDoubleInRange(double value, double min_value,
2211 double max_value, const char* errmsg)
2f4c0a16 2212{
c370783e
RD
2213 if (value < min_value) {
2214 if (errmsg) {
2215 PyErr_Format(PyExc_OverflowError,
2216 "value %g is less than %s minimum %g",
2217 value, errmsg, min_value);
2f4c0a16 2218 }
c370783e
RD
2219 return 0;
2220 } else if (value > max_value) {
2221 if (errmsg) {
2222 PyErr_Format(PyExc_OverflowError,
2223 "value %g is greater than %s maximum %g",
2224 value, errmsg, max_value);
2225 }
2226 return 0;
2f4c0a16 2227 }
c370783e 2228 return 1;
2f4c0a16
RD
2229}
2230
2231
36ed4f51 2232SWIGINTERN int
c370783e 2233SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 2234{
c370783e
RD
2235 if (PyNumber_Check(obj)) {
2236 if (val) *val = PyFloat_AsDouble(obj);
2237 return 1;
2238 }
69223c70 2239 else {
7e08d4ef 2240 SWIG_Python_TypeError("number", obj);
69223c70 2241 }
c370783e
RD
2242 return 0;
2243}
2244
2245
36ed4f51 2246SWIGINTERN int
c370783e
RD
2247 SWIG_AsVal_float(PyObject *obj, float *val)
2248{
36ed4f51 2249 const char* errmsg = val ? "float" : (char*)0;
c370783e
RD
2250 double v;
2251 if (SWIG_AsVal_double(obj, &v)) {
2252 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
32fe5131 2253 if (val) *val = static_cast<float >(v);
c370783e
RD
2254 return 1;
2255 } else {
2256 return 0;
2257 }
2258 } else {
2259 PyErr_Clear();
2260 }
2261 if (val) {
36ed4f51 2262 SWIG_type_error(errmsg, obj);
c370783e
RD
2263 }
2264 return 0;
8edf1c75
RD
2265}
2266
2267
32fe5131 2268SWIGINTERNINLINE float
c370783e 2269SWIG_As_float(PyObject* obj)
8edf1c75 2270{
c370783e
RD
2271 float v;
2272 if (!SWIG_AsVal_float(obj, &v)) {
2273 /*
36ed4f51 2274 this is needed to make valgrind/purify happier.
c370783e
RD
2275 */
2276 memset((void*)&v, 0, sizeof(float));
2277 }
2278 return v;
2f4c0a16
RD
2279}
2280
c370783e 2281
32fe5131 2282SWIGINTERNINLINE int
c370783e 2283SWIG_Check_float(PyObject* obj)
2f4c0a16 2284{
c370783e 2285 return SWIG_AsVal_float(obj, (float*)0);
8edf1c75
RD
2286}
2287
36ed4f51 2288static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2289 int* temp = NULL;
2290 if (sizes) temp = int_LIST_helper(sizes);
2291 self->SetFonts(normal_face, fixed_face, temp);
2292 if (temp)
2293 delete [] temp;
2294 }
32fe5131
RD
2295
2296SWIGINTERNINLINE long
2297SWIG_As_long(PyObject* obj)
2298{
2299 long v;
2300 if (!SWIG_AsVal_long(obj, &v)) {
2301 /*
2302 this is needed to make valgrind/purify happier.
2303 */
2304 memset((void*)&v, 0, sizeof(long));
2305 }
2306 return v;
2307}
2308
2309
2310SWIGINTERNINLINE int
2311SWIG_Check_long(PyObject* obj)
2312{
2313 return SWIG_AsVal_long(obj, (long*)0);
2314}
2315
d14a1e28
RD
2316#ifdef __cplusplus
2317extern "C" {
2318#endif
c370783e 2319static int _wrap_HtmlWindowNameStr_set(PyObject *) {
cbd72d4f
RD
2320 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2321 return 1;
2322}
2323
2324
36ed4f51 2325static PyObject *_wrap_HtmlWindowNameStr_get(void) {
32fe5131 2326 PyObject *pyobj = NULL;
cbd72d4f
RD
2327
2328 {
2329#if wxUSE_UNICODE
2330 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2331#else
2332 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2333#endif
2334 }
2335 return pyobj;
2336}
2337
2338
c370783e 2339static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
cbd72d4f
RD
2340 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2341 return 1;
2342}
2343
2344
36ed4f51 2345static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
32fe5131 2346 PyObject *pyobj = NULL;
cbd72d4f
RD
2347
2348 {
2349#if wxUSE_UNICODE
2350 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2351#else
2352 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2353#endif
2354 }
2355 return pyobj;
2356}
2357
2358
c370783e 2359static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
cbd72d4f
RD
2360 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2361 return 1;
2362}
2363
2364
36ed4f51 2365static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
32fe5131 2366 PyObject *pyobj = NULL;
cbd72d4f
RD
2367
2368 {
2369#if wxUSE_UNICODE
2370 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2371#else
2372 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2373#endif
2374 }
2375 return pyobj;
2376}
2377
2378
c370783e 2379static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2380 PyObject *resultobj = NULL;
d14a1e28
RD
2381 wxString *arg1 = 0 ;
2382 wxString const &arg2_defvalue = wxPyEmptyString ;
2383 wxString *arg2 = (wxString *) &arg2_defvalue ;
2384 wxHtmlLinkInfo *result;
b411df4a
RD
2385 bool temp1 = false ;
2386 bool temp2 = false ;
d14a1e28
RD
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "href",(char *) "target", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2394 {
2395 arg1 = wxString_in_helper(obj0);
2396 if (arg1 == NULL) SWIG_fail;
b411df4a 2397 temp1 = true;
d14a1e28
RD
2398 }
2399 if (obj1) {
2400 {
2401 arg2 = wxString_in_helper(obj1);
2402 if (arg2 == NULL) SWIG_fail;
b411df4a 2403 temp2 = true;
d14a1e28
RD
2404 }
2405 }
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2f4c0a16 2413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2414 {
2415 if (temp1)
2416 delete arg1;
2417 }
2418 {
2419 if (temp2)
2420 delete arg2;
2421 }
2422 return resultobj;
2423 fail:
2424 {
2425 if (temp1)
2426 delete arg1;
2427 }
2428 {
2429 if (temp2)
2430 delete arg2;
2431 }
2432 return NULL;
2433}
2434
2435
c370783e 2436static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2437 PyObject *resultobj = NULL;
d14a1e28
RD
2438 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2439 wxString result;
2440 PyObject * obj0 = 0 ;
2441 char *kwnames[] = {
2442 (char *) "self", NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
36ed4f51
RD
2446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2447 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 result = (arg1)->GetHref();
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 {
2456#if wxUSE_UNICODE
2457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2458#else
2459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2460#endif
2461 }
2462 return resultobj;
2463 fail:
2464 return NULL;
2465}
2466
2467
c370783e 2468static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2469 PyObject *resultobj = NULL;
d14a1e28
RD
2470 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2471 wxString result;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
2478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = (arg1)->GetTarget();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488#if wxUSE_UNICODE
2489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2490#else
2491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2492#endif
2493 }
2494 return resultobj;
2495 fail:
2496 return NULL;
2497}
2498
2499
c370783e 2500static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2501 PyObject *resultobj = NULL;
d14a1e28
RD
2502 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2503 wxMouseEvent *result;
2504 PyObject * obj0 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
2510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2511 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 result = (wxMouseEvent *)(arg1)->GetEvent();
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 {
7e08d4ef 2520 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2521 }
2522 return resultobj;
2523 fail:
2524 return NULL;
2525}
2526
2527
c370783e 2528static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2529 PyObject *resultobj = NULL;
d14a1e28
RD
2530 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2531 wxHtmlCell *result;
2532 PyObject * obj0 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
2538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2f4c0a16 2547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2548 return resultobj;
2549 fail:
2550 return NULL;
2551}
2552
2553
c370783e 2554static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2555 PyObject *resultobj = NULL;
d14a1e28
RD
2556 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2557 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2558 PyObject * obj0 = 0 ;
2559 PyObject * obj1 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "self",(char *) "e", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2566 if (SWIG_arg_fail(1)) SWIG_fail;
2567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2568 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
2571 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 Py_INCREF(Py_None); resultobj = Py_None;
2577 return resultobj;
2578 fail:
2579 return NULL;
2580}
2581
2582
c370783e 2583static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2584 PyObject *resultobj = NULL;
d14a1e28
RD
2585 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2586 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2587 PyObject * obj0 = 0 ;
2588 PyObject * obj1 = 0 ;
2589 char *kwnames[] = {
2590 (char *) "self",(char *) "e", NULL
2591 };
2592
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2595 if (SWIG_arg_fail(1)) SWIG_fail;
2596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2597 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 return resultobj;
2607 fail:
2608 return NULL;
2609}
2610
2611
c370783e 2612static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2613 PyObject *obj;
2614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2615 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2616 Py_INCREF(obj);
2617 return Py_BuildValue((char *)"");
2618}
c370783e 2619static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2620 PyObject *resultobj = NULL;
d14a1e28
RD
2621 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2622 wxString result;
2623 PyObject * obj0 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
2629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = (arg1)->GetName();
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639#if wxUSE_UNICODE
2640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2641#else
2642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2643#endif
2644 }
2645 return resultobj;
2646 fail:
2647 return NULL;
2648}
2649
2650
c370783e 2651static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2652 PyObject *resultobj = NULL;
d14a1e28
RD
2653 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2654 wxString *arg2 = 0 ;
2655 bool result;
b411df4a 2656 bool temp2 = false ;
d14a1e28
RD
2657 PyObject * obj0 = 0 ;
2658 PyObject * obj1 = 0 ;
2659 char *kwnames[] = {
2660 (char *) "self",(char *) "par", NULL
2661 };
2662
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2666 {
2667 arg2 = wxString_in_helper(obj1);
2668 if (arg2 == NULL) SWIG_fail;
b411df4a 2669 temp2 = true;
d14a1e28
RD
2670 }
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
fbc46b20
RD
2678 {
2679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2680 }
d14a1e28
RD
2681 {
2682 if (temp2)
2683 delete arg2;
2684 }
2685 return resultobj;
2686 fail:
2687 {
2688 if (temp2)
2689 delete arg2;
2690 }
2691 return NULL;
2692}
2693
2694
c370783e 2695static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2696 PyObject *resultobj = NULL;
d14a1e28
RD
2697 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2698 wxString *arg2 = 0 ;
b411df4a 2699 int arg3 = (int) false ;
d14a1e28 2700 wxString result;
b411df4a 2701 bool temp2 = false ;
d14a1e28
RD
2702 PyObject * obj0 = 0 ;
2703 PyObject * obj1 = 0 ;
8edf1c75 2704 PyObject * obj2 = 0 ;
d14a1e28
RD
2705 char *kwnames[] = {
2706 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2707 };
2708
8edf1c75 2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2712 {
2713 arg2 = wxString_in_helper(obj1);
2714 if (arg2 == NULL) SWIG_fail;
b411df4a 2715 temp2 = true;
d14a1e28 2716 }
8edf1c75 2717 if (obj2) {
36ed4f51 2718 {
32fe5131 2719 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2720 if (SWIG_arg_fail(3)) SWIG_fail;
2721 }
8edf1c75 2722 }
d14a1e28
RD
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731#if wxUSE_UNICODE
2732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2733#else
2734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2735#endif
2736 }
2737 {
2738 if (temp2)
2739 delete arg2;
2740 }
2741 return resultobj;
2742 fail:
2743 {
2744 if (temp2)
2745 delete arg2;
2746 }
2747 return NULL;
2748}
2749
2750
c370783e 2751static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2752 PyObject *resultobj = NULL;
d14a1e28
RD
2753 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2754 wxString result;
2755 PyObject * obj0 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
36ed4f51
RD
2761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2762 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 result = (arg1)->GetAllParams();
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 {
2771#if wxUSE_UNICODE
2772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2773#else
2774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2775#endif
2776 }
2777 return resultobj;
2778 fail:
2779 return NULL;
2780}
2781
2782
c370783e 2783static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2784 PyObject *resultobj = NULL;
d14a1e28
RD
2785 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2786 bool result;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
36ed4f51
RD
2793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (bool)(arg1)->HasEnding();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
fbc46b20
RD
2802 {
2803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2804 }
d14a1e28
RD
2805 return resultobj;
2806 fail:
2807 return NULL;
2808}
2809
2810
c370783e 2811static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2812 PyObject *resultobj = NULL;
d14a1e28
RD
2813 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2814 int result;
2815 PyObject * obj0 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "self", NULL
2818 };
2819
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
2821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2822 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 result = (int)(arg1)->GetBeginPos();
2826
2827 wxPyEndAllowThreads(__tstate);
2828 if (PyErr_Occurred()) SWIG_fail;
2829 }
36ed4f51 2830 {
32fe5131 2831 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2832 }
d14a1e28
RD
2833 return resultobj;
2834 fail:
2835 return NULL;
2836}
2837
2838
c370783e 2839static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2840 PyObject *resultobj = NULL;
d14a1e28
RD
2841 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2842 int result;
2843 PyObject * obj0 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
36ed4f51
RD
2849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2850 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 result = (int)(arg1)->GetEndPos1();
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
36ed4f51 2858 {
32fe5131 2859 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2860 }
d14a1e28
RD
2861 return resultobj;
2862 fail:
2863 return NULL;
2864}
2865
2866
c370783e 2867static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2868 PyObject *resultobj = NULL;
d14a1e28
RD
2869 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2870 int result;
2871 PyObject * obj0 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
36ed4f51
RD
2877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 result = (int)(arg1)->GetEndPos2();
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
36ed4f51 2886 {
32fe5131 2887 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2888 }
d14a1e28
RD
2889 return resultobj;
2890 fail:
2891 return NULL;
2892}
2893
2894
c370783e 2895static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2896 PyObject *obj;
2897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2898 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2899 Py_INCREF(obj);
2900 return Py_BuildValue((char *)"");
2901}
c370783e 2902static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2903 PyObject *resultobj = NULL;
d14a1e28
RD
2904 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2905 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2906 PyObject * obj0 = 0 ;
2907 PyObject * obj1 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self",(char *) "fs", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2914 if (SWIG_arg_fail(1)) SWIG_fail;
2915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2916 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->SetFS(arg2);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928}
2929
2930
c370783e 2931static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2932 PyObject *resultobj = NULL;
d14a1e28
RD
2933 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2934 wxFileSystem *result;
2935 PyObject * obj0 = 0 ;
2936 char *kwnames[] = {
2937 (char *) "self", NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
36ed4f51
RD
2941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2942 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = (wxFileSystem *)(arg1)->GetFS();
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 {
7e08d4ef 2951 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2952 }
2953 return resultobj;
2954 fail:
2955 return NULL;
2956}
2957
2958
c370783e 2959static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2960 PyObject *resultobj = NULL;
d14a1e28
RD
2961 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2962 wxString *arg2 = 0 ;
2963 wxObject *result;
b411df4a 2964 bool temp2 = false ;
d14a1e28
RD
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "self",(char *) "source", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2974 {
2975 arg2 = wxString_in_helper(obj1);
2976 if (arg2 == NULL) SWIG_fail;
b411df4a 2977 temp2 = true;
d14a1e28
RD
2978 }
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 {
7e08d4ef 2987 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2988 }
2989 {
2990 if (temp2)
2991 delete arg2;
2992 }
2993 return resultobj;
2994 fail:
2995 {
2996 if (temp2)
2997 delete arg2;
2998 }
2999 return NULL;
3000}
3001
3002
c370783e 3003static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3004 PyObject *resultobj = NULL;
d14a1e28
RD
3005 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3006 wxString *arg2 = 0 ;
b411df4a 3007 bool temp2 = false ;
d14a1e28
RD
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self",(char *) "source", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3017 {
3018 arg2 = wxString_in_helper(obj1);
3019 if (arg2 == NULL) SWIG_fail;
b411df4a 3020 temp2 = true;
d14a1e28
RD
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 (arg1)->InitParser((wxString const &)*arg2);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 Py_INCREF(Py_None); resultobj = Py_None;
3030 {
3031 if (temp2)
3032 delete arg2;
3033 }
3034 return resultobj;
3035 fail:
3036 {
3037 if (temp2)
3038 delete arg2;
3039 }
3040 return NULL;
3041}
3042
3043
c370783e 3044static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3045 PyObject *resultobj = NULL;
d14a1e28
RD
3046 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3047 PyObject * obj0 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 (arg1)->DoneParser();
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 Py_INCREF(Py_None); resultobj = Py_None;
3063 return resultobj;
3064 fail:
3065 return NULL;
3066}
3067
3068
c370783e 3069static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3070 PyObject *resultobj = NULL;
d14a1e28
RD
3071 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3072 int arg2 ;
3073 int arg3 ;
3074 PyObject * obj0 = 0 ;
8edf1c75
RD
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
d14a1e28
RD
3077 char *kwnames[] = {
3078 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
3079 };
3080
8edf1c75 3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail;
3084 {
32fe5131 3085 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3086 if (SWIG_arg_fail(2)) SWIG_fail;
3087 }
3088 {
32fe5131 3089 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3090 if (SWIG_arg_fail(3)) SWIG_fail;
3091 }
d14a1e28
RD
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 (arg1)->DoParsing(arg2,arg3);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103}
3104
3105
c370783e 3106static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3107 PyObject *resultobj = NULL;
d14a1e28
RD
3108 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
36ed4f51
RD
3115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->StopParsing();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128}
3129
3130
c370783e 3131static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3132 PyObject *resultobj = NULL;
d14a1e28
RD
3133 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3134 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "handler", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail;
3144 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3145 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 (arg1)->AddTagHandler(arg2);
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 }
3153 Py_INCREF(Py_None); resultobj = Py_None;
3154 return resultobj;
3155 fail:
3156 return NULL;
3157}
3158
3159
c370783e 3160static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3161 PyObject *resultobj = NULL;
d14a1e28
RD
3162 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3163 wxString *result;
3164 PyObject * obj0 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
36ed4f51
RD
3170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3171 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 result = (wxString *)(arg1)->GetSource();
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 {
3180#if wxUSE_UNICODE
3181 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3182#else
3183 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3184#endif
3185 }
3186 return resultobj;
3187 fail:
3188 return NULL;
3189}
3190
3191
c370783e 3192static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3193 PyObject *resultobj = NULL;
d14a1e28
RD
3194 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3195 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3196 wxString arg3 ;
d14a1e28
RD
3197 PyObject * obj0 = 0 ;
3198 PyObject * obj1 = 0 ;
3199 PyObject * obj2 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self",(char *) "handler",(char *) "tags", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3206 if (SWIG_arg_fail(1)) SWIG_fail;
3207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3208 if (SWIG_arg_fail(2)) SWIG_fail;
423f194a
RD
3209 {
3210 wxString* sptr = wxString_in_helper(obj2);
3211 if (sptr == NULL) SWIG_fail;
3212 arg3 = *sptr;
3213 delete sptr;
3214 }
d14a1e28
RD
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->PushTagHandler(arg2,arg3);
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226}
3227
3228
c370783e 3229static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3230 PyObject *resultobj = NULL;
d14a1e28
RD
3231 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
36ed4f51
RD
3238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->PopTagHandler();
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251}
3252
3253
c370783e 3254static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3255 PyObject *obj;
3256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3258 Py_INCREF(obj);
3259 return Py_BuildValue((char *)"");
3260}
c370783e 3261static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3262 PyObject *resultobj = NULL;
d14a1e28
RD
3263 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3264 wxHtmlWinParser *result;
3265 PyObject * obj0 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "wnd", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3271 if (obj0) {
36ed4f51
RD
3272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3274 }
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
2f4c0a16 3282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3283 return resultobj;
3284 fail:
3285 return NULL;
3286}
3287
3288
c370783e 3289static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3290 PyObject *resultobj = NULL;
d14a1e28
RD
3291 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3292 wxDC *arg2 = (wxDC *) 0 ;
3293 PyObject * obj0 = 0 ;
3294 PyObject * obj1 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self",(char *) "dc", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3301 if (SWIG_arg_fail(1)) SWIG_fail;
3302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3303 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
3306 (arg1)->SetDC(arg2);
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 Py_INCREF(Py_None); resultobj = Py_None;
3312 return resultobj;
3313 fail:
3314 return NULL;
3315}
3316
3317
c370783e 3318static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3319 PyObject *resultobj = NULL;
d14a1e28
RD
3320 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3321 wxDC *result;
3322 PyObject * obj0 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
3328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3329 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3330 {
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 result = (wxDC *)(arg1)->GetDC();
3333
3334 wxPyEndAllowThreads(__tstate);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 }
3337 {
7e08d4ef 3338 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
3339 }
3340 return resultobj;
3341 fail:
3342 return NULL;
3343}
3344
3345
c370783e 3346static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3347 PyObject *resultobj = NULL;
d14a1e28
RD
3348 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3349 int result;
3350 PyObject * obj0 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
3356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3357 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (int)(arg1)->GetCharHeight();
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
36ed4f51 3365 {
32fe5131 3366 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3367 }
d14a1e28
RD
3368 return resultobj;
3369 fail:
3370 return NULL;
3371}
3372
3373
c370783e 3374static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3375 PyObject *resultobj = NULL;
d14a1e28
RD
3376 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3377 int result;
3378 PyObject * obj0 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
3384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)(arg1)->GetCharWidth();
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
36ed4f51 3393 {
32fe5131 3394 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3395 }
d14a1e28
RD
3396 return resultobj;
3397 fail:
3398 return NULL;
3399}
3400
3401
c370783e 3402static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3403 PyObject *resultobj = NULL;
d14a1e28
RD
3404 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3405 wxPyHtmlWindow *result;
3406 PyObject * obj0 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "self", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
3412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3413 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 {
7e08d4ef 3422 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
3423 }
3424 return resultobj;
3425 fail:
3426 return NULL;
3427}
3428
3429
c370783e 3430static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3431 PyObject *resultobj = NULL;
d14a1e28
RD
3432 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3433 wxString arg2 ;
3434 wxString arg3 ;
3435 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
3447 {
3448 wxString* sptr = wxString_in_helper(obj1);
3449 if (sptr == NULL) SWIG_fail;
3450 arg2 = *sptr;
3451 delete sptr;
3452 }
3453 {
3454 wxString* sptr = wxString_in_helper(obj2);
3455 if (sptr == NULL) SWIG_fail;
3456 arg3 = *sptr;
3457 delete sptr;
3458 }
d14a1e28
RD
3459 if (obj3) {
3460 arg4 = obj3;
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473}
3474
3475
b411df4a 3476static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3477 PyObject *resultobj = NULL;
30ee79f7
RD
3478 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3479 int arg2 = (int) -1 ;
b411df4a
RD
3480 wxString const &arg3_defvalue = wxPyEmptyString ;
3481 wxString *arg3 = (wxString *) &arg3_defvalue ;
3482 wxString const &arg4_defvalue = wxPyEmptyString ;
3483 wxString *arg4 = (wxString *) &arg4_defvalue ;
3484 bool temp3 = false ;
3485 bool temp4 = false ;
30ee79f7
RD
3486 PyObject * obj0 = 0 ;
3487 PyObject * obj1 = 0 ;
b411df4a
RD
3488 PyObject * obj2 = 0 ;
3489 PyObject * obj3 = 0 ;
30ee79f7 3490 char *kwnames[] = {
b411df4a 3491 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3492 };
3493
b411df4a 3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3496 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3497 if (obj1) {
36ed4f51 3498 {
32fe5131 3499 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3500 if (SWIG_arg_fail(2)) SWIG_fail;
3501 }
30ee79f7 3502 }
b411df4a
RD
3503 if (obj2) {
3504 {
3505 arg3 = wxString_in_helper(obj2);
3506 if (arg3 == NULL) SWIG_fail;
3507 temp3 = true;
3508 }
3509 }
3510 if (obj3) {
3511 {
3512 arg4 = wxString_in_helper(obj3);
3513 if (arg4 == NULL) SWIG_fail;
3514 temp4 = true;
3515 }
3516 }
30ee79f7
RD
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 3519 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 {
3530 if (temp4)
3531 delete arg4;
3532 }
30ee79f7
RD
3533 return resultobj;
3534 fail:
b411df4a
RD
3535 {
3536 if (temp3)
3537 delete arg3;
3538 }
3539 {
3540 if (temp4)
3541 delete arg4;
3542 }
30ee79f7
RD
3543 return NULL;
3544}
3545
3546
c370783e 3547static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3548 PyObject *resultobj = NULL;
d14a1e28
RD
3549 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3550 wxHtmlContainerCell *result;
3551 PyObject * obj0 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self", NULL
3554 };
3555
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3558 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3559 {
3560 PyThreadState* __tstate = wxPyBeginAllowThreads();
3561 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
2f4c0a16 3566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3567 return resultobj;
3568 fail:
3569 return NULL;
3570}
3571
3572
c370783e 3573static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3574 PyObject *resultobj = NULL;
d14a1e28
RD
3575 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3576 wxHtmlContainerCell *result;
3577 PyObject * obj0 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "self", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
2f4c0a16 3592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3593 return resultobj;
3594 fail:
3595 return NULL;
3596}
3597
3598
c370783e 3599static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3600 PyObject *resultobj = NULL;
d14a1e28
RD
3601 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3602 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3603 wxHtmlContainerCell *result;
3604 PyObject * obj0 = 0 ;
3605 PyObject * obj1 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self",(char *) "c", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
3613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3614 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
2f4c0a16 3622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3623 return resultobj;
3624 fail:
3625 return NULL;
3626}
3627
3628
c370783e 3629static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3630 PyObject *resultobj = NULL;
d14a1e28
RD
3631 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3632 wxHtmlContainerCell *result;
3633 PyObject * obj0 = 0 ;
3634 char *kwnames[] = {
3635 (char *) "self", NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3640 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
2f4c0a16 3648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3649 return resultobj;
3650 fail:
3651 return NULL;
3652}
3653
3654
c370783e 3655static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3656 PyObject *resultobj = NULL;
d14a1e28
RD
3657 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3658 int result;
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (int)(arg1)->GetFontSize();
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
36ed4f51 3674 {
32fe5131 3675 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3676 }
d14a1e28
RD
3677 return resultobj;
3678 fail:
3679 return NULL;
3680}
3681
3682
c370783e 3683static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3684 PyObject *resultobj = NULL;
d14a1e28
RD
3685 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3686 int arg2 ;
3687 PyObject * obj0 = 0 ;
8edf1c75 3688 PyObject * obj1 = 0 ;
d14a1e28
RD
3689 char *kwnames[] = {
3690 (char *) "self",(char *) "s", NULL
3691 };
3692
8edf1c75 3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3695 if (SWIG_arg_fail(1)) SWIG_fail;
3696 {
32fe5131 3697 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3698 if (SWIG_arg_fail(2)) SWIG_fail;
3699 }
d14a1e28
RD
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->SetFontSize(arg2);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 Py_INCREF(Py_None); resultobj = Py_None;
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
c370783e 3714static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3715 PyObject *resultobj = NULL;
d14a1e28
RD
3716 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3717 int result;
3718 PyObject * obj0 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "self", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
36ed4f51
RD
3724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 result = (int)(arg1)->GetFontBold();
3729
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
36ed4f51 3733 {
32fe5131 3734 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3735 }
d14a1e28
RD
3736 return resultobj;
3737 fail:
3738 return NULL;
3739}
3740
3741
c370783e 3742static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3743 PyObject *resultobj = NULL;
d14a1e28
RD
3744 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3745 int arg2 ;
3746 PyObject * obj0 = 0 ;
8edf1c75 3747 PyObject * obj1 = 0 ;
d14a1e28
RD
3748 char *kwnames[] = {
3749 (char *) "self",(char *) "x", NULL
3750 };
3751
8edf1c75 3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail;
3755 {
32fe5131 3756 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3757 if (SWIG_arg_fail(2)) SWIG_fail;
3758 }
d14a1e28
RD
3759 {
3760 PyThreadState* __tstate = wxPyBeginAllowThreads();
3761 (arg1)->SetFontBold(arg2);
3762
3763 wxPyEndAllowThreads(__tstate);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 }
3766 Py_INCREF(Py_None); resultobj = Py_None;
3767 return resultobj;
3768 fail:
3769 return NULL;
3770}
3771
3772
c370783e 3773static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3774 PyObject *resultobj = NULL;
d14a1e28
RD
3775 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3776 int result;
3777 PyObject * obj0 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
36ed4f51
RD
3783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = (int)(arg1)->GetFontItalic();
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
36ed4f51 3792 {
32fe5131 3793 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3794 }
d14a1e28
RD
3795 return resultobj;
3796 fail:
3797 return NULL;
3798}
3799
3800
c370783e 3801static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3802 PyObject *resultobj = NULL;
d14a1e28
RD
3803 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3804 int arg2 ;
3805 PyObject * obj0 = 0 ;
8edf1c75 3806 PyObject * obj1 = 0 ;
d14a1e28
RD
3807 char *kwnames[] = {
3808 (char *) "self",(char *) "x", NULL
3809 };
3810
8edf1c75 3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail;
3814 {
32fe5131 3815 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3816 if (SWIG_arg_fail(2)) SWIG_fail;
3817 }
d14a1e28
RD
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 (arg1)->SetFontItalic(arg2);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 Py_INCREF(Py_None); resultobj = Py_None;
3826 return resultobj;
3827 fail:
3828 return NULL;
3829}
3830
3831
c370783e 3832static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3833 PyObject *resultobj = NULL;
d14a1e28
RD
3834 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3835 int result;
3836 PyObject * obj0 = 0 ;
3837 char *kwnames[] = {
3838 (char *) "self", NULL
3839 };
3840
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
36ed4f51
RD
3842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (int)(arg1)->GetFontUnderlined();
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
36ed4f51 3851 {
32fe5131 3852 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3853 }
d14a1e28
RD
3854 return resultobj;
3855 fail:
3856 return NULL;
3857}
3858
3859
c370783e 3860static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3861 PyObject *resultobj = NULL;
d14a1e28
RD
3862 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3863 int arg2 ;
3864 PyObject * obj0 = 0 ;
8edf1c75 3865 PyObject * obj1 = 0 ;
d14a1e28
RD
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "x", NULL
3868 };
3869
8edf1c75 3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail;
3873 {
32fe5131 3874 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3875 if (SWIG_arg_fail(2)) SWIG_fail;
3876 }
d14a1e28
RD
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetFontUnderlined(arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888}
3889
3890
c370783e 3891static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3892 PyObject *resultobj = NULL;
d14a1e28
RD
3893 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3894 int result;
3895 PyObject * obj0 = 0 ;
3896 char *kwnames[] = {
3897 (char *) "self", NULL
3898 };
3899
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
36ed4f51
RD
3901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3903 {
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (int)(arg1)->GetFontFixed();
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
36ed4f51 3910 {
32fe5131 3911 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3912 }
d14a1e28
RD
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
c370783e 3919static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3920 PyObject *resultobj = NULL;
d14a1e28
RD
3921 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3922 int arg2 ;
3923 PyObject * obj0 = 0 ;
8edf1c75 3924 PyObject * obj1 = 0 ;
d14a1e28
RD
3925 char *kwnames[] = {
3926 (char *) "self",(char *) "x", NULL
3927 };
3928
8edf1c75 3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail;
3932 {
32fe5131 3933 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3934 if (SWIG_arg_fail(2)) SWIG_fail;
3935 }
d14a1e28
RD
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 (arg1)->SetFontFixed(arg2);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 Py_INCREF(Py_None); resultobj = Py_None;
3944 return resultobj;
3945 fail:
3946 return NULL;
3947}
3948
3949
c370783e 3950static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3951 PyObject *resultobj = NULL;
d14a1e28
RD
3952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3953 int result;
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
3960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (int)(arg1)->GetAlign();
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
36ed4f51 3969 {
32fe5131 3970 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3971 }
d14a1e28
RD
3972 return resultobj;
3973 fail:
3974 return NULL;
3975}
3976
3977
c370783e 3978static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3979 PyObject *resultobj = NULL;
d14a1e28
RD
3980 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3981 int arg2 ;
3982 PyObject * obj0 = 0 ;
8edf1c75 3983 PyObject * obj1 = 0 ;
d14a1e28
RD
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "a", NULL
3986 };
3987
8edf1c75 3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail;
3991 {
32fe5131 3992 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3993 if (SWIG_arg_fail(2)) SWIG_fail;
3994 }
d14a1e28
RD
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 (arg1)->SetAlign(arg2);
3998
3999 wxPyEndAllowThreads(__tstate);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
4002 Py_INCREF(Py_None); resultobj = Py_None;
4003 return resultobj;
4004 fail:
4005 return NULL;
4006}
4007
4008
c370783e 4009static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4010 PyObject *resultobj = NULL;
d14a1e28
RD
4011 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4012 wxColour result;
4013 PyObject * obj0 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
36ed4f51
RD
4019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 result = (arg1)->GetLinkColor();
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 {
4029 wxColour * resultptr;
32fe5131 4030 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 4031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4032 }
4033 return resultobj;
4034 fail:
4035 return NULL;
4036}
4037
4038
c370783e 4039static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4040 PyObject *resultobj = NULL;
d14a1e28
RD
4041 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4042 wxColour *arg2 = 0 ;
4043 wxColour temp2 ;
4044 PyObject * obj0 = 0 ;
4045 PyObject * obj1 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "clr", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4053 {
4054 arg2 = &temp2;
4055 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4056 }
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 (arg1)->SetLinkColor((wxColour const &)*arg2);
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 Py_INCREF(Py_None); resultobj = Py_None;
4065 return resultobj;
4066 fail:
4067 return NULL;
4068}
4069
4070
c370783e 4071static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4072 PyObject *resultobj = NULL;
d14a1e28
RD
4073 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4074 wxColour result;
4075 PyObject * obj0 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "self", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
36ed4f51
RD
4081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (arg1)->GetActualColor();
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 {
4091 wxColour * resultptr;
32fe5131 4092 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 4093 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4094 }
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
c370783e 4101static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4102 PyObject *resultobj = NULL;
d14a1e28
RD
4103 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4104 wxColour *arg2 = 0 ;
4105 wxColour temp2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "clr", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4115 {
4116 arg2 = &temp2;
4117 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4118 }
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->SetActualColor((wxColour const &)*arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 Py_INCREF(Py_None); resultobj = Py_None;
4127 return resultobj;
4128 fail:
4129 return NULL;
4130}
4131
4132
c370783e 4133static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4134 PyObject *resultobj = NULL;
d14a1e28
RD
4135 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4136 wxString *arg2 = 0 ;
b411df4a 4137 bool temp2 = false ;
d14a1e28
RD
4138 PyObject * obj0 = 0 ;
4139 PyObject * obj1 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "link", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4147 {
4148 arg2 = wxString_in_helper(obj1);
4149 if (arg2 == NULL) SWIG_fail;
b411df4a 4150 temp2 = true;
d14a1e28
RD
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 (arg1)->SetLink((wxString const &)*arg2);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 Py_INCREF(Py_None); resultobj = Py_None;
4160 {
4161 if (temp2)
4162 delete arg2;
4163 }
4164 return resultobj;
4165 fail:
4166 {
4167 if (temp2)
4168 delete arg2;
4169 }
4170 return NULL;
4171}
4172
4173
c370783e 4174static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4175 PyObject *resultobj = NULL;
d14a1e28
RD
4176 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4177 wxFont *result;
4178 PyObject * obj0 = 0 ;
4179 char *kwnames[] = {
4180 (char *) "self", NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
4184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (wxFont *)(arg1)->CreateCurrentFont();
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
2f4c0a16 4193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
4194 return resultobj;
4195 fail:
4196 return NULL;
4197}
4198
4199
c370783e 4200static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4201 PyObject *resultobj = NULL;
d14a1e28 4202 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
36ed4f51 4203 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
4204 PyObject * obj0 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
4210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 result = (arg1)->GetLink();
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 {
4220 wxHtmlLinkInfo * resultptr;
32fe5131 4221 resultptr = new wxHtmlLinkInfo(static_cast<wxHtmlLinkInfo & >(result));
2f4c0a16 4222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
4223 }
4224 return resultobj;
4225 fail:
4226 return NULL;
4227}
4228
4229
c370783e 4230static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4231 PyObject *obj;
4232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4233 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
4234 Py_INCREF(obj);
4235 return Py_BuildValue((char *)"");
4236}
c370783e 4237static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4238 PyObject *resultobj = NULL;
d14a1e28
RD
4239 wxPyHtmlTagHandler *result;
4240 char *kwnames[] = {
4241 NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
2f4c0a16 4252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4253 return resultobj;
4254 fail:
4255 return NULL;
4256}
4257
4258
c370783e 4259static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4260 PyObject *resultobj = NULL;
d14a1e28
RD
4261 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4262 PyObject *arg2 = (PyObject *) 0 ;
4263 PyObject *arg3 = (PyObject *) 0 ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 PyObject * obj2 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "self",(char *) "_class", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4274 arg2 = obj1;
4275 arg3 = obj2;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 (arg1)->_setCallbackInfo(arg2,arg3);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 return resultobj;
4285 fail:
4286 return NULL;
4287}
4288
4289
c370783e 4290static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4291 PyObject *resultobj = NULL;
d14a1e28
RD
4292 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4293 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self",(char *) "parser", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4302 if (SWIG_arg_fail(1)) SWIG_fail;
4303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4304 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->SetParser(arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 return resultobj;
4314 fail:
4315 return NULL;
4316}
4317
4318
c370783e 4319static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4320 PyObject *resultobj = NULL;
d14a1e28
RD
4321 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4322 wxHtmlParser *result;
4323 PyObject * obj0 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
4329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (wxHtmlParser *)(arg1)->GetParser();
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
2f4c0a16 4338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
c370783e 4345static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4346 PyObject *resultobj = NULL;
d14a1e28
RD
4347 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4348 wxHtmlTag *arg2 = 0 ;
4349 PyObject * obj0 = 0 ;
4350 PyObject * obj1 = 0 ;
4351 char *kwnames[] = {
4352 (char *) "self",(char *) "tag", NULL
4353 };
4354
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail;
4358 {
4359 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4360 if (SWIG_arg_fail(2)) SWIG_fail;
4361 if (arg2 == NULL) {
4362 SWIG_null_ref("wxHtmlTag");
4363 }
4364 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4365 }
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 Py_INCREF(Py_None); resultobj = Py_None;
4374 return resultobj;
4375 fail:
4376 return NULL;
4377}
4378
4379
c370783e 4380static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4381 PyObject *obj;
4382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4383 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4384 Py_INCREF(obj);
4385 return Py_BuildValue((char *)"");
4386}
c370783e 4387static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4388 PyObject *resultobj = NULL;
d14a1e28
RD
4389 wxPyHtmlWinTagHandler *result;
4390 char *kwnames[] = {
4391 NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
2f4c0a16 4402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
c370783e 4409static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4410 PyObject *resultobj = NULL;
d14a1e28
RD
4411 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4412 PyObject *arg2 = (PyObject *) 0 ;
4413 PyObject *arg3 = (PyObject *) 0 ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "self",(char *) "_class", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4424 arg2 = obj1;
4425 arg3 = obj2;
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->_setCallbackInfo(arg2,arg3);
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 Py_INCREF(Py_None); resultobj = Py_None;
4434 return resultobj;
4435 fail:
4436 return NULL;
4437}
4438
4439
c370783e 4440static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4441 PyObject *resultobj = NULL;
d14a1e28
RD
4442 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4443 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 char *kwnames[] = {
4447 (char *) "self",(char *) "parser", NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4452 if (SWIG_arg_fail(1)) SWIG_fail;
4453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 (arg1)->SetParser(arg2);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 return resultobj;
4464 fail:
4465 return NULL;
4466}
4467
4468
c370783e 4469static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4470 PyObject *resultobj = NULL;
d14a1e28
RD
4471 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4472 wxHtmlWinParser *result;
4473 PyObject * obj0 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
4479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (wxHtmlWinParser *)(arg1)->GetParser();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
2f4c0a16 4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4489 return resultobj;
4490 fail:
4491 return NULL;
4492}
4493
4494
c370783e 4495static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4496 PyObject *resultobj = NULL;
d14a1e28
RD
4497 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4498 wxHtmlTag *arg2 = 0 ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self",(char *) "tag", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail;
4508 {
4509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4510 if (SWIG_arg_fail(2)) SWIG_fail;
4511 if (arg2 == NULL) {
4512 SWIG_null_ref("wxHtmlTag");
4513 }
4514 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527}
4528
4529
c370783e 4530static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4531 PyObject *obj;
4532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4533 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4534 Py_INCREF(obj);
4535 return Py_BuildValue((char *)"");
4536}
c370783e 4537static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4538 PyObject *resultobj = NULL;
d14a1e28
RD
4539 PyObject *arg1 = (PyObject *) 0 ;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "tagHandlerClass", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4546 arg1 = obj0;
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 wxHtmlWinParser_AddTagHandler(arg1);
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 Py_INCREF(Py_None); resultobj = Py_None;
4555 return resultobj;
4556 fail:
4557 return NULL;
4558}
4559
4560
c370783e 4561static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4562 PyObject *resultobj = NULL;
d14a1e28
RD
4563 wxHtmlSelection *result;
4564 char *kwnames[] = {
4565 NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 result = (wxHtmlSelection *)new wxHtmlSelection();
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
2f4c0a16 4576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4577 return resultobj;
4578 fail:
4579 return NULL;
4580}
4581
4582
c370783e 4583static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4584 PyObject *resultobj = NULL;
d14a1e28
RD
4585 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4586 PyObject * obj0 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
4592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 delete arg1;
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 Py_INCREF(Py_None); resultobj = Py_None;
4602 return resultobj;
4603 fail:
4604 return NULL;
4605}
4606
4607
c370783e 4608static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4609 PyObject *resultobj = NULL;
d14a1e28
RD
4610 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4611 wxPoint *arg2 = 0 ;
4612 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4613 wxPoint *arg4 = 0 ;
4614 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4615 wxPoint temp2 ;
4616 wxPoint temp4 ;
4617 PyObject * obj0 = 0 ;
4618 PyObject * obj1 = 0 ;
4619 PyObject * obj2 = 0 ;
4620 PyObject * obj3 = 0 ;
4621 PyObject * obj4 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4628 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4629 {
4630 arg2 = &temp2;
4631 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4632 }
36ed4f51
RD
4633 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4634 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4635 {
4636 arg4 = &temp4;
4637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4638 }
36ed4f51
RD
4639 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4640 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 Py_INCREF(Py_None); resultobj = Py_None;
4649 return resultobj;
4650 fail:
4651 return NULL;
4652}
4653
4654
c370783e 4655static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4656 PyObject *resultobj = NULL;
d14a1e28
RD
4657 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4658 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4659 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4660 PyObject * obj0 = 0 ;
4661 PyObject * obj1 = 0 ;
4662 PyObject * obj2 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail;
4670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4671 if (SWIG_arg_fail(2)) SWIG_fail;
4672 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4673 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685}
4686
4687
c370783e 4688static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4689 PyObject *resultobj = NULL;
d14a1e28
RD
4690 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4691 wxHtmlCell *result;
4692 PyObject * obj0 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "self", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
4698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
b1fcee84
RD
4707 {
4708 resultobj = wxPyMake_wxObject(result, 0);
4709 }
d14a1e28
RD
4710 return resultobj;
4711 fail:
4712 return NULL;
4713}
4714
4715
c370783e 4716static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4717 PyObject *resultobj = NULL;
d14a1e28
RD
4718 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4719 wxHtmlCell *result;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
4726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
b1fcee84
RD
4735 {
4736 resultobj = wxPyMake_wxObject(result, 0);
4737 }
d14a1e28
RD
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
c370783e 4744static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4745 PyObject *resultobj = NULL;
d14a1e28
RD
4746 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4747 wxPoint *result;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 {
4759 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4760 result = (wxPoint *) &_result_ref;
4761 }
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
2f4c0a16 4766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4767 return resultobj;
4768 fail:
4769 return NULL;
4770}
4771
4772
c370783e 4773static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4774 PyObject *resultobj = NULL;
d14a1e28
RD
4775 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4776 wxPoint *result;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 {
4788 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4789 result = (wxPoint *) &_result_ref;
4790 }
4791
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
2f4c0a16 4795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4796 return resultobj;
4797 fail:
4798 return NULL;
4799}
4800
4801
c370783e 4802static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4803 PyObject *resultobj = NULL;
d14a1e28
RD
4804 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4805 wxPoint *result;
4806 PyObject * obj0 = 0 ;
4807 char *kwnames[] = {
4808 (char *) "self", NULL
4809 };
4810
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 {
4817 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4818 result = (wxPoint *) &_result_ref;
4819 }
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
2f4c0a16 4824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4825 return resultobj;
4826 fail:
4827 return NULL;
4828}
4829
4830
c370783e 4831static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4832 PyObject *resultobj = NULL;
d14a1e28
RD
4833 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4834 wxPoint *result;
4835 PyObject * obj0 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 {
4846 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4847 result = (wxPoint *) &_result_ref;
4848 }
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
2f4c0a16 4853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4854 return resultobj;
4855 fail:
4856 return NULL;
4857}
4858
4859
c370783e 4860static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4861 PyObject *resultobj = NULL;
d14a1e28
RD
4862 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4863 wxPoint *arg2 = 0 ;
4864 wxPoint temp2 ;
4865 PyObject * obj0 = 0 ;
4866 PyObject * obj1 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self",(char *) "pos", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4874 {
4875 arg2 = &temp2;
4876 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4877 }
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 Py_INCREF(Py_None); resultobj = Py_None;
4886 return resultobj;
4887 fail:
4888 return NULL;
4889}
4890
4891
c370783e 4892static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4893 PyObject *resultobj = NULL;
d14a1e28
RD
4894 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4895 wxPoint *arg2 = 0 ;
4896 wxPoint temp2 ;
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "pos", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4905 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4906 {
4907 arg2 = &temp2;
4908 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 Py_INCREF(Py_None); resultobj = Py_None;
4918 return resultobj;
4919 fail:
4920 return NULL;
4921}
4922
4923
c370783e 4924static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4925 PyObject *resultobj = NULL;
d14a1e28
RD
4926 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4927 PyObject * obj0 = 0 ;
4928 char *kwnames[] = {
4929 (char *) "self", NULL
4930 };
4931
4932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 (arg1)->ClearPrivPos();
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 Py_INCREF(Py_None); resultobj = Py_None;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946}
4947
4948
c370783e 4949static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4950 PyObject *resultobj = NULL;
d14a1e28
RD
4951 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4952 bool result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
36ed4f51
RD
4959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4960 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
fbc46b20 4968 {
32fe5131 4969 resultobj = SWIG_From_bool(static_cast<bool >(result));
fbc46b20 4970 }
d14a1e28
RD
4971 return resultobj;
4972 fail:
4973 return NULL;
4974}
4975
4976
c370783e 4977static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4978 PyObject *obj;
4979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4981 Py_INCREF(obj);
4982 return Py_BuildValue((char *)"");
4983}
c370783e 4984static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4985 PyObject *resultobj = NULL;
d14a1e28
RD
4986 wxHtmlRenderingState *result;
4987 char *kwnames[] = {
4988 NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
2f4c0a16 4999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
c370783e 5006static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5007 PyObject *resultobj = NULL;
d14a1e28
RD
5008 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5009 PyObject * obj0 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "self", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 delete arg1;
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 return resultobj;
5026 fail:
5027 return NULL;
5028}
5029
5030
c370783e 5031static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5032 PyObject *resultobj = NULL;
d14a1e28 5033 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
36ed4f51 5034 wxHtmlSelectionState arg2 ;
d14a1e28 5035 PyObject * obj0 = 0 ;
8edf1c75 5036 PyObject * obj1 = 0 ;
d14a1e28
RD
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "s", NULL
5039 };
5040
8edf1c75 5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail;
5044 {
32fe5131 5045 arg2 = static_cast<wxHtmlSelectionState >(SWIG_As_int(obj1));
36ed4f51
RD
5046 if (SWIG_arg_fail(2)) SWIG_fail;
5047 }
d14a1e28
RD
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5050 (arg1)->SetSelectionState(arg2);
d14a1e28
RD
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 Py_INCREF(Py_None); resultobj = Py_None;
5056 return resultobj;
5057 fail:
5058 return NULL;
5059}
5060
5061
c370783e 5062static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5063 PyObject *resultobj = NULL;
d14a1e28 5064 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
36ed4f51 5065 wxHtmlSelectionState result;
d14a1e28
RD
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5076 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
36ed4f51 5081 resultobj = SWIG_From_int((result));
d14a1e28
RD
5082 return resultobj;
5083 fail:
5084 return NULL;
5085}
5086
5087
c370783e 5088static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5089 PyObject *resultobj = NULL;
d14a1e28
RD
5090 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5091 wxColour *arg2 = 0 ;
5092 wxColour temp2 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "c", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5102 {
5103 arg2 = &temp2;
5104 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5105 }
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 (arg1)->SetFgColour((wxColour const &)*arg2);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 Py_INCREF(Py_None); resultobj = Py_None;
5114 return resultobj;
5115 fail:
5116 return NULL;
5117}
5118
5119
c370783e 5120static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5121 PyObject *resultobj = NULL;
d14a1e28
RD
5122 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5123 wxColour *result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 {
5135 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
5136 result = (wxColour *) &_result_ref;
5137 }
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
2f4c0a16 5142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
5143 return resultobj;
5144 fail:
5145 return NULL;
5146}
5147
5148
c370783e 5149static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5150 PyObject *resultobj = NULL;
d14a1e28
RD
5151 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5152 wxColour *arg2 = 0 ;
5153 wxColour temp2 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self",(char *) "c", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5163 {
5164 arg2 = &temp2;
5165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->SetBgColour((wxColour const &)*arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
c370783e 5181static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5182 PyObject *resultobj = NULL;
d14a1e28
RD
5183 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5184 wxColour *result;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 {
5196 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
5197 result = (wxColour *) &_result_ref;
5198 }
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
2f4c0a16 5203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
5204 return resultobj;
5205 fail:
5206 return NULL;
5207}
5208
5209
c370783e 5210static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5211 PyObject *obj;
5212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5213 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
5214 Py_INCREF(obj);
5215 return Py_BuildValue((char *)"");
5216}
c370783e 5217static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5218 PyObject *resultobj = NULL;
d14a1e28
RD
5219 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5220 wxColour *arg2 = 0 ;
5221 wxColour result;
5222 wxColour temp2 ;
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self",(char *) "clr", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5232 {
5233 arg2 = &temp2;
5234 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 {
5244 wxColour * resultptr;
32fe5131 5245 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251}
5252
5253
c370783e 5254static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5255 PyObject *resultobj = NULL;
d14a1e28
RD
5256 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5257 wxColour *arg2 = 0 ;
5258 wxColour result;
5259 wxColour temp2 ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "clr", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5269 {
5270 arg2 = &temp2;
5271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5272 }
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 {
5281 wxColour * resultptr;
32fe5131 5282 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5284 }
5285 return resultobj;
5286 fail:
5287 return NULL;
5288}
5289
5290
c370783e 5291static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5292 PyObject *obj;
5293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5294 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5295 Py_INCREF(obj);
5296 return Py_BuildValue((char *)"");
5297}
c370783e 5298static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5299 PyObject *resultobj = NULL;
d14a1e28
RD
5300 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5301 wxColour *arg2 = 0 ;
5302 wxColour result;
5303 wxColour temp2 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "clr", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5313 {
5314 arg2 = &temp2;
5315 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5316 }
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 {
5325 wxColour * resultptr;
32fe5131 5326 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5328 }
5329 return resultobj;
5330 fail:
5331 return NULL;
5332}
5333
5334
c370783e 5335static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5336 PyObject *resultobj = NULL;
d14a1e28
RD
5337 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5338 wxColour *arg2 = 0 ;
5339 wxColour result;
5340 wxColour temp2 ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self",(char *) "clr", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5349 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5350 {
5351 arg2 = &temp2;
5352 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5353 }
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 {
5362 wxColour * resultptr;
32fe5131 5363 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5365 }
5366 return resultobj;
5367 fail:
5368 return NULL;
5369}
5370
5371
c370783e 5372static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5373 PyObject *obj;
5374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5375 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5376 Py_INCREF(obj);
5377 return Py_BuildValue((char *)"");
5378}
c370783e 5379static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5380 PyObject *resultobj = NULL;
d14a1e28
RD
5381 wxHtmlRenderingInfo *result;
5382 char *kwnames[] = {
5383 NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
2f4c0a16 5394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5395 return resultobj;
5396 fail:
5397 return NULL;
5398}
5399
5400
c370783e 5401static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5402 PyObject *resultobj = NULL;
d14a1e28
RD
5403 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5411 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 delete arg1;
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 Py_INCREF(Py_None); resultobj = Py_None;
5420 return resultobj;
5421 fail:
5422 return NULL;
5423}
5424
5425
c370783e 5426static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5427 PyObject *resultobj = NULL;
d14a1e28
RD
5428 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5429 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "s", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail;
5439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5440 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 (arg1)->SetSelection(arg2);
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 Py_INCREF(Py_None); resultobj = Py_None;
5449 return resultobj;
5450 fail:
5451 return NULL;
5452}
5453
5454
c370783e 5455static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5456 PyObject *resultobj = NULL;
d14a1e28
RD
5457 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5458 wxHtmlSelection *result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
5465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
2f4c0a16 5474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5475 return resultobj;
5476 fail:
5477 return NULL;
5478}
5479
5480
c370783e 5481static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5482 PyObject *resultobj = NULL;
d14a1e28
RD
5483 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5484 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5485 PyObject * obj0 = 0 ;
5486 PyObject * obj1 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "style", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5493 if (SWIG_arg_fail(1)) SWIG_fail;
5494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5495 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 (arg1)->SetStyle(arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 Py_INCREF(Py_None); resultobj = Py_None;
5504 return resultobj;
5505 fail:
5506 return NULL;
5507}
5508
5509
c370783e 5510static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5511 PyObject *resultobj = NULL;
d14a1e28
RD
5512 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5513 wxHtmlRenderingStyle *result;
5514 PyObject * obj0 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
5520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 {
5525 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5526 result = (wxHtmlRenderingStyle *) &_result_ref;
5527 }
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
2f4c0a16 5532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5533 return resultobj;
5534 fail:
5535 return NULL;
5536}
5537
5538
c370783e 5539static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5540 PyObject *resultobj = NULL;
d14a1e28
RD
5541 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5542 wxHtmlRenderingState *result;
5543 PyObject * obj0 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 {
5554 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5555 result = (wxHtmlRenderingState *) &_result_ref;
5556 }
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
2f4c0a16 5561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5562 return resultobj;
5563 fail:
5564 return NULL;
5565}
5566
5567
c370783e 5568static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5569 PyObject *obj;
5570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5571 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5572 Py_INCREF(obj);
5573 return Py_BuildValue((char *)"");
5574}
c370783e 5575static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5576 PyObject *resultobj = NULL;
d14a1e28
RD
5577 wxHtmlCell *result;
5578 char *kwnames[] = {
5579 NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 result = (wxHtmlCell *)new wxHtmlCell();
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
2f4c0a16 5590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5591 return resultobj;
5592 fail:
5593 return NULL;
5594}
5595
5596
c370783e 5597static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5598 PyObject *resultobj = NULL;
d14a1e28
RD
5599 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5600 int result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
36ed4f51
RD
5607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (int)(arg1)->GetPosX();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
36ed4f51 5616 {
32fe5131 5617 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5618 }
d14a1e28
RD
5619 return resultobj;
5620 fail:
5621 return NULL;
5622}
5623
5624
c370783e 5625static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5626 PyObject *resultobj = NULL;
d14a1e28
RD
5627 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5628 int result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
36ed4f51
RD
5635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (int)(arg1)->GetPosY();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
36ed4f51 5644 {
32fe5131 5645 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5646 }
d14a1e28
RD
5647 return resultobj;
5648 fail:
5649 return NULL;
5650}
5651
5652
c370783e 5653static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5654 PyObject *resultobj = NULL;
d14a1e28
RD
5655 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5656 int result;
5657 PyObject * obj0 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5665 {
5666 PyThreadState* __tstate = wxPyBeginAllowThreads();
5667 result = (int)(arg1)->GetWidth();
5668
5669 wxPyEndAllowThreads(__tstate);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 }
36ed4f51 5672 {
32fe5131 5673 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5674 }
d14a1e28
RD
5675 return resultobj;
5676 fail:
5677 return NULL;
5678}
5679
5680
c370783e 5681static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5682 PyObject *resultobj = NULL;
d14a1e28
RD
5683 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5684 int result;
5685 PyObject * obj0 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
5691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (int)(arg1)->GetHeight();
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
36ed4f51 5700 {
32fe5131 5701 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5702 }
d14a1e28
RD
5703 return resultobj;
5704 fail:
5705 return NULL;
5706}
5707
5708
c370783e 5709static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5710 PyObject *resultobj = NULL;
d14a1e28
RD
5711 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5712 int result;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (int)(arg1)->GetDescent();
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
36ed4f51 5728 {
32fe5131 5729 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5730 }
d14a1e28
RD
5731 return resultobj;
5732 fail:
5733 return NULL;
5734}
5735
5736
c370783e 5737static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5738 PyObject *resultobj = NULL;
fbc46b20
RD
5739 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5740 int result;
5741 PyObject * obj0 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail;
fbc46b20
RD
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
36ed4f51 5756 {
32fe5131 5757 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5758 }
fbc46b20
RD
5759 return resultobj;
5760 fail:
5761 return NULL;
5762}
5763
5764
c370783e 5765static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5766 PyObject *resultobj = NULL;
cbd72d4f
RD
5767 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5768 wxString *result;
5769 PyObject * obj0 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
5775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 {
5780 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5781 result = (wxString *) &_result_ref;
5782 }
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788#if wxUSE_UNICODE
5789 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5790#else
5791 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5792#endif
5793 }
5794 return resultobj;
5795 fail:
5796 return NULL;
5797}
5798
5799
c370783e 5800static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5801 PyObject *resultobj = NULL;
cbd72d4f
RD
5802 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5803 wxString *arg2 = 0 ;
b411df4a 5804 bool temp2 = false ;
cbd72d4f
RD
5805 PyObject * obj0 = 0 ;
5806 PyObject * obj1 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self",(char *) "id", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5814 {
5815 arg2 = wxString_in_helper(obj1);
5816 if (arg2 == NULL) SWIG_fail;
b411df4a 5817 temp2 = true;
cbd72d4f
RD
5818 }
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetId((wxString const &)*arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 {
5828 if (temp2)
5829 delete arg2;
5830 }
5831 return resultobj;
5832 fail:
5833 {
5834 if (temp2)
5835 delete arg2;
5836 }
5837 return NULL;
5838}
5839
5840
c370783e 5841static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5842 PyObject *resultobj = NULL;
d14a1e28
RD
5843 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5844 int arg2 = (int) 0 ;
5845 int arg3 = (int) 0 ;
5846 wxHtmlLinkInfo *result;
5847 PyObject * obj0 = 0 ;
8edf1c75
RD
5848 PyObject * obj1 = 0 ;
5849 PyObject * obj2 = 0 ;
d14a1e28
RD
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "x",(char *) "y", NULL
5852 };
5853
8edf1c75 5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 5857 if (obj1) {
36ed4f51 5858 {
32fe5131 5859 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5860 if (SWIG_arg_fail(2)) SWIG_fail;
5861 }
8edf1c75
RD
5862 }
5863 if (obj2) {
36ed4f51 5864 {
32fe5131 5865 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5866 if (SWIG_arg_fail(3)) SWIG_fail;
5867 }
8edf1c75 5868 }
d14a1e28
RD
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
2f4c0a16 5876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
c370783e 5883static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5884 PyObject *resultobj = NULL;
d14a1e28
RD
5885 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5886 wxHtmlCell *result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
5893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (wxHtmlCell *)(arg1)->GetNext();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
b1fcee84
RD
5902 {
5903 resultobj = wxPyMake_wxObject(result, 0);
5904 }
d14a1e28
RD
5905 return resultobj;
5906 fail:
5907 return NULL;
5908}
5909
5910
c370783e 5911static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5912 PyObject *resultobj = NULL;
d14a1e28
RD
5913 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5914 wxHtmlContainerCell *result;
5915 PyObject * obj0 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5922 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
2f4c0a16 5930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5931 return resultobj;
5932 fail:
5933 return NULL;
5934}
5935
5936
c370783e 5937static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5938 PyObject *resultobj = NULL;
d14a1e28
RD
5939 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5940 wxHtmlCell *result;
5941 PyObject * obj0 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
5947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
b1fcee84
RD
5956 {
5957 resultobj = wxPyMake_wxObject(result, 0);
5958 }
d14a1e28
RD
5959 return resultobj;
5960 fail:
5961 return NULL;
5962}
5963
5964
c370783e 5965static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5966 PyObject *resultobj = NULL;
d14a1e28
RD
5967 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5968 wxCursor result;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
36ed4f51
RD
5975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = ((wxHtmlCell const *)arg1)->GetCursor();
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 {
5985 wxCursor * resultptr;
32fe5131 5986 resultptr = new wxCursor(static_cast<wxCursor & >(result));
2f4c0a16 5987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5988 }
5989 return resultobj;
5990 fail:
5991 return NULL;
5992}
5993
5994
c370783e 5995static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5996 PyObject *resultobj = NULL;
d14a1e28
RD
5997 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5998 bool result;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6006 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
fbc46b20
RD
6014 {
6015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6016 }
d14a1e28
RD
6017 return resultobj;
6018 fail:
6019 return NULL;
6020}
6021
6022
c370783e 6023static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6024 PyObject *resultobj = NULL;
d14a1e28
RD
6025 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6026 wxHtmlLinkInfo *arg2 = 0 ;
6027 PyObject * obj0 = 0 ;
6028 PyObject * obj1 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self",(char *) "link", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail;
6036 {
6037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(2)) SWIG_fail;
6039 if (arg2 == NULL) {
6040 SWIG_null_ref("wxHtmlLinkInfo");
6041 }
6042 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6043 }
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055}
6056
6057
c370783e 6058static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6059 PyObject *resultobj = NULL;
d14a1e28
RD
6060 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6061 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6062 PyObject * obj0 = 0 ;
6063 PyObject * obj1 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self",(char *) "cell", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail;
6071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 (arg1)->SetNext(arg2);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 Py_INCREF(Py_None); resultobj = Py_None;
6081 return resultobj;
6082 fail:
6083 return NULL;
6084}
6085
6086
c370783e 6087static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6088 PyObject *resultobj = NULL;
d14a1e28
RD
6089 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6090 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
6091 PyObject * obj0 = 0 ;
6092 PyObject * obj1 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self",(char *) "p", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail;
6100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6101 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 (arg1)->SetParent(arg2);
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 Py_INCREF(Py_None); resultobj = Py_None;
6110 return resultobj;
6111 fail:
6112 return NULL;
6113}
6114
6115
c370783e 6116static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6117 PyObject *resultobj = NULL;
d14a1e28
RD
6118 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6119 int arg2 ;
6120 int arg3 ;
6121 PyObject * obj0 = 0 ;
8edf1c75
RD
6122 PyObject * obj1 = 0 ;
6123 PyObject * obj2 = 0 ;
d14a1e28
RD
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "x",(char *) "y", NULL
6126 };
6127
8edf1c75 6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6130 if (SWIG_arg_fail(1)) SWIG_fail;
6131 {
32fe5131 6132 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6133 if (SWIG_arg_fail(2)) SWIG_fail;
6134 }
6135 {
32fe5131 6136 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6137 if (SWIG_arg_fail(3)) SWIG_fail;
6138 }
d14a1e28
RD
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 (arg1)->SetPos(arg2,arg3);
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 Py_INCREF(Py_None); resultobj = Py_None;
6147 return resultobj;
6148 fail:
6149 return NULL;
6150}
6151
6152
c370783e 6153static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6154 PyObject *resultobj = NULL;
d14a1e28
RD
6155 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6156 int arg2 ;
6157 PyObject * obj0 = 0 ;
8edf1c75 6158 PyObject * obj1 = 0 ;
d14a1e28
RD
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "w", NULL
6161 };
6162
8edf1c75 6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6165 if (SWIG_arg_fail(1)) SWIG_fail;
6166 {
32fe5131 6167 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6168 if (SWIG_arg_fail(2)) SWIG_fail;
6169 }
d14a1e28
RD
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 (arg1)->Layout(arg2);
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 Py_INCREF(Py_None); resultobj = Py_None;
6178 return resultobj;
6179 fail:
6180 return NULL;
6181}
6182
6183
c370783e 6184static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6185 PyObject *resultobj = NULL;
d14a1e28
RD
6186 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6187 wxDC *arg2 = 0 ;
6188 int arg3 ;
6189 int arg4 ;
6190 int arg5 ;
6191 int arg6 ;
6192 wxHtmlRenderingInfo *arg7 = 0 ;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
8edf1c75
RD
6195 PyObject * obj2 = 0 ;
6196 PyObject * obj3 = 0 ;
6197 PyObject * obj4 = 0 ;
6198 PyObject * obj5 = 0 ;
d14a1e28
RD
6199 PyObject * obj6 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
6202 };
6203
8edf1c75 6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail;
6207 {
6208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6209 if (SWIG_arg_fail(2)) SWIG_fail;
6210 if (arg2 == NULL) {
6211 SWIG_null_ref("wxDC");
6212 }
6213 if (SWIG_arg_fail(2)) SWIG_fail;
6214 }
6215 {
32fe5131 6216 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6217 if (SWIG_arg_fail(3)) SWIG_fail;
6218 }
6219 {
32fe5131 6220 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6221 if (SWIG_arg_fail(4)) SWIG_fail;
6222 }
6223 {
32fe5131 6224 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
6225 if (SWIG_arg_fail(5)) SWIG_fail;
6226 }
6227 {
32fe5131 6228 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
6229 if (SWIG_arg_fail(6)) SWIG_fail;
6230 }
6231 {
6232 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6233 if (SWIG_arg_fail(7)) SWIG_fail;
6234 if (arg7 == NULL) {
6235 SWIG_null_ref("wxHtmlRenderingInfo");
6236 }
6237 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
6238 }
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 Py_INCREF(Py_None); resultobj = Py_None;
6247 return resultobj;
6248 fail:
6249 return NULL;
6250}
6251
6252
c370783e 6253static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6254 PyObject *resultobj = NULL;
d14a1e28
RD
6255 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6256 wxDC *arg2 = 0 ;
6257 int arg3 ;
6258 int arg4 ;
6259 wxHtmlRenderingInfo *arg5 = 0 ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
8edf1c75
RD
6262 PyObject * obj2 = 0 ;
6263 PyObject * obj3 = 0 ;
d14a1e28
RD
6264 PyObject * obj4 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6267 };
6268
8edf1c75 6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail;
6272 {
6273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6274 if (SWIG_arg_fail(2)) SWIG_fail;
6275 if (arg2 == NULL) {
6276 SWIG_null_ref("wxDC");
6277 }
6278 if (SWIG_arg_fail(2)) SWIG_fail;
6279 }
6280 {
32fe5131 6281 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6282 if (SWIG_arg_fail(3)) SWIG_fail;
6283 }
6284 {
32fe5131 6285 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6286 if (SWIG_arg_fail(4)) SWIG_fail;
6287 }
6288 {
6289 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6290 if (SWIG_arg_fail(5)) SWIG_fail;
6291 if (arg5 == NULL) {
6292 SWIG_null_ref("wxHtmlRenderingInfo");
6293 }
6294 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6295 }
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 Py_INCREF(Py_None); resultobj = Py_None;
6304 return resultobj;
6305 fail:
6306 return NULL;
6307}
6308
6309
c370783e 6310static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6311 PyObject *resultobj = NULL;
d14a1e28
RD
6312 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6313 int arg2 ;
6314 void *arg3 = (void *) 0 ;
6315 wxHtmlCell *result;
6316 PyObject * obj0 = 0 ;
8edf1c75 6317 PyObject * obj1 = 0 ;
d14a1e28
RD
6318 PyObject * obj2 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "condition",(char *) "param", NULL
6321 };
6322
8edf1c75 6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail;
6326 {
32fe5131 6327 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6328 if (SWIG_arg_fail(2)) SWIG_fail;
6329 }
6330 {
32fe5131 6331 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
36ed4f51
RD
6332 SWIG_arg_fail(3);SWIG_fail;
6333 }
6334 }
d14a1e28
RD
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
b1fcee84
RD
6342 {
6343 resultobj = wxPyMake_wxObject(result, 0);
6344 }
d14a1e28
RD
6345 return resultobj;
6346 fail:
6347 return NULL;
6348}
6349
6350
c370783e 6351static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6352 PyObject *resultobj = NULL;
d14a1e28
RD
6353 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6354 int *arg2 = (int *) 0 ;
6355 bool result;
6356 int temp2 ;
c370783e 6357 int res2 = 0 ;
d14a1e28
RD
6358 PyObject * obj0 = 0 ;
6359 PyObject * obj1 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self",(char *) "INOUT", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6366 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6367 {
c370783e
RD
6368 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6369 temp2 = SWIG_As_int(obj1);
36ed4f51 6370 if (SWIG_arg_fail(2)) SWIG_fail;
c370783e
RD
6371 arg2 = &temp2;
6372 res2 = SWIG_NEWOBJ;
6373 }
d14a1e28
RD
6374 }
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (bool)(arg1)->AdjustPagebreak(arg2);
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
fbc46b20
RD
6382 {
6383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6384 }
c370783e
RD
6385 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6386 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6387 return resultobj;
6388 fail:
6389 return NULL;
6390}
6391
6392
c370783e 6393static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6394 PyObject *resultobj = NULL;
d14a1e28
RD
6395 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6396 bool arg2 ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "self",(char *) "can", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6405 if (SWIG_arg_fail(1)) SWIG_fail;
6406 {
32fe5131 6407 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
6408 if (SWIG_arg_fail(2)) SWIG_fail;
6409 }
d14a1e28
RD
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 (arg1)->SetCanLiveOnPagebreak(arg2);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
c370783e 6424static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6425 PyObject *resultobj = NULL;
d14a1e28
RD
6426 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6427 bool result;
6428 PyObject * obj0 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
36ed4f51
RD
6434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6439
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
fbc46b20
RD
6443 {
6444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6445 }
d14a1e28
RD
6446 return resultobj;
6447 fail:
6448 return NULL;
6449}
6450
6451
c370783e 6452static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6453 PyObject *resultobj = NULL;
d14a1e28
RD
6454 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6455 bool result;
6456 PyObject * obj0 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
fbc46b20
RD
6471 {
6472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6473 }
d14a1e28
RD
6474 return resultobj;
6475 fail:
6476 return NULL;
6477}
6478
6479
c370783e 6480static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6481 PyObject *resultobj = NULL;
d14a1e28 6482 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
6483 int arg2 ;
6484 int arg3 ;
d14a1e28
RD
6485 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6486 wxHtmlCell *result;
6487 PyObject * obj0 = 0 ;
8edf1c75
RD
6488 PyObject * obj1 = 0 ;
6489 PyObject * obj2 = 0 ;
d14a1e28
RD
6490 PyObject * obj3 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6493 };
6494
8edf1c75 6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail;
6498 {
32fe5131 6499 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6500 if (SWIG_arg_fail(2)) SWIG_fail;
6501 }
6502 {
32fe5131 6503 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6504 if (SWIG_arg_fail(3)) SWIG_fail;
6505 }
d14a1e28 6506 if (obj3) {
36ed4f51 6507 {
32fe5131 6508 arg4 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj3));
36ed4f51
RD
6509 if (SWIG_arg_fail(4)) SWIG_fail;
6510 }
d14a1e28
RD
6511 }
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
b1fcee84
RD
6519 {
6520 resultobj = wxPyMake_wxObject(result, 0);
6521 }
d14a1e28
RD
6522 return resultobj;
6523 fail:
6524 return NULL;
6525}
6526
6527
c370783e 6528static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6529 PyObject *resultobj = NULL;
d14a1e28
RD
6530 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6531 wxPoint result;
6532 PyObject * obj0 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
6538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 {
6548 wxPoint * resultptr;
32fe5131 6549 resultptr = new wxPoint(static_cast<wxPoint & >(result));
2f4c0a16 6550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6551 }
6552 return resultobj;
6553 fail:
6554 return NULL;
6555}
6556
6557
c370783e 6558static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6559 PyObject *resultobj = NULL;
d14a1e28
RD
6560 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6561 wxHtmlCell *result;
6562 PyObject * obj0 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6569 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
b1fcee84
RD
6577 {
6578 resultobj = wxPyMake_wxObject(result, 0);
6579 }
d14a1e28
RD
6580 return resultobj;
6581 fail:
6582 return NULL;
6583}
6584
6585
c370783e 6586static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6587 PyObject *resultobj = NULL;
d14a1e28
RD
6588 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6589 wxHtmlCell *result;
6590 PyObject * obj0 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6597 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
b1fcee84
RD
6605 {
6606 resultobj = wxPyMake_wxObject(result, 0);
6607 }
d14a1e28
RD
6608 return resultobj;
6609 fail:
6610 return NULL;
6611}
6612
6613
c370783e 6614static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6615 PyObject *resultobj = NULL;
d14a1e28
RD
6616 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6617 unsigned int result;
6618 PyObject * obj0 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
36ed4f51
RD
6624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
36ed4f51 6633 {
32fe5131 6634 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
36ed4f51 6635 }
d14a1e28
RD
6636 return resultobj;
6637 fail:
6638 return NULL;
6639}
6640
6641
c370783e 6642static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6643 PyObject *resultobj = NULL;
d14a1e28
RD
6644 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6645 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6646 bool result;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self",(char *) "cell", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail;
6656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6657 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
fbc46b20
RD
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
d14a1e28
RD
6668 return resultobj;
6669 fail:
6670 return NULL;
6671}
6672
6673
c370783e 6674static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6675 PyObject *resultobj = NULL;
d14a1e28
RD
6676 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6677 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6678 wxString result;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "sel", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail;
6688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6689 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
6698#if wxUSE_UNICODE
6699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6700#else
6701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6702#endif
6703 }
6704 return resultobj;
6705 fail:
6706 return NULL;
6707}
6708
6709
c370783e 6710static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6711 PyObject *obj;
6712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6713 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6714 Py_INCREF(obj);
6715 return Py_BuildValue((char *)"");
6716}
c370783e 6717static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6718 PyObject *resultobj = NULL;
d14a1e28
RD
6719 wxString *arg1 = 0 ;
6720 wxDC *arg2 = 0 ;
6721 wxHtmlWordCell *result;
b411df4a 6722 bool temp1 = false ;
d14a1e28
RD
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 char *kwnames[] = {
6726 (char *) "word",(char *) "dc", NULL
6727 };
6728
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6730 {
6731 arg1 = wxString_in_helper(obj0);
6732 if (arg1 == NULL) SWIG_fail;
b411df4a 6733 temp1 = true;
d14a1e28 6734 }
36ed4f51
RD
6735 {
6736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6737 if (SWIG_arg_fail(2)) SWIG_fail;
6738 if (arg2 == NULL) {
6739 SWIG_null_ref("wxDC");
6740 }
6741 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6742 }
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
2f4c0a16 6750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6751 {
6752 if (temp1)
6753 delete arg1;
6754 }
6755 return resultobj;
6756 fail:
6757 {
6758 if (temp1)
6759 delete arg1;
6760 }
6761 return NULL;
6762}
6763
6764
b1fcee84
RD
6765static PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj = NULL;
6767 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
6768 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6769 wxString result;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "sel", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
6777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail;
6779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6780 if (SWIG_arg_fail(2)) SWIG_fail;
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 {
6789#if wxUSE_UNICODE
6790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6791#else
6792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6793#endif
6794 }
6795 return resultobj;
6796 fail:
6797 return NULL;
6798}
6799
6800
6801static PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj = NULL;
6803 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
6804 bool result;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWordCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
6811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6812 if (SWIG_arg_fail(1)) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6822 }
6823 return resultobj;
6824 fail:
6825 return NULL;
6826}
6827
6828
6829static PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj = NULL;
6831 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
6832 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "cell", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) goto fail;
6840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail;
6842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6843 if (SWIG_arg_fail(2)) SWIG_fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 (arg1)->SetPreviousWord(arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855}
6856
6857
c370783e 6858static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6859 PyObject *obj;
6860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6861 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6862 Py_INCREF(obj);
6863 return Py_BuildValue((char *)"");
6864}
c370783e 6865static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6866 PyObject *resultobj = NULL;
d14a1e28
RD
6867 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6868 wxHtmlContainerCell *result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "parent", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
2f4c0a16 6884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
c370783e 6891static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6892 PyObject *resultobj = NULL;
d14a1e28
RD
6893 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6894 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6895 PyObject * obj0 = 0 ;
6896 PyObject * obj1 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self",(char *) "cell", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail;
6904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6905 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 (arg1)->InsertCell(arg2);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 return resultobj;
6915 fail:
6916 return NULL;
6917}
6918
6919
c370783e 6920static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6921 PyObject *resultobj = NULL;
d14a1e28
RD
6922 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6923 int arg2 ;
6924 PyObject * obj0 = 0 ;
8edf1c75 6925 PyObject * obj1 = 0 ;
d14a1e28
RD
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "al", NULL
6928 };
6929
8edf1c75 6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail;
6933 {
32fe5131 6934 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6935 if (SWIG_arg_fail(2)) SWIG_fail;
6936 }
d14a1e28
RD
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 (arg1)->SetAlignHor(arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 Py_INCREF(Py_None); resultobj = Py_None;
6945 return resultobj;
6946 fail:
6947 return NULL;
6948}
6949
6950
c370783e 6951static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6952 PyObject *resultobj = NULL;
d14a1e28
RD
6953 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6954 int result;
6955 PyObject * obj0 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
36ed4f51
RD
6961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6962 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (int)(arg1)->GetAlignHor();
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
36ed4f51 6970 {
32fe5131 6971 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6972 }
d14a1e28
RD
6973 return resultobj;
6974 fail:
6975 return NULL;
6976}
6977
6978
c370783e 6979static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6980 PyObject *resultobj = NULL;
d14a1e28
RD
6981 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6982 int arg2 ;
6983 PyObject * obj0 = 0 ;
8edf1c75 6984 PyObject * obj1 = 0 ;
d14a1e28
RD
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "al", NULL
6987 };
6988
8edf1c75 6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6991 if (SWIG_arg_fail(1)) SWIG_fail;
6992 {
32fe5131 6993 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6994 if (SWIG_arg_fail(2)) SWIG_fail;
6995 }
d14a1e28
RD
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->SetAlignVer(arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007}
7008
7009
c370783e 7010static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7011 PyObject *resultobj = NULL;
d14a1e28
RD
7012 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7013 int result;
7014 PyObject * obj0 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
36ed4f51
RD
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (int)(arg1)->GetAlignVer();
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
36ed4f51 7029 {
32fe5131 7030 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7031 }
d14a1e28
RD
7032 return resultobj;
7033 fail:
7034 return NULL;
7035}
7036
7037
c370783e 7038static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7039 PyObject *resultobj = NULL;
d14a1e28
RD
7040 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7041 int arg2 ;
7042 int arg3 ;
7043 int arg4 = (int) wxHTML_UNITS_PIXELS ;
7044 PyObject * obj0 = 0 ;
8edf1c75
RD
7045 PyObject * obj1 = 0 ;
7046 PyObject * obj2 = 0 ;
7047 PyObject * obj3 = 0 ;
d14a1e28
RD
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
7050 };
7051
8edf1c75 7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7054 if (SWIG_arg_fail(1)) SWIG_fail;
7055 {
32fe5131 7056 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7057 if (SWIG_arg_fail(2)) SWIG_fail;
7058 }
7059 {
32fe5131 7060 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7061 if (SWIG_arg_fail(3)) SWIG_fail;
7062 }
8edf1c75 7063 if (obj3) {
36ed4f51 7064 {
32fe5131 7065 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
7066 if (SWIG_arg_fail(4)) SWIG_fail;
7067 }
8edf1c75 7068 }
d14a1e28
RD
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 (arg1)->SetIndent(arg2,arg3,arg4);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 Py_INCREF(Py_None); resultobj = Py_None;
7077 return resultobj;
7078 fail:
7079 return NULL;
7080}
7081
7082
c370783e 7083static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7084 PyObject *resultobj = NULL;
d14a1e28
RD
7085 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7086 int arg2 ;
7087 int result;
7088 PyObject * obj0 = 0 ;
8edf1c75 7089 PyObject * obj1 = 0 ;
d14a1e28
RD
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "ind", NULL
7092 };
7093
8edf1c75 7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail;
7097 {
32fe5131 7098 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7099 if (SWIG_arg_fail(2)) SWIG_fail;
7100 }
d14a1e28
RD
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (int)(arg1)->GetIndent(arg2);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
36ed4f51 7108 {
32fe5131 7109 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7110 }
d14a1e28
RD
7111 return resultobj;
7112 fail:
7113 return NULL;
7114}
7115
7116
c370783e 7117static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7118 PyObject *resultobj = NULL;
d14a1e28
RD
7119 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7120 int arg2 ;
7121 int result;
7122 PyObject * obj0 = 0 ;
8edf1c75 7123 PyObject * obj1 = 0 ;
d14a1e28
RD
7124 char *kwnames[] = {
7125 (char *) "self",(char *) "ind", NULL
7126 };
7127
8edf1c75 7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail;
7131 {
32fe5131 7132 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7133 if (SWIG_arg_fail(2)) SWIG_fail;
7134 }
d14a1e28
RD
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (int)(arg1)->GetIndentUnits(arg2);
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
36ed4f51 7142 {
32fe5131 7143 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7144 }
d14a1e28
RD
7145 return resultobj;
7146 fail:
7147 return NULL;
7148}
7149
7150
c370783e 7151static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7152 PyObject *resultobj = NULL;
d14a1e28
RD
7153 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7154 wxHtmlTag *arg2 = 0 ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "tag", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail;
7164 {
7165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7166 if (SWIG_arg_fail(2)) SWIG_fail;
7167 if (arg2 == NULL) {
7168 SWIG_null_ref("wxHtmlTag");
7169 }
7170 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 Py_INCREF(Py_None); resultobj = Py_None;
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
c370783e 7186static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7187 PyObject *resultobj = NULL;
d14a1e28
RD
7188 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7189 int arg2 ;
7190 int arg3 ;
7191 PyObject * obj0 = 0 ;
8edf1c75
RD
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
d14a1e28
RD
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "w",(char *) "units", NULL
7196 };
7197
8edf1c75 7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7200 if (SWIG_arg_fail(1)) SWIG_fail;
7201 {
32fe5131 7202 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7203 if (SWIG_arg_fail(2)) SWIG_fail;
7204 }
7205 {
32fe5131 7206 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7207 if (SWIG_arg_fail(3)) SWIG_fail;
7208 }
d14a1e28
RD
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->SetWidthFloat(arg2,arg3);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 Py_INCREF(Py_None); resultobj = Py_None;
7217 return resultobj;
7218 fail:
7219 return NULL;
7220}
7221
7222
c370783e 7223static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7224 PyObject *resultobj = NULL;
d14a1e28
RD
7225 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7226 wxHtmlTag *arg2 = 0 ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "tag", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail;
7236 {
7237 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7238 if (SWIG_arg_fail(2)) SWIG_fail;
7239 if (arg2 == NULL) {
7240 SWIG_null_ref("wxHtmlTag");
7241 }
7242 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7243 }
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 Py_INCREF(Py_None); resultobj = Py_None;
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
c370783e 7258static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7259 PyObject *resultobj = NULL;
d14a1e28
RD
7260 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7261 int arg2 ;
7262 int arg3 = (int) wxHTML_ALIGN_TOP ;
7263 PyObject * obj0 = 0 ;
8edf1c75
RD
7264 PyObject * obj1 = 0 ;
7265 PyObject * obj2 = 0 ;
d14a1e28
RD
7266 char *kwnames[] = {
7267 (char *) "self",(char *) "h",(char *) "align", NULL
7268 };
7269
8edf1c75 7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail;
7273 {
32fe5131 7274 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7275 if (SWIG_arg_fail(2)) SWIG_fail;
7276 }
8edf1c75 7277 if (obj2) {
36ed4f51 7278 {
32fe5131 7279 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7280 if (SWIG_arg_fail(3)) SWIG_fail;
7281 }
8edf1c75 7282 }
d14a1e28
RD
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->SetMinHeight(arg2,arg3);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294}
7295
7296
c370783e 7297static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7298 PyObject *resultobj = NULL;
d14a1e28
RD
7299 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7300 wxColour *arg2 = 0 ;
7301 wxColour temp2 ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "clr", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7311 {
7312 arg2 = &temp2;
7313 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 return resultobj;
7324 fail:
7325 return NULL;
7326}
7327
7328
c370783e 7329static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7330 PyObject *resultobj = NULL;
d14a1e28
RD
7331 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7332 wxColour result;
7333 PyObject * obj0 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
7339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7340 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (arg1)->GetBackgroundColour();
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 {
7349 wxColour * resultptr;
32fe5131 7350 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 7351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
7352 }
7353 return resultobj;
7354 fail:
7355 return NULL;
7356}
7357
7358
c370783e 7359static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7360 PyObject *resultobj = NULL;
d14a1e28
RD
7361 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7362 wxColour *arg2 = 0 ;
7363 wxColour *arg3 = 0 ;
7364 wxColour temp2 ;
7365 wxColour temp3 ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
7368 PyObject * obj2 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7376 {
7377 arg2 = &temp2;
7378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7379 }
7380 {
7381 arg3 = &temp3;
7382 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7383 }
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 Py_INCREF(Py_None); resultobj = Py_None;
7392 return resultobj;
7393 fail:
7394 return NULL;
7395}
7396
7397
c370783e 7398static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7399 PyObject *resultobj = NULL;
d14a1e28
RD
7400 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7401 wxHtmlCell *result;
7402 PyObject * obj0 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
7408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
b1fcee84
RD
7417 {
7418 resultobj = wxPyMake_wxObject(result, 0);
7419 }
d14a1e28
RD
7420 return resultobj;
7421 fail:
7422 return NULL;
7423}
7424
7425
c370783e 7426static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7427 PyObject *obj;
7428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7429 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7430 Py_INCREF(obj);
7431 return Py_BuildValue((char *)"");
7432}
c370783e 7433static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7434 PyObject *resultobj = NULL;
51b83b37 7435 wxColour *arg1 = 0 ;
d14a1e28
RD
7436 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7437 wxHtmlColourCell *result;
51b83b37 7438 wxColour temp1 ;
d14a1e28 7439 PyObject * obj0 = 0 ;
8edf1c75 7440 PyObject * obj1 = 0 ;
d14a1e28
RD
7441 char *kwnames[] = {
7442 (char *) "clr",(char *) "flags", NULL
7443 };
7444
8edf1c75 7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 7446 {
51b83b37
RD
7447 arg1 = &temp1;
7448 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
36ed4f51 7449 }
8edf1c75 7450 if (obj1) {
36ed4f51 7451 {
32fe5131 7452 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7453 if (SWIG_arg_fail(2)) SWIG_fail;
7454 }
8edf1c75 7455 }
d14a1e28
RD
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
51b83b37 7458 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
d14a1e28
RD
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
2f4c0a16 7463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
c370783e 7470static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7471 PyObject *obj;
7472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7474 Py_INCREF(obj);
7475 return Py_BuildValue((char *)"");
7476}
c370783e 7477static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7478 PyObject *resultobj = NULL;
d14a1e28
RD
7479 wxFont *arg1 = (wxFont *) 0 ;
7480 wxHtmlFontCell *result;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "font", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
7487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7488 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
2f4c0a16 7496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
c370783e 7503static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7504 PyObject *obj;
7505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7506 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7507 Py_INCREF(obj);
7508 return Py_BuildValue((char *)"");
7509}
c370783e 7510static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7511 PyObject *resultobj = NULL;
d14a1e28
RD
7512 wxWindow *arg1 = (wxWindow *) 0 ;
7513 int arg2 = (int) 0 ;
7514 wxHtmlWidgetCell *result;
7515 PyObject * obj0 = 0 ;
8edf1c75 7516 PyObject * obj1 = 0 ;
d14a1e28
RD
7517 char *kwnames[] = {
7518 (char *) "wnd",(char *) "w", NULL
7519 };
7520
8edf1c75 7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7524 if (obj1) {
36ed4f51 7525 {
32fe5131 7526 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7527 if (SWIG_arg_fail(2)) SWIG_fail;
7528 }
8edf1c75 7529 }
d14a1e28
RD
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
2f4c0a16 7537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7538 return resultobj;
7539 fail:
7540 return NULL;
7541}
7542
7543
c370783e 7544static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7545 PyObject *obj;
7546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7547 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7548 Py_INCREF(obj);
7549 return Py_BuildValue((char *)"");
7550}
c370783e 7551static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7552 PyObject *resultobj = NULL;
d14a1e28
RD
7553 wxPyHtmlFilter *result;
7554 char *kwnames[] = {
7555 NULL
7556 };
7557
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
2f4c0a16 7566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7567 return resultobj;
7568 fail:
7569 return NULL;
7570}
7571
7572
c370783e 7573static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7574 PyObject *resultobj = NULL;
d14a1e28
RD
7575 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7576 PyObject *arg2 = (PyObject *) 0 ;
7577 PyObject *arg3 = (PyObject *) 0 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 PyObject * obj2 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "self",(char *) "_class", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7588 arg2 = obj1;
7589 arg3 = obj2;
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->_setCallbackInfo(arg2,arg3);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 Py_INCREF(Py_None); resultobj = Py_None;
7598 return resultobj;
7599 fail:
7600 return NULL;
7601}
7602
7603
c370783e 7604static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7605 PyObject *obj;
7606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7607 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7608 Py_INCREF(obj);
7609 return Py_BuildValue((char *)"");
7610}
c370783e 7611static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7612 PyObject *resultobj = NULL;
d14a1e28
RD
7613 wxWindow *arg1 = (wxWindow *) 0 ;
7614 int arg2 = (int) -1 ;
7615 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7616 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7617 wxSize const &arg4_defvalue = wxDefaultSize ;
7618 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7619 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7620 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7621 wxString *arg6 = (wxString *) &arg6_defvalue ;
7622 wxPyHtmlWindow *result;
7623 wxPoint temp3 ;
7624 wxSize temp4 ;
b411df4a 7625 bool temp6 = false ;
d14a1e28 7626 PyObject * obj0 = 0 ;
8edf1c75 7627 PyObject * obj1 = 0 ;
d14a1e28
RD
7628 PyObject * obj2 = 0 ;
7629 PyObject * obj3 = 0 ;
8edf1c75 7630 PyObject * obj4 = 0 ;
d14a1e28
RD
7631 PyObject * obj5 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7634 };
7635
8edf1c75 7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7639 if (obj1) {
36ed4f51 7640 {
32fe5131 7641 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7642 if (SWIG_arg_fail(2)) SWIG_fail;
7643 }
8edf1c75 7644 }
d14a1e28
RD
7645 if (obj2) {
7646 {
7647 arg3 = &temp3;
7648 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7649 }
7650 }
7651 if (obj3) {
7652 {
7653 arg4 = &temp4;
7654 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7655 }
7656 }
8edf1c75 7657 if (obj4) {
36ed4f51 7658 {
32fe5131 7659 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
7660 if (SWIG_arg_fail(5)) SWIG_fail;
7661 }
8edf1c75 7662 }
d14a1e28
RD
7663 if (obj5) {
7664 {
7665 arg6 = wxString_in_helper(obj5);
7666 if (arg6 == NULL) SWIG_fail;
b411df4a 7667 temp6 = true;
d14a1e28
RD
7668 }
7669 }
7670 {
0439c23b 7671 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7674
7675 wxPyEndAllowThreads(__tstate);
110da5b0 7676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7677 }
b0f7404b 7678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7679 {
7680 if (temp6)
7681 delete arg6;
7682 }
7683 return resultobj;
7684 fail:
7685 {
7686 if (temp6)
7687 delete arg6;
7688 }
7689 return NULL;
7690}
7691
7692
c370783e 7693static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7694 PyObject *resultobj = NULL;
d14a1e28
RD
7695 wxPyHtmlWindow *result;
7696 char *kwnames[] = {
7697 NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7701 {
0439c23b 7702 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7705
7706 wxPyEndAllowThreads(__tstate);
110da5b0 7707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7708 }
b0f7404b 7709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7710 return resultobj;
7711 fail:
7712 return NULL;
7713}
7714
7715
c370783e 7716static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7717 PyObject *resultobj = NULL;
d14a1e28
RD
7718 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7719 wxWindow *arg2 = (wxWindow *) 0 ;
7720 int arg3 = (int) -1 ;
7721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7723 wxSize const &arg5_defvalue = wxDefaultSize ;
7724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7725 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7726 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7727 wxString *arg7 = (wxString *) &arg7_defvalue ;
7728 bool result;
7729 wxPoint temp4 ;
7730 wxSize temp5 ;
b411df4a 7731 bool temp7 = false ;
d14a1e28
RD
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
8edf1c75 7734 PyObject * obj2 = 0 ;
d14a1e28
RD
7735 PyObject * obj3 = 0 ;
7736 PyObject * obj4 = 0 ;
8edf1c75 7737 PyObject * obj5 = 0 ;
d14a1e28
RD
7738 PyObject * obj6 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7741 };
7742
8edf1c75 7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail;
7746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7747 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 7748 if (obj2) {
36ed4f51 7749 {
32fe5131 7750 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7751 if (SWIG_arg_fail(3)) SWIG_fail;
7752 }
8edf1c75 7753 }
d14a1e28
RD
7754 if (obj3) {
7755 {
7756 arg4 = &temp4;
7757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7758 }
7759 }
7760 if (obj4) {
7761 {
7762 arg5 = &temp5;
7763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7764 }
7765 }
8edf1c75 7766 if (obj5) {
36ed4f51 7767 {
32fe5131 7768 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
7769 if (SWIG_arg_fail(6)) SWIG_fail;
7770 }
8edf1c75 7771 }
d14a1e28
RD
7772 if (obj6) {
7773 {
7774 arg7 = wxString_in_helper(obj6);
7775 if (arg7 == NULL) SWIG_fail;
b411df4a 7776 temp7 = true;
d14a1e28
RD
7777 }
7778 }
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
fbc46b20
RD
7786 {
7787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7788 }
d14a1e28
RD
7789 {
7790 if (temp7)
7791 delete arg7;
7792 }
7793 return resultobj;
7794 fail:
7795 {
7796 if (temp7)
7797 delete arg7;
7798 }
7799 return NULL;
7800}
7801
7802
c370783e 7803static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7804 PyObject *resultobj = NULL;
d14a1e28
RD
7805 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7806 PyObject *arg2 = (PyObject *) 0 ;
7807 PyObject *arg3 = (PyObject *) 0 ;
7808 PyObject * obj0 = 0 ;
7809 PyObject * obj1 = 0 ;
7810 PyObject * obj2 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self",(char *) "self",(char *) "_class", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7818 arg2 = obj1;
7819 arg3 = obj2;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 (arg1)->_setCallbackInfo(arg2,arg3);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 Py_INCREF(Py_None); resultobj = Py_None;
7828 return resultobj;
7829 fail:
7830 return NULL;
7831}
7832
7833
c370783e 7834static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7835 PyObject *resultobj = NULL;
d14a1e28
RD
7836 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7837 wxString *arg2 = 0 ;
7838 bool result;
b411df4a 7839 bool temp2 = false ;
d14a1e28
RD
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "source", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7849 {
7850 arg2 = wxString_in_helper(obj1);
7851 if (arg2 == NULL) SWIG_fail;
b411df4a 7852 temp2 = true;
d14a1e28
RD
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
fbc46b20
RD
7861 {
7862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7863 }
d14a1e28
RD
7864 {
7865 if (temp2)
7866 delete arg2;
7867 }
7868 return resultobj;
7869 fail:
7870 {
7871 if (temp2)
7872 delete arg2;
7873 }
7874 return NULL;
7875}
7876
7877
c370783e 7878static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7879 PyObject *resultobj = NULL;
d14a1e28
RD
7880 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7881 wxString *arg2 = 0 ;
7882 bool result;
b411df4a 7883 bool temp2 = false ;
d14a1e28
RD
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self",(char *) "location", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7893 {
7894 arg2 = wxString_in_helper(obj1);
7895 if (arg2 == NULL) SWIG_fail;
b411df4a 7896 temp2 = true;
d14a1e28
RD
7897 }
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
fbc46b20
RD
7905 {
7906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7907 }
d14a1e28
RD
7908 {
7909 if (temp2)
7910 delete arg2;
7911 }
7912 return resultobj;
7913 fail:
7914 {
7915 if (temp2)
7916 delete arg2;
7917 }
7918 return NULL;
7919}
7920
7921
c370783e 7922static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7923 PyObject *resultobj = NULL;
d14a1e28
RD
7924 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7925 wxString *arg2 = 0 ;
7926 bool result;
b411df4a 7927 bool temp2 = false ;
d14a1e28
RD
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "filename", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7937 {
7938 arg2 = wxString_in_helper(obj1);
7939 if (arg2 == NULL) SWIG_fail;
b411df4a 7940 temp2 = true;
d14a1e28
RD
7941 }
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
fbc46b20
RD
7949 {
7950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7951 }
d14a1e28
RD
7952 {
7953 if (temp2)
7954 delete arg2;
7955 }
7956 return resultobj;
7957 fail:
7958 {
7959 if (temp2)
7960 delete arg2;
7961 }
7962 return NULL;
7963}
7964
7965
c370783e 7966static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7967 PyObject *resultobj = NULL;
d14a1e28
RD
7968 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7969 wxString *arg2 = 0 ;
7970 bool result;
b411df4a 7971 bool temp2 = false ;
d14a1e28
RD
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self",(char *) "source", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7981 {
7982 arg2 = wxString_in_helper(obj1);
7983 if (arg2 == NULL) SWIG_fail;
b411df4a 7984 temp2 = true;
d14a1e28
RD
7985 }
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
fbc46b20
RD
7993 {
7994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7995 }
d14a1e28
RD
7996 {
7997 if (temp2)
7998 delete arg2;
7999 }
8000 return resultobj;
8001 fail:
8002 {
8003 if (temp2)
8004 delete arg2;
8005 }
8006 return NULL;
8007}
8008
8009
c370783e 8010static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8011 PyObject *resultobj = NULL;
d14a1e28
RD
8012 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8013 wxString result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
8020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8021 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (arg1)->GetOpenedPage();
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 {
8030#if wxUSE_UNICODE
8031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8032#else
8033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8034#endif
8035 }
8036 return resultobj;
8037 fail:
8038 return NULL;
8039}
8040
8041
c370783e 8042static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8043 PyObject *resultobj = NULL;
d14a1e28
RD
8044 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8045 wxString result;
8046 PyObject * obj0 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
36ed4f51
RD
8052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (arg1)->GetOpenedAnchor();
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 {
8062#if wxUSE_UNICODE
8063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8064#else
8065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8066#endif
8067 }
8068 return resultobj;
8069 fail:
8070 return NULL;
8071}
8072
8073
c370783e 8074static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8075 PyObject *resultobj = NULL;
d14a1e28
RD
8076 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8077 wxString result;
8078 PyObject * obj0 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
8084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 result = (arg1)->GetOpenedPageTitle();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 {
8094#if wxUSE_UNICODE
8095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8096#else
8097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8098#endif
8099 }
8100 return resultobj;
8101 fail:
8102 return NULL;
8103}
8104
8105
c370783e 8106static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8107 PyObject *resultobj = NULL;
d14a1e28
RD
8108 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8109 wxFrame *arg2 = (wxFrame *) 0 ;
8110 wxString *arg3 = 0 ;
b411df4a 8111 bool temp3 = false ;
d14a1e28
RD
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 PyObject * obj2 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "frame",(char *) "format", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail;
8122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
8123 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8124 {
8125 arg3 = wxString_in_helper(obj2);
8126 if (arg3 == NULL) SWIG_fail;
b411df4a 8127 temp3 = true;
d14a1e28
RD
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 Py_INCREF(Py_None); resultobj = Py_None;
8137 {
8138 if (temp3)
8139 delete arg3;
8140 }
8141 return resultobj;
8142 fail:
8143 {
8144 if (temp3)
8145 delete arg3;
8146 }
8147 return NULL;
8148}
8149
8150
c370783e 8151static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8152 PyObject *resultobj = NULL;
d14a1e28
RD
8153 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8154 wxFrame *result;
8155 PyObject * obj0 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
8161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (wxFrame *)(arg1)->GetRelatedFrame();
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 {
412d302d 8171 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8172 }
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
c370783e 8179static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8180 PyObject *resultobj = NULL;
d14a1e28
RD
8181 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8182 int arg2 ;
8183 PyObject * obj0 = 0 ;
8edf1c75 8184 PyObject * obj1 = 0 ;
d14a1e28
RD
8185 char *kwnames[] = {
8186 (char *) "self",(char *) "bar", NULL
8187 };
8188
8edf1c75 8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8191 if (SWIG_arg_fail(1)) SWIG_fail;
8192 {
32fe5131 8193 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8194 if (SWIG_arg_fail(2)) SWIG_fail;
8195 }
d14a1e28
RD
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 (arg1)->SetRelatedStatusBar(arg2);
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 Py_INCREF(Py_None); resultobj = Py_None;
8204 return resultobj;
8205 fail:
8206 return NULL;
8207}
8208
8209
c370783e 8210static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8211 PyObject *resultobj = NULL;
d14a1e28
RD
8212 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8213 wxString arg2 ;
8214 wxString arg3 ;
8215 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 PyObject * obj2 = 0 ;
8219 PyObject * obj3 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
8227 {
8228 wxString* sptr = wxString_in_helper(obj1);
8229 if (sptr == NULL) SWIG_fail;
8230 arg2 = *sptr;
8231 delete sptr;
8232 }
8233 {
8234 wxString* sptr = wxString_in_helper(obj2);
8235 if (sptr == NULL) SWIG_fail;
8236 arg3 = *sptr;
8237 delete sptr;
8238 }
d14a1e28
RD
8239 if (obj3) {
8240 arg4 = obj3;
8241 }
8242 {
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
8245
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 Py_INCREF(Py_None); resultobj = Py_None;
8250 return resultobj;
8251 fail:
8252 return NULL;
8253}
8254
8255
b411df4a 8256static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8257 PyObject *resultobj = NULL;
30ee79f7
RD
8258 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8259 int arg2 = (int) -1 ;
b411df4a
RD
8260 wxString const &arg3_defvalue = wxPyEmptyString ;
8261 wxString *arg3 = (wxString *) &arg3_defvalue ;
8262 wxString const &arg4_defvalue = wxPyEmptyString ;
8263 wxString *arg4 = (wxString *) &arg4_defvalue ;
8264 bool temp3 = false ;
8265 bool temp4 = false ;
30ee79f7
RD
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
b411df4a
RD
8268 PyObject * obj2 = 0 ;
8269 PyObject * obj3 = 0 ;
30ee79f7 8270 char *kwnames[] = {
b411df4a 8271 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
8272 };
8273
b411df4a 8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 8277 if (obj1) {
36ed4f51 8278 {
32fe5131 8279 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8280 if (SWIG_arg_fail(2)) SWIG_fail;
8281 }
30ee79f7 8282 }
b411df4a
RD
8283 if (obj2) {
8284 {
8285 arg3 = wxString_in_helper(obj2);
8286 if (arg3 == NULL) SWIG_fail;
8287 temp3 = true;
8288 }
8289 }
8290 if (obj3) {
8291 {
8292 arg4 = wxString_in_helper(obj3);
8293 if (arg4 == NULL) SWIG_fail;
8294 temp4 = true;
8295 }
8296 }
30ee79f7
RD
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 8299 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
8305 {
8306 if (temp3)
8307 delete arg3;
8308 }
8309 {
8310 if (temp4)
8311 delete arg4;
8312 }
30ee79f7
RD
8313 return resultobj;
8314 fail:
b411df4a
RD
8315 {
8316 if (temp3)
8317 delete arg3;
8318 }
8319 {
8320 if (temp4)
8321 delete arg4;
8322 }
30ee79f7
RD
8323 return NULL;
8324}
8325
8326
943e8dfd 8327static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8328 PyObject *resultobj = NULL;
d14a1e28
RD
8329 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8330 wxString *arg2 = 0 ;
b411df4a 8331 bool temp2 = false ;
d14a1e28
RD
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "title", NULL
8336 };
8337
943e8dfd 8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8341 {
8342 arg2 = wxString_in_helper(obj1);
8343 if (arg2 == NULL) SWIG_fail;
b411df4a 8344 temp2 = true;
d14a1e28
RD
8345 }
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
943e8dfd 8348 (arg1)->SetLabel((wxString const &)*arg2);
d14a1e28
RD
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 Py_INCREF(Py_None); resultobj = Py_None;
8354 {
8355 if (temp2)
8356 delete arg2;
8357 }
8358 return resultobj;
8359 fail:
8360 {
8361 if (temp2)
8362 delete arg2;
8363 }
8364 return NULL;
8365}
8366
8367
c370783e 8368static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8369 PyObject *resultobj = NULL;
d14a1e28
RD
8370 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8371 int arg2 ;
8372 PyObject * obj0 = 0 ;
8edf1c75 8373 PyObject * obj1 = 0 ;
d14a1e28
RD
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "b", NULL
8376 };
8377
8edf1c75 8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail;
8381 {
32fe5131 8382 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8383 if (SWIG_arg_fail(2)) SWIG_fail;
8384 }
d14a1e28
RD
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetBorders(arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 return resultobj;
8394 fail:
8395 return NULL;
8396}
8397
8398
53aa7709 8399static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8400 PyObject *resultobj = NULL;
53aa7709
RD
8401 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8402 wxBitmap *arg2 = 0 ;
8403 PyObject * obj0 = 0 ;
8404 PyObject * obj1 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self",(char *) "bmpBg", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail;
8412 {
8413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8414 if (SWIG_arg_fail(2)) SWIG_fail;
8415 if (arg2 == NULL) {
8416 SWIG_null_ref("wxBitmap");
8417 }
8418 if (SWIG_arg_fail(2)) SWIG_fail;
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 Py_INCREF(Py_None); resultobj = Py_None;
8428 return resultobj;
8429 fail:
8430 return NULL;
8431}
8432
8433
c370783e 8434static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8435 PyObject *resultobj = NULL;
d14a1e28
RD
8436 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8437 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8438 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "cfg",(char *) "path", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail;
8449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8450 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8451 if (obj2) {
423f194a
RD
8452 {
8453 wxString* sptr = wxString_in_helper(obj2);
8454 if (sptr == NULL) SWIG_fail;
8455 arg3 = *sptr;
8456 delete sptr;
8457 }
d14a1e28
RD
8458 }
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 (arg1)->ReadCustomization(arg2,arg3);
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 Py_INCREF(Py_None); resultobj = Py_None;
8467 return resultobj;
8468 fail:
8469 return NULL;
8470}
8471
8472
c370783e 8473static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8474 PyObject *resultobj = NULL;
d14a1e28
RD
8475 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8476 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8477 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "cfg",(char *) "path", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail;
8488 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8490 if (obj2) {
423f194a
RD
8491 {
8492 wxString* sptr = wxString_in_helper(obj2);
8493 if (sptr == NULL) SWIG_fail;
8494 arg3 = *sptr;
8495 delete sptr;
8496 }
d14a1e28
RD
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 (arg1)->WriteCustomization(arg2,arg3);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 Py_INCREF(Py_None); resultobj = Py_None;
8506 return resultobj;
8507 fail:
8508 return NULL;
8509}
8510
8511
c370783e 8512static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8513 PyObject *resultobj = NULL;
d14a1e28
RD
8514 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8515 bool result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
36ed4f51
RD
8522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (bool)(arg1)->HistoryBack();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
fbc46b20
RD
8531 {
8532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8533 }
d14a1e28
RD
8534 return resultobj;
8535 fail:
8536 return NULL;
8537}
8538
8539
c370783e 8540static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8541 PyObject *resultobj = NULL;
d14a1e28
RD
8542 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8543 bool result;
8544 PyObject * obj0 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
36ed4f51
RD
8550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (bool)(arg1)->HistoryForward();
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
fbc46b20
RD
8559 {
8560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8561 }
d14a1e28
RD
8562 return resultobj;
8563 fail:
8564 return NULL;
8565}
8566
8567
c370783e 8568static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8569 PyObject *resultobj = NULL;
d14a1e28
RD
8570 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8571 bool result;
8572 PyObject * obj0 = 0 ;
8573 char *kwnames[] = {
8574 (char *) "self", NULL
8575 };
8576
8577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
36ed4f51
RD
8578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (bool)(arg1)->HistoryCanBack();
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
fbc46b20
RD
8587 {
8588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8589 }
d14a1e28
RD
8590 return resultobj;
8591 fail:
8592 return NULL;
8593}
8594
8595
c370783e 8596static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8597 PyObject *resultobj = NULL;
d14a1e28
RD
8598 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8599 bool result;
8600 PyObject * obj0 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "self", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
36ed4f51
RD
8606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (bool)(arg1)->HistoryCanForward();
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
fbc46b20
RD
8615 {
8616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8617 }
d14a1e28
RD
8618 return resultobj;
8619 fail:
8620 return NULL;
8621}
8622
8623
c370783e 8624static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8625 PyObject *resultobj = NULL;
d14a1e28
RD
8626 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8627 PyObject * obj0 = 0 ;
8628 char *kwnames[] = {
8629 (char *) "self", NULL
8630 };
8631
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
36ed4f51
RD
8633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 (arg1)->HistoryClear();
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 Py_INCREF(Py_None); resultobj = Py_None;
8643 return resultobj;
8644 fail:
8645 return NULL;
8646}
8647
8648
c370783e 8649static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8650 PyObject *resultobj = NULL;
d14a1e28
RD
8651 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8652 wxHtmlContainerCell *result;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
36ed4f51
RD
8659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
2f4c0a16 8668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
c370783e 8675static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8676 PyObject *resultobj = NULL;
d14a1e28
RD
8677 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8678 wxHtmlWinParser *result;
8679 PyObject * obj0 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
8685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (wxHtmlWinParser *)(arg1)->GetParser();
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
2f4c0a16 8694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8695 return resultobj;
8696 fail:
8697 return NULL;
8698}
8699
8700
c370783e 8701static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8702 PyObject *resultobj = NULL;
d14a1e28
RD
8703 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8704 wxString *arg2 = 0 ;
8705 bool result;
b411df4a 8706 bool temp2 = false ;
d14a1e28
RD
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "anchor", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8716 {
8717 arg2 = wxString_in_helper(obj1);
8718 if (arg2 == NULL) SWIG_fail;
b411df4a 8719 temp2 = true;
d14a1e28
RD
8720 }
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
fbc46b20
RD
8728 {
8729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8730 }
d14a1e28
RD
8731 {
8732 if (temp2)
8733 delete arg2;
8734 }
8735 return resultobj;
8736 fail:
8737 {
8738 if (temp2)
8739 delete arg2;
8740 }
8741 return NULL;
8742}
8743
8744
c370783e 8745static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8746 PyObject *resultobj = NULL;
d14a1e28
RD
8747 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8748 wxString *arg2 = 0 ;
8749 bool result;
b411df4a 8750 bool temp2 = false ;
d14a1e28
RD
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "self",(char *) "anchor", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8760 {
8761 arg2 = wxString_in_helper(obj1);
8762 if (arg2 == NULL) SWIG_fail;
b411df4a 8763 temp2 = true;
d14a1e28
RD
8764 }
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
fbc46b20
RD
8772 {
8773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8774 }
d14a1e28
RD
8775 {
8776 if (temp2)
8777 delete arg2;
8778 }
8779 return resultobj;
8780 fail:
8781 {
8782 if (temp2)
8783 delete arg2;
8784 }
8785 return NULL;
8786}
8787
8788
c370783e 8789static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8790 PyObject *resultobj = NULL;
d14a1e28
RD
8791 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8792 PyObject * obj0 = 0 ;
8793 char *kwnames[] = {
8794 (char *) "filter", NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
8798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 wxPyHtmlWindow::AddFilter(arg1);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 Py_INCREF(Py_None); resultobj = Py_None;
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
c370783e 8814static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8815 PyObject *resultobj = NULL;
0ffb2aa6
RD
8816 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8817 wxPoint *arg2 = 0 ;
8818 wxPoint temp2 ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "self",(char *) "pos", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8828 {
8829 arg2 = &temp2;
8830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 (arg1)->SelectWord((wxPoint const &)*arg2);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 Py_INCREF(Py_None); resultobj = Py_None;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843}
8844
8845
c370783e 8846static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8847 PyObject *resultobj = NULL;
0ffb2aa6
RD
8848 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8849 wxPoint *arg2 = 0 ;
8850 wxPoint temp2 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self",(char *) "pos", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8860 {
8861 arg2 = &temp2;
8862 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8863 }
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 (arg1)->SelectLine((wxPoint const &)*arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 Py_INCREF(Py_None); resultobj = Py_None;
8872 return resultobj;
8873 fail:
8874 return NULL;
8875}
8876
8877
c370783e 8878static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8879 PyObject *resultobj = NULL;
0ffb2aa6
RD
8880 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8881 PyObject * obj0 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "self", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
8887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->SelectAll();
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
c370783e 8903static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8904 PyObject *resultobj = NULL;
b0f7404b
RD
8905 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8906 wxString result;
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
36ed4f51
RD
8913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (arg1)->SelectionToText();
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 {
8923#if wxUSE_UNICODE
8924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8925#else
8926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8927#endif
8928 }
8929 return resultobj;
8930 fail:
8931 return NULL;
8932}
8933
8934
c370783e 8935static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8936 PyObject *resultobj = NULL;
b0f7404b
RD
8937 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8938 wxString result;
8939 PyObject * obj0 = 0 ;
8940 char *kwnames[] = {
8941 (char *) "self", NULL
8942 };
8943
8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
36ed4f51
RD
8945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (arg1)->ToText();
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955#if wxUSE_UNICODE
8956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8957#else
8958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8959#endif
8960 }
8961 return resultobj;
8962 fail:
8963 return NULL;
8964}
8965
8966
7f7aa166 8967static PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8968 PyObject *resultobj = NULL;
d14a1e28
RD
8969 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8970 wxHtmlLinkInfo *arg2 = 0 ;
8971 PyObject * obj0 = 0 ;
8972 PyObject * obj1 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self",(char *) "link", NULL
8975 };
8976
7f7aa166 8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8979 if (SWIG_arg_fail(1)) SWIG_fail;
8980 {
8981 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8982 if (SWIG_arg_fail(2)) SWIG_fail;
8983 if (arg2 == NULL) {
8984 SWIG_null_ref("wxHtmlLinkInfo");
8985 }
8986 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 8990 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
d14a1e28
RD
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 Py_INCREF(Py_None); resultobj = Py_None;
8996 return resultobj;
8997 fail:
8998 return NULL;
8999}
9000
9001
7f7aa166 9002static PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9003 PyObject *resultobj = NULL;
d14a1e28
RD
9004 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9005 wxString *arg2 = 0 ;
b411df4a 9006 bool temp2 = false ;
d14a1e28
RD
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "title", NULL
9011 };
9012
7f7aa166 9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9016 {
9017 arg2 = wxString_in_helper(obj1);
9018 if (arg2 == NULL) SWIG_fail;
b411df4a 9019 temp2 = true;
d14a1e28
RD
9020 }
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 9023 (arg1)->OnSetTitle((wxString const &)*arg2);
d14a1e28
RD
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 {
9030 if (temp2)
9031 delete arg2;
9032 }
9033 return resultobj;
9034 fail:
9035 {
9036 if (temp2)
9037 delete arg2;
9038 }
9039 return NULL;
9040}
9041
9042
7f7aa166 9043static PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9044 PyObject *resultobj = NULL;
d14a1e28
RD
9045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9046 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
9047 int arg3 ;
9048 int arg4 ;
d14a1e28
RD
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
8edf1c75
RD
9051 PyObject * obj2 = 0 ;
9052 PyObject * obj3 = 0 ;
d14a1e28
RD
9053 char *kwnames[] = {
9054 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
9055 };
9056
7f7aa166 9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail;
9060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
9061 if (SWIG_arg_fail(2)) SWIG_fail;
9062 {
32fe5131 9063 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9064 if (SWIG_arg_fail(3)) SWIG_fail;
9065 }
9066 {
32fe5131 9067 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9068 if (SWIG_arg_fail(4)) SWIG_fail;
9069 }
d14a1e28
RD
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 9072 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
d14a1e28
RD
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 return resultobj;
9079 fail:
9080 return NULL;
9081}
9082
9083
7f7aa166 9084static PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9085 PyObject *resultobj = NULL;
d14a1e28
RD
9086 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9087 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
9088 int arg3 ;
9089 int arg4 ;
d14a1e28
RD
9090 wxMouseEvent *arg5 = 0 ;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
8edf1c75
RD
9093 PyObject * obj2 = 0 ;
9094 PyObject * obj3 = 0 ;
d14a1e28
RD
9095 PyObject * obj4 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
9098 };
9099
7f7aa166 9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
9101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
9102 if (SWIG_arg_fail(1)) SWIG_fail;
9103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
9104 if (SWIG_arg_fail(2)) SWIG_fail;
9105 {
32fe5131 9106 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9107 if (SWIG_arg_fail(3)) SWIG_fail;
9108 }
9109 {
32fe5131 9110 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9111 if (SWIG_arg_fail(4)) SWIG_fail;
9112 }
9113 {
9114 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
9115 if (SWIG_arg_fail(5)) SWIG_fail;
9116 if (arg5 == NULL) {
9117 SWIG_null_ref("wxMouseEvent");
9118 }
9119 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 9123 (arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
d14a1e28
RD
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 Py_INCREF(Py_None); resultobj = Py_None;
9129 return resultobj;
9130 fail:
9131 return NULL;
9132}
9133
9134
c370783e 9135static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9136 PyObject *resultobj = NULL;
36ed4f51 9137 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
9138 wxVisualAttributes result;
9139 PyObject * obj0 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "variant", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9145 if (obj0) {
36ed4f51 9146 {
32fe5131 9147 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
9148 if (SWIG_arg_fail(1)) SWIG_fail;
9149 }
f20a2e1f
RD
9150 }
9151 {
0439c23b 9152 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9154 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
9155
9156 wxPyEndAllowThreads(__tstate);
110da5b0 9157 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
9158 }
9159 {
9160 wxVisualAttributes * resultptr;
32fe5131 9161 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
9162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9163 }
9164 return resultobj;
9165 fail:
9166 return NULL;
9167}
9168
9169
c370783e 9170static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9171 PyObject *obj;
9172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9173 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
9174 Py_INCREF(obj);
9175 return Py_BuildValue((char *)"");
9176}
c370783e 9177static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9178 PyObject *resultobj = NULL;
d14a1e28
RD
9179 wxHtmlDCRenderer *result;
9180 char *kwnames[] = {
9181 NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
9185 {
0439c23b 9186 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
9189
9190 wxPyEndAllowThreads(__tstate);
110da5b0 9191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9192 }
2f4c0a16 9193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
9194 return resultobj;
9195 fail:
9196 return NULL;
9197}
9198
9199
c370783e 9200static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9201 PyObject *resultobj = NULL;
d14a1e28
RD
9202 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
36ed4f51
RD
9209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 delete arg1;
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 return resultobj;
9220 fail:
9221 return NULL;
9222}
9223
9224
c370783e 9225static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9226 PyObject *resultobj = NULL;
d14a1e28
RD
9227 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9228 wxDC *arg2 = (wxDC *) 0 ;
9229 int arg3 ;
9230 PyObject * obj0 = 0 ;
9231 PyObject * obj1 = 0 ;
8edf1c75 9232 PyObject * obj2 = 0 ;
d14a1e28
RD
9233 char *kwnames[] = {
9234 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
9235 };
9236
8edf1c75 9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail;
9240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9241 if (SWIG_arg_fail(2)) SWIG_fail;
9242 {
32fe5131 9243 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9244 if (SWIG_arg_fail(3)) SWIG_fail;
9245 }
d14a1e28
RD
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 (arg1)->SetDC(arg2,arg3);
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257}
9258
9259
c370783e 9260static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9261 PyObject *resultobj = NULL;
d14a1e28
RD
9262 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9263 int arg2 ;
9264 int arg3 ;
9265 PyObject * obj0 = 0 ;
8edf1c75
RD
9266 PyObject * obj1 = 0 ;
9267 PyObject * obj2 = 0 ;
d14a1e28
RD
9268 char *kwnames[] = {
9269 (char *) "self",(char *) "width",(char *) "height", NULL
9270 };
9271
8edf1c75 9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail;
9275 {
32fe5131 9276 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9277 if (SWIG_arg_fail(2)) SWIG_fail;
9278 }
9279 {
32fe5131 9280 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9281 if (SWIG_arg_fail(3)) SWIG_fail;
9282 }
d14a1e28
RD
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 (arg1)->SetSize(arg2,arg3);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 Py_INCREF(Py_None); resultobj = Py_None;
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
c370783e 9297static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9298 PyObject *resultobj = NULL;
d14a1e28
RD
9299 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9300 wxString *arg2 = 0 ;
9301 wxString const &arg3_defvalue = wxPyEmptyString ;
9302 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9303 bool arg4 = (bool) true ;
9304 bool temp2 = false ;
9305 bool temp3 = false ;
d14a1e28
RD
9306 PyObject * obj0 = 0 ;
9307 PyObject * obj1 = 0 ;
9308 PyObject * obj2 = 0 ;
9309 PyObject * obj3 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9317 {
9318 arg2 = wxString_in_helper(obj1);
9319 if (arg2 == NULL) SWIG_fail;
b411df4a 9320 temp2 = true;
d14a1e28
RD
9321 }
9322 if (obj2) {
9323 {
9324 arg3 = wxString_in_helper(obj2);
9325 if (arg3 == NULL) SWIG_fail;
b411df4a 9326 temp3 = true;
d14a1e28
RD
9327 }
9328 }
9329 if (obj3) {
36ed4f51 9330 {
32fe5131 9331 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
9332 if (SWIG_arg_fail(4)) SWIG_fail;
9333 }
d14a1e28
RD
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 {
9344 if (temp2)
9345 delete arg2;
9346 }
9347 {
9348 if (temp3)
9349 delete arg3;
9350 }
9351 return resultobj;
9352 fail:
9353 {
9354 if (temp2)
9355 delete arg2;
9356 }
9357 {
9358 if (temp3)
9359 delete arg3;
9360 }
9361 return NULL;
9362}
9363
9364
c370783e 9365static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9366 PyObject *resultobj = NULL;
d14a1e28
RD
9367 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9368 wxString arg2 ;
9369 wxString arg3 ;
9370 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9371 PyObject * obj0 = 0 ;
9372 PyObject * obj1 = 0 ;
9373 PyObject * obj2 = 0 ;
9374 PyObject * obj3 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9381 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9382 {
9383 wxString* sptr = wxString_in_helper(obj1);
9384 if (sptr == NULL) SWIG_fail;
9385 arg2 = *sptr;
9386 delete sptr;
9387 }
9388 {
9389 wxString* sptr = wxString_in_helper(obj2);
9390 if (sptr == NULL) SWIG_fail;
9391 arg3 = *sptr;
9392 delete sptr;
9393 }
d14a1e28
RD
9394 if (obj3) {
9395 arg4 = obj3;
9396 }
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 Py_INCREF(Py_None); resultobj = Py_None;
9405 return resultobj;
9406 fail:
9407 return NULL;
9408}
9409
9410
b411df4a 9411static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9412 PyObject *resultobj = NULL;
30ee79f7
RD
9413 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9414 int arg2 = (int) -1 ;
b411df4a
RD
9415 wxString const &arg3_defvalue = wxPyEmptyString ;
9416 wxString *arg3 = (wxString *) &arg3_defvalue ;
9417 wxString const &arg4_defvalue = wxPyEmptyString ;
9418 wxString *arg4 = (wxString *) &arg4_defvalue ;
9419 bool temp3 = false ;
9420 bool temp4 = false ;
30ee79f7
RD
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
b411df4a
RD
9423 PyObject * obj2 = 0 ;
9424 PyObject * obj3 = 0 ;
30ee79f7 9425 char *kwnames[] = {
b411df4a 9426 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9427 };
9428
b411df4a 9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9431 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9432 if (obj1) {
36ed4f51 9433 {
32fe5131 9434 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9435 if (SWIG_arg_fail(2)) SWIG_fail;
9436 }
30ee79f7 9437 }
b411df4a
RD
9438 if (obj2) {
9439 {
9440 arg3 = wxString_in_helper(obj2);
9441 if (arg3 == NULL) SWIG_fail;
9442 temp3 = true;
9443 }
9444 }
9445 if (obj3) {
9446 {
9447 arg4 = wxString_in_helper(obj3);
9448 if (arg4 == NULL) SWIG_fail;
9449 temp4 = true;
9450 }
9451 }
30ee79f7
RD
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 9454 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
9460 {
9461 if (temp3)
9462 delete arg3;
9463 }
9464 {
9465 if (temp4)
9466 delete arg4;
9467 }
30ee79f7
RD
9468 return resultobj;
9469 fail:
b411df4a
RD
9470 {
9471 if (temp3)
9472 delete arg3;
9473 }
9474 {
9475 if (temp4)
9476 delete arg4;
9477 }
30ee79f7
RD
9478 return NULL;
9479}
9480
9481
c370783e 9482static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9483 PyObject *resultobj = NULL;
d14a1e28
RD
9484 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9485 int arg2 ;
9486 int arg3 ;
9487 int arg4 = (int) 0 ;
b411df4a 9488 int arg5 = (int) false ;
d14a1e28
RD
9489 int arg6 = (int) INT_MAX ;
9490 int *arg7 = (int *) NULL ;
9491 int arg8 = (int) 0 ;
9492 int result;
9493 PyObject * obj0 = 0 ;
8edf1c75
RD
9494 PyObject * obj1 = 0 ;
9495 PyObject * obj2 = 0 ;
9496 PyObject * obj3 = 0 ;
9497 PyObject * obj4 = 0 ;
9498 PyObject * obj5 = 0 ;
d14a1e28 9499 PyObject * obj6 = 0 ;
8edf1c75 9500 PyObject * obj7 = 0 ;
d14a1e28 9501 char *kwnames[] = {
f78cc896 9502 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9503 };
9504
8edf1c75 9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
9508 {
32fe5131 9509 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9510 if (SWIG_arg_fail(2)) SWIG_fail;
9511 }
9512 {
32fe5131 9513 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9514 if (SWIG_arg_fail(3)) SWIG_fail;
9515 }
8edf1c75 9516 if (obj3) {
36ed4f51 9517 {
32fe5131 9518 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9519 if (SWIG_arg_fail(4)) SWIG_fail;
9520 }
8edf1c75
RD
9521 }
9522 if (obj4) {
36ed4f51 9523 {
32fe5131 9524 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
9525 if (SWIG_arg_fail(5)) SWIG_fail;
9526 }
8edf1c75
RD
9527 }
9528 if (obj5) {
36ed4f51 9529 {
32fe5131 9530 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
9531 if (SWIG_arg_fail(6)) SWIG_fail;
9532 }
8edf1c75 9533 }
d14a1e28 9534 if (obj6) {
36ed4f51
RD
9535 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9536 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9537 }
8edf1c75 9538 if (obj7) {
36ed4f51 9539 {
32fe5131 9540 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
9541 if (SWIG_arg_fail(8)) SWIG_fail;
9542 }
8edf1c75 9543 }
d14a1e28
RD
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
36ed4f51 9551 {
32fe5131 9552 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9553 }
d14a1e28
RD
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
c370783e 9560static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9561 PyObject *resultobj = NULL;
d14a1e28
RD
9562 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9563 int result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
9570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (int)(arg1)->GetTotalHeight();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
36ed4f51 9579 {
32fe5131 9580 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9581 }
d14a1e28
RD
9582 return resultobj;
9583 fail:
9584 return NULL;
9585}
9586
9587
c370783e 9588static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9589 PyObject *obj;
9590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9591 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9592 Py_INCREF(obj);
9593 return Py_BuildValue((char *)"");
9594}
c370783e 9595static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9596 PyObject *resultobj = NULL;
d14a1e28
RD
9597 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9598 wxString *arg1 = (wxString *) &arg1_defvalue ;
9599 wxHtmlPrintout *result;
b411df4a 9600 bool temp1 = false ;
d14a1e28
RD
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "title", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9607 if (obj0) {
9608 {
9609 arg1 = wxString_in_helper(obj0);
9610 if (arg1 == NULL) SWIG_fail;
b411df4a 9611 temp1 = true;
d14a1e28
RD
9612 }
9613 }
9614 {
0439c23b 9615 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9618
9619 wxPyEndAllowThreads(__tstate);
110da5b0 9620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9621 }
2f4c0a16 9622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9623 {
9624 if (temp1)
9625 delete arg1;
9626 }
9627 return resultobj;
9628 fail:
9629 {
9630 if (temp1)
9631 delete arg1;
9632 }
9633 return NULL;
9634}
9635
9636
c370783e 9637static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9638 PyObject *resultobj = NULL;
d14a1e28
RD
9639 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9640 wxString *arg2 = 0 ;
9641 wxString const &arg3_defvalue = wxPyEmptyString ;
9642 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9643 bool arg4 = (bool) true ;
9644 bool temp2 = false ;
9645 bool temp3 = false ;
d14a1e28
RD
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 PyObject * obj3 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9657 {
9658 arg2 = wxString_in_helper(obj1);
9659 if (arg2 == NULL) SWIG_fail;
b411df4a 9660 temp2 = true;
d14a1e28
RD
9661 }
9662 if (obj2) {
9663 {
9664 arg3 = wxString_in_helper(obj2);
9665 if (arg3 == NULL) SWIG_fail;
b411df4a 9666 temp3 = true;
d14a1e28
RD
9667 }
9668 }
9669 if (obj3) {
36ed4f51 9670 {
32fe5131 9671 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
9672 if (SWIG_arg_fail(4)) SWIG_fail;
9673 }
d14a1e28
RD
9674 }
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 Py_INCREF(Py_None); resultobj = Py_None;
9683 {
9684 if (temp2)
9685 delete arg2;
9686 }
9687 {
9688 if (temp3)
9689 delete arg3;
9690 }
9691 return resultobj;
9692 fail:
9693 {
9694 if (temp2)
9695 delete arg2;
9696 }
9697 {
9698 if (temp3)
9699 delete arg3;
9700 }
9701 return NULL;
9702}
9703
9704
c370783e 9705static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9706 PyObject *resultobj = NULL;
d14a1e28
RD
9707 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9708 wxString *arg2 = 0 ;
b411df4a 9709 bool temp2 = false ;
d14a1e28
RD
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "htmlfile", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9719 {
9720 arg2 = wxString_in_helper(obj1);
9721 if (arg2 == NULL) SWIG_fail;
b411df4a 9722 temp2 = true;
d14a1e28
RD
9723 }
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetHtmlFile((wxString const &)*arg2);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 {
9733 if (temp2)
9734 delete arg2;
9735 }
9736 return resultobj;
9737 fail:
9738 {
9739 if (temp2)
9740 delete arg2;
9741 }
9742 return NULL;
9743}
9744
9745
c370783e 9746static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9747 PyObject *resultobj = NULL;
d14a1e28
RD
9748 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9749 wxString *arg2 = 0 ;
9750 int arg3 = (int) wxPAGE_ALL ;
b411df4a 9751 bool temp2 = false ;
d14a1e28
RD
9752 PyObject * obj0 = 0 ;
9753 PyObject * obj1 = 0 ;
8edf1c75 9754 PyObject * obj2 = 0 ;
d14a1e28
RD
9755 char *kwnames[] = {
9756 (char *) "self",(char *) "header",(char *) "pg", NULL
9757 };
9758
8edf1c75 9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9761 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9762 {
9763 arg2 = wxString_in_helper(obj1);
9764 if (arg2 == NULL) SWIG_fail;
b411df4a 9765 temp2 = true;
d14a1e28 9766 }
8edf1c75 9767 if (obj2) {
36ed4f51 9768 {
32fe5131 9769 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9770 if (SWIG_arg_fail(3)) SWIG_fail;
9771 }
8edf1c75 9772 }
d14a1e28
RD
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 Py_INCREF(Py_None); resultobj = Py_None;
9781 {
9782 if (temp2)
9783 delete arg2;
9784 }
9785 return resultobj;
9786 fail:
9787 {
9788 if (temp2)
9789 delete arg2;
9790 }
9791 return NULL;
9792}
9793
9794
c370783e 9795static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9796 PyObject *resultobj = NULL;
d14a1e28
RD
9797 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9798 wxString *arg2 = 0 ;
9799 int arg3 = (int) wxPAGE_ALL ;
b411df4a 9800 bool temp2 = false ;
d14a1e28
RD
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
8edf1c75 9803 PyObject * obj2 = 0 ;
d14a1e28
RD
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "footer",(char *) "pg", NULL
9806 };
9807
8edf1c75 9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9811 {
9812 arg2 = wxString_in_helper(obj1);
9813 if (arg2 == NULL) SWIG_fail;
b411df4a 9814 temp2 = true;
d14a1e28 9815 }
8edf1c75 9816 if (obj2) {
36ed4f51 9817 {
32fe5131 9818 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9819 if (SWIG_arg_fail(3)) SWIG_fail;
9820 }
8edf1c75 9821 }
d14a1e28
RD
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9825
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 Py_INCREF(Py_None); resultobj = Py_None;
9830 {
9831 if (temp2)
9832 delete arg2;
9833 }
9834 return resultobj;
9835 fail:
9836 {
9837 if (temp2)
9838 delete arg2;
9839 }
9840 return NULL;
9841}
9842
9843
c370783e 9844static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9845 PyObject *resultobj = NULL;
d14a1e28
RD
9846 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9847 wxString arg2 ;
9848 wxString arg3 ;
9849 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9850 PyObject * obj0 = 0 ;
9851 PyObject * obj1 = 0 ;
9852 PyObject * obj2 = 0 ;
9853 PyObject * obj3 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9860 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9861 {
9862 wxString* sptr = wxString_in_helper(obj1);
9863 if (sptr == NULL) SWIG_fail;
9864 arg2 = *sptr;
9865 delete sptr;
9866 }
9867 {
9868 wxString* sptr = wxString_in_helper(obj2);
9869 if (sptr == NULL) SWIG_fail;
9870 arg3 = *sptr;
9871 delete sptr;
9872 }
d14a1e28
RD
9873 if (obj3) {
9874 arg4 = obj3;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 Py_INCREF(Py_None); resultobj = Py_None;
9884 return resultobj;
9885 fail:
9886 return NULL;
9887}
9888
9889
b411df4a 9890static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9891 PyObject *resultobj = NULL;
30ee79f7
RD
9892 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9893 int arg2 = (int) -1 ;
b411df4a
RD
9894 wxString const &arg3_defvalue = wxPyEmptyString ;
9895 wxString *arg3 = (wxString *) &arg3_defvalue ;
9896 wxString const &arg4_defvalue = wxPyEmptyString ;
9897 wxString *arg4 = (wxString *) &arg4_defvalue ;
9898 bool temp3 = false ;
9899 bool temp4 = false ;
30ee79f7
RD
9900 PyObject * obj0 = 0 ;
9901 PyObject * obj1 = 0 ;
b411df4a
RD
9902 PyObject * obj2 = 0 ;
9903 PyObject * obj3 = 0 ;
30ee79f7 9904 char *kwnames[] = {
b411df4a 9905 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9906 };
9907
b411df4a 9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9911 if (obj1) {
36ed4f51 9912 {
32fe5131 9913 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9914 if (SWIG_arg_fail(2)) SWIG_fail;
9915 }
30ee79f7 9916 }
b411df4a
RD
9917 if (obj2) {
9918 {
9919 arg3 = wxString_in_helper(obj2);
9920 if (arg3 == NULL) SWIG_fail;
9921 temp3 = true;
9922 }
9923 }
9924 if (obj3) {
9925 {
9926 arg4 = wxString_in_helper(obj3);
9927 if (arg4 == NULL) SWIG_fail;
9928 temp4 = true;
9929 }
9930 }
30ee79f7
RD
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 9933 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
9939 {
9940 if (temp3)
9941 delete arg3;
9942 }
9943 {
9944 if (temp4)
9945 delete arg4;
9946 }
30ee79f7
RD
9947 return resultobj;
9948 fail:
b411df4a
RD
9949 {
9950 if (temp3)
9951 delete arg3;
9952 }
9953 {
9954 if (temp4)
9955 delete arg4;
9956 }
30ee79f7
RD
9957 return NULL;
9958}
9959
9960
c370783e 9961static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9962 PyObject *resultobj = NULL;
d14a1e28
RD
9963 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9964 float arg2 = (float) 25.2 ;
9965 float arg3 = (float) 25.2 ;
9966 float arg4 = (float) 25.2 ;
9967 float arg5 = (float) 25.2 ;
9968 float arg6 = (float) 5 ;
9969 PyObject * obj0 = 0 ;
8edf1c75
RD
9970 PyObject * obj1 = 0 ;
9971 PyObject * obj2 = 0 ;
9972 PyObject * obj3 = 0 ;
9973 PyObject * obj4 = 0 ;
9974 PyObject * obj5 = 0 ;
d14a1e28
RD
9975 char *kwnames[] = {
9976 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9977 };
9978
8edf1c75 9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
9980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 9982 if (obj1) {
36ed4f51 9983 {
32fe5131 9984 arg2 = static_cast<float >(SWIG_As_float(obj1));
36ed4f51
RD
9985 if (SWIG_arg_fail(2)) SWIG_fail;
9986 }
8edf1c75
RD
9987 }
9988 if (obj2) {
36ed4f51 9989 {
32fe5131 9990 arg3 = static_cast<float >(SWIG_As_float(obj2));
36ed4f51
RD
9991 if (SWIG_arg_fail(3)) SWIG_fail;
9992 }
8edf1c75
RD
9993 }
9994 if (obj3) {
36ed4f51 9995 {
32fe5131 9996 arg4 = static_cast<float >(SWIG_As_float(obj3));
36ed4f51
RD
9997 if (SWIG_arg_fail(4)) SWIG_fail;
9998 }
8edf1c75
RD
9999 }
10000 if (obj4) {
36ed4f51 10001 {
32fe5131 10002 arg5 = static_cast<float >(SWIG_As_float(obj4));
36ed4f51
RD
10003 if (SWIG_arg_fail(5)) SWIG_fail;
10004 }
8edf1c75
RD
10005 }
10006 if (obj5) {
36ed4f51 10007 {
32fe5131 10008 arg6 = static_cast<float >(SWIG_As_float(obj5));
36ed4f51
RD
10009 if (SWIG_arg_fail(6)) SWIG_fail;
10010 }
8edf1c75 10011 }
d14a1e28
RD
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 Py_INCREF(Py_None); resultobj = Py_None;
10020 return resultobj;
10021 fail:
10022 return NULL;
10023}
10024
10025
c370783e 10026static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10027 PyObject *resultobj = NULL;
d14a1e28
RD
10028 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
10029 PyObject * obj0 = 0 ;
10030 char *kwnames[] = {
10031 (char *) "filter", NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
10035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
10036 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 wxHtmlPrintout::AddFilter(arg1);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048}
10049
10050
c370783e 10051static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10052 PyObject *resultobj = NULL;
d14a1e28
RD
10053 char *kwnames[] = {
10054 NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 wxHtmlPrintout::CleanUpStatics();
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 Py_INCREF(Py_None); resultobj = Py_None;
10066 return resultobj;
10067 fail:
10068 return NULL;
10069}
10070
10071
c370783e 10072static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10073 PyObject *obj;
10074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10075 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
10076 Py_INCREF(obj);
10077 return Py_BuildValue((char *)"");
10078}
c370783e 10079static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10080 PyObject *resultobj = NULL;
d14a1e28
RD
10081 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
10082 wxString *arg1 = (wxString *) &arg1_defvalue ;
10083 wxWindow *arg2 = (wxWindow *) NULL ;
10084 wxHtmlEasyPrinting *result;
b411df4a 10085 bool temp1 = false ;
d14a1e28
RD
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "name",(char *) "parentWindow", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
10093 if (obj0) {
10094 {
10095 arg1 = wxString_in_helper(obj0);
10096 if (arg1 == NULL) SWIG_fail;
b411df4a 10097 temp1 = true;
d14a1e28
RD
10098 }
10099 }
10100 if (obj1) {
36ed4f51
RD
10101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10102 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10103 }
10104 {
0439c23b 10105 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
110da5b0 10110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10111 }
2f4c0a16 10112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
10113 {
10114 if (temp1)
10115 delete arg1;
10116 }
10117 return resultobj;
10118 fail:
10119 {
10120 if (temp1)
10121 delete arg1;
10122 }
10123 return NULL;
10124}
10125
10126
c370783e 10127static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10128 PyObject *resultobj = NULL;
d14a1e28
RD
10129 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 delete arg1;
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 Py_INCREF(Py_None); resultobj = Py_None;
10146 return resultobj;
10147 fail:
10148 return NULL;
10149}
10150
10151
c370783e 10152static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10153 PyObject *resultobj = NULL;
d14a1e28
RD
10154 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10155 wxString *arg2 = 0 ;
b411df4a 10156 bool temp2 = false ;
d14a1e28
RD
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "htmlfile", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10166 {
10167 arg2 = wxString_in_helper(obj1);
10168 if (arg2 == NULL) SWIG_fail;
b411df4a 10169 temp2 = true;
d14a1e28
RD
10170 }
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 (arg1)->PreviewFile((wxString const &)*arg2);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 Py_INCREF(Py_None); resultobj = Py_None;
10179 {
10180 if (temp2)
10181 delete arg2;
10182 }
10183 return resultobj;
10184 fail:
10185 {
10186 if (temp2)
10187 delete arg2;
10188 }
10189 return NULL;
10190}
10191
10192
c370783e 10193static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10194 PyObject *resultobj = NULL;
d14a1e28
RD
10195 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10196 wxString *arg2 = 0 ;
10197 wxString const &arg3_defvalue = wxPyEmptyString ;
10198 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
10199 bool temp2 = false ;
10200 bool temp3 = false ;
d14a1e28
RD
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10203 PyObject * obj2 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10211 {
10212 arg2 = wxString_in_helper(obj1);
10213 if (arg2 == NULL) SWIG_fail;
b411df4a 10214 temp2 = true;
d14a1e28
RD
10215 }
10216 if (obj2) {
10217 {
10218 arg3 = wxString_in_helper(obj2);
10219 if (arg3 == NULL) SWIG_fail;
b411df4a 10220 temp3 = true;
d14a1e28
RD
10221 }
10222 }
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 Py_INCREF(Py_None); resultobj = Py_None;
10231 {
10232 if (temp2)
10233 delete arg2;
10234 }
10235 {
10236 if (temp3)
10237 delete arg3;
10238 }
10239 return resultobj;
10240 fail:
10241 {
10242 if (temp2)
10243 delete arg2;
10244 }
10245 {
10246 if (temp3)
10247 delete arg3;
10248 }
10249 return NULL;
10250}
10251
10252
c370783e 10253static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10254 PyObject *resultobj = NULL;
d14a1e28
RD
10255 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10256 wxString *arg2 = 0 ;
b411df4a 10257 bool temp2 = false ;
d14a1e28
RD
10258 PyObject * obj0 = 0 ;
10259 PyObject * obj1 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "htmlfile", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10267 {
10268 arg2 = wxString_in_helper(obj1);
10269 if (arg2 == NULL) SWIG_fail;
b411df4a 10270 temp2 = true;
d14a1e28
RD
10271 }
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 (arg1)->PrintFile((wxString const &)*arg2);
10275
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 Py_INCREF(Py_None); resultobj = Py_None;
10280 {
10281 if (temp2)
10282 delete arg2;
10283 }
10284 return resultobj;
10285 fail:
10286 {
10287 if (temp2)
10288 delete arg2;
10289 }
10290 return NULL;
10291}
10292
10293
c370783e 10294static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10295 PyObject *resultobj = NULL;
d14a1e28
RD
10296 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10297 wxString *arg2 = 0 ;
10298 wxString const &arg3_defvalue = wxPyEmptyString ;
10299 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
10300 bool temp2 = false ;
10301 bool temp3 = false ;
d14a1e28
RD
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 PyObject * obj2 = 0 ;
10305 char *kwnames[] = {
10306 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10307 };
10308
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10312 {
10313 arg2 = wxString_in_helper(obj1);
10314 if (arg2 == NULL) SWIG_fail;
b411df4a 10315 temp2 = true;
d14a1e28
RD
10316 }
10317 if (obj2) {
10318 {
10319 arg3 = wxString_in_helper(obj2);
10320 if (arg3 == NULL) SWIG_fail;
b411df4a 10321 temp3 = true;
d14a1e28
RD
10322 }
10323 }
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 {
10333 if (temp2)
10334 delete arg2;
10335 }
10336 {
10337 if (temp3)
10338 delete arg3;
10339 }
10340 return resultobj;
10341 fail:
10342 {
10343 if (temp2)
10344 delete arg2;
10345 }
10346 {
10347 if (temp3)
10348 delete arg3;
10349 }
10350 return NULL;
10351}
10352
10353
c370783e 10354static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10355 PyObject *resultobj = NULL;
d14a1e28
RD
10356 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
36ed4f51
RD
10363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->PageSetup();
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376}
10377
10378
c370783e 10379static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10380 PyObject *resultobj = NULL;
d14a1e28
RD
10381 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10382 wxString *arg2 = 0 ;
10383 int arg3 = (int) wxPAGE_ALL ;
b411df4a 10384 bool temp2 = false ;
d14a1e28
RD
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
8edf1c75 10387 PyObject * obj2 = 0 ;
d14a1e28
RD
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "header",(char *) "pg", NULL
10390 };
10391
8edf1c75 10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10395 {
10396 arg2 = wxString_in_helper(obj1);
10397 if (arg2 == NULL) SWIG_fail;
b411df4a 10398 temp2 = true;
d14a1e28 10399 }
8edf1c75 10400 if (obj2) {
36ed4f51 10401 {
32fe5131 10402 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10403 if (SWIG_arg_fail(3)) SWIG_fail;
10404 }
8edf1c75 10405 }
d14a1e28
RD
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 Py_INCREF(Py_None); resultobj = Py_None;
10414 {
10415 if (temp2)
10416 delete arg2;
10417 }
10418 return resultobj;
10419 fail:
10420 {
10421 if (temp2)
10422 delete arg2;
10423 }
10424 return NULL;
10425}
10426
10427
c370783e 10428static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10429 PyObject *resultobj = NULL;
d14a1e28
RD
10430 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10431 wxString *arg2 = 0 ;
10432 int arg3 = (int) wxPAGE_ALL ;
b411df4a 10433 bool temp2 = false ;
d14a1e28
RD
10434 PyObject * obj0 = 0 ;
10435 PyObject * obj1 = 0 ;
8edf1c75 10436 PyObject * obj2 = 0 ;
d14a1e28
RD
10437 char *kwnames[] = {
10438 (char *) "self",(char *) "footer",(char *) "pg", NULL
10439 };
10440
8edf1c75 10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10444 {
10445 arg2 = wxString_in_helper(obj1);
10446 if (arg2 == NULL) SWIG_fail;
b411df4a 10447 temp2 = true;
d14a1e28 10448 }
8edf1c75 10449 if (obj2) {
36ed4f51 10450 {
32fe5131 10451 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10452 if (SWIG_arg_fail(3)) SWIG_fail;
10453 }
8edf1c75 10454 }
d14a1e28
RD
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 Py_INCREF(Py_None); resultobj = Py_None;
10463 {
10464 if (temp2)
10465 delete arg2;
10466 }
10467 return resultobj;
10468 fail:
10469 {
10470 if (temp2)
10471 delete arg2;
10472 }
10473 return NULL;
10474}
10475
10476
c370783e 10477static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10478 PyObject *resultobj = NULL;
d14a1e28
RD
10479 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10480 wxString arg2 ;
10481 wxString arg3 ;
10482 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 PyObject * obj3 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
10494 {
10495 wxString* sptr = wxString_in_helper(obj1);
10496 if (sptr == NULL) SWIG_fail;
10497 arg2 = *sptr;
10498 delete sptr;
10499 }
10500 {
10501 wxString* sptr = wxString_in_helper(obj2);
10502 if (sptr == NULL) SWIG_fail;
10503 arg3 = *sptr;
10504 delete sptr;
10505 }
d14a1e28
RD
10506 if (obj3) {
10507 arg4 = obj3;
10508 }
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 Py_INCREF(Py_None); resultobj = Py_None;
10517 return resultobj;
10518 fail:
10519 return NULL;
10520}
10521
10522
b411df4a 10523static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10524 PyObject *resultobj = NULL;
30ee79f7
RD
10525 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10526 int arg2 = (int) -1 ;
b411df4a
RD
10527 wxString const &arg3_defvalue = wxPyEmptyString ;
10528 wxString *arg3 = (wxString *) &arg3_defvalue ;
10529 wxString const &arg4_defvalue = wxPyEmptyString ;
10530 wxString *arg4 = (wxString *) &arg4_defvalue ;
10531 bool temp3 = false ;
10532 bool temp4 = false ;
30ee79f7
RD
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
b411df4a
RD
10535 PyObject * obj2 = 0 ;
10536 PyObject * obj3 = 0 ;
30ee79f7 10537 char *kwnames[] = {
b411df4a 10538 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10539 };
10540
b411df4a 10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10544 if (obj1) {
36ed4f51 10545 {
32fe5131 10546 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10547 if (SWIG_arg_fail(2)) SWIG_fail;
10548 }
30ee79f7 10549 }
b411df4a
RD
10550 if (obj2) {
10551 {
10552 arg3 = wxString_in_helper(obj2);
10553 if (arg3 == NULL) SWIG_fail;
10554 temp3 = true;
10555 }
10556 }
10557 if (obj3) {
10558 {
10559 arg4 = wxString_in_helper(obj3);
10560 if (arg4 == NULL) SWIG_fail;
10561 temp4 = true;
10562 }
10563 }
30ee79f7
RD
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 10566 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
10572 {
10573 if (temp3)
10574 delete arg3;
10575 }
10576 {
10577 if (temp4)
10578 delete arg4;
10579 }
30ee79f7
RD
10580 return resultobj;
10581 fail:
b411df4a
RD
10582 {
10583 if (temp3)
10584 delete arg3;
10585 }
10586 {
10587 if (temp4)
10588 delete arg4;
10589 }
30ee79f7
RD
10590 return NULL;
10591}
10592
10593
c370783e 10594static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10595 PyObject *resultobj = NULL;
d14a1e28
RD
10596 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10597 wxPrintData *result;
10598 PyObject * obj0 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (wxPrintData *)(arg1)->GetPrintData();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
2f4c0a16 10613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10614 return resultobj;
10615 fail:
10616 return NULL;
10617}
10618
10619
c370783e 10620static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10621 PyObject *resultobj = NULL;
d14a1e28
RD
10622 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10623 wxPageSetupDialogData *result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
2f4c0a16 10639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10640 return resultobj;
10641 fail:
10642 return NULL;
10643}
10644
10645
c370783e 10646static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10647 PyObject *obj;
10648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10650 Py_INCREF(obj);
10651 return Py_BuildValue((char *)"");
10652}
c370783e 10653static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10654 PyObject *resultobj = NULL;
d14a1e28
RD
10655 wxString *arg1 = 0 ;
10656 wxString *arg2 = 0 ;
10657 wxString *arg3 = 0 ;
10658 wxString *arg4 = 0 ;
10659 wxHtmlBookRecord *result;
b411df4a
RD
10660 bool temp1 = false ;
10661 bool temp2 = false ;
10662 bool temp3 = false ;
10663 bool temp4 = false ;
d14a1e28
RD
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 PyObject * obj2 = 0 ;
10667 PyObject * obj3 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10673 {
10674 arg1 = wxString_in_helper(obj0);
10675 if (arg1 == NULL) SWIG_fail;
b411df4a 10676 temp1 = true;
d14a1e28
RD
10677 }
10678 {
10679 arg2 = wxString_in_helper(obj1);
10680 if (arg2 == NULL) SWIG_fail;
b411df4a 10681 temp2 = true;
d14a1e28
RD
10682 }
10683 {
10684 arg3 = wxString_in_helper(obj2);
10685 if (arg3 == NULL) SWIG_fail;
b411df4a 10686 temp3 = true;
d14a1e28
RD
10687 }
10688 {
10689 arg4 = wxString_in_helper(obj3);
10690 if (arg4 == NULL) SWIG_fail;
b411df4a 10691 temp4 = true;
d14a1e28
RD
10692 }
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
2f4c0a16 10700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10701 {
10702 if (temp1)
10703 delete arg1;
10704 }
10705 {
10706 if (temp2)
10707 delete arg2;
10708 }
10709 {
10710 if (temp3)
10711 delete arg3;
10712 }
10713 {
10714 if (temp4)
10715 delete arg4;
10716 }
10717 return resultobj;
10718 fail:
10719 {
10720 if (temp1)
10721 delete arg1;
10722 }
10723 {
10724 if (temp2)
10725 delete arg2;
10726 }
10727 {
10728 if (temp3)
10729 delete arg3;
10730 }
10731 {
10732 if (temp4)
10733 delete arg4;
10734 }
10735 return NULL;
10736}
10737
10738
c370783e 10739static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10740 PyObject *resultobj = NULL;
d14a1e28
RD
10741 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10742 wxString result;
10743 PyObject * obj0 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
10749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (arg1)->GetBookFile();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 {
10759#if wxUSE_UNICODE
10760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10761#else
10762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10763#endif
10764 }
10765 return resultobj;
10766 fail:
10767 return NULL;
10768}
10769
10770
c370783e 10771static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10772 PyObject *resultobj = NULL;
d14a1e28
RD
10773 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10774 wxString result;
10775 PyObject * obj0 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "self", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 result = (arg1)->GetTitle();
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 {
10791#if wxUSE_UNICODE
10792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10793#else
10794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10795#endif
10796 }
10797 return resultobj;
10798 fail:
10799 return NULL;
10800}
10801
10802
c370783e 10803static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10804 PyObject *resultobj = NULL;
d14a1e28
RD
10805 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10806 wxString result;
10807 PyObject * obj0 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
10813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (arg1)->GetStart();
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 {
10823#if wxUSE_UNICODE
10824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10825#else
10826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10827#endif
10828 }
10829 return resultobj;
10830 fail:
10831 return NULL;
10832}
10833
10834
c370783e 10835static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10836 PyObject *resultobj = NULL;
d14a1e28
RD
10837 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10838 wxString result;
10839 PyObject * obj0 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
10845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = (arg1)->GetBasePath();
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 {
10855#if wxUSE_UNICODE
10856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10857#else
10858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10859#endif
10860 }
10861 return resultobj;
10862 fail:
10863 return NULL;
10864}
10865
10866
c370783e 10867static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10868 PyObject *resultobj = NULL;
d14a1e28
RD
10869 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10870 int arg2 ;
10871 int arg3 ;
10872 PyObject * obj0 = 0 ;
8edf1c75
RD
10873 PyObject * obj1 = 0 ;
10874 PyObject * obj2 = 0 ;
d14a1e28
RD
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "start",(char *) "end", NULL
10877 };
10878
8edf1c75 10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail;
10882 {
32fe5131 10883 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10884 if (SWIG_arg_fail(2)) SWIG_fail;
10885 }
10886 {
32fe5131 10887 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10888 if (SWIG_arg_fail(3)) SWIG_fail;
10889 }
d14a1e28
RD
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->SetContentsRange(arg2,arg3);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 return resultobj;
10899 fail:
10900 return NULL;
10901}
10902
10903
c370783e 10904static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10905 PyObject *resultobj = NULL;
d14a1e28
RD
10906 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10907 int result;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
10914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (int)(arg1)->GetContentsStart();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
36ed4f51 10923 {
32fe5131 10924 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10925 }
d14a1e28
RD
10926 return resultobj;
10927 fail:
10928 return NULL;
10929}
10930
10931
c370783e 10932static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10933 PyObject *resultobj = NULL;
d14a1e28
RD
10934 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10935 int result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
10942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (int)(arg1)->GetContentsEnd();
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
36ed4f51 10951 {
32fe5131 10952 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10953 }
d14a1e28
RD
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
c370783e 10960static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10961 PyObject *resultobj = NULL;
d14a1e28
RD
10962 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10963 wxString *arg2 = 0 ;
b411df4a 10964 bool temp2 = false ;
d14a1e28
RD
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self",(char *) "title", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10974 {
10975 arg2 = wxString_in_helper(obj1);
10976 if (arg2 == NULL) SWIG_fail;
b411df4a 10977 temp2 = true;
d14a1e28
RD
10978 }
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 (arg1)->SetTitle((wxString const &)*arg2);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 Py_INCREF(Py_None); resultobj = Py_None;
10987 {
10988 if (temp2)
10989 delete arg2;
10990 }
10991 return resultobj;
10992 fail:
10993 {
10994 if (temp2)
10995 delete arg2;
10996 }
10997 return NULL;
10998}
10999
11000
c370783e 11001static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11002 PyObject *resultobj = NULL;
d14a1e28
RD
11003 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
11004 wxString *arg2 = 0 ;
b411df4a 11005 bool temp2 = false ;
d14a1e28
RD
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "path", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11015 {
11016 arg2 = wxString_in_helper(obj1);
11017 if (arg2 == NULL) SWIG_fail;
b411df4a 11018 temp2 = true;
d14a1e28
RD
11019 }
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 (arg1)->SetBasePath((wxString const &)*arg2);
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 Py_INCREF(Py_None); resultobj = Py_None;
11028 {
11029 if (temp2)
11030 delete arg2;
11031 }
11032 return resultobj;
11033 fail:
11034 {
11035 if (temp2)
11036 delete arg2;
11037 }
11038 return NULL;
11039}
11040
11041
c370783e 11042static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11043 PyObject *resultobj = NULL;
d14a1e28
RD
11044 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
11045 wxString *arg2 = 0 ;
b411df4a 11046 bool temp2 = false ;
d14a1e28
RD
11047 PyObject * obj0 = 0 ;
11048 PyObject * obj1 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self",(char *) "start", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11056 {
11057 arg2 = wxString_in_helper(obj1);
11058 if (arg2 == NULL) SWIG_fail;
b411df4a 11059 temp2 = true;
d14a1e28
RD
11060 }
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->SetStart((wxString const &)*arg2);
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 {
11070 if (temp2)
11071 delete arg2;
11072 }
11073 return resultobj;
11074 fail:
11075 {
11076 if (temp2)
11077 delete arg2;
11078 }
11079 return NULL;
11080}
11081
11082
c370783e 11083static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11084 PyObject *resultobj = NULL;
d14a1e28
RD
11085 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
11086 wxString *arg2 = 0 ;
11087 wxString result;
b411df4a 11088 bool temp2 = false ;
d14a1e28
RD
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "page", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
11097 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11098 {
11099 arg2 = wxString_in_helper(obj1);
11100 if (arg2 == NULL) SWIG_fail;
b411df4a 11101 temp2 = true;
d14a1e28
RD
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 {
11111#if wxUSE_UNICODE
11112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11113#else
11114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11115#endif
11116 }
11117 {
11118 if (temp2)
11119 delete arg2;
11120 }
11121 return resultobj;
11122 fail:
11123 {
11124 if (temp2)
11125 delete arg2;
11126 }
11127 return NULL;
11128}
11129
11130
c370783e 11131static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11132 PyObject *obj;
11133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
11135 Py_INCREF(obj);
11136 return Py_BuildValue((char *)"");
11137}
c370783e 11138static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11139 PyObject *resultobj = NULL;
d14a1e28
RD
11140 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11141 bool result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
36ed4f51
RD
11148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (bool)(arg1)->Search();
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
fbc46b20
RD
11157 {
11158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11159 }
d14a1e28
RD
11160 return resultobj;
11161 fail:
11162 return NULL;
11163}
11164
11165
c370783e 11166static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11167 PyObject *resultobj = NULL;
d14a1e28
RD
11168 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11169 bool result;
11170 PyObject * obj0 = 0 ;
11171 char *kwnames[] = {
11172 (char *) "self", NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
11176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11177 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 result = (bool)(arg1)->IsActive();
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
fbc46b20
RD
11185 {
11186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11187 }
d14a1e28
RD
11188 return resultobj;
11189 fail:
11190 return NULL;
11191}
11192
11193
c370783e 11194static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11195 PyObject *resultobj = NULL;
d14a1e28
RD
11196 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11197 int result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
11204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (int)(arg1)->GetCurIndex();
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
36ed4f51 11213 {
32fe5131 11214 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11215 }
d14a1e28
RD
11216 return resultobj;
11217 fail:
11218 return NULL;
11219}
11220
11221
c370783e 11222static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11223 PyObject *resultobj = NULL;
d14a1e28
RD
11224 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11225 int result;
11226 PyObject * obj0 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
11232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (int)(arg1)->GetMaxIndex();
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
36ed4f51 11241 {
32fe5131 11242 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11243 }
d14a1e28
RD
11244 return resultobj;
11245 fail:
11246 return NULL;
11247}
11248
11249
c370783e 11250static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11251 PyObject *resultobj = NULL;
d14a1e28
RD
11252 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11253 wxString *result;
11254 PyObject * obj0 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
11260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 {
11265 wxString const &_result_ref = (arg1)->GetName();
11266 result = (wxString *) &_result_ref;
11267 }
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
0f774bef
RD
11272 {
11273#if wxUSE_UNICODE
11274 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11275#else
11276 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11277#endif
11278 }
d14a1e28
RD
11279 return resultobj;
11280 fail:
11281 return NULL;
11282}
11283
11284
c370783e 11285static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11286 PyObject *obj;
11287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11289 Py_INCREF(obj);
11290 return Py_BuildValue((char *)"");
11291}
c370783e 11292static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11293 PyObject *resultobj = NULL;
d14a1e28
RD
11294 wxHtmlHelpData *result;
11295 char *kwnames[] = {
11296 NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
2f4c0a16 11307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
11308 return resultobj;
11309 fail:
11310 return NULL;
11311}
11312
11313
c370783e 11314static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11315 PyObject *resultobj = NULL;
d14a1e28
RD
11316 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11317 PyObject * obj0 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
36ed4f51
RD
11323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 delete arg1;
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 Py_INCREF(Py_None); resultobj = Py_None;
11333 return resultobj;
11334 fail:
11335 return NULL;
11336}
11337
11338
c370783e 11339static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11340 PyObject *resultobj = NULL;
d14a1e28
RD
11341 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11342 wxString *arg2 = 0 ;
b411df4a 11343 bool temp2 = false ;
d14a1e28
RD
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self",(char *) "path", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11353 {
11354 arg2 = wxString_in_helper(obj1);
11355 if (arg2 == NULL) SWIG_fail;
b411df4a 11356 temp2 = true;
d14a1e28
RD
11357 }
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 (arg1)->SetTempDir((wxString const &)*arg2);
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 Py_INCREF(Py_None); resultobj = Py_None;
11366 {
11367 if (temp2)
11368 delete arg2;
11369 }
11370 return resultobj;
11371 fail:
11372 {
11373 if (temp2)
11374 delete arg2;
11375 }
11376 return NULL;
11377}
11378
11379
c370783e 11380static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11381 PyObject *resultobj = NULL;
d14a1e28
RD
11382 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11383 wxString *arg2 = 0 ;
11384 bool result;
b411df4a 11385 bool temp2 = false ;
d14a1e28
RD
11386 PyObject * obj0 = 0 ;
11387 PyObject * obj1 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self",(char *) "book", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11395 {
11396 arg2 = wxString_in_helper(obj1);
11397 if (arg2 == NULL) SWIG_fail;
b411df4a 11398 temp2 = true;
d14a1e28
RD
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
fbc46b20
RD
11407 {
11408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11409 }
d14a1e28
RD
11410 {
11411 if (temp2)
11412 delete arg2;
11413 }
11414 return resultobj;
11415 fail:
11416 {
11417 if (temp2)
11418 delete arg2;
11419 }
11420 return NULL;
11421}
11422
11423
c370783e 11424static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11425 PyObject *resultobj = NULL;
d14a1e28
RD
11426 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11427 wxString *arg2 = 0 ;
11428 wxString result;
b411df4a 11429 bool temp2 = false ;
d14a1e28
RD
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "page", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11439 {
11440 arg2 = wxString_in_helper(obj1);
11441 if (arg2 == NULL) SWIG_fail;
b411df4a 11442 temp2 = true;
d14a1e28
RD
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (arg1)->FindPageByName((wxString const &)*arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452#if wxUSE_UNICODE
11453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11454#else
11455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11456#endif
11457 }
11458 {
11459 if (temp2)
11460 delete arg2;
11461 }
11462 return resultobj;
11463 fail:
11464 {
11465 if (temp2)
11466 delete arg2;
11467 }
11468 return NULL;
11469}
11470
11471
c370783e 11472static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11473 PyObject *resultobj = NULL;
d14a1e28
RD
11474 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11475 int arg2 ;
11476 wxString result;
11477 PyObject * obj0 = 0 ;
8edf1c75 11478 PyObject * obj1 = 0 ;
d14a1e28
RD
11479 char *kwnames[] = {
11480 (char *) "self",(char *) "id", NULL
11481 };
11482
8edf1c75 11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail;
11486 {
32fe5131 11487 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11488 if (SWIG_arg_fail(2)) SWIG_fail;
11489 }
d14a1e28
RD
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (arg1)->FindPageById(arg2);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 {
11498#if wxUSE_UNICODE
11499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11500#else
11501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11502#endif
11503 }
11504 return resultobj;
11505 fail:
11506 return NULL;
11507}
11508
11509
c370783e 11510static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11511 PyObject *resultobj = NULL;
d14a1e28
RD
11512 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11513 wxHtmlBookRecArray *result;
11514 PyObject * obj0 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
36ed4f51
RD
11520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 {
11525 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11526 result = (wxHtmlBookRecArray *) &_result_ref;
11527 }
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
2f4c0a16 11532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11533 return resultobj;
11534 fail:
11535 return NULL;
11536}
11537
11538
c370783e 11539static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11540 PyObject *obj;
11541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11542 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11543 Py_INCREF(obj);
11544 return Py_BuildValue((char *)"");
11545}
32fe5131
RD
11546static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj = NULL;
d14a1e28
RD
11548 wxWindow *arg1 = (wxWindow *) 0 ;
11549 int arg2 ;
32fe5131
RD
11550 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11551 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11552 wxSize const &arg4_defvalue = wxDefaultSize ;
11553 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11554 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11555 int arg6 = (int) wxHF_DEFAULT_STYLE ;
11556 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
11557 wxHtmlHelpWindow *result;
11558 wxPoint temp3 ;
11559 wxSize temp4 ;
d14a1e28 11560 PyObject * obj0 = 0 ;
8edf1c75 11561 PyObject * obj1 = 0 ;
d14a1e28 11562 PyObject * obj2 = 0 ;
8edf1c75 11563 PyObject * obj3 = 0 ;
d14a1e28 11564 PyObject * obj4 = 0 ;
32fe5131
RD
11565 PyObject * obj5 = 0 ;
11566 PyObject * obj6 = 0 ;
d14a1e28 11567 char *kwnames[] = {
32fe5131 11568 (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
d14a1e28
RD
11569 };
11570
32fe5131 11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11573 if (SWIG_arg_fail(1)) SWIG_fail;
11574 {
32fe5131 11575 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11576 if (SWIG_arg_fail(2)) SWIG_fail;
11577 }
d14a1e28
RD
11578 if (obj2) {
11579 {
32fe5131
RD
11580 arg3 = &temp3;
11581 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11582 }
11583 }
8edf1c75 11584 if (obj3) {
36ed4f51 11585 {
32fe5131
RD
11586 arg4 = &temp4;
11587 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 11588 }
8edf1c75 11589 }
d14a1e28 11590 if (obj4) {
32fe5131
RD
11591 {
11592 arg5 = static_cast<int >(SWIG_As_int(obj4));
11593 if (SWIG_arg_fail(5)) SWIG_fail;
11594 }
11595 }
11596 if (obj5) {
11597 {
11598 arg6 = static_cast<int >(SWIG_As_int(obj5));
11599 if (SWIG_arg_fail(6)) SWIG_fail;
11600 }
11601 }
11602 if (obj6) {
11603 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11604 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
11605 }
11606 {
0439c23b 11607 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11609 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
11610
11611 wxPyEndAllowThreads(__tstate);
110da5b0 11612 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11613 }
32fe5131
RD
11614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
11621static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj = NULL;
11623 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
11624 wxHtmlHelpWindow *result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "data", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail;
11631 if (obj0) {
11632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail;
11634 }
11635 {
11636 if (!wxPyCheckForApp()) SWIG_fail;
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11642 }
32fe5131 11643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
d14a1e28
RD
11644 return resultobj;
11645 fail:
32fe5131
RD
11646 return NULL;
11647}
11648
11649
11650static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj = NULL;
11652 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11653 wxWindow *arg2 = (wxWindow *) 0 ;
11654 int arg3 ;
11655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11657 wxSize const &arg5_defvalue = wxDefaultSize ;
11658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11659 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11660 int arg7 = (int) wxHF_DEFAULT_STYLE ;
11661 bool result;
11662 wxPoint temp4 ;
11663 wxSize temp5 ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11666 PyObject * obj2 = 0 ;
11667 PyObject * obj3 = 0 ;
11668 PyObject * obj4 = 0 ;
11669 PyObject * obj5 = 0 ;
11670 PyObject * obj6 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail;
11678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11679 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11680 {
32fe5131
RD
11681 arg3 = static_cast<int >(SWIG_As_int(obj2));
11682 if (SWIG_arg_fail(3)) SWIG_fail;
11683 }
11684 if (obj3) {
11685 {
11686 arg4 = &temp4;
11687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11688 }
11689 }
11690 if (obj4) {
11691 {
11692 arg5 = &temp5;
11693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11694 }
11695 }
11696 if (obj5) {
11697 {
11698 arg6 = static_cast<int >(SWIG_As_int(obj5));
11699 if (SWIG_arg_fail(6)) SWIG_fail;
11700 }
11701 }
11702 if (obj6) {
11703 {
11704 arg7 = static_cast<int >(SWIG_As_int(obj6));
11705 if (SWIG_arg_fail(7)) SWIG_fail;
11706 }
11707 }
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 11717 }
32fe5131
RD
11718 return resultobj;
11719 fail:
d14a1e28
RD
11720 return NULL;
11721}
11722
11723
32fe5131
RD
11724static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj = NULL;
11726 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28
RD
11727 wxHtmlHelpData *result;
11728 PyObject * obj0 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self", NULL
11731 };
11732
32fe5131
RD
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail;
11734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 result = (wxHtmlHelpData *)(arg1)->GetData();
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
2f4c0a16 11743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11744 return resultobj;
11745 fail:
11746 return NULL;
11747}
11748
11749
32fe5131
RD
11750static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj = NULL;
11752 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11753 wxHtmlHelpController *result;
d14a1e28 11754 PyObject * obj0 = 0 ;
d14a1e28 11755 char *kwnames[] = {
32fe5131 11756 (char *) "self", NULL
d14a1e28
RD
11757 };
11758
32fe5131
RD
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail;
11760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11761 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11762 {
32fe5131
RD
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11768 }
32fe5131
RD
11769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
11770 return resultobj;
11771 fail:
11772 return NULL;
11773}
11774
11775
11776static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj = NULL;
11778 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11779 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self",(char *) "controller", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail;
11787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11788 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 11789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32fe5131 11790 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11793 (arg1)->SetController(arg2);
d14a1e28
RD
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11799 return resultobj;
11800 fail:
d14a1e28
RD
11801 return NULL;
11802}
11803
11804
32fe5131
RD
11805static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj = NULL;
11807 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11808 wxString *arg2 = 0 ;
32fe5131 11809 bool result;
b411df4a 11810 bool temp2 = false ;
d14a1e28
RD
11811 PyObject * obj0 = 0 ;
11812 PyObject * obj1 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self",(char *) "x", NULL
11815 };
11816
32fe5131
RD
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail;
11818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11819 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11820 {
11821 arg2 = wxString_in_helper(obj1);
11822 if (arg2 == NULL) SWIG_fail;
b411df4a 11823 temp2 = true;
d14a1e28
RD
11824 }
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11827 result = (bool)(arg1)->Display((wxString const &)*arg2);
d14a1e28
RD
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
32fe5131
RD
11832 {
11833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11834 }
d14a1e28
RD
11835 {
11836 if (temp2)
11837 delete arg2;
11838 }
11839 return resultobj;
11840 fail:
11841 {
11842 if (temp2)
11843 delete arg2;
11844 }
11845 return NULL;
11846}
11847
11848
32fe5131
RD
11849static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj = NULL;
11851 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11852 int arg2 ;
32fe5131 11853 bool result;
d14a1e28 11854 PyObject * obj0 = 0 ;
8edf1c75 11855 PyObject * obj1 = 0 ;
d14a1e28
RD
11856 char *kwnames[] = {
11857 (char *) "self",(char *) "id", NULL
11858 };
11859
32fe5131
RD
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail;
11861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
11862 if (SWIG_arg_fail(1)) SWIG_fail;
11863 {
32fe5131 11864 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11865 if (SWIG_arg_fail(2)) SWIG_fail;
11866 }
d14a1e28
RD
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11869 result = (bool)(arg1)->Display(arg2);
d14a1e28
RD
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
32fe5131
RD
11874 {
11875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11876 }
d14a1e28
RD
11877 return resultobj;
11878 fail:
11879 return NULL;
11880}
11881
11882
32fe5131
RD
11883static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj = NULL;
11885 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11886 bool result;
d14a1e28
RD
11887 PyObject * obj0 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "self", NULL
11890 };
11891
32fe5131
RD
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail;
11893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11894 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11897 result = (bool)(arg1)->DisplayContents();
d14a1e28
RD
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
32fe5131
RD
11902 {
11903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11904 }
d14a1e28
RD
11905 return resultobj;
11906 fail:
11907 return NULL;
11908}
11909
11910
32fe5131
RD
11911static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj = NULL;
11913 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11914 bool result;
d14a1e28
RD
11915 PyObject * obj0 = 0 ;
11916 char *kwnames[] = {
11917 (char *) "self", NULL
11918 };
11919
32fe5131
RD
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail;
11921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11922 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11925 result = (bool)(arg1)->DisplayIndex();
d14a1e28
RD
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
32fe5131
RD
11930 {
11931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11932 }
d14a1e28
RD
11933 return resultobj;
11934 fail:
11935 return NULL;
11936}
11937
11938
32fe5131
RD
11939static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = NULL;
11941 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11942 wxString *arg2 = 0 ;
32fe5131 11943 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
d14a1e28 11944 bool result;
b411df4a 11945 bool temp2 = false ;
d14a1e28
RD
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
32fe5131 11948 PyObject * obj2 = 0 ;
d14a1e28 11949 char *kwnames[] = {
32fe5131 11950 (char *) "self",(char *) "keyword",(char *) "mode", NULL
d14a1e28
RD
11951 };
11952
32fe5131
RD
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
11954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11955 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11956 {
11957 arg2 = wxString_in_helper(obj1);
11958 if (arg2 == NULL) SWIG_fail;
b411df4a 11959 temp2 = true;
d14a1e28 11960 }
32fe5131
RD
11961 if (obj2) {
11962 {
11963 wxHelpSearchMode * argp;
11964 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
11965 if (SWIG_arg_fail(3)) SWIG_fail;
11966 if (argp == NULL) {
11967 SWIG_null_ref("wxHelpSearchMode");
11968 }
11969 if (SWIG_arg_fail(3)) SWIG_fail;
11970 arg3 = *argp;
11971 }
11972 }
d14a1e28
RD
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11975 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
d14a1e28
RD
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
fbc46b20
RD
11980 {
11981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11982 }
d14a1e28
RD
11983 {
11984 if (temp2)
11985 delete arg2;
11986 }
11987 return resultobj;
11988 fail:
11989 {
11990 if (temp2)
11991 delete arg2;
11992 }
11993 return NULL;
11994}
11995
11996
32fe5131
RD
11997static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj = NULL;
11999 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 12000 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
32fe5131 12001 wxString const &arg3_defvalue = wxEmptyString ;
d14a1e28 12002 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 12003 bool temp3 = false ;
d14a1e28
RD
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 PyObject * obj2 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12009 };
12010
32fe5131
RD
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
12012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
12013 if (SWIG_arg_fail(1)) SWIG_fail;
12014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12015 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12016 if (obj2) {
12017 {
12018 arg3 = wxString_in_helper(obj2);
12019 if (arg3 == NULL) SWIG_fail;
b411df4a 12020 temp3 = true;
d14a1e28
RD
12021 }
12022 }
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 Py_INCREF(Py_None); resultobj = Py_None;
12031 {
12032 if (temp3)
12033 delete arg3;
12034 }
12035 return resultobj;
12036 fail:
12037 {
12038 if (temp3)
12039 delete arg3;
12040 }
12041 return NULL;
12042}
12043
12044
32fe5131
RD
12045static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
12046 PyObject *resultobj = NULL;
12047 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 12048 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
32fe5131
RD
12049 wxString const &arg3_defvalue = wxEmptyString ;
12050 wxString *arg3 = (wxString *) &arg3_defvalue ;
12051 bool temp3 = false ;
d14a1e28
RD
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 PyObject * obj2 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self",(char *) "cfg",(char *) "path", NULL
12057 };
12058
32fe5131
RD
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
12061 if (SWIG_arg_fail(1)) SWIG_fail;
12062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12063 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12064 if (obj2) {
423f194a 12065 {
32fe5131
RD
12066 arg3 = wxString_in_helper(obj2);
12067 if (arg3 == NULL) SWIG_fail;
12068 temp3 = true;
423f194a 12069 }
d14a1e28
RD
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12073 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
d14a1e28
RD
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
32fe5131
RD
12079 {
12080 if (temp3)
12081 delete arg3;
12082 }
d14a1e28
RD
12083 return resultobj;
12084 fail:
32fe5131
RD
12085 {
12086 if (temp3)
12087 delete arg3;
12088 }
d14a1e28
RD
12089 return NULL;
12090}
12091
12092
32fe5131
RD
12093static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj = NULL;
12095 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 12096 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
32fe5131
RD
12097 wxString const &arg3_defvalue = wxEmptyString ;
12098 wxString *arg3 = (wxString *) &arg3_defvalue ;
12099 bool temp3 = false ;
d14a1e28
RD
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 PyObject * obj2 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self",(char *) "cfg",(char *) "path", NULL
12105 };
12106
32fe5131
RD
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
12109 if (SWIG_arg_fail(1)) SWIG_fail;
12110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12111 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12112 if (obj2) {
423f194a 12113 {
32fe5131
RD
12114 arg3 = wxString_in_helper(obj2);
12115 if (arg3 == NULL) SWIG_fail;
12116 temp3 = true;
423f194a 12117 }
d14a1e28
RD
12118 }
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12121 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
d14a1e28
RD
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
32fe5131
RD
12127 {
12128 if (temp3)
12129 delete arg3;
12130 }
d14a1e28
RD
12131 return resultobj;
12132 fail:
32fe5131
RD
12133 {
12134 if (temp3)
12135 delete arg3;
12136 }
d14a1e28
RD
12137 return NULL;
12138}
12139
12140
32fe5131
RD
12141static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj = NULL;
12143 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
8edf1c75 12144 PyObject * obj0 = 0 ;
d14a1e28 12145 char *kwnames[] = {
32fe5131 12146 (char *) "self", NULL
d14a1e28
RD
12147 };
12148
32fe5131
RD
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail;
12150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12154 (arg1)->NotifyPageChanged();
d14a1e28
RD
12155
12156 wxPyEndAllowThreads(__tstate);
110da5b0 12157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12158 }
32fe5131 12159 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
12160 return resultobj;
12161 fail:
12162 return NULL;
12163}
12164
12165
32fe5131
RD
12166static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj = NULL;
12168 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28
RD
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
32fe5131
RD
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12179 (arg1)->RefreshLists();
d14a1e28
RD
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 Py_INCREF(Py_None); resultobj = Py_None;
12185 return resultobj;
12186 fail:
12187 return NULL;
12188}
12189
12190
32fe5131
RD
12191static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj = NULL;
12193 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12194 wxHtmlWindow *result;
d14a1e28 12195 PyObject * obj0 = 0 ;
d14a1e28 12196 char *kwnames[] = {
32fe5131 12197 (char *) "self", NULL
d14a1e28
RD
12198 };
12199
32fe5131
RD
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail;
12201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12202 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12205 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
d14a1e28
RD
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
32fe5131 12210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0);
d14a1e28
RD
12211 return resultobj;
12212 fail:
d14a1e28
RD
12213 return NULL;
12214}
12215
12216
32fe5131
RD
12217static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj = NULL;
12219 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12220 wxSplitterWindow *result;
d14a1e28 12221 PyObject * obj0 = 0 ;
d14a1e28 12222 char *kwnames[] = {
32fe5131 12223 (char *) "self", NULL
d14a1e28
RD
12224 };
12225
32fe5131
RD
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail;
12227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12228 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12231 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
d14a1e28
RD
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
32fe5131 12236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0);
d14a1e28
RD
12237 return resultobj;
12238 fail:
d14a1e28
RD
12239 return NULL;
12240}
12241
12242
32fe5131
RD
12243static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj = NULL;
12245 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12246 wxToolBar *result;
d14a1e28 12247 PyObject * obj0 = 0 ;
d14a1e28 12248 char *kwnames[] = {
32fe5131 12249 (char *) "self", NULL
d14a1e28
RD
12250 };
12251
32fe5131
RD
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail;
12253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12254 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12257 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
d14a1e28
RD
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
fbc46b20 12262 {
7e08d4ef 12263 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
12264 }
12265 return resultobj;
12266 fail:
d14a1e28
RD
12267 return NULL;
12268}
12269
12270
32fe5131
RD
12271static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj = NULL;
12273 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12274 wxHtmlHelpFrameCfg *result;
d14a1e28 12275 PyObject * obj0 = 0 ;
d14a1e28 12276 char *kwnames[] = {
32fe5131 12277 (char *) "self", NULL
d14a1e28
RD
12278 };
12279
32fe5131
RD
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail;
12281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12282 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131
RD
12285 {
12286 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
12287 result = (wxHtmlHelpFrameCfg *) &_result_ref;
12288 }
d14a1e28
RD
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
32fe5131 12293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0);
d14a1e28
RD
12294 return resultobj;
12295 fail:
d14a1e28
RD
12296 return NULL;
12297}
12298
12299
32fe5131
RD
12300static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj = NULL;
12302 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12303 wxTreeCtrl *result;
d14a1e28
RD
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
32fe5131 12306 (char *) "self", NULL
d14a1e28
RD
12307 };
12308
32fe5131
RD
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
12310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12314 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
d14a1e28
RD
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
32fe5131 12319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
d14a1e28
RD
12320 return resultobj;
12321 fail:
12322 return NULL;
12323}
12324
12325
32fe5131
RD
12326static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) {
12327 PyObject *obj;
12328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12329 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj);
12330 Py_INCREF(obj);
12331 return Py_BuildValue((char *)"");
12332}
12333static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj = NULL;
12335 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12336 int arg2 = (int) 0 ;
12337 wxHtmlWindowEvent *result;
d14a1e28 12338 PyObject * obj0 = 0 ;
32fe5131 12339 PyObject * obj1 = 0 ;
d14a1e28 12340 char *kwnames[] = {
32fe5131 12341 (char *) "commandType",(char *) "id", NULL
d14a1e28
RD
12342 };
12343
32fe5131
RD
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail;
12345 if (obj0) {
12346 {
12347 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
12348 if (SWIG_arg_fail(1)) SWIG_fail;
12349 }
12350 }
12351 if (obj1) {
12352 {
12353 arg2 = static_cast<int >(SWIG_As_int(obj1));
12354 if (SWIG_arg_fail(2)) SWIG_fail;
12355 }
12356 }
d14a1e28
RD
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12359 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
d14a1e28
RD
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
32fe5131 12364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1);
d14a1e28
RD
12365 return resultobj;
12366 fail:
12367 return NULL;
12368}
12369
12370
32fe5131
RD
12371static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj = NULL;
12373 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12374 wxString *arg2 = 0 ;
12375 bool temp2 = false ;
d14a1e28 12376 PyObject * obj0 = 0 ;
32fe5131 12377 PyObject * obj1 = 0 ;
d14a1e28 12378 char *kwnames[] = {
32fe5131 12379 (char *) "self",(char *) "url", NULL
d14a1e28
RD
12380 };
12381
32fe5131
RD
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
12383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12384 if (SWIG_arg_fail(1)) SWIG_fail;
32fe5131
RD
12385 {
12386 arg2 = wxString_in_helper(obj1);
12387 if (arg2 == NULL) SWIG_fail;
12388 temp2 = true;
12389 }
d14a1e28
RD
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12392 (arg1)->SetURL((wxString const &)*arg2);
d14a1e28
RD
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 Py_INCREF(Py_None); resultobj = Py_None;
32fe5131
RD
12398 {
12399 if (temp2)
12400 delete arg2;
12401 }
d14a1e28
RD
12402 return resultobj;
12403 fail:
32fe5131
RD
12404 {
12405 if (temp2)
12406 delete arg2;
12407 }
d14a1e28
RD
12408 return NULL;
12409}
12410
12411
32fe5131
RD
12412static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = NULL;
12414 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12415 wxString *result;
d14a1e28 12416 PyObject * obj0 = 0 ;
d14a1e28 12417 char *kwnames[] = {
32fe5131 12418 (char *) "self", NULL
d14a1e28
RD
12419 };
12420
32fe5131
RD
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail;
12422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131
RD
12426 {
12427 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
12428 result = (wxString *) &_result_ref;
12429 }
d14a1e28
RD
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
fbc46b20 12434 {
32fe5131
RD
12435#if wxUSE_UNICODE
12436 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12437#else
12438 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12439#endif
d14a1e28
RD
12440 }
12441 return resultobj;
12442 fail:
d14a1e28
RD
12443 return NULL;
12444}
12445
12446
32fe5131
RD
12447static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) {
12448 PyObject *obj;
12449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12450 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj);
12451 Py_INCREF(obj);
12452 return Py_BuildValue((char *)"");
12453}
12454static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12455 PyObject *resultobj = NULL;
12456 wxWindow *arg1 = (wxWindow *) 0 ;
12457 int arg2 ;
d14a1e28
RD
12458 wxString const &arg3_defvalue = wxPyEmptyString ;
12459 wxString *arg3 = (wxString *) &arg3_defvalue ;
32fe5131
RD
12460 int arg4 = (int) wxHF_DEFAULTSTYLE ;
12461 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12462 wxHtmlHelpFrame *result;
b411df4a 12463 bool temp3 = false ;
d14a1e28
RD
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 PyObject * obj2 = 0 ;
32fe5131
RD
12467 PyObject * obj3 = 0 ;
12468 PyObject * obj4 = 0 ;
d14a1e28 12469 char *kwnames[] = {
32fe5131 12470 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
12471 };
12472
32fe5131
RD
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12475 if (SWIG_arg_fail(1)) SWIG_fail;
32fe5131
RD
12476 {
12477 arg2 = static_cast<int >(SWIG_As_int(obj1));
12478 if (SWIG_arg_fail(2)) SWIG_fail;
12479 }
d14a1e28
RD
12480 if (obj2) {
12481 {
12482 arg3 = wxString_in_helper(obj2);
12483 if (arg3 == NULL) SWIG_fail;
b411df4a 12484 temp3 = true;
d14a1e28
RD
12485 }
12486 }
32fe5131
RD
12487 if (obj3) {
12488 {
12489 arg4 = static_cast<int >(SWIG_As_int(obj3));
12490 if (SWIG_arg_fail(4)) SWIG_fail;
12491 }
12492 }
12493 if (obj4) {
12494 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12495 if (SWIG_arg_fail(5)) SWIG_fail;
12496 }
d14a1e28 12497 {
32fe5131 12498 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12500 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
d14a1e28
RD
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
32fe5131 12505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
12506 {
12507 if (temp3)
12508 delete arg3;
12509 }
12510 return resultobj;
12511 fail:
12512 {
12513 if (temp3)
12514 delete arg3;
12515 }
12516 return NULL;
12517}
12518
12519
32fe5131
RD
12520static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj = NULL;
12522 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12523 wxHtmlHelpFrame *result;
d14a1e28 12524 PyObject * obj0 = 0 ;
d14a1e28 12525 char *kwnames[] = {
32fe5131 12526 (char *) "data", NULL
d14a1e28
RD
12527 };
12528
32fe5131
RD
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail;
12530 if (obj0) {
12531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12533 }
12534 {
32fe5131 12535 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12537 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
d14a1e28
RD
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
32fe5131 12542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
12543 return resultobj;
12544 fail:
12545 return NULL;
12546}
12547
12548
32fe5131
RD
12549static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj = NULL;
12551 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12552 wxWindow *arg2 = (wxWindow *) 0 ;
12553 int arg3 ;
12554 wxString const &arg4_defvalue = wxPyEmptyString ;
12555 wxString *arg4 = (wxString *) &arg4_defvalue ;
12556 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12557 bool result;
12558 bool temp4 = false ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 PyObject * obj2 = 0 ;
12562 PyObject * obj3 = 0 ;
12563 PyObject * obj4 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12570 if (SWIG_arg_fail(1)) SWIG_fail;
12571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12572 if (SWIG_arg_fail(2)) SWIG_fail;
12573 {
12574 arg3 = static_cast<int >(SWIG_As_int(obj2));
12575 if (SWIG_arg_fail(3)) SWIG_fail;
12576 }
12577 if (obj3) {
12578 {
12579 arg4 = wxString_in_helper(obj3);
12580 if (arg4 == NULL) SWIG_fail;
12581 temp4 = true;
12582 }
12583 }
12584 if (obj4) {
12585 {
12586 arg5 = static_cast<int >(SWIG_As_int(obj4));
12587 if (SWIG_arg_fail(5)) SWIG_fail;
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 {
12598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12599 }
12600 {
12601 if (temp4)
12602 delete arg4;
12603 }
12604 return resultobj;
12605 fail:
12606 {
12607 if (temp4)
12608 delete arg4;
12609 }
12610 return NULL;
12611}
12612
12613
12614static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj = NULL;
12616 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12617 wxHtmlHelpData *result;
12618 PyObject * obj0 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
12624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (wxHtmlHelpData *)(arg1)->GetData();
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12634 return resultobj;
12635 fail:
12636 return NULL;
12637}
12638
12639
12640static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj = NULL;
12642 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12643 wxString *arg2 = 0 ;
12644 bool temp2 = false ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self",(char *) "format", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail;
12654 {
12655 arg2 = wxString_in_helper(obj1);
12656 if (arg2 == NULL) SWIG_fail;
12657 temp2 = true;
12658 }
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 (arg1)->SetTitleFormat((wxString const &)*arg2);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 Py_INCREF(Py_None); resultobj = Py_None;
12667 {
12668 if (temp2)
12669 delete arg2;
12670 }
12671 return resultobj;
12672 fail:
12673 {
12674 if (temp2)
12675 delete arg2;
12676 }
12677 return NULL;
12678}
12679
12680
12681static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj = NULL;
12683 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail;
12690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->AddGrabIfNeeded();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703}
12704
12705
12706static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj = NULL;
12708 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12709 wxHtmlHelpController *result;
12710 PyObject * obj0 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail;
12716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail;
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12726 return resultobj;
12727 fail:
12728 return NULL;
12729}
12730
12731
12732static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj = NULL;
12734 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12735 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12736 PyObject * obj0 = 0 ;
12737 PyObject * obj1 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "controller", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail;
12743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 12745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32fe5131
RD
12746 if (SWIG_arg_fail(2)) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->SetController(arg2);
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758}
12759
12760
12761static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj = NULL;
12763 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12764 wxHtmlHelpWindow *result;
12765 PyObject * obj0 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail;
12771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 {
12781 resultobj = wxPyMake_wxObject(result, 0);
12782 }
12783 return resultobj;
12784 fail:
12785 return NULL;
12786}
12787
12788
12789static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
12790 PyObject *obj;
12791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12792 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
12793 Py_INCREF(obj);
12794 return Py_BuildValue((char *)"");
12795}
12796static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj = NULL;
12798 wxWindow *arg1 = (wxWindow *) 0 ;
12799 int arg2 ;
12800 wxString const &arg3_defvalue = wxPyEmptyString ;
12801 wxString *arg3 = (wxString *) &arg3_defvalue ;
12802 int arg4 = (int) wxHF_DEFAULT_STYLE ;
12803 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12804 wxHtmlHelpDialog *result;
12805 bool temp3 = false ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 PyObject * obj3 = 0 ;
12810 PyObject * obj4 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail;
12818 {
12819 arg2 = static_cast<int >(SWIG_As_int(obj1));
12820 if (SWIG_arg_fail(2)) SWIG_fail;
12821 }
12822 if (obj2) {
12823 {
12824 arg3 = wxString_in_helper(obj2);
12825 if (arg3 == NULL) SWIG_fail;
12826 temp3 = true;
12827 }
12828 }
12829 if (obj3) {
12830 {
12831 arg4 = static_cast<int >(SWIG_As_int(obj3));
12832 if (SWIG_arg_fail(4)) SWIG_fail;
12833 }
12834 }
12835 if (obj4) {
12836 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12837 if (SWIG_arg_fail(5)) SWIG_fail;
12838 }
12839 {
12840 if (!wxPyCheckForApp()) SWIG_fail;
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12848 {
12849 if (temp3)
12850 delete arg3;
12851 }
12852 return resultobj;
12853 fail:
12854 {
12855 if (temp3)
12856 delete arg3;
12857 }
12858 return NULL;
12859}
12860
12861
12862static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj = NULL;
12864 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12865 wxHtmlHelpDialog *result;
12866 PyObject * obj0 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "data", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail;
12872 if (obj0) {
12873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail;
12875 }
12876 {
12877 if (!wxPyCheckForApp()) SWIG_fail;
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
12891static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj = NULL;
12893 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12894 wxWindow *arg2 = (wxWindow *) 0 ;
12895 int arg3 ;
12896 wxString const &arg4_defvalue = wxPyEmptyString ;
12897 wxString *arg4 = (wxString *) &arg4_defvalue ;
12898 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12899 bool result;
12900 bool temp4 = false ;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 PyObject * obj2 = 0 ;
12904 PyObject * obj3 = 0 ;
12905 PyObject * obj4 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail;
12913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12914 if (SWIG_arg_fail(2)) SWIG_fail;
12915 {
12916 arg3 = static_cast<int >(SWIG_As_int(obj2));
12917 if (SWIG_arg_fail(3)) SWIG_fail;
12918 }
12919 if (obj3) {
12920 {
12921 arg4 = wxString_in_helper(obj3);
12922 if (arg4 == NULL) SWIG_fail;
12923 temp4 = true;
12924 }
12925 }
12926 if (obj4) {
12927 {
12928 arg5 = static_cast<int >(SWIG_As_int(obj4));
12929 if (SWIG_arg_fail(5)) SWIG_fail;
12930 }
12931 }
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 {
12940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12941 }
12942 {
12943 if (temp4)
12944 delete arg4;
12945 }
12946 return resultobj;
12947 fail:
12948 {
12949 if (temp4)
12950 delete arg4;
12951 }
12952 return NULL;
12953}
12954
12955
12956static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj = NULL;
12958 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12959 wxHtmlHelpData *result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail;
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (wxHtmlHelpData *)(arg1)->GetData();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12976 return resultobj;
12977 fail:
12978 return NULL;
12979}
12980
12981
12982static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj = NULL;
12984 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12985 wxHtmlHelpController *result;
12986 PyObject * obj0 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "self", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail;
12992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail;
12994 {
12995 PyThreadState* __tstate = wxPyBeginAllowThreads();
12996 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
12997
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
13002 return resultobj;
13003 fail:
13004 return NULL;
13005}
13006
13007
13008static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
13009 PyObject *resultobj = NULL;
13010 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
13011 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
13012 PyObject * obj0 = 0 ;
13013 PyObject * obj1 = 0 ;
13014 char *kwnames[] = {
13015 (char *) "self",(char *) "controller", NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail;
13019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 13021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32fe5131
RD
13022 if (SWIG_arg_fail(2)) SWIG_fail;
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->SetController(arg2);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034}
13035
13036
13037static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj = NULL;
13039 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
13040 wxHtmlHelpWindow *result;
13041 PyObject * obj0 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail;
13047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
13048 if (SWIG_arg_fail(1)) SWIG_fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 {
13057 resultobj = wxPyMake_wxObject(result, 0);
13058 }
13059 return resultobj;
13060 fail:
13061 return NULL;
13062}
13063
13064
13065static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj = NULL;
13067 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
13068 wxString *arg2 = 0 ;
13069 bool temp2 = false ;
13070 PyObject * obj0 = 0 ;
13071 PyObject * obj1 = 0 ;
13072 char *kwnames[] = {
13073 (char *) "self",(char *) "format", NULL
13074 };
13075
13076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
13077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
13078 if (SWIG_arg_fail(1)) SWIG_fail;
13079 {
13080 arg2 = wxString_in_helper(obj1);
13081 if (arg2 == NULL) SWIG_fail;
13082 temp2 = true;
13083 }
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 (arg1)->SetTitleFormat((wxString const &)*arg2);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 Py_INCREF(Py_None); resultobj = Py_None;
13092 {
13093 if (temp2)
13094 delete arg2;
13095 }
13096 return resultobj;
13097 fail:
13098 {
13099 if (temp2)
13100 delete arg2;
13101 }
13102 return NULL;
13103}
13104
13105
13106static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) {
13107 PyObject *obj;
13108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj);
13110 Py_INCREF(obj);
13111 return Py_BuildValue((char *)"");
13112}
13113static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) {
13114 PyObject *resultobj = NULL;
13115 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13116 wxString *arg2 = 0 ;
13117 int arg3 ;
13118 bool result;
13119 bool temp2 = false ;
13120 PyObject * obj0 = 0 ;
13121 PyObject * obj1 = 0 ;
13122 PyObject * obj2 = 0 ;
13123
13124 if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail;
13125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail;
13127 {
13128 arg2 = wxString_in_helper(obj1);
13129 if (arg2 == NULL) SWIG_fail;
13130 temp2 = true;
13131 }
13132 {
13133 arg3 = static_cast<int >(SWIG_As_int(obj2));
13134 if (SWIG_arg_fail(3)) SWIG_fail;
13135 }
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 {
13144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13145 }
13146 {
13147 if (temp2)
13148 delete arg2;
13149 }
13150 return resultobj;
13151 fail:
13152 {
13153 if (temp2)
13154 delete arg2;
13155 }
13156 return NULL;
13157}
13158
13159
13160static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) {
13161 PyObject *resultobj = NULL;
13162 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13163 wxString *arg2 = 0 ;
13164 bool result;
13165 bool temp2 = false ;
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168
13169 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail;
13170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail;
13172 {
13173 arg2 = wxString_in_helper(obj1);
13174 if (arg2 == NULL) SWIG_fail;
13175 temp2 = true;
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 {
13185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13186 }
13187 {
13188 if (temp2)
13189 delete arg2;
13190 }
13191 return resultobj;
13192 fail:
13193 {
13194 if (temp2)
13195 delete arg2;
13196 }
13197 return NULL;
13198}
13199
13200
13201static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
13202 int argc;
13203 PyObject *argv[4];
13204 int ii;
13205
13206 argc = PyObject_Length(args);
13207 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
13208 argv[ii] = PyTuple_GetItem(args,ii);
13209 }
13210 if (argc == 2) {
13211 int _v;
13212 {
13213 void *ptr;
13214 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13215 _v = 0;
13216 PyErr_Clear();
13217 } else {
13218 _v = 1;
13219 }
13220 }
13221 if (_v) {
13222 {
13223 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13224 }
13225 if (_v) {
13226 return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args);
13227 }
13228 }
13229 }
13230 if (argc == 3) {
13231 int _v;
13232 {
13233 void *ptr;
13234 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13235 _v = 0;
13236 PyErr_Clear();
13237 } else {
13238 _v = 1;
13239 }
13240 }
13241 if (_v) {
13242 {
13243 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13244 }
13245 if (_v) {
13246 _v = SWIG_Check_int(argv[2]);
13247 if (_v) {
13248 return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args);
13249 }
13250 }
13251 }
13252 }
13253
13254 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
13255 return NULL;
13256}
13257
13258
13259static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj = NULL;
13261 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13262 wxString *arg2 = 0 ;
13263 long arg3 = (long) 0 ;
13264 bool temp2 = false ;
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 PyObject * obj2 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "viewer",(char *) "flags", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
13275 {
13276 arg2 = wxString_in_helper(obj1);
13277 if (arg2 == NULL) SWIG_fail;
13278 temp2 = true;
13279 }
13280 if (obj2) {
13281 {
13282 arg3 = static_cast<long >(SWIG_As_long(obj2));
13283 if (SWIG_arg_fail(3)) SWIG_fail;
13284 }
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 (arg1)->SetViewer((wxString const &)*arg2,arg3);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 {
13295 if (temp2)
13296 delete arg2;
13297 }
13298 return resultobj;
13299 fail:
13300 {
13301 if (temp2)
13302 delete arg2;
13303 }
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj = NULL;
13310 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13311 wxString const &arg2_defvalue = wxEmptyString ;
13312 wxString *arg2 = (wxString *) &arg2_defvalue ;
13313 bool result;
13314 bool temp2 = false ;
13315 PyObject * obj0 = 0 ;
13316 PyObject * obj1 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self",(char *) "file", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail;
13322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail;
13324 if (obj1) {
13325 {
13326 arg2 = wxString_in_helper(obj1);
13327 if (arg2 == NULL) SWIG_fail;
13328 temp2 = true;
13329 }
13330 }
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 {
13339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13340 }
13341 {
13342 if (temp2)
13343 delete arg2;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 return NULL;
13352}
13353
13354
13355static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj = NULL;
13357 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13358 bool result;
13359 PyObject * obj0 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail;
13365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (bool)(arg1)->DisplayContents();
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 {
13375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13376 }
13377 return resultobj;
13378 fail:
13379 return NULL;
13380}
13381
13382
13383static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) {
13384 PyObject *resultobj = NULL;
13385 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13386 int arg2 ;
13387 bool result;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390
13391 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13393 if (SWIG_arg_fail(1)) SWIG_fail;
13394 {
13395 arg2 = static_cast<int >(SWIG_As_int(obj1));
13396 if (SWIG_arg_fail(2)) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (bool)(arg1)->DisplaySection(arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 {
13406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13407 }
13408 return resultobj;
13409 fail:
13410 return NULL;
13411}
13412
13413
13414static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj = NULL;
13416 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13417 int arg2 ;
13418 bool result;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "contextId", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail;
13426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13427 if (SWIG_arg_fail(1)) SWIG_fail;
13428 {
13429 arg2 = static_cast<int >(SWIG_As_int(obj1));
13430 if (SWIG_arg_fail(2)) SWIG_fail;
13431 }
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 result = (bool)(arg1)->DisplayContextPopup(arg2);
13435
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 {
13440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13441 }
13442 return resultobj;
13443 fail:
13444 return NULL;
13445}
13446
13447
13448static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj = NULL;
13450 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13451 wxString *arg2 = 0 ;
13452 wxPoint *arg3 = 0 ;
13453 bool result;
13454 bool temp2 = false ;
13455 wxPoint temp3 ;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 PyObject * obj2 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "text",(char *) "pos", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail;
13464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail;
13466 {
13467 arg2 = wxString_in_helper(obj1);
13468 if (arg2 == NULL) SWIG_fail;
13469 temp2 = true;
13470 }
13471 {
13472 arg3 = &temp3;
13473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13474 }
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13484 }
13485 {
13486 if (temp2)
13487 delete arg2;
13488 }
13489 return resultobj;
13490 fail:
13491 {
13492 if (temp2)
13493 delete arg2;
13494 }
13495 return NULL;
13496}
13497
13498
13499static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) {
13500 PyObject *resultobj = NULL;
13501 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13502 wxString *arg2 = 0 ;
13503 bool result;
13504 bool temp2 = false ;
13505 PyObject * obj0 = 0 ;
13506 PyObject * obj1 = 0 ;
13507
13508 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail;
13511 {
13512 arg2 = wxString_in_helper(obj1);
13513 if (arg2 == NULL) SWIG_fail;
13514 temp2 = true;
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13525 }
13526 {
13527 if (temp2)
13528 delete arg2;
13529 }
13530 return resultobj;
13531 fail:
13532 {
13533 if (temp2)
13534 delete arg2;
13535 }
13536 return NULL;
13537}
13538
13539
13540static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
13541 int argc;
13542 PyObject *argv[3];
13543 int ii;
13544
13545 argc = PyObject_Length(args);
13546 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
13547 argv[ii] = PyTuple_GetItem(args,ii);
13548 }
13549 if (argc == 2) {
13550 int _v;
13551 {
13552 void *ptr;
13553 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13554 _v = 0;
13555 PyErr_Clear();
13556 } else {
13557 _v = 1;
13558 }
13559 }
13560 if (_v) {
13561 {
13562 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13563 }
13564 if (_v) {
13565 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args);
13566 }
13567 }
13568 }
13569 if (argc == 2) {
13570 int _v;
13571 {
13572 void *ptr;
13573 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13574 _v = 0;
13575 PyErr_Clear();
13576 } else {
13577 _v = 1;
13578 }
13579 }
13580 if (_v) {
13581 _v = SWIG_Check_int(argv[1]);
13582 if (_v) {
13583 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args);
13584 }
13585 }
13586 }
13587
13588 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
13589 return NULL;
13590}
13591
13592
13593static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj = NULL;
13595 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13596 long arg2 ;
13597 bool result;
13598 PyObject * obj0 = 0 ;
13599 PyObject * obj1 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self",(char *) "blockNo", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail;
13605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13606 if (SWIG_arg_fail(1)) SWIG_fail;
13607 {
13608 arg2 = static_cast<long >(SWIG_As_long(obj1));
13609 if (SWIG_arg_fail(2)) SWIG_fail;
13610 }
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (bool)(arg1)->DisplayBlock(arg2);
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 {
13619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13620 }
13621 return resultobj;
13622 fail:
13623 return NULL;
13624}
13625
13626
13627static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj = NULL;
13629 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13630 wxString *arg2 = 0 ;
13631 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
13632 bool result;
13633 bool temp2 = false ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 PyObject * obj2 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "k",(char *) "mode", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
13642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13643 if (SWIG_arg_fail(1)) SWIG_fail;
13644 {
13645 arg2 = wxString_in_helper(obj1);
13646 if (arg2 == NULL) SWIG_fail;
13647 temp2 = true;
13648 }
13649 if (obj2) {
13650 {
13651 wxHelpSearchMode * argp;
13652 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
13653 if (SWIG_arg_fail(3)) SWIG_fail;
13654 if (argp == NULL) {
13655 SWIG_null_ref("wxHelpSearchMode");
13656 }
13657 if (SWIG_arg_fail(3)) SWIG_fail;
13658 arg3 = *argp;
13659 }
13660 }
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 {
13669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13670 }
13671 {
13672 if (temp2)
13673 delete arg2;
13674 }
13675 return resultobj;
13676 fail:
13677 {
13678 if (temp2)
13679 delete arg2;
13680 }
13681 return NULL;
13682}
13683
13684
13685static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj = NULL;
13687 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13688 wxString *arg2 = 0 ;
13689 wxSize *arg3 = 0 ;
13690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13692 bool arg5 = (bool) false ;
13693 bool temp2 = false ;
13694 wxSize temp3 ;
13695 wxPoint temp4 ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj2 = 0 ;
13699 PyObject * obj3 = 0 ;
13700 PyObject * obj4 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13707 if (SWIG_arg_fail(1)) SWIG_fail;
13708 {
13709 arg2 = wxString_in_helper(obj1);
13710 if (arg2 == NULL) SWIG_fail;
13711 temp2 = true;
13712 }
13713 {
13714 arg3 = &temp3;
13715 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13716 }
13717 if (obj3) {
13718 {
13719 arg4 = &temp4;
13720 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13721 }
13722 }
13723 if (obj4) {
13724 {
13725 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
13726 if (SWIG_arg_fail(5)) SWIG_fail;
13727 }
13728 }
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 {
13738 if (temp2)
13739 delete arg2;
13740 }
13741 return resultobj;
13742 fail:
13743 {
13744 if (temp2)
13745 delete arg2;
13746 }
13747 return NULL;
13748}
13749
13750
13751static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj = NULL;
13753 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13754 wxSize *arg2 = (wxSize *) NULL ;
13755 wxPoint *arg3 = (wxPoint *) NULL ;
13756 bool *arg4 = (bool *) NULL ;
13757 wxFrame *result;
13758 PyObject * obj0 = 0 ;
13759 PyObject * obj1 = 0 ;
13760 PyObject * obj2 = 0 ;
13761 PyObject * obj3 = 0 ;
13762 char *kwnames[] = {
13763 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13764 };
13765
13766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13768 if (SWIG_arg_fail(1)) SWIG_fail;
13769 if (obj1) {
13770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
13771 if (SWIG_arg_fail(2)) SWIG_fail;
13772 }
13773 if (obj2) {
13774 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13775 if (SWIG_arg_fail(3)) SWIG_fail;
13776 }
13777 if (obj3) {
13778 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0);
13779 if (SWIG_arg_fail(4)) SWIG_fail;
13780 }
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
13784
13785 wxPyEndAllowThreads(__tstate);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 {
13789 resultobj = wxPyMake_wxObject(result, 0);
13790 }
13791 return resultobj;
13792 fail:
13793 return NULL;
13794}
13795
13796
13797static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj = NULL;
13799 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13800 bool result;
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail;
13807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13808 if (SWIG_arg_fail(1)) SWIG_fail;
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (bool)(arg1)->Quit();
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 {
13817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13818 }
13819 return resultobj;
13820 fail:
13821 return NULL;
13822}
13823
13824
13825static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj = NULL;
13827 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13828 PyObject * obj0 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail;
13834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13835 if (SWIG_arg_fail(1)) SWIG_fail;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 (arg1)->OnQuit();
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 Py_INCREF(Py_None); resultobj = Py_None;
13844 return resultobj;
13845 fail:
13846 return NULL;
13847}
13848
13849
13850static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj = NULL;
13852 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13853 wxWindow *arg2 = (wxWindow *) 0 ;
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "self",(char *) "win", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail;
13861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13862 if (SWIG_arg_fail(1)) SWIG_fail;
13863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13864 if (SWIG_arg_fail(2)) SWIG_fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 (arg1)->SetParentWindow(arg2);
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 Py_INCREF(Py_None); resultobj = Py_None;
13873 return resultobj;
13874 fail:
13875 return NULL;
13876}
13877
13878
13879static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj = NULL;
13881 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13882 wxWindow *result;
13883 PyObject * obj0 = 0 ;
13884 char *kwnames[] = {
13885 (char *) "self", NULL
13886 };
13887
13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail;
13889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail;
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
13894
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 {
13899 resultobj = wxPyMake_wxObject(result, 0);
13900 }
13901 return resultobj;
13902 fail:
13903 return NULL;
13904}
13905
13906
13907static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) {
13908 PyObject *obj;
13909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13910 SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj);
13911 Py_INCREF(obj);
13912 return Py_BuildValue((char *)"");
13913}
13914static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj = NULL;
13916 int arg1 = (int) wxHF_DEFAULT_STYLE ;
13917 wxWindow *arg2 = (wxWindow *) NULL ;
13918 wxHtmlHelpController *result;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "style",(char *) "parentWindow", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail;
13926 if (obj0) {
13927 {
13928 arg1 = static_cast<int >(SWIG_As_int(obj0));
13929 if (SWIG_arg_fail(1)) SWIG_fail;
13930 }
13931 }
13932 if (obj1) {
13933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13934 if (SWIG_arg_fail(2)) SWIG_fail;
13935 }
13936 {
13937 if (!wxPyCheckForApp()) SWIG_fail;
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
13945 return resultobj;
13946 fail:
13947 return NULL;
13948}
13949
13950
13951static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = NULL;
13953 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13954 PyObject * obj0 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
13960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail;
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 delete arg1;
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 Py_INCREF(Py_None); resultobj = Py_None;
13970 return resultobj;
13971 fail:
13972 return NULL;
13973}
13974
13975
13976static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj = NULL;
13978 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13979 wxHtmlHelpWindow *result;
13980 PyObject * obj0 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail;
13986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13987 if (SWIG_arg_fail(1)) SWIG_fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 {
13996 resultobj = wxPyMake_wxObject(result, 0);
13997 }
13998 return resultobj;
13999 fail:
14000 return NULL;
14001}
14002
14003
14004static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj = NULL;
14006 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14007 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "helpWindow", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail;
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
14017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
14018 if (SWIG_arg_fail(2)) SWIG_fail;
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 (arg1)->SetHelpWindow(arg2);
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 Py_INCREF(Py_None); resultobj = Py_None;
14027 return resultobj;
14028 fail:
14029 return NULL;
14030}
14031
14032
14033static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj = NULL;
14035 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14036 wxHtmlHelpFrame *result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "self", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
14043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14044 if (SWIG_arg_fail(1)) SWIG_fail;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 resultobj = wxPyMake_wxObject(result, 0);
14054 }
14055 return resultobj;
14056 fail:
14057 return NULL;
14058}
14059
14060
14061static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = NULL;
14063 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14064 wxHtmlHelpDialog *result;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail;
14071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail;
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 {
14081 resultobj = wxPyMake_wxObject(result, 0);
14082 }
14083 return resultobj;
14084 fail:
14085 return NULL;
14086}
14087
14088
14089static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj = NULL;
14091 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14092 wxString *arg2 = 0 ;
14093 bool temp2 = false ;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "format", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
14101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail;
14103 {
14104 arg2 = wxString_in_helper(obj1);
14105 if (arg2 == NULL) SWIG_fail;
14106 temp2 = true;
14107 }
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 (arg1)->SetTitleFormat((wxString const &)*arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 Py_INCREF(Py_None); resultobj = Py_None;
14116 {
14117 if (temp2)
14118 delete arg2;
14119 }
14120 return resultobj;
14121 fail:
14122 {
14123 if (temp2)
14124 delete arg2;
14125 }
14126 return NULL;
14127}
14128
14129
14130static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj = NULL;
14132 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14133 wxString *arg2 = 0 ;
14134 bool temp2 = false ;
14135 PyObject * obj0 = 0 ;
14136 PyObject * obj1 = 0 ;
14137 char *kwnames[] = {
14138 (char *) "self",(char *) "path", NULL
14139 };
14140
14141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
14142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail;
14144 {
14145 arg2 = wxString_in_helper(obj1);
14146 if (arg2 == NULL) SWIG_fail;
14147 temp2 = true;
14148 }
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 (arg1)->SetTempDir((wxString const &)*arg2);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 Py_INCREF(Py_None); resultobj = Py_None;
14157 {
14158 if (temp2)
14159 delete arg2;
14160 }
14161 return resultobj;
14162 fail:
14163 {
14164 if (temp2)
14165 delete arg2;
14166 }
14167 return NULL;
14168}
14169
14170
14171static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj = NULL;
14173 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14174 wxString *arg2 = 0 ;
14175 int arg3 = (int) false ;
14176 bool result;
14177 bool temp2 = false ;
14178 PyObject * obj0 = 0 ;
14179 PyObject * obj1 = 0 ;
14180 PyObject * obj2 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
14186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail;
14188 {
14189 arg2 = wxString_in_helper(obj1);
14190 if (arg2 == NULL) SWIG_fail;
14191 temp2 = true;
14192 }
14193 if (obj2) {
14194 {
14195 arg3 = static_cast<int >(SWIG_As_int(obj2));
14196 if (SWIG_arg_fail(3)) SWIG_fail;
14197 }
14198 }
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
14202
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 {
14207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14208 }
14209 {
14210 if (temp2)
14211 delete arg2;
14212 }
14213 return resultobj;
14214 fail:
14215 {
14216 if (temp2)
14217 delete arg2;
14218 }
14219 return NULL;
14220}
14221
14222
14223static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj = NULL;
14225 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14226 wxString *arg2 = 0 ;
14227 bool temp2 = false ;
14228 PyObject * obj0 = 0 ;
14229 PyObject * obj1 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self",(char *) "x", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
14235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14236 if (SWIG_arg_fail(1)) SWIG_fail;
14237 {
14238 arg2 = wxString_in_helper(obj1);
14239 if (arg2 == NULL) SWIG_fail;
14240 temp2 = true;
14241 }
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 (arg1)->Display((wxString const &)*arg2);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 Py_INCREF(Py_None); resultobj = Py_None;
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 return resultobj;
14255 fail:
14256 {
14257 if (temp2)
14258 delete arg2;
14259 }
14260 return NULL;
14261}
14262
14263
14264static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj = NULL;
14266 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14267 int arg2 ;
14268 PyObject * obj0 = 0 ;
14269 PyObject * obj1 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self",(char *) "id", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
14275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14276 if (SWIG_arg_fail(1)) SWIG_fail;
14277 {
14278 arg2 = static_cast<int >(SWIG_As_int(obj1));
14279 if (SWIG_arg_fail(2)) SWIG_fail;
14280 }
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 (arg1)->Display(arg2);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 Py_INCREF(Py_None); resultobj = Py_None;
14289 return resultobj;
14290 fail:
14291 return NULL;
14292}
14293
14294
14295static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj = NULL;
14297 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14298 PyObject * obj0 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
14304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail;
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 (arg1)->DisplayContents();
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 Py_INCREF(Py_None); resultobj = Py_None;
14314 return resultobj;
14315 fail:
14316 return NULL;
14317}
14318
14319
14320static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14321 PyObject *resultobj = NULL;
14322 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
14329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail;
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 (arg1)->DisplayIndex();
14334
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 Py_INCREF(Py_None); resultobj = Py_None;
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
14345static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj = NULL;
14347 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14348 wxString *arg2 = 0 ;
14349 bool result;
14350 bool temp2 = false ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj1 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "self",(char *) "keyword", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
14358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail;
14360 {
14361 arg2 = wxString_in_helper(obj1);
14362 if (arg2 == NULL) SWIG_fail;
14363 temp2 = true;
14364 }
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 {
14373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14374 }
14375 {
14376 if (temp2)
14377 delete arg2;
14378 }
14379 return resultobj;
14380 fail:
14381 {
14382 if (temp2)
14383 delete arg2;
14384 }
14385 return NULL;
14386}
14387
14388
14389static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj = NULL;
14391 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14392 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14393 wxString const &arg3_defvalue = wxPyEmptyString ;
14394 wxString *arg3 = (wxString *) &arg3_defvalue ;
14395 bool temp3 = false ;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
14404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail;
14406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14407 if (SWIG_arg_fail(2)) SWIG_fail;
14408 if (obj2) {
14409 {
14410 arg3 = wxString_in_helper(obj2);
14411 if (arg3 == NULL) SWIG_fail;
14412 temp3 = true;
14413 }
14414 }
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 Py_INCREF(Py_None); resultobj = Py_None;
14423 {
14424 if (temp3)
14425 delete arg3;
14426 }
14427 return resultobj;
14428 fail:
14429 {
14430 if (temp3)
14431 delete arg3;
14432 }
14433 return NULL;
14434}
14435
14436
14437static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj = NULL;
14439 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14440 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14441 wxString arg3 = (wxString) wxPyEmptyString ;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 PyObject * obj2 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self",(char *) "cfg",(char *) "path", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail;
14452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14453 if (SWIG_arg_fail(2)) SWIG_fail;
14454 if (obj2) {
14455 {
14456 wxString* sptr = wxString_in_helper(obj2);
14457 if (sptr == NULL) SWIG_fail;
14458 arg3 = *sptr;
14459 delete sptr;
14460 }
14461 }
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->ReadCustomization(arg2,arg3);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 Py_INCREF(Py_None); resultobj = Py_None;
14470 return resultobj;
14471 fail:
14472 return NULL;
14473}
14474
14475
14476static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj = NULL;
14478 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14479 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14480 wxString arg3 = (wxString) wxPyEmptyString ;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 PyObject * obj2 = 0 ;
14484 char *kwnames[] = {
d14a1e28
RD
14485 (char *) "self",(char *) "cfg",(char *) "path", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail;
14491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14492 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 14493 if (obj2) {
423f194a
RD
14494 {
14495 wxString* sptr = wxString_in_helper(obj2);
14496 if (sptr == NULL) SWIG_fail;
14497 arg3 = *sptr;
14498 delete sptr;
14499 }
d14a1e28
RD
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 (arg1)->WriteCustomization(arg2,arg3);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 Py_INCREF(Py_None); resultobj = Py_None;
14509 return resultobj;
14510 fail:
14511 return NULL;
14512}
14513
14514
32fe5131
RD
14515static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj = NULL;
d14a1e28 14517 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
d14a1e28
RD
14518 PyObject * obj0 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self", NULL
14521 };
14522
32fe5131 14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail;
36ed4f51
RD
14524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131
RD
14528 (arg1)->MakeModalIfNeeded();
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 return resultobj;
14535 fail:
14536 return NULL;
14537}
14538
14539
14540static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj = NULL;
14542 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14543 wxWindow *result;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail;
14550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (wxWindow *)(arg1)->FindTopLevelWindow();
d14a1e28
RD
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
32fe5131
RD
14559 {
14560 resultobj = wxPyMake_wxObject(result, 0);
14561 }
d14a1e28
RD
14562 return resultobj;
14563 fail:
14564 return NULL;
14565}
14566
14567
c370783e 14568static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14569 PyObject *obj;
14570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
14572 Py_INCREF(obj);
14573 return Py_BuildValue((char *)"");
14574}
32fe5131
RD
14575static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj = NULL;
14577 wxWindow *arg1 = (wxWindow *) 0 ;
14578 wxString *arg2 = 0 ;
14579 wxString const &arg3_defvalue = wxEmptyString ;
14580 wxString *arg3 = (wxString *) &arg3_defvalue ;
14581 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
14582 wxHtmlModalHelp *result;
14583 bool temp2 = false ;
14584 bool temp3 = false ;
14585 PyObject * obj0 = 0 ;
14586 PyObject * obj1 = 0 ;
14587 PyObject * obj2 = 0 ;
14588 PyObject * obj3 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail;
14596 {
14597 arg2 = wxString_in_helper(obj1);
14598 if (arg2 == NULL) SWIG_fail;
14599 temp2 = true;
14600 }
14601 if (obj2) {
14602 {
14603 arg3 = wxString_in_helper(obj2);
14604 if (arg3 == NULL) SWIG_fail;
14605 temp3 = true;
14606 }
14607 }
14608 if (obj3) {
14609 {
14610 arg4 = static_cast<int >(SWIG_As_int(obj3));
14611 if (SWIG_arg_fail(4)) SWIG_fail;
14612 }
14613 }
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1);
14622 {
14623 if (temp2)
14624 delete arg2;
14625 }
14626 {
14627 if (temp3)
14628 delete arg3;
14629 }
14630 return resultobj;
14631 fail:
14632 {
14633 if (temp2)
14634 delete arg2;
14635 }
14636 {
14637 if (temp3)
14638 delete arg3;
14639 }
14640 return NULL;
14641}
14642
14643
14644static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) {
14645 PyObject *obj;
14646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14647 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj);
14648 Py_INCREF(obj);
14649 return Py_BuildValue((char *)"");
14650}
d14a1e28 14651static PyMethodDef SwigMethods[] = {
36ed4f51
RD
14652 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14653 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
14654 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
14655 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14656 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14657 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14658 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14659 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
14660 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14661 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
14662 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
14663 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
14664 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
14665 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
14666 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
14667 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
14668 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
14669 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14670 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14671 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
14672 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
14673 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
14674 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14675 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14676 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14677 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
14678 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14679 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14680 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
14681 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
14682 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14683 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14684 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14685 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14686 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14687 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14688 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14689 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14690 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14691 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14692 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14693 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14694 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14695 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14696 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14697 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14698 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14699 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14700 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14701 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14702 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14703 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14704 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14705 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14706 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14707 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14708 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14709 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14710 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
14711 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14712 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
14713 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14714 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14715 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14716 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14717 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14718 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
14719 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14720 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14721 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14722 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14723 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14724 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
14725 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14726 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14727 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14728 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
14729 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
14730 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
14731 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
14732 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
14733 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
14734 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14735 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14736 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14737 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14738 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14739 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
14740 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
14741 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14742 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14743 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14744 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14745 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14746 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14747 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14748 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14749 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
14750 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14751 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14752 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14753 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14754 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14755 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14756 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14757 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14758 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14759 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14760 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14761 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14762 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
14763 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
14764 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14765 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
14766 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
14767 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14768 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14769 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
14770 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14771 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
14772 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
14773 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14774 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14775 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14776 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14777 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
14778 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
14779 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14780 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14781 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14782 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
14783 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
14784 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
14785 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
14786 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
14787 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14788 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14789 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14790 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
14791 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
14792 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
14793 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14794 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14795 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
14796 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
14797 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14798 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
14799 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84
RD
14800 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14801 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlWordCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14802 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14803 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
14804 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
14805 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
14806 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14807 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14808 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14809 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14810 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14811 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14812 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
14813 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14814 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
14815 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
14816 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14817 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14818 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14819 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14820 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14821 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
14822 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
14823 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
14824 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
14825 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
14826 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
14827 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
14828 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14829 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14830 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
14831 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14832 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14833 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14834 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14835 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14836 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
14837 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14838 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
14839 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
14840 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14841 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14842 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14843 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14844 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
14845 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14846 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 14847 { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14848 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 14849 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14850 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14851 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14852 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
14853 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
14854 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
14855 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
14856 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
14857 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
14858 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14859 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14860 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14861 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14862 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
14863 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
14864 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
14865 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
14866 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
14867 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14868 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14869 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
14870 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14871 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
14872 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
14873 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14874 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14875 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14876 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
14877 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14878 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14879 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14880 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
14881 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14882 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
14883 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
14884 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14885 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
14886 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14887 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14888 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14889 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14890 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
14891 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14892 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
14893 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
14894 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14895 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14896 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
14897 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
14898 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
14899 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
14900 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
14901 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14902 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14903 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14904 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14905 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
14906 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
14907 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
14908 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
14909 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
14910 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14911 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14912 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14913 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
14914 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
14915 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
14916 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14917 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14918 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14919 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
14920 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
14921 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
14922 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
14923 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14924 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14925 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14926 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
14927 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14928 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14929 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14930 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14931 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
14932 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
14933 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14934 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
32fe5131
RD
14935 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14936 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14937 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14938 { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14939 { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14940 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14941 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14942 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14943 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14944 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14945 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14946 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14947 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14948 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14949 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL},
14950 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL},
14951 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14952 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14953 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
14954 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL},
14955 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
14956 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
14957 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14958 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14959 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14960 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
36ed4f51 14961 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14962 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14963 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14964 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14965 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14966 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14967 { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14968 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14969 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14970 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
32fe5131
RD
14971 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14972 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14973 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14974 { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14975 { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14976 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14977 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14978 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14979 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
14980 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
14981 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
14982 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14983 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14984 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14985 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14986 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
14987 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
14988 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14989 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14990 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14991 { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL},
14992 { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL},
14993 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14994 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14995 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
14996 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14997 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14998 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14999 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
15000 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
15001 { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
15002 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
15003 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
15004 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
15005 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
15006 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
15007 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
15008 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
15009 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
15010 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
15011 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
15012 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
15013 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
15014 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 15015 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
32fe5131
RD
15016 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
15017 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
c370783e 15018 { NULL, NULL, 0, NULL }
d14a1e28
RD
15019};
15020
15021
15022/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15023
15024static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
15025 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
15026}
32fe5131
RD
15027static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15028 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 15029}
32fe5131
RD
15030static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15031 return (void *)((wxEvent *) ((wxMenuEvent *) x));
d14a1e28 15032}
32fe5131
RD
15033static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15034 return (void *)((wxEvent *) ((wxCloseEvent *) x));
d14a1e28 15035}
32fe5131
RD
15036static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15037 return (void *)((wxEvent *) ((wxMouseEvent *) x));
a2482628 15038}
32fe5131
RD
15039static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15040 return (void *)((wxEvent *) ((wxEraseEvent *) x));
d14a1e28 15041}
32fe5131
RD
15042static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15043 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 15044}
32fe5131
RD
15045static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
15046 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 15047}
32fe5131
RD
15048static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15049 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 15050}
32fe5131
RD
15051static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15052 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 15053}
32fe5131
RD
15054static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
15055 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 15056}
32fe5131
RD
15057static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15058 return (void *)((wxEvent *) ((wxPyEvent *) x));
d14a1e28 15059}
32fe5131
RD
15060static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15062}
15063static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
15064 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
15065}
15066static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15067 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15068}
15069static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15071}
15072static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15073 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15074}
15075static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15076 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15077}
15078static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15079 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15080}
15081static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15082 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15083}
15084static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15085 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15086}
15087static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15088 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15089}
15090static void *_p_wxDateEventTo_p_wxEvent(void *x) {
15091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
15092}
15093static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15094 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15095}
15096static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15097 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15098}
15099static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15101}
15102static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15103 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15104}
15105static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15106 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15107}
15108static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15109 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15110}
15111static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15112 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15113}
15114static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15115 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15116}
15117static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15118 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15119}
15120static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15122}
15123static void *_p_wxSashEventTo_p_wxEvent(void *x) {
15124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
15125}
15126static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
15127 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15128}
15129static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15130 return (void *)((wxEvent *) ((wxShowEvent *) x));
15131}
15132static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
15133 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15134}
15135static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15136 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15137}
15138static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15140}
15141static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15143}
15144static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15145 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15146}
15147static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15148 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15149}
15150static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15151 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15152}
15153static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
15154 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
15155}
15156static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
15157 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
15158}
15159static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
15160 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15161}
15162static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
15163 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
15164}
15165static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
15166 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
15167}
15168static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
15169 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
15170}
15171static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
15172 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15173}
15174static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15175 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15176}
15177static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
15178 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15179}
15180static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
15181 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15182}
15183static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
15184 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15185}
15186static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15187 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15188}
15189static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15190 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15191}
15192static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15193 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15194}
15195static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15196 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15197}
15198static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
15199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15200}
15201static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
15202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15203}
15204static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
15205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15206}
15207static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
15208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15209}
15210static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
15211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15212}
15213static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
15214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15215}
15216static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
15217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15218}
15219static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
15220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15221}
15222static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
15223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
15224}
15225static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
15226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
15227}
15228static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
15229 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15230}
15231static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
15232 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15233}
15234static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
15235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15236}
15237static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
15238 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
15239}
15240static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
15241 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15242}
15243static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15245}
15246static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15247 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
a2482628 15248}
32fe5131
RD
15249static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 15251}
32fe5131
RD
15252static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15253 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 15254}
32fe5131
RD
15255static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15256 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 15257}
32fe5131
RD
15258static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15259 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 15260}
32fe5131
RD
15261static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 15263}
32fe5131
RD
15264static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
15265 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15266}
32fe5131
RD
15267static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
15268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15269}
32fe5131
RD
15270static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
15271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 15272}
32fe5131
RD
15273static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
d14a1e28 15275}
32fe5131
RD
15276static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
070c48b4 15278}
32fe5131
RD
15279static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15281}
32fe5131
RD
15282static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15283 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15284}
32fe5131
RD
15285static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15286 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 15287}
32fe5131
RD
15288static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15289 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 15290}
32fe5131
RD
15291static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 15293}
32fe5131
RD
15294static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15295 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15296}
32fe5131
RD
15297static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 15299}
32fe5131
RD
15300static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15301 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 15302}
32fe5131
RD
15303static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 15305}
32fe5131
RD
15306static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15307 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 15308}
32fe5131
RD
15309static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
15310 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 15311}
32fe5131
RD
15312static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
15313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15314}
32fe5131
RD
15315static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15317}
32fe5131
RD
15318static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 15320}
32fe5131
RD
15321static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15322 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 15323}
32fe5131
RD
15324static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 15326}
32fe5131
RD
15327static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15328 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
070c48b4 15329}
32fe5131
RD
15330static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
15331 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
a2482628 15332}
32fe5131
RD
15333static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15334 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15335}
32fe5131
RD
15336static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
15337 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 15338}
32fe5131
RD
15339static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
15340 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15341}
32fe5131
RD
15342static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
15343 return (void *)((wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15344}
32fe5131
RD
15345static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
15346 return (void *)((wxFrame *) ((wxTipWindow *) x));
d14a1e28 15347}
32fe5131
RD
15348static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
15349 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15350}
32fe5131
RD
15351static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
15352 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15353}
32fe5131
RD
15354static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
15355 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15356}
32fe5131
RD
15357static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
15358 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15359}
32fe5131
RD
15360static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
15361 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15362}
32fe5131
RD
15363static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
15364 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15365}
32fe5131
RD
15366static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
15367 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 15368}
32fe5131
RD
15369static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 15371}
32fe5131
RD
15372static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
15373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15374}
32fe5131
RD
15375static void *_p_wxEventTo_p_wxObject(void *x) {
15376 return (void *)((wxObject *) ((wxEvent *) x));
d14a1e28 15377}
32fe5131
RD
15378static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
15379 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 15380}
32fe5131
RD
15381static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15382 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 15383}
32fe5131
RD
15384static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15385 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
070c48b4 15386}
32fe5131
RD
15387static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
15388 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 15389}
32fe5131
RD
15390static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
15391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15392}
32fe5131
RD
15393static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
15394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15395}
32fe5131
RD
15396static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
15397 return (void *)((wxObject *) ((wxHtmlTag *) x));
d14a1e28 15398}
32fe5131
RD
15399static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15400 return (void *)((wxObject *) ((wxMenuItem *) x));
070c48b4 15401}
32fe5131
RD
15402static void *_p_wxImageTo_p_wxObject(void *x) {
15403 return (void *)((wxObject *) ((wxImage *) x));
d14a1e28 15404}
32fe5131
RD
15405static void *_p_wxPySizerTo_p_wxObject(void *x) {
15406 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d14a1e28 15407}
32fe5131
RD
15408static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
15409 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
d14a1e28 15410}
32fe5131
RD
15411static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
15412 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
943e8dfd 15413}
32fe5131
RD
15414static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
15415 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
943e8dfd 15416}
32fe5131
RD
15417static void *_p_wxPyAppTo_p_wxObject(void *x) {
15418 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
943e8dfd 15419}
32fe5131
RD
15420static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
15421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
943e8dfd 15422}
32fe5131
RD
15423static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
15424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
943e8dfd 15425}
32fe5131
RD
15426static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
15427 return (void *)((wxObject *) ((wxFindReplaceData *) x));
943e8dfd 15428}
32fe5131
RD
15429static void *_p_wxValidatorTo_p_wxObject(void *x) {
15430 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
943e8dfd 15431}
32fe5131
RD
15432static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15433 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
943e8dfd 15434}
32fe5131
RD
15435static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15436 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
943e8dfd 15437}
32fe5131
RD
15438static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15439 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
943e8dfd 15440}
32fe5131
RD
15441static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15442 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
943e8dfd 15443}
32fe5131
RD
15444static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
15445 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
943e8dfd 15446}
32fe5131
RD
15447static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15448 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
943e8dfd 15449}
32fe5131
RD
15450static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
15451 return (void *)((wxObject *) ((wxPrintDialogData *) x));
d14a1e28 15452}
32fe5131
RD
15453static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
15454 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
d14a1e28 15455}
32fe5131
RD
15456static void *_p_wxPrinterTo_p_wxObject(void *x) {
15457 return (void *)((wxObject *) ((wxPrinter *) x));
d14a1e28 15458}
32fe5131
RD
15459static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 15461}
32fe5131
RD
15462static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
15463 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 15464}
32fe5131
RD
15465static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
15466 return (void *)((wxObject *) ((wxHtmlParser *) x));
d14a1e28 15467}
32fe5131
RD
15468static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15469 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
d14a1e28 15470}
32fe5131
RD
15471static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15472 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
d14a1e28 15473}
32fe5131
RD
15474static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15475 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
d14a1e28 15476}
32fe5131
RD
15477static void *_p_wxControlTo_p_wxObject(void *x) {
15478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
d14a1e28 15479}
32fe5131
RD
15480static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
15481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15482}
32fe5131
RD
15483static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
15484 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
d14a1e28 15485}
32fe5131
RD
15486static void *_p_wxColourDataTo_p_wxObject(void *x) {
15487 return (void *)((wxObject *) ((wxColourData *) x));
d14a1e28 15488}
32fe5131
RD
15489static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15490 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
d14a1e28 15491}
32fe5131
RD
15492static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15493 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
d14a1e28 15494}
32fe5131
RD
15495static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15496 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
d14a1e28 15497}
32fe5131
RD
15498static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15499 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
d14a1e28 15500}
32fe5131
RD
15501static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15502 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
d14a1e28 15503}
32fe5131
RD
15504static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15505 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
d14a1e28 15506}
32fe5131
RD
15507static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
d14a1e28 15509}
32fe5131
RD
15510static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15511 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
d14a1e28 15512}
32fe5131
RD
15513static void *_p_wxDateEventTo_p_wxObject(void *x) {
15514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
d14a1e28 15515}
32fe5131
RD
15516static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
15517 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
d14a1e28 15518}
32fe5131
RD
15519static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
15520 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 15521}
32fe5131
RD
15522static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
15523 return (void *)((wxObject *) ((wxPyPrintout *) x));
d14a1e28 15524}
32fe5131
RD
15525static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
15526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15527}
32fe5131
RD
15528static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
15529 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d14a1e28 15530}
32fe5131
RD
15531static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15532 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d14a1e28 15533}
32fe5131
RD
15534static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15535 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d14a1e28 15536}
32fe5131
RD
15537static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d14a1e28 15539}
32fe5131
RD
15540static void *_p_wxSashEventTo_p_wxObject(void *x) {
15541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
d14a1e28 15542}
32fe5131
RD
15543static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
15544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 15545}
32fe5131
RD
15546static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
15547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 15548}
32fe5131
RD
15549static void *_p_wxPrintDataTo_p_wxObject(void *x) {
15550 return (void *)((wxObject *) ((wxPrintData *) x));
d14a1e28 15551}
32fe5131
RD
15552static void *_p_wxFontDataTo_p_wxObject(void *x) {
15553 return (void *)((wxObject *) ((wxFontData *) x));
d14a1e28 15554}
32fe5131
RD
15555static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
15556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15557}
32fe5131
RD
15558static void *_p_wxFrameTo_p_wxObject(void *x) {
15559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15560}
32fe5131
RD
15561static void *_p_wxPyPanelTo_p_wxObject(void *x) {
15562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 15563}
32fe5131
RD
15564static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
15565 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
d14a1e28 15566}
32fe5131
RD
15567static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
15568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15569}
32fe5131
RD
15570static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15571 return (void *)((wxObject *) ((wxFileSystem *) x));
d14a1e28 15572}
32fe5131
RD
15573static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
15574 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
d14a1e28 15575}
32fe5131
RD
15576static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
15577 return (void *)((wxObject *) ((wxPrintPreview *) x));
d14a1e28 15578}
32fe5131
RD
15579static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15580 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d14a1e28 15581}
32fe5131
RD
15582static void *_p_wxSizerTo_p_wxObject(void *x) {
15583 return (void *)((wxObject *) ((wxSizer *) x));
d14a1e28 15584}
32fe5131
RD
15585static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15586 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d14a1e28 15587}
32fe5131
RD
15588static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15589 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d14a1e28 15590}
32fe5131
RD
15591static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d14a1e28 15593}
32fe5131
RD
15594static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
15595 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28 15596}
32fe5131
RD
15597static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15598 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
d14a1e28 15599}
32fe5131
RD
15600static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15601 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d14a1e28 15602}
32fe5131
RD
15603static void *_p_wxFSFileTo_p_wxObject(void *x) {
15604 return (void *)((wxObject *) ((wxFSFile *) x));
d14a1e28 15605}
32fe5131
RD
15606static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
15607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 15608}
32fe5131
RD
15609static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15610 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 15611}
32fe5131
RD
15612static void *_p_wxMenuTo_p_wxObject(void *x) {
15613 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
070c48b4 15614}
32fe5131
RD
15615static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15616 return (void *)((wxObject *) ((wxSizerItem *) x));
d14a1e28 15617}
32fe5131
RD
15618static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15619 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d14a1e28 15620}
32fe5131
RD
15621static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
15622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 15623}
32fe5131
RD
15624static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
15625 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28 15626}
32fe5131
RD
15627static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
15628 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28 15629}
32fe5131
RD
15630static void *_p_wxFontDialogTo_p_wxObject(void *x) {
15631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 15632}
32fe5131
RD
15633static void *_p_wxDirDialogTo_p_wxObject(void *x) {
15634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
53aa7709 15635}
32fe5131
RD
15636static void *_p_wxColourDialogTo_p_wxObject(void *x) {
15637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 15638}
32fe5131
RD
15639static void *_p_wxDialogTo_p_wxObject(void *x) {
15640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 15641}
32fe5131
RD
15642static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15643 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28 15644}
32fe5131
RD
15645static void *_p_wxPyEventTo_p_wxObject(void *x) {
15646 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
d14a1e28 15647}
32fe5131
RD
15648static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
15649 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 15650}
32fe5131
RD
15651static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
15652 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
d14a1e28 15653}
32fe5131
RD
15654static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15655 return (void *)((wxObject *) ((wxEvtHandler *) x));
d14a1e28 15656}
32fe5131
RD
15657static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15658 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d14a1e28 15659}
32fe5131
RD
15660static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15661 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
d14a1e28 15662}
32fe5131
RD
15663static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15664 return (void *)((wxObject *) ((wxImageHandler *) x));
d14a1e28 15665}
32fe5131
RD
15666static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
15667 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
d14a1e28 15668}
32fe5131
RD
15669static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15670 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d14a1e28 15671}
32fe5131
RD
15672static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15673 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d14a1e28 15674}
32fe5131
RD
15675static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15676 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d14a1e28
RD
15677}
15678static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15679 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15680}
32fe5131
RD
15681static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15682 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d14a1e28 15683}
32fe5131
RD
15684static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15685 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d14a1e28 15686}
32fe5131
RD
15687static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15688 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d14a1e28 15689}
32fe5131
RD
15690static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15691 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
943e8dfd 15692}
32fe5131
RD
15693static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15694 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d14a1e28 15695}
32fe5131
RD
15696static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
15697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
943e8dfd 15698}
32fe5131
RD
15699static void *_p_wxShowEventTo_p_wxObject(void *x) {
15700 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d14a1e28 15701}
32fe5131
RD
15702static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
15703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 15704}
32fe5131
RD
15705static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
15706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15707}
32fe5131
RD
15708static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
15709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15710}
32fe5131
RD
15711static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
15712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 15713}
32fe5131
RD
15714static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
15715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 15716}
32fe5131
RD
15717static void *_p_wxTipWindowTo_p_wxObject(void *x) {
15718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
d14a1e28 15719}
32fe5131
RD
15720static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
15721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
51b83b37 15722}
32fe5131
RD
15723static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
15724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
d14a1e28 15725}
32fe5131
RD
15726static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
15727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 15728}
32fe5131
RD
15729static void *_p_wxSashWindowTo_p_wxObject(void *x) {
15730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
d14a1e28 15731}
32fe5131
RD
15732static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
15733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 15734}
32fe5131
RD
15735static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
15736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 15737}
32fe5131
RD
15738static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
15739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 15740}
32fe5131
RD
15741static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
15742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 15743}
32fe5131
RD
15744static void *_p_wxWindowTo_p_wxObject(void *x) {
15745 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d14a1e28 15746}
32fe5131
RD
15747static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
15748 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
d14a1e28
RD
15749}
15750static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
15751 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
15752}
32fe5131
RD
15753static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
15754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 15755}
32fe5131
RD
15756static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
15757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15758}
32fe5131
RD
15759static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
15760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 15761}
32fe5131
RD
15762static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
15763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 15764}
32fe5131
RD
15765static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
15766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 15767}
32fe5131
RD
15768static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
15769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 15770}
32fe5131
RD
15771static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
15772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 15773}
32fe5131
RD
15774static void *_p_wxFileDialogTo_p_wxObject(void *x) {
15775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 15776}
32fe5131
RD
15777static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
15778 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
41f1cec7 15779}
32fe5131
RD
15780static void *_p_wxPyWindowTo_p_wxObject(void *x) {
15781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
d14a1e28 15782}
32fe5131
RD
15783static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15784 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d14a1e28 15785}
32fe5131
RD
15786static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15787 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
d14a1e28 15788}
32fe5131
RD
15789static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15790 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 15791}
32fe5131
RD
15792static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15793 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 15794}
32fe5131
RD
15795static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
15796 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
d14a1e28 15797}
32fe5131
RD
15798static void *_p_wxPanelTo_p_wxObject(void *x) {
15799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
d14a1e28 15800}
32fe5131
RD
15801static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
15802 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
d14a1e28 15803}
32fe5131
RD
15804static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15805 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d14a1e28 15806}
32fe5131
RD
15807static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
15808 return (void *)((wxObject *) ((wxHtmlCell *) x));
d14a1e28 15809}
32fe5131
RD
15810static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15811 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
a2482628 15812}
32fe5131
RD
15813static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 15815}
32fe5131
RD
15816static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15817 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d14a1e28 15818}
32fe5131
RD
15819static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
d14a1e28 15821}
32fe5131
RD
15822static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
15823 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 15824}
32fe5131
RD
15825static void *_p_wxStatusBarTo_p_wxObject(void *x) {
15826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
d14a1e28 15827}
32fe5131
RD
15828static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
d14a1e28 15830}
32fe5131
RD
15831static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15832 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15833}
15834static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15835 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15836}
15837static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
15838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15839}
15840static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
15841 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
d14a1e28 15842}
32fe5131
RD
15843static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d14a1e28 15845}
32fe5131
RD
15846static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15848}
32fe5131
RD
15849static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15851}
32fe5131
RD
15852static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15853 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 15854}
32fe5131
RD
15855static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15856 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 15857}
32fe5131
RD
15858static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 15860}
32fe5131
RD
15861static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15863}
32fe5131
RD
15864static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 15866}
32fe5131
RD
15867static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
15868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 15869}
32fe5131
RD
15870static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 15872}
32fe5131
RD
15873static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 15875}
32fe5131
RD
15876static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 15878}
32fe5131
RD
15879static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 15881}
32fe5131
RD
15882static void *_p_wxPanelTo_p_wxWindow(void *x) {
15883 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 15884}
32fe5131
RD
15885static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15886 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 15887}
32fe5131
RD
15888static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15889 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 15890}
32fe5131
RD
15891static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
d14a1e28 15893}
32fe5131
RD
15894static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15895 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 15896}
32fe5131
RD
15897static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15898 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 15899}
32fe5131
RD
15900static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15901 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 15902}
32fe5131
RD
15903static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15904 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 15905}
32fe5131
RD
15906static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15907 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 15908}
32fe5131
RD
15909static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15910 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 15911}
32fe5131
RD
15912static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15913 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 15914}
32fe5131
RD
15915static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15916 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 15917}
32fe5131
RD
15918static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15919 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 15920}
32fe5131
RD
15921static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
15922 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15923}
32fe5131
RD
15924static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
15925 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15926}
32fe5131
RD
15927static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
15928 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 15929}
32fe5131
RD
15930static void *_p_wxControlTo_p_wxWindow(void *x) {
15931 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 15932}
32fe5131
RD
15933static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15934 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15935}
32fe5131
RD
15936static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15937 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15938}
32fe5131
RD
15939static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15940 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15941}
32fe5131
RD
15942static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15943 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 15944}
32fe5131
RD
15945static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15946 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 15947}
32fe5131
RD
15948static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15949 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15950}
32fe5131
RD
15951static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
15952 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 15953}
32fe5131
RD
15954static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
15955 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 15956}
32fe5131
RD
15957static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
15958 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 15959}
32fe5131
RD
15960static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
15961 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 15962}
32fe5131
RD
15963static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
15964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15965}
32fe5131
RD
15966static void *_p_wxFrameTo_p_wxWindow(void *x) {
15967 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15968}
32fe5131
RD
15969static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
15970 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 15971}
32fe5131
RD
15972static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
15973 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 15974}
32fe5131
RD
15975static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
15976 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 15977}
32fe5131
RD
15978static void *_p_wxDialogTo_p_wxWindow(void *x) {
15979 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
a2482628 15980}
32fe5131
RD
15981static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
15982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 15983}
32fe5131
RD
15984static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
15985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15986}
32fe5131
RD
15987static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15988 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15989}
32fe5131
RD
15990static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
15991 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15992}
32fe5131
RD
15993static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15994 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15995}
32fe5131
RD
15996static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
15997 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15998}
32fe5131
RD
15999static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
16000 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 16001}
32fe5131
RD
16002static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
16003 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 16004}
32fe5131
RD
16005static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
16006 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
d14a1e28 16007}
32fe5131
RD
16008static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
16009 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 16010}
32fe5131
RD
16011static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
16012 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 16013}
32fe5131
RD
16014static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
16015 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 16016}
32fe5131
RD
16017static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
16018 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 16019}
32fe5131
RD
16020static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
16021 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
d14a1e28 16022}
32fe5131
RD
16023static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
16024 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 16025}
32fe5131
RD
16026static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
16027 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 16028}
32fe5131
RD
16029static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
16030 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
d14a1e28 16031}
32fe5131
RD
16032static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
16033 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 16034}
32fe5131
RD
16035static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
16036 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 16037}
32fe5131
RD
16038static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16039 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
070c48b4 16040}
32fe5131
RD
16041static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16042 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 16043}
32fe5131
RD
16044static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
16045 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
d14a1e28 16046}
32fe5131
RD
16047static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
16048 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
d14a1e28 16049}
32fe5131
RD
16050static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
16051 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 16052}
32fe5131
RD
16053static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
16054 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 16055}
32fe5131
RD
16056static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16057 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 16058}
32fe5131
RD
16059static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16060 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 16061}
32fe5131
RD
16062static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
16063 return (void *)((wxDialog *) ((wxColourDialog *) x));
d14a1e28 16064}
32fe5131
RD
16065static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
16066 return (void *)((wxDialog *) ((wxDirDialog *) x));
d14a1e28 16067}
32fe5131
RD
16068static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
16069 return (void *)((wxDialog *) ((wxFontDialog *) x));
d14a1e28 16070}
32fe5131
RD
16071static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
16072 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 16073}
32fe5131
RD
16074static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
16075 return (void *)((wxDialog *) ((wxFileDialog *) x));
d14a1e28 16076}
32fe5131
RD
16077static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
16078 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 16079}
32fe5131
RD
16080static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
16081 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 16082}
32fe5131
RD
16083static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
16084 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 16085}
32fe5131
RD
16086static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
16087 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
53aa7709 16088}
32fe5131
RD
16089static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
16090 return (void *)((wxDialog *) ((wxMessageDialog *) x));
53aa7709 16091}
32fe5131
RD
16092static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
16093 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
53aa7709 16094}
32fe5131
RD
16095static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16096 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
53aa7709 16097}
32fe5131
RD
16098static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16099 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
53aa7709 16100}
32fe5131
RD
16101static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16102 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
53aa7709 16103}
32fe5131
RD
16104static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
16105 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
53aa7709 16106}
32fe5131
RD
16107static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16108 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
53aa7709 16109}
32fe5131
RD
16110static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16111 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
53aa7709 16112}
32fe5131
RD
16113static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16114 return (void *)((wxPanel *) ((wxPyPanel *) x));
53aa7709 16115}
32fe5131
RD
16116static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16117 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
53aa7709 16118}
32fe5131
RD
16119static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16120 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
53aa7709 16121}
32fe5131
RD
16122static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16123 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
53aa7709 16124}
32fe5131
RD
16125static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
16126 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 16127}
32fe5131
RD
16128static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
16129 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
16130}
16131static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16132 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16133}
16134static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16135 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16136}
16137static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16138 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16139}
16140static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
16141 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
16142}
16143static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
16144 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
16145}
16146static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16147 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16148}
16149static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16150 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16151}
16152static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16153 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16154}
16155static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16156 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16157}
16158static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16159 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16160}
16161static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16162 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16163}
16164static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16165 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16166}
16167static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16168 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16169}
16170static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
16171static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
16172static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
16173static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
16174static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
16175static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
16176static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
16177static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
16178static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
16179static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
16180static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
16181static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
16182static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
16183static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
16184static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
16185static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
16186static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
16187static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
16188static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
16189static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
16190static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
16191static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
16192static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
16193static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
16194static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0};
16195static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
16196static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
16197static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
16198static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
16199static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
16200static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
16201static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
16202static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
16203static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
16204static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
16205static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
16206static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
16207static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
16208static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
16209static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
16210static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
16211static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
16212static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
16213static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
16214static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
16215static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
16216static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
16217static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
16218static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
16219static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
16220static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
16221static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
16222static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
16223static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
16224static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
16225static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
16226static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
16227static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
16228static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
16229static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
16230static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
16231static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
16232static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
16233static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
16234static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
16235static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
16236static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
16237static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
16238static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
16239static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
16240static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
16241static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
16242static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
16243static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
16244static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
16245static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
16246static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
16247static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
16248static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
16249static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
16250static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
16251static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
16252static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
16253static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
16254static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
16255static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
16256static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
16257static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
16258static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
16259static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
16260static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
16261static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
16262static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
16263static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
16264static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
16265static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
16266static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
16267static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
16268static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
16269static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
16270static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
16271static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
16272static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0};
16273static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0};
16274static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0};
16275static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0};
16276static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0};
16277static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0};
16278static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0};
16279static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0};
16280static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0};
16281static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0};
16282static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0};
16283static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0};
16284static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0};
16285static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0};
16286static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0};
16287static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0};
16288static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0};
16289static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0};
16290static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0};
16291static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0};
16292static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0};
16293static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0};
16294static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0};
16295static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0};
16296static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0};
16297static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0};
16298static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0};
16299static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0};
16300static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0};
16301static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0};
16302static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0};
16303static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0};
16304static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0};
16305static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
16306static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
16307static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
16308static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
16309static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
16310static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
16311static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
16312static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
16313static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
16314static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
16315static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
16316static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
16317static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
16318static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
16319static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
16320static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
16321static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
16322static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
16323static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
16324static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
16325static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
16326static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
16327static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
16328static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
16329static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
16330static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
16331static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
16332static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
16333static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
16334static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
16335static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
16336static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
16337static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
16338static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
16339static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
16340static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
16341static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
16342static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
16343static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
16344static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
16345static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
16346static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
16347static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
16348static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
16349static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
16350static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
16351static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
16352static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0};
16353static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0};
16354static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0};
16355static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0};
16356static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
16357static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
16358static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
16359static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
16360static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
16361static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
16362static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
16363static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
16364static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
16365static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
16366static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
16367static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
16368
16369static swig_type_info *swig_type_initial[] = {
16370 &_swigt__p_bool,
16371 &_swigt__p_char,
16372 &_swigt__p_form_ops_t,
16373 &_swigt__p_int,
16374 &_swigt__p_unsigned_char,
16375 &_swigt__p_unsigned_int,
16376 &_swigt__p_unsigned_long,
16377 &_swigt__p_wxANIHandler,
16378 &_swigt__p_wxAcceleratorTable,
16379 &_swigt__p_wxActivateEvent,
16380 &_swigt__p_wxBMPHandler,
16381 &_swigt__p_wxBitmap,
16382 &_swigt__p_wxBoxSizer,
16383 &_swigt__p_wxCURHandler,
16384 &_swigt__p_wxCalculateLayoutEvent,
16385 &_swigt__p_wxChildFocusEvent,
16386 &_swigt__p_wxCloseEvent,
16387 &_swigt__p_wxColour,
16388 &_swigt__p_wxColourData,
16389 &_swigt__p_wxColourDialog,
16390 &_swigt__p_wxCommandEvent,
16391 &_swigt__p_wxConfigBase,
16392 &_swigt__p_wxContextMenuEvent,
16393 &_swigt__p_wxControl,
16394 &_swigt__p_wxControlWithItems,
16395 &_swigt__p_wxCursor,
16396 &_swigt__p_wxDC,
16397 &_swigt__p_wxDateEvent,
16398 &_swigt__p_wxDefaultHtmlRenderingStyle,
16399 &_swigt__p_wxDialog,
16400 &_swigt__p_wxDirDialog,
16401 &_swigt__p_wxDisplayChangedEvent,
16402 &_swigt__p_wxDropFilesEvent,
16403 &_swigt__p_wxDuplexMode,
16404 &_swigt__p_wxEraseEvent,
16405 &_swigt__p_wxEvent,
16406 &_swigt__p_wxEvtHandler,
16407 &_swigt__p_wxFSFile,
16408 &_swigt__p_wxFileDialog,
16409 &_swigt__p_wxFileSystem,
16410 &_swigt__p_wxFindDialogEvent,
16411 &_swigt__p_wxFindReplaceData,
16412 &_swigt__p_wxFindReplaceDialog,
16413 &_swigt__p_wxFlexGridSizer,
16414 &_swigt__p_wxFocusEvent,
16415 &_swigt__p_wxFont,
16416 &_swigt__p_wxFontData,
16417 &_swigt__p_wxFontDialog,
16418 &_swigt__p_wxFrame,
16419 &_swigt__p_wxGBSizerItem,
16420 &_swigt__p_wxGIFHandler,
16421 &_swigt__p_wxGridBagSizer,
16422 &_swigt__p_wxGridSizer,
16423 &_swigt__p_wxHelpControllerBase,
16424 &_swigt__p_wxHelpSearchMode,
16425 &_swigt__p_wxHtmlBookRecArray,
16426 &_swigt__p_wxHtmlBookRecord,
16427 &_swigt__p_wxHtmlCell,
16428 &_swigt__p_wxHtmlColourCell,
16429 &_swigt__p_wxHtmlContainerCell,
16430 &_swigt__p_wxHtmlDCRenderer,
16431 &_swigt__p_wxHtmlEasyPrinting,
16432 &_swigt__p_wxHtmlFilter,
16433 &_swigt__p_wxHtmlFontCell,
16434 &_swigt__p_wxHtmlHelpController,
16435 &_swigt__p_wxHtmlHelpData,
16436 &_swigt__p_wxHtmlHelpDialog,
16437 &_swigt__p_wxHtmlHelpFrame,
16438 &_swigt__p_wxHtmlHelpFrameCfg,
16439 &_swigt__p_wxHtmlHelpWindow,
16440 &_swigt__p_wxHtmlLinkInfo,
16441 &_swigt__p_wxHtmlModalHelp,
16442 &_swigt__p_wxHtmlParser,
16443 &_swigt__p_wxHtmlPrintout,
16444 &_swigt__p_wxHtmlRenderingInfo,
16445 &_swigt__p_wxHtmlRenderingState,
16446 &_swigt__p_wxHtmlRenderingStyle,
16447 &_swigt__p_wxHtmlSearchStatus,
16448 &_swigt__p_wxHtmlSelection,
16449 &_swigt__p_wxHtmlTag,
16450 &_swigt__p_wxHtmlTagHandler,
16451 &_swigt__p_wxHtmlWidgetCell,
16452 &_swigt__p_wxHtmlWinParser,
16453 &_swigt__p_wxHtmlWindow,
16454 &_swigt__p_wxHtmlWindowEvent,
16455 &_swigt__p_wxHtmlWordCell,
16456 &_swigt__p_wxICOHandler,
16457 &_swigt__p_wxIconizeEvent,
16458 &_swigt__p_wxIdleEvent,
16459 &_swigt__p_wxImage,
16460 &_swigt__p_wxImageHandler,
16461 &_swigt__p_wxIndividualLayoutConstraint,
16462 &_swigt__p_wxInitDialogEvent,
16463 &_swigt__p_wxJPEGHandler,
16464 &_swigt__p_wxKeyEvent,
16465 &_swigt__p_wxLayoutAlgorithm,
16466 &_swigt__p_wxLayoutConstraints,
16467 &_swigt__p_wxMDIChildFrame,
16468 &_swigt__p_wxMDIClientWindow,
16469 &_swigt__p_wxMDIParentFrame,
16470 &_swigt__p_wxMaximizeEvent,
16471 &_swigt__p_wxMenu,
16472 &_swigt__p_wxMenuBar,
16473 &_swigt__p_wxMenuEvent,
16474 &_swigt__p_wxMenuItem,
16475 &_swigt__p_wxMessageDialog,
16476 &_swigt__p_wxMiniFrame,
16477 &_swigt__p_wxMouseCaptureChangedEvent,
16478 &_swigt__p_wxMouseEvent,
16479 &_swigt__p_wxMoveEvent,
16480 &_swigt__p_wxMultiChoiceDialog,
16481 &_swigt__p_wxNavigationKeyEvent,
16482 &_swigt__p_wxNcPaintEvent,
16483 &_swigt__p_wxNotifyEvent,
16484 &_swigt__p_wxObject,
16485 &_swigt__p_wxPCXHandler,
16486 &_swigt__p_wxPNGHandler,
16487 &_swigt__p_wxPNMHandler,
16488 &_swigt__p_wxPageSetupDialog,
16489 &_swigt__p_wxPageSetupDialogData,
16490 &_swigt__p_wxPaintEvent,
16491 &_swigt__p_wxPaletteChangedEvent,
16492 &_swigt__p_wxPanel,
16493 &_swigt__p_wxPaperSize,
16494 &_swigt__p_wxPasswordEntryDialog,
16495 &_swigt__p_wxPoint,
16496 &_swigt__p_wxPopupWindow,
16497 &_swigt__p_wxPreviewCanvas,
16498 &_swigt__p_wxPreviewControlBar,
16499 &_swigt__p_wxPreviewFrame,
16500 &_swigt__p_wxPrintData,
16501 &_swigt__p_wxPrintDialog,
16502 &_swigt__p_wxPrintDialogData,
16503 &_swigt__p_wxPrintPreview,
16504 &_swigt__p_wxPrinter,
16505 &_swigt__p_wxProgressDialog,
16506 &_swigt__p_wxPyApp,
16507 &_swigt__p_wxPyCommandEvent,
16508 &_swigt__p_wxPyEvent,
16509 &_swigt__p_wxPyHtmlFilter,
16510 &_swigt__p_wxPyHtmlListBox,
16511 &_swigt__p_wxPyHtmlTagHandler,
16512 &_swigt__p_wxPyHtmlWinTagHandler,
16513 &_swigt__p_wxPyHtmlWindow,
16514 &_swigt__p_wxPyImageHandler,
16515 &_swigt__p_wxPyPanel,
16516 &_swigt__p_wxPyPopupTransientWindow,
16517 &_swigt__p_wxPyPreviewControlBar,
16518 &_swigt__p_wxPyPreviewFrame,
16519 &_swigt__p_wxPyPrintPreview,
16520 &_swigt__p_wxPyPrintout,
16521 &_swigt__p_wxPyScrolledWindow,
16522 &_swigt__p_wxPySizer,
16523 &_swigt__p_wxPyTaskBarIcon,
16524 &_swigt__p_wxPyVListBox,
16525 &_swigt__p_wxPyVScrolledWindow,
16526 &_swigt__p_wxPyValidator,
16527 &_swigt__p_wxPyWindow,
16528 &_swigt__p_wxQueryLayoutInfoEvent,
16529 &_swigt__p_wxQueryNewPaletteEvent,
16530 &_swigt__p_wxSashEvent,
16531 &_swigt__p_wxSashLayoutWindow,
16532 &_swigt__p_wxSashWindow,
16533 &_swigt__p_wxScrollEvent,
16534 &_swigt__p_wxScrollWinEvent,
16535 &_swigt__p_wxScrolledWindow,
16536 &_swigt__p_wxSetCursorEvent,
16537 &_swigt__p_wxShowEvent,
16538 &_swigt__p_wxSingleChoiceDialog,
16539 &_swigt__p_wxSize,
16540 &_swigt__p_wxSizeEvent,
16541 &_swigt__p_wxSizer,
16542 &_swigt__p_wxSizerItem,
16543 &_swigt__p_wxSplashScreen,
16544 &_swigt__p_wxSplashScreenWindow,
16545 &_swigt__p_wxSplitterEvent,
16546 &_swigt__p_wxSplitterWindow,
16547 &_swigt__p_wxStaticBoxSizer,
16548 &_swigt__p_wxStatusBar,
16549 &_swigt__p_wxStdDialogButtonSizer,
16550 &_swigt__p_wxString,
16551 &_swigt__p_wxSysColourChangedEvent,
16552 &_swigt__p_wxTIFFHandler,
16553 &_swigt__p_wxTaskBarIconEvent,
16554 &_swigt__p_wxTextEntryDialog,
16555 &_swigt__p_wxTipWindow,
16556 &_swigt__p_wxTopLevelWindow,
16557 &_swigt__p_wxTreeCtrl,
16558 &_swigt__p_wxUpdateUIEvent,
16559 &_swigt__p_wxValidator,
16560 &_swigt__p_wxVisualAttributes,
16561 &_swigt__p_wxWindow,
16562 &_swigt__p_wxWindowCreateEvent,
16563 &_swigt__p_wxWindowDestroyEvent,
16564 &_swigt__p_wxXPMHandler,
16565 &_swigt__ptrdiff_t,
16566 &_swigt__std__ptrdiff_t,
16567 &_swigt__unsigned_int,
16568};
16569
16570static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
16571static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16572static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
16573static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16574static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16575static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16576static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16577static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
16578static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
16579static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
16580static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
16581static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
16582static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
16583static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
16584static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16585static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16586static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
16587static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
16588static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16589static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
16590static 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}};
16591static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
16592static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
16593static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
16594static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
16595static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16596static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16597static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16598static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16599static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16600static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16601static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16602static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16603static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16604static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16605static 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}};
16606static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
16607static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16608static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
16609static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
16610static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
16611static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16612static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
16613static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
16614static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
16615static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
16616static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16617static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16618static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
16619static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16620static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
16621static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16622static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16623static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16624static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16625static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16626static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16627static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
16628static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16629static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
16630static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
16631static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16632static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16633static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
16634static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
16635static 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}};
16636static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16637static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16638static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16639static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16640static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
16641static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
16642static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16643static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16644static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16645static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16646static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16647static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16648static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16649static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16650static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16651static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16652static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16653static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16654static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16655static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
16656static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16657static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
16658static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16659static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16660static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16661static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16662static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16663static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16664static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16665static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
16666static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
16667static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16668static 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}};
16669static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
16670static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
16671static 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}};
16672static 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}};
16673static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
16674static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
16675static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
16676static 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}};
16677static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
16678static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
16679static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
16680static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
16681static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16682static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
16683static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
16684static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
16685static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
16686static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
16687static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
16688static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
16689static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
16690static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
16691static 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}};
16692static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
16693static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
16694static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
16695static 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}};
16696static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
16697static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
16698static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
16699static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16700static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
16701static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
16702static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16703static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
16704static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
16705static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
16706static 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}};
16707static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
16708static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
16709static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
16710static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
16711static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
16712static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
16713static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
16714static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
16715static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16716static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16717static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
16718static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
16719static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
16720static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
16721static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16722static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16723static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
16724static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16725static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
16726static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16727static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
16728static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
16729static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16730static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16731static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
16732static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
16733static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
16734static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
16735static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16736static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16737static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
16738static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
16739static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
16740static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
16741static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
16742static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
16743static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
16744static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
16745static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
16746static 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}};
16747static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
16748static 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}};
16749static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
16750static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
16751static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
16752static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16753static 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}};
16754static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16755static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16756static 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}};
16757static 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}};
16758static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
16759static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16760static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
16761static 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}};
16762static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
16763static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
16764static 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}};
16765static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16766static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16767static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16768
16769static swig_cast_info *swig_cast_initial[] = {
16770 _swigc__p_bool,
16771 _swigc__p_char,
16772 _swigc__p_form_ops_t,
16773 _swigc__p_int,
16774 _swigc__p_unsigned_char,
16775 _swigc__p_unsigned_int,
16776 _swigc__p_unsigned_long,
16777 _swigc__p_wxANIHandler,
16778 _swigc__p_wxAcceleratorTable,
16779 _swigc__p_wxActivateEvent,
16780 _swigc__p_wxBMPHandler,
16781 _swigc__p_wxBitmap,
16782 _swigc__p_wxBoxSizer,
16783 _swigc__p_wxCURHandler,
16784 _swigc__p_wxCalculateLayoutEvent,
16785 _swigc__p_wxChildFocusEvent,
16786 _swigc__p_wxCloseEvent,
16787 _swigc__p_wxColour,
16788 _swigc__p_wxColourData,
16789 _swigc__p_wxColourDialog,
16790 _swigc__p_wxCommandEvent,
16791 _swigc__p_wxConfigBase,
16792 _swigc__p_wxContextMenuEvent,
16793 _swigc__p_wxControl,
16794 _swigc__p_wxControlWithItems,
16795 _swigc__p_wxCursor,
16796 _swigc__p_wxDC,
16797 _swigc__p_wxDateEvent,
16798 _swigc__p_wxDefaultHtmlRenderingStyle,
16799 _swigc__p_wxDialog,
16800 _swigc__p_wxDirDialog,
16801 _swigc__p_wxDisplayChangedEvent,
16802 _swigc__p_wxDropFilesEvent,
16803 _swigc__p_wxDuplexMode,
16804 _swigc__p_wxEraseEvent,
16805 _swigc__p_wxEvent,
16806 _swigc__p_wxEvtHandler,
16807 _swigc__p_wxFSFile,
16808 _swigc__p_wxFileDialog,
16809 _swigc__p_wxFileSystem,
16810 _swigc__p_wxFindDialogEvent,
16811 _swigc__p_wxFindReplaceData,
16812 _swigc__p_wxFindReplaceDialog,
16813 _swigc__p_wxFlexGridSizer,
16814 _swigc__p_wxFocusEvent,
16815 _swigc__p_wxFont,
16816 _swigc__p_wxFontData,
16817 _swigc__p_wxFontDialog,
16818 _swigc__p_wxFrame,
16819 _swigc__p_wxGBSizerItem,
16820 _swigc__p_wxGIFHandler,
16821 _swigc__p_wxGridBagSizer,
16822 _swigc__p_wxGridSizer,
16823 _swigc__p_wxHelpControllerBase,
16824 _swigc__p_wxHelpSearchMode,
16825 _swigc__p_wxHtmlBookRecArray,
16826 _swigc__p_wxHtmlBookRecord,
16827 _swigc__p_wxHtmlCell,
16828 _swigc__p_wxHtmlColourCell,
16829 _swigc__p_wxHtmlContainerCell,
16830 _swigc__p_wxHtmlDCRenderer,
16831 _swigc__p_wxHtmlEasyPrinting,
16832 _swigc__p_wxHtmlFilter,
16833 _swigc__p_wxHtmlFontCell,
16834 _swigc__p_wxHtmlHelpController,
16835 _swigc__p_wxHtmlHelpData,
16836 _swigc__p_wxHtmlHelpDialog,
16837 _swigc__p_wxHtmlHelpFrame,
16838 _swigc__p_wxHtmlHelpFrameCfg,
16839 _swigc__p_wxHtmlHelpWindow,
16840 _swigc__p_wxHtmlLinkInfo,
16841 _swigc__p_wxHtmlModalHelp,
16842 _swigc__p_wxHtmlParser,
16843 _swigc__p_wxHtmlPrintout,
16844 _swigc__p_wxHtmlRenderingInfo,
16845 _swigc__p_wxHtmlRenderingState,
16846 _swigc__p_wxHtmlRenderingStyle,
16847 _swigc__p_wxHtmlSearchStatus,
16848 _swigc__p_wxHtmlSelection,
16849 _swigc__p_wxHtmlTag,
16850 _swigc__p_wxHtmlTagHandler,
16851 _swigc__p_wxHtmlWidgetCell,
16852 _swigc__p_wxHtmlWinParser,
16853 _swigc__p_wxHtmlWindow,
16854 _swigc__p_wxHtmlWindowEvent,
16855 _swigc__p_wxHtmlWordCell,
16856 _swigc__p_wxICOHandler,
16857 _swigc__p_wxIconizeEvent,
16858 _swigc__p_wxIdleEvent,
16859 _swigc__p_wxImage,
16860 _swigc__p_wxImageHandler,
16861 _swigc__p_wxIndividualLayoutConstraint,
16862 _swigc__p_wxInitDialogEvent,
16863 _swigc__p_wxJPEGHandler,
16864 _swigc__p_wxKeyEvent,
16865 _swigc__p_wxLayoutAlgorithm,
16866 _swigc__p_wxLayoutConstraints,
16867 _swigc__p_wxMDIChildFrame,
16868 _swigc__p_wxMDIClientWindow,
16869 _swigc__p_wxMDIParentFrame,
16870 _swigc__p_wxMaximizeEvent,
16871 _swigc__p_wxMenu,
16872 _swigc__p_wxMenuBar,
16873 _swigc__p_wxMenuEvent,
16874 _swigc__p_wxMenuItem,
16875 _swigc__p_wxMessageDialog,
16876 _swigc__p_wxMiniFrame,
16877 _swigc__p_wxMouseCaptureChangedEvent,
16878 _swigc__p_wxMouseEvent,
16879 _swigc__p_wxMoveEvent,
16880 _swigc__p_wxMultiChoiceDialog,
16881 _swigc__p_wxNavigationKeyEvent,
16882 _swigc__p_wxNcPaintEvent,
16883 _swigc__p_wxNotifyEvent,
16884 _swigc__p_wxObject,
16885 _swigc__p_wxPCXHandler,
16886 _swigc__p_wxPNGHandler,
16887 _swigc__p_wxPNMHandler,
16888 _swigc__p_wxPageSetupDialog,
16889 _swigc__p_wxPageSetupDialogData,
16890 _swigc__p_wxPaintEvent,
16891 _swigc__p_wxPaletteChangedEvent,
16892 _swigc__p_wxPanel,
16893 _swigc__p_wxPaperSize,
16894 _swigc__p_wxPasswordEntryDialog,
16895 _swigc__p_wxPoint,
16896 _swigc__p_wxPopupWindow,
16897 _swigc__p_wxPreviewCanvas,
16898 _swigc__p_wxPreviewControlBar,
16899 _swigc__p_wxPreviewFrame,
16900 _swigc__p_wxPrintData,
16901 _swigc__p_wxPrintDialog,
16902 _swigc__p_wxPrintDialogData,
16903 _swigc__p_wxPrintPreview,
16904 _swigc__p_wxPrinter,
16905 _swigc__p_wxProgressDialog,
16906 _swigc__p_wxPyApp,
16907 _swigc__p_wxPyCommandEvent,
16908 _swigc__p_wxPyEvent,
16909 _swigc__p_wxPyHtmlFilter,
16910 _swigc__p_wxPyHtmlListBox,
16911 _swigc__p_wxPyHtmlTagHandler,
16912 _swigc__p_wxPyHtmlWinTagHandler,
16913 _swigc__p_wxPyHtmlWindow,
16914 _swigc__p_wxPyImageHandler,
16915 _swigc__p_wxPyPanel,
16916 _swigc__p_wxPyPopupTransientWindow,
16917 _swigc__p_wxPyPreviewControlBar,
16918 _swigc__p_wxPyPreviewFrame,
16919 _swigc__p_wxPyPrintPreview,
16920 _swigc__p_wxPyPrintout,
16921 _swigc__p_wxPyScrolledWindow,
16922 _swigc__p_wxPySizer,
16923 _swigc__p_wxPyTaskBarIcon,
16924 _swigc__p_wxPyVListBox,
16925 _swigc__p_wxPyVScrolledWindow,
16926 _swigc__p_wxPyValidator,
16927 _swigc__p_wxPyWindow,
16928 _swigc__p_wxQueryLayoutInfoEvent,
16929 _swigc__p_wxQueryNewPaletteEvent,
16930 _swigc__p_wxSashEvent,
16931 _swigc__p_wxSashLayoutWindow,
16932 _swigc__p_wxSashWindow,
16933 _swigc__p_wxScrollEvent,
16934 _swigc__p_wxScrollWinEvent,
16935 _swigc__p_wxScrolledWindow,
16936 _swigc__p_wxSetCursorEvent,
16937 _swigc__p_wxShowEvent,
16938 _swigc__p_wxSingleChoiceDialog,
16939 _swigc__p_wxSize,
16940 _swigc__p_wxSizeEvent,
16941 _swigc__p_wxSizer,
16942 _swigc__p_wxSizerItem,
16943 _swigc__p_wxSplashScreen,
16944 _swigc__p_wxSplashScreenWindow,
16945 _swigc__p_wxSplitterEvent,
16946 _swigc__p_wxSplitterWindow,
16947 _swigc__p_wxStaticBoxSizer,
16948 _swigc__p_wxStatusBar,
16949 _swigc__p_wxStdDialogButtonSizer,
16950 _swigc__p_wxString,
16951 _swigc__p_wxSysColourChangedEvent,
16952 _swigc__p_wxTIFFHandler,
16953 _swigc__p_wxTaskBarIconEvent,
16954 _swigc__p_wxTextEntryDialog,
16955 _swigc__p_wxTipWindow,
16956 _swigc__p_wxTopLevelWindow,
16957 _swigc__p_wxTreeCtrl,
16958 _swigc__p_wxUpdateUIEvent,
16959 _swigc__p_wxValidator,
16960 _swigc__p_wxVisualAttributes,
16961 _swigc__p_wxWindow,
16962 _swigc__p_wxWindowCreateEvent,
16963 _swigc__p_wxWindowDestroyEvent,
16964 _swigc__p_wxXPMHandler,
16965 _swigc__ptrdiff_t,
16966 _swigc__std__ptrdiff_t,
16967 _swigc__unsigned_int,
d14a1e28
RD
16968};
16969
16970
16971/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16972
16973static swig_const_info swig_const_table[] = {
c370783e 16974{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
16975
16976#ifdef __cplusplus
16977}
16978#endif
32fe5131
RD
16979/*************************************************************************
16980 * Type initialization:
16981 * This problem is tough by the requirement that no dynamic
16982 * memory is used. Also, since swig_type_info structures store pointers to
16983 * swig_cast_info structures and swig_cast_info structures store pointers back
16984 * to swig_type_info structures, we need some lookup code at initialization.
16985 * The idea is that swig generates all the structures that are needed.
16986 * The runtime then collects these partially filled structures.
16987 * The SWIG_InitializeModule function takes these initial arrays out of
16988 * swig_module, and does all the lookup, filling in the swig_module.types
16989 * array with the correct data and linking the correct swig_cast_info
16990 * structures together.
16991
16992 * The generated swig_type_info structures are assigned staticly to an initial
16993 * array. We just loop though that array, and handle each type individually.
16994 * First we lookup if this type has been already loaded, and if so, use the
16995 * loaded structure instead of the generated one. Then we have to fill in the
16996 * cast linked list. The cast data is initially stored in something like a
16997 * two-dimensional array. Each row corresponds to a type (there are the same
16998 * number of rows as there are in the swig_type_initial array). Each entry in
16999 * a column is one of the swig_cast_info structures for that type.
17000 * The cast_initial array is actually an array of arrays, because each row has
17001 * a variable number of columns. So to actually build the cast linked list,
17002 * we find the array of casts associated with the type, and loop through it
17003 * adding the casts to the list. The one last trick we need to do is making
17004 * sure the type pointer in the swig_cast_info struct is correct.
17005
17006 * First off, we lookup the cast->type name to see if it is already loaded.
17007 * There are three cases to handle:
17008 * 1) If the cast->type has already been loaded AND the type we are adding
17009 * casting info to has not been loaded (it is in this module), THEN we
17010 * replace the cast->type pointer with the type pointer that has already
17011 * been loaded.
17012 * 2) If BOTH types (the one we are adding casting info to, and the
17013 * cast->type) are loaded, THEN the cast info has already been loaded by
17014 * the previous module so we just ignore it.
17015 * 3) Finally, if cast->type has not already been loaded, then we add that
17016 * swig_cast_info to the linked list (because the cast->type) pointer will
17017 * be correct.
17018**/
17019
17020#ifdef __cplusplus
17021extern "C" {
17022#if 0
17023} /* c-mode */
17024#endif
17025#endif
17026
17027#if 0
17028#define SWIGRUNTIME_DEBUG
17029#endif
17030
17031SWIGRUNTIME void
17032SWIG_InitializeModule(void *clientdata) {
17033 size_t i;
17034 swig_module_info *module_head;
17035 static int init_run = 0;
17036
17037 clientdata = clientdata;
17038
17039 if (init_run) return;
17040 init_run = 1;
17041
17042 /* Initialize the swig_module */
17043 swig_module.type_initial = swig_type_initial;
17044 swig_module.cast_initial = swig_cast_initial;
17045
17046 /* Try and load any already created modules */
17047 module_head = SWIG_GetModule(clientdata);
17048 if (module_head) {
17049 swig_module.next = module_head->next;
17050 module_head->next = &swig_module;
17051 } else {
17052 /* This is the first module loaded */
17053 swig_module.next = &swig_module;
17054 SWIG_SetModule(clientdata, &swig_module);
17055 }
17056
17057 /* Now work on filling in swig_module.types */
17058#ifdef SWIGRUNTIME_DEBUG
17059 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
17060#endif
17061 for (i = 0; i < swig_module.size; ++i) {
17062 swig_type_info *type = 0;
17063 swig_type_info *ret;
17064 swig_cast_info *cast;
17065
17066#ifdef SWIGRUNTIME_DEBUG
17067 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17068#endif
17069
17070 /* if there is another module already loaded */
17071 if (swig_module.next != &swig_module) {
17072 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
17073 }
17074 if (type) {
17075 /* Overwrite clientdata field */
17076#ifdef SWIGRUNTIME_DEBUG
17077 printf("SWIG_InitializeModule: found type %s\n", type->name);
17078#endif
17079 if (swig_module.type_initial[i]->clientdata) {
17080 type->clientdata = swig_module.type_initial[i]->clientdata;
17081#ifdef SWIGRUNTIME_DEBUG
17082 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
17083#endif
17084 }
17085 } else {
17086 type = swig_module.type_initial[i];
17087 }
17088
17089 /* Insert casting types */
17090 cast = swig_module.cast_initial[i];
17091 while (cast->type) {
17092 /* Don't need to add information already in the list */
17093 ret = 0;
17094#ifdef SWIGRUNTIME_DEBUG
17095 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
17096#endif
17097 if (swig_module.next != &swig_module) {
17098 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
17099#ifdef SWIGRUNTIME_DEBUG
17100 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
17101#endif
17102 }
17103 if (ret) {
17104 if (type == swig_module.type_initial[i]) {
17105#ifdef SWIGRUNTIME_DEBUG
17106 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
17107#endif
17108 cast->type = ret;
17109 ret = 0;
17110 } else {
17111 /* Check for casting already in the list */
17112 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
17113#ifdef SWIGRUNTIME_DEBUG
17114 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
17115#endif
17116 if (!ocast) ret = 0;
17117 }
17118 }
17119
17120 if (!ret) {
17121#ifdef SWIGRUNTIME_DEBUG
17122 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17123#endif
17124 if (type->cast) {
17125 type->cast->prev = cast;
17126 cast->next = type->cast;
17127 }
17128 type->cast = cast;
17129 }
17130 cast++;
17131 }
17132 /* Set entry in modules->types array equal to the type */
17133 swig_module.types[i] = type;
17134 }
17135 swig_module.types[i] = 0;
17136
17137#ifdef SWIGRUNTIME_DEBUG
17138 printf("**** SWIG_InitializeModule: Cast List ******\n");
17139 for (i = 0; i < swig_module.size; ++i) {
17140 int j = 0;
17141 swig_cast_info *cast = swig_module.cast_initial[i];
17142 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17143 while (cast->type) {
17144 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17145 cast++;
17146 ++j;
17147 }
17148 printf("---- Total casts: %d\n",j);
17149 }
17150 printf("**** SWIG_InitializeModule: Cast List ******\n");
17151#endif
17152}
17153
17154/* This function will propagate the clientdata field of type to
17155* any new swig_type_info structures that have been added into the list
17156* of equivalent types. It is like calling
17157* SWIG_TypeClientData(type, clientdata) a second time.
17158*/
17159SWIGRUNTIME void
17160SWIG_PropagateClientData(void) {
17161 size_t i;
17162 swig_cast_info *equiv;
17163 static int init_run = 0;
17164
17165 if (init_run) return;
17166 init_run = 1;
17167
17168 for (i = 0; i < swig_module.size; i++) {
17169 if (swig_module.types[i]->clientdata) {
17170 equiv = swig_module.types[i]->cast;
17171 while (equiv) {
17172 if (!equiv->converter) {
17173 if (equiv->type && !equiv->type->clientdata)
17174 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17175 }
17176 equiv = equiv->next;
17177 }
17178 }
17179 }
17180}
17181
17182#ifdef __cplusplus
17183#if 0
17184{
17185 /* c-mode */
17186#endif
17187}
17188#endif
17189
d14a1e28 17190
36ed4f51
RD
17191
17192#ifdef __cplusplus
17193extern "C" {
17194#endif
17195
17196 /* Python-specific SWIG API */
17197#define SWIG_newvarlink() SWIG_Python_newvarlink()
17198#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17199#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17200
17201 /* -----------------------------------------------------------------------------
17202 * global variable support code.
17203 * ----------------------------------------------------------------------------- */
17204
17205 typedef struct swig_globalvar {
17206 char *name; /* Name of global variable */
32fe5131 17207 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
17208 int (*set_attr)(PyObject *); /* Set the value */
17209 struct swig_globalvar *next;
17210 } swig_globalvar;
17211
17212 typedef struct swig_varlinkobject {
17213 PyObject_HEAD
17214 swig_globalvar *vars;
17215 } swig_varlinkobject;
17216
32fe5131 17217 SWIGINTERN PyObject *
36ed4f51
RD
17218 swig_varlink_repr(swig_varlinkobject *v) {
17219 v = v;
17220 return PyString_FromString("<Swig global variables>");
17221 }
17222
32fe5131 17223 SWIGINTERN int
36ed4f51
RD
17224 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17225 swig_globalvar *var;
17226 flags = flags;
17227 fprintf(fp,"Swig global variables { ");
17228 for (var = v->vars; var; var=var->next) {
17229 fprintf(fp,"%s", var->name);
17230 if (var->next) fprintf(fp,", ");
17231 }
17232 fprintf(fp," }\n");
17233 return 0;
17234 }
17235
32fe5131 17236 SWIGINTERN PyObject *
36ed4f51
RD
17237 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17238 swig_globalvar *var = v->vars;
17239 while (var) {
17240 if (strcmp(var->name,n) == 0) {
17241 return (*var->get_attr)();
17242 }
17243 var = var->next;
17244 }
17245 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17246 return NULL;
17247 }
17248
32fe5131 17249 SWIGINTERN int
36ed4f51
RD
17250 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17251 swig_globalvar *var = v->vars;
17252 while (var) {
17253 if (strcmp(var->name,n) == 0) {
17254 return (*var->set_attr)(p);
17255 }
17256 var = var->next;
17257 }
17258 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17259 return 1;
17260 }
17261
32fe5131
RD
17262 SWIGINTERN PyTypeObject*
17263 swig_varlink_type(void) {
17264 static char varlink__doc__[] = "Swig var link object";
17265 static PyTypeObject varlink_type
17266#if !defined(__cplusplus)
17267 ;
17268 static int type_init = 0;
17269 if (!type_init) {
17270 PyTypeObject tmp
17271#endif
17272 = {
17273 PyObject_HEAD_INIT(&PyType_Type)
17274 0, /* Number of items in variable part (ob_size) */
17275 (char *)"swigvarlink", /* Type name (tp_name) */
17276 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17277 0, /* Itemsize (tp_itemsize) */
17278 0, /* Deallocator (tp_dealloc) */
17279 (printfunc) swig_varlink_print, /* Print (tp_print) */
17280 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17281 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17282 0, /* tp_compare */
17283 (reprfunc) swig_varlink_repr, /* tp_repr */
17284 0, /* tp_as_number */
17285 0, /* tp_as_sequence */
17286 0, /* tp_as_mapping */
17287 0, /* tp_hash */
17288 0, /* tp_call */
17289 0, /* tp_str */
17290 0, /* tp_getattro */
17291 0, /* tp_setattro */
17292 0, /* tp_as_buffer */
17293 0, /* tp_flags */
17294 varlink__doc__, /* tp_doc */
36ed4f51 17295#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
17296 0, /* tp_traverse */
17297 0, /* tp_clear */
36ed4f51
RD
17298#endif
17299#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
17300 0, /* tp_richcompare */
17301 0, /* tp_weaklistoffset */
36ed4f51
RD
17302#endif
17303#if PY_VERSION_HEX >= 0x02020000
32fe5131 17304 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
17305#endif
17306#if PY_VERSION_HEX >= 0x02030000
32fe5131 17307 0, /* tp_del */
36ed4f51
RD
17308#endif
17309#ifdef COUNT_ALLOCS
32fe5131 17310 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 17311#endif
32fe5131
RD
17312 };
17313#if !defined(__cplusplus)
17314 varlink_type = tmp;
17315 type_init = 1;
17316 }
17317#endif
17318 return &varlink_type;
17319 }
36ed4f51
RD
17320
17321 /* Create a variable linking object for use later */
32fe5131 17322 SWIGINTERN PyObject *
36ed4f51 17323 SWIG_Python_newvarlink(void) {
32fe5131
RD
17324 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
17325 if (result) {
17326 result->vars = 0;
17327 }
36ed4f51
RD
17328 return ((PyObject*) result);
17329 }
17330
32fe5131 17331 SWIGINTERN void
36ed4f51 17332 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
17333 swig_varlinkobject *v = (swig_varlinkobject *) p;
17334 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17335 if (gv) {
17336 size_t size = strlen(name)+1;
17337 gv->name = (char *)malloc(size);
17338 if (gv->name) {
17339 strncpy(gv->name,name,size);
17340 gv->get_attr = get_attr;
17341 gv->set_attr = set_attr;
17342 gv->next = v->vars;
17343 }
17344 }
36ed4f51
RD
17345 v->vars = gv;
17346 }
17347
17348 /* -----------------------------------------------------------------------------
17349 * constants/methods manipulation
17350 * ----------------------------------------------------------------------------- */
17351
17352 /* Install Constants */
32fe5131 17353 SWIGINTERN void
36ed4f51
RD
17354 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17355 PyObject *obj = 0;
17356 size_t i;
32fe5131 17357 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
17358 switch(constants[i].type) {
17359 case SWIG_PY_INT:
17360 obj = PyInt_FromLong(constants[i].lvalue);
17361 break;
17362 case SWIG_PY_FLOAT:
17363 obj = PyFloat_FromDouble(constants[i].dvalue);
17364 break;
17365 case SWIG_PY_STRING:
17366 if (constants[i].pvalue) {
17367 obj = PyString_FromString((char *) constants[i].pvalue);
17368 } else {
17369 Py_INCREF(Py_None);
17370 obj = Py_None;
17371 }
17372 break;
17373 case SWIG_PY_POINTER:
17374 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17375 break;
17376 case SWIG_PY_BINARY:
17377 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17378 break;
17379 default:
17380 obj = 0;
17381 break;
17382 }
17383 if (obj) {
17384 PyDict_SetItemString(d,constants[i].name,obj);
17385 Py_DECREF(obj);
17386 }
17387 }
17388 }
17389
17390 /* -----------------------------------------------------------------------------*/
17391 /* Fix SwigMethods to carry the callback ptrs when needed */
17392 /* -----------------------------------------------------------------------------*/
17393
32fe5131 17394 SWIGINTERN void
36ed4f51
RD
17395 SWIG_Python_FixMethods(PyMethodDef *methods,
17396 swig_const_info *const_table,
17397 swig_type_info **types,
17398 swig_type_info **types_initial) {
17399 size_t i;
17400 for (i = 0; methods[i].ml_name; ++i) {
17401 char *c = methods[i].ml_doc;
17402 if (c && (c = strstr(c, "swig_ptr: "))) {
17403 int j;
17404 swig_const_info *ci = 0;
17405 char *name = c + 10;
32fe5131 17406 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
17407 if (strncmp(const_table[j].name, name,
17408 strlen(const_table[j].name)) == 0) {
17409 ci = &(const_table[j]);
17410 break;
17411 }
17412 }
17413 if (ci) {
17414 size_t shift = (ci->ptype) - types;
17415 swig_type_info *ty = types_initial[shift];
17416 size_t ldoc = (c - methods[i].ml_doc);
17417 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17418 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
17419 if (ndoc) {
17420 char *buff = ndoc;
17421 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
17422 if (ptr) {
17423 strncpy(buff, methods[i].ml_doc, ldoc);
17424 buff += ldoc;
17425 strncpy(buff, "swig_ptr: ", 10);
17426 buff += 10;
17427 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17428 methods[i].ml_doc = ndoc;
17429 }
17430 }
36ed4f51
RD
17431 }
17432 }
17433 }
17434 }
17435
17436 /* -----------------------------------------------------------------------------*
17437 * Initialize type list
17438 * -----------------------------------------------------------------------------*/
17439
36ed4f51
RD
17440#ifdef __cplusplus
17441}
17442#endif
17443
17444/* -----------------------------------------------------------------------------*
17445 * Partial Init method
17446 * -----------------------------------------------------------------------------*/
17447
d14a1e28
RD
17448#ifdef __cplusplus
17449extern "C"
17450#endif
32fe5131 17451SWIGEXPORT void SWIG_init(void) {
d14a1e28 17452 static PyObject *SWIG_globals = 0;
d14a1e28 17453 PyObject *m, *d;
d14a1e28 17454 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
17455
17456 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 17457 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 17458
d14a1e28
RD
17459 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17460 d = PyModule_GetDict(m);
17461
32fe5131 17462 SWIG_InitializeModule(0);
d14a1e28
RD
17463 SWIG_InstallConstants(d,swig_const_table);
17464
cbd72d4f
RD
17465 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17466 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
17467 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
17468 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
36ed4f51 17469 {
32fe5131
RD
17470 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_LEFT)));
17471 }
17472 {
17473 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_CENTER)));
17474 }
17475 {
17476 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_RIGHT)));
17477 }
17478 {
17479 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_BOTTOM)));
17480 }
17481 {
17482 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_TOP)));
17483 }
17484 {
17485 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_FOREGROUND)));
17486 }
17487 {
17488 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_BACKGROUND)));
17489 }
17490 {
17491 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PIXELS)));
17492 }
17493 {
17494 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PERCENT)));
17495 }
17496 {
17497 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_LEFT)));
17498 }
17499 {
17500 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_RIGHT)));
17501 }
17502 {
17503 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast<int >(wxHTML_INDENT_TOP)));
17504 }
17505 {
17506 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_INDENT_BOTTOM)));
17507 }
17508 {
17509 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_HORIZONTAL)));
17510 }
17511 {
17512 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_VERTICAL)));
17513 }
17514 {
17515 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_ALL)));
17516 }
17517 {
17518 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast<int >(wxHTML_COND_ISANCHOR)));
17519 }
17520 {
17521 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast<int >(wxHTML_COND_ISIMAGEMAP)));
17522 }
17523 {
17524 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast<int >(wxHTML_COND_USER)));
17525 }
17526 {
17527 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_1)));
17528 }
17529 {
17530 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_2)));
17531 }
17532 {
17533 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_3)));
17534 }
17535 {
17536 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_4)));
17537 }
17538 {
17539 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_5)));
17540 }
17541 {
17542 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_6)));
17543 }
17544 {
17545 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_7)));
17546 }
17547 {
17548 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_NEVER)));
17549 }
17550 {
17551 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_AUTO)));
17552 }
17553 {
17554 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast<int >(wxHW_NO_SELECTION)));
17555 }
17556 {
17557 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHW_DEFAULT_STYLE)));
17558 }
17559 {
17560 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast<int >(wxHTML_OPEN)));
17561 }
17562 {
17563 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast<int >(wxHTML_BLOCK)));
17564 }
17565 {
17566 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast<int >(wxHTML_REDIRECT)));
17567 }
17568 {
17569 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_PAGE)));
36ed4f51
RD
17570 }
17571 {
32fe5131 17572 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_IMAGE)));
36ed4f51
RD
17573 }
17574 {
32fe5131 17575 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast<int >(wxHTML_URL_OTHER)));
36ed4f51
RD
17576 }
17577 {
32fe5131 17578 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast<int >(wxHTML_SEL_OUT)));
36ed4f51
RD
17579 }
17580 {
32fe5131 17581 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast<int >(wxHTML_SEL_IN)));
36ed4f51
RD
17582 }
17583 {
32fe5131 17584 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast<int >(wxHTML_SEL_CHANGING)));
36ed4f51
RD
17585 }
17586 {
32fe5131 17587 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast<int >(wxHTML_FIND_EXACT)));
36ed4f51
RD
17588 }
17589 {
32fe5131 17590 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_BEFORE)));
36ed4f51
RD
17591 }
17592 {
32fe5131 17593 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_AFTER)));
36ed4f51
RD
17594 }
17595 {
32fe5131 17596 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast<int >(wxPAGE_ODD)));
36ed4f51
RD
17597 }
17598 {
32fe5131 17599 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast<int >(wxPAGE_EVEN)));
36ed4f51
RD
17600 }
17601 {
32fe5131 17602 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast<int >(wxPAGE_ALL)));
36ed4f51
RD
17603 }
17604 {
32fe5131 17605 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_TOOLBAR)));
36ed4f51
RD
17606 }
17607 {
32fe5131 17608 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast<int >(wxHF_CONTENTS)));
36ed4f51
RD
17609 }
17610 {
32fe5131 17611 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast<int >(wxHF_INDEX)));
36ed4f51
RD
17612 }
17613 {
32fe5131 17614 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast<int >(wxHF_SEARCH)));
36ed4f51
RD
17615 }
17616 {
32fe5131 17617 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast<int >(wxHF_BOOKMARKS)));
36ed4f51
RD
17618 }
17619 {
32fe5131 17620 PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast<int >(wxHF_OPEN_FILES)));
36ed4f51
RD
17621 }
17622 {
32fe5131 17623 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast<int >(wxHF_PRINT)));
36ed4f51
RD
17624 }
17625 {
32fe5131 17626 PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_FLAT_TOOLBAR)));
36ed4f51
RD
17627 }
17628 {
32fe5131 17629 PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast<int >(wxHF_MERGE_BOOKS)));
36ed4f51
RD
17630 }
17631 {
32fe5131 17632 PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK)));
36ed4f51
RD
17633 }
17634 {
32fe5131 17635 PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK_CHAPTER)));
36ed4f51
RD
17636 }
17637 {
32fe5131 17638 PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast<int >(wxHF_ICONS_FOLDER)));
36ed4f51
RD
17639 }
17640 {
32fe5131 17641 PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHF_DEFAULT_STYLE)));
36ed4f51
RD
17642 }
17643 {
32fe5131 17644 PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast<int >(wxHF_EMBEDDED)));
36ed4f51
RD
17645 }
17646 {
32fe5131 17647 PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast<int >(wxHF_DIALOG)));
36ed4f51
RD
17648 }
17649 {
32fe5131 17650 PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast<int >(wxHF_FRAME)));
36ed4f51
RD
17651 }
17652 {
32fe5131 17653 PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast<int >(wxHF_MODAL)));
36ed4f51
RD
17654 }
17655 {
32fe5131 17656 PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast<int >(wxID_HTML_PANEL)));
36ed4f51
RD
17657 }
17658 {
32fe5131 17659 PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast<int >(wxID_HTML_BACK)));
36ed4f51
RD
17660 }
17661 {
32fe5131 17662 PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast<int >(wxID_HTML_FORWARD)));
36ed4f51
RD
17663 }
17664 {
32fe5131 17665 PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast<int >(wxID_HTML_UPNODE)));
36ed4f51
RD
17666 }
17667 {
32fe5131 17668 PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast<int >(wxID_HTML_UP)));
36ed4f51
RD
17669 }
17670 {
32fe5131 17671 PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast<int >(wxID_HTML_DOWN)));
36ed4f51
RD
17672 }
17673 {
32fe5131 17674 PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast<int >(wxID_HTML_PRINT)));
36ed4f51
RD
17675 }
17676 {
32fe5131 17677 PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast<int >(wxID_HTML_OPENFILE)));
36ed4f51
RD
17678 }
17679 {
32fe5131 17680 PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast<int >(wxID_HTML_OPTIONS)));
36ed4f51
RD
17681 }
17682 {
32fe5131 17683 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSLIST)));
36ed4f51
RD
17684 }
17685 {
32fe5131 17686 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSADD)));
36ed4f51
RD
17687 }
17688 {
32fe5131 17689 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSREMOVE)));
36ed4f51
RD
17690 }
17691 {
32fe5131 17692 PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast<int >(wxID_HTML_TREECTRL)));
36ed4f51
RD
17693 }
17694 {
32fe5131 17695 PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXPAGE)));
36ed4f51
RD
17696 }
17697 {
32fe5131 17698 PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXLIST)));
36ed4f51
RD
17699 }
17700 {
32fe5131 17701 PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXTEXT)));
36ed4f51
RD
17702 }
17703 {
32fe5131 17704 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTON)));
36ed4f51
RD
17705 }
17706 {
32fe5131 17707 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTONALL)));
36ed4f51
RD
17708 }
17709 {
32fe5131 17710 PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast<int >(wxID_HTML_NOTEBOOK)));
36ed4f51
RD
17711 }
17712 {
32fe5131 17713 PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHPAGE)));
36ed4f51
RD
17714 }
17715 {
32fe5131 17716 PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHTEXT)));
36ed4f51
RD
17717 }
17718 {
32fe5131 17719 PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHLIST)));
36ed4f51
RD
17720 }
17721 {
32fe5131 17722 PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHBUTTON)));
36ed4f51
RD
17723 }
17724 {
32fe5131 17725 PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHCHOICE)));
36ed4f51
RD
17726 }
17727 {
32fe5131 17728 PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast<int >(wxID_HTML_COUNTINFO)));
36ed4f51 17729 }
d14a1e28
RD
17730
17731 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
17732 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
17733 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
17734 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
17735
17736}
17737